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

:root {
    --navy: #0b1121;
    --navy-light: #111827;
    --navy-card: #162032;
    --white: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #cbd5e1;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    background: var(--navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(11, 17, 33, 0.92);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    color: var(--accent) !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 16px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-brand {
    color: var(--accent);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ── Sections ── */
.section {
    padding: 120px 0;
    text-align: center;
}

.section-alt {
    background: var(--navy-light);
}

.section-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ── Stats ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    padding: 32px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: var(--navy-light);
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--navy-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: left;
    transition: transform 0.25s, border-color 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 10px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ── Contact ── */
.contact-block {
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 72px 40px;
}

.contact-block h2 {
    margin-bottom: 12px;
}

.contact-block .section-desc {
    margin-bottom: 32px;
}

/* ── Footer ── */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left .logo {
    font-size: 1rem;
}

.footer-left p {
    color: var(--gray);
    font-size: 0.8125rem;
    margin-top: 4px;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: var(--gray);
    font-size: 0.8125rem;
    margin-bottom: 2px;
}

.footer-right a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--white);
}

/* ── Fade-in Animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-right {
        text-align: center;
    }

    .contact-block {
        padding: 48px 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: var(--navy-light);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right 0.3s;
        padding: 24px;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-cta {
        text-align: center;
    }
}
