@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --primary: #ef4444;
    /* Vibrant Red from the image buttons */
    --secondary: #3b82f6;
    /* Vibrant Blue from the image accents */
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
    --radius-lg: 32px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(239, 68, 68, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a.active {
    color: var(--secondary);
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 48px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Dashboard Mockup */
.hero-visual {
    margin-top: 80px;
    perspective: 1000px;
}

.dashboard-mockup {
    background: #0b1120;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateX(0deg);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 16px;
}

.mockup-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.chart-container {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.growth-pct {
    color: #10b981;
    font-weight: 700;
    font-size: 1.5rem;
}

.svg-chart {
    width: 100%;
    height: 120px;
    stroke: var(--secondary);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(var(--glow-blue));
}

.mockup-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.m-stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

/* Section Common */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.f-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.f-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.f-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

/* Institutional Section */
.info-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 80px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Download Section */
.app-promo {
    margin: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border-radius: 48px;
    padding: 80px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 60px;
}

.app-text {
    flex: 1.2;
}

.app-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.app-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.app-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.app-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.store-btn {
    background: #000;
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.store-btn:hover {
    border-color: var(--secondary);
    background: #111;
}

.qr-code {
    width: 140px;
    height: 140px;
    padding: 10px;
    background: white;
    border-radius: 16px;
    margin-right: 40px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-weight: 700;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Utilities */
.text-secondary {
    color: var(--secondary) !important;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .app-promo {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .app-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .info-row {
        grid-template-columns: 1fr;
    }
}