:root {
    --bg: #05070f;
    --surface: #0f1626;
    --text: #e5efff;
    --text-light: #a3bffa;
    --accent: #40c4ff;
    --accent-dark: #0088cc;
    --highlight: #ff6ec7;
    --border: #1a2942;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --gradient: linear-gradient(135deg, #0f1626 0%, #05070f 100%);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--gradient);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    padding-top: 80px;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 7, 15, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.4s ease;
}

.top-nav.scrolled {
    background: rgba(5, 7, 15, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo with icon */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.5vw, 0.9rem);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--highlight);
}

.logo-text {
    transition: opacity 0.3s ease;
}

.logo-icon {
    width: clamp(36px, 5vw, 56px);
    height: clamp(36px, 5vw, 56px);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    transition: all 0.4s ease;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent);
}

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

header {
    text-align: center;
    padding: 8rem 1rem 6rem;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
}

.intro {
    font-size: clamp(1.25rem, 3vw, 1.45rem);
    color: var(--text-light);
    max-width: 80ch;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

section {
    margin: 8rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--highlight);
    border-radius: 2px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem 2.8rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(40px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(64, 196, 255, 0.4);
}

.flow {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin: 3rem 0;
    font-size: 1.1rem;
}

.flow .step {
    counter-increment: step;
    position: relative;
    padding: 1.6rem 2rem 1.6rem 5rem;
    background: rgba(64, 196, 255, 0.06);
    border-radius: 16px;
    border-left: 6px solid var(--accent);
    transition: background 0.3s ease;
}

.flow .step:hover {
    background: rgba(64, 196, 255, 0.12);
}

.flow .step::before {
    content: counter(step);
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(64, 196, 255, 0.4);
}

.highlight {
    color: var(--highlight);
    font-weight: 600;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin: 1.2rem 0;
    position: relative;
}

footer {
    text-align: center;
    margin-top: 10rem;
    padding: 4rem 1rem 2rem;
    color: #64748b;
    font-size: 1rem;
    border-top: 1px solid var(--border);
    opacity: 0.8;
}

.future {
    font-style: italic;
    color: #a3bffa;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px dashed var(--border);
    line-height: 1.9;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .card, .card:hover { 
        padding: 15px;
    }
    .hamburger {
        display: flex;
    }

    .logo-text {
        opacity: 0;
        width: 0;
        overflow: hidden;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 7, 15, 0.98);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--border);
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-links.open {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-links li {
        padding: 0.8rem 1.5rem;
    }

    .nav-links li a {
        display: block;
        font-size: 1.1rem;
    }

    /* Hide step numbers on mobile - stronger rule */
    .flow .step::before {
        display: none !important;
    }

    .flow .step {
        padding-left: 1.6rem !important;
        /* Reset padding for clean look */
    }
}

@media (prefers-reduced-motion: reduce) {

    .card,
    .flow .step,
    .card:hover {
        transition: none;
        transform: none !important;
    } }