:root {
    --bg-color: #04070D;
    --text-primary: #FAFAFA;
    --text-secondary: #D5DBE6;
    
    /* Brand Theme Colors */
    --neon-primary: #116780; /* Teal Accent */
    --neon-secondary: #260865; /* Deep Purple Accent */
    --neon-success: #10B981;
    --neon-error: #EF4444;
    
    /* Surface Colors */
    --surface-100: rgba(255, 255, 255, 0.03);
    --surface-200: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Canvas Background */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

/* Background Glows */
.radial-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-top-left {
    top: -200px;
    left: -200px;
    background: var(--neon-secondary);
}

.glow-bottom-right {
    bottom: 20%;
    right: -200px;
    background: var(--neon-primary);
}

/* Typography utilities */
.font-mono {
    font-family: var(--font-mono);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(to right, #FFF 20%, var(--neon-primary) 50%, var(--neon-secondary) 80%, #FFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Components */
.glass-card {
    background: var(--surface-100);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    background: var(--surface-200);
    border-color: rgba(0, 242, 254, 0.3);
}

.neon-border {
    position: relative;
    box-shadow: 0 0 0 1px var(--border-color);
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--neon-primary), transparent, var(--neon-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.neon-border:hover::before {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    color: #000;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
    z-index: 1;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.125rem;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
}

.logo-img {
    height: 40px; /* Adjust based on logo proportions */
    width: auto;
    object-fit: contain;
}

/* Hero */
.hero {
    padding: 120px 24px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-family: var(--font-mono);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--neon-success); /* Changed to green */
    box-shadow: 0 0 8px var(--neon-success);
    animation: pulse-dot 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--neon-success); }
    50% { opacity: 0.3; transform: scale(1.3); box-shadow: 0 0 16px var(--neon-success); }
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Social Proof Grid */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 32px 48px;
    gap: 48px;
}

.metric-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #FFF, #AAA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Trusted By Section */
.trusted-by {
    margin-top: 80px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(4, 7, 13, 0.5);
    backdrop-filter: blur(4px);
}

.trusted-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.trusted-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.marquee-content {
    display: flex;
    gap: 80px;
    align-items: center;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll-left 30s linear infinite;
    padding-right: 80px;
}

.partner-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.partner-logo-group.horizontal {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.partner-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: all 0.3s ease;
}

.partner-logo-group:hover .partner-icon {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.partner-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-logo-group:hover .partner-name {
    color: var(--text-primary);
}

.partner-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 2px 8px;
    background: rgba(17, 103, 128, 0.15); /* Brand Teal Ghost */
    color: var(--neon-primary); /* Teal Accent */
    border: 1px solid rgba(17, 103, 128, 0.3);
    border-radius: 999px;
    letter-spacing: 0.1em;
}

/* Routing Infrastructure Section */
.routing-infrastructure {
    padding: 80px 24px;
}

.processing-layers {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.layer-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .layer-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.layer-card:hover {
    transform: translateY(-5px);
}

.layer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    min-width: 250px;
}

.layer-header span {
    font-size: 1.5rem;
    color: var(--neon-primary);
    background: rgba(17, 103, 128, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(17, 103, 128, 0.3);
}

.layer-card h3 {
    font-size: 1.5rem;
}

.layer-card p {
    color: var(--text-secondary);
}

/* Two-Sided Network Section */
.two-sided-network {
    padding: 80px 24px 120px;
}

.network-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

@media (max-width: 768px) {
    .network-diagram {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }
}

.network-side {
    flex: 1;
}

.network-side h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.text-left { text-align: left; }
.text-right { text-align: right; }
.text-sm { font-size: 0.8rem; color: var(--neon-primary); letter-spacing: 0.1em; }

.network-core {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
}

.core-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(17, 103, 128, 0.2), rgba(38, 8, 101, 0.2));
    border: 1px solid var(--neon-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 0 40px rgba(17, 103, 128, 0.3);
    z-index: 2;
    position: relative;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

.core-circle::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px dashed var(--neon-secondary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.flow-arrow {
    color: var(--neon-primary);
    font-size: 2rem;
    padding: 0 20px;
    opacity: 0.6;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Comparison section */
.comparison {
    padding: 80px 24px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.01);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.25rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--neon-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--neon-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.nexam .comparison-list li {
    color: var(--text-primary);
}

.icon-x {
    color: var(--neon-error);
    font-weight: bold;
}

.icon-check {
    color: var(--neon-success);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 80px 24px 120px;
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 32px;
        padding: 32px;
    }
    
    .metric-divider {
        width: 100%;
        height: 1px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
