/* ===== CSS Variables ===== */
:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-cyan: #64ffda;
    --accent-purple: #a78bfa;
    --accent-gold: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.cta-link {
    background: var(--accent-cyan);
    color: var(--bg-dark) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Sections ===== */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ===== Multipass Section ===== */
.multipass-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(100, 255, 218, 0.05) 100%);
}

.multipass-demo {
    display: grid;
    grid-template-columns: 200px auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.demo-source {
    text-align: center;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.demo-arrows {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.demo-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.result-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.result-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

.result-card.highlight {
    border-color: var(--accent-cyan);
    background: rgba(100, 255, 218, 0.1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.result-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.result-card ul {
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.result-card li {
    padding: 0.25rem 0;
}

.cross-domain {
    margin-top: 4rem;
}

.cross-domain h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.domain-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.domain-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.domain-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.domain-card h4 {
    margin-bottom: 0.5rem;
}

.domain-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== How It Works ===== */
.how-section {
    background: rgba(100, 255, 218, 0.02);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== Versions Section ===== */
.versions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.version-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.version-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
}

.version-card.featured {
    border-color: var(--accent-purple);
    background: rgba(167, 139, 250, 0.05);
}

.version-badge {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.version-card.featured .version-badge {
    background: var(--accent-purple);
}

.version-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.version-status {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.version-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.version-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .multipass-demo {
        grid-template-columns: 1fr;
    }

    .demo-arrows {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .features-grid,
    .process-steps,
    .domain-grid,
    .versions-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .demo-results {
        grid-template-columns: 1fr;
    }
}