/* --- DESIGN SYSTEM --- */
:root {
    /* Colors - DEEP LIGHT THEME */
    --bg-body: #F1F5F9; 
    
    /* Typography Colors - High Contrast Dark */
    --text-primary: #020617;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-inverse: #FFFFFF;
    
    /* Accents */
    --brand-primary: #0055FF;
    --brand-accent: #00D4FF;
    --brand-hover: #0044CC;
    
    /* Grid Lines */
    --grid-color: rgba(15, 23, 42, 0.07);

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    --font-logo: 'Outfit', sans-serif;
    
    /* Weights */
    --weight-regular: 400;
    --weight-bold: 600;
    --weight-heavy: 800;
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- DYNAMIC MOUSE SPOTLIGHT --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        400px circle at var(--mouse-x, 20%) var(--mouse-y, 20%), 
        rgba(255, 255, 255, 0.8), 
        transparent 50%
    );
    z-index: 999;
    pointer-events: none; 
    mix-blend-mode: overlay;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
p { margin-bottom: 1.5em; }

/* --- UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* --- TEXT SHIMMER EFFECT --- */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.heading-xl {
    font-weight: var(--weight-heavy);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    background: linear-gradient(
        135deg, 
        #020617 30%, 
        #0055FF 50%, 
        #020617 70%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}

.heading-md {
    font-size: 2.5rem;
    font-weight: var(--weight-heavy);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* --- DECORATIVE GLOWS --- */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    bottom: 0;
    left: -100px;
}

/* --- TECH GRID BACKGROUND --- */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: var(--weight-bold);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 5;
}

.btn-primary {
    background: var(--brand-primary);
    color: #FFFFFF;
    border: 1px solid #000000; 
    box-shadow: 0 4px 14px rgba(0, 85, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
    border: 1px solid #CBD5E1;
    margin-left: 12px;
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.9);
}

.btn-text {
    color: var(--text-primary);
    font-weight: var(--weight-bold);
    padding: 12px 24px;
}
.btn-text:hover { color: var(--brand-primary); background: rgba(0,0,0,0.03); border-radius: 8px; }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-logo); 
    font-weight: 800;              
    font-size: 2rem;               
    letter-spacing: -0.03em;
    color: #0F172A;                
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right { display: flex; align-items: center; gap: 16px; }

/* --- HERO SECTION --- */
.hero {
    padding-top: 240px;
    padding-bottom: 80px; 
    position: relative;
    overflow: hidden; 
}

h1 {
    font-size: 5.5rem; 
    position: relative;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 50px;
    font-weight: var(--weight-regular);
    line-height: 1.5;
}

/* --- SCROLL REVEAL ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- METRICS SECTION --- */
.metrics-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #FFFFFF; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.metric-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--brand-primary);
}

.metric-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.metric-val {
    font-family: var(--font-main);
    font-weight: var(--weight-heavy);
    font-size: 4rem; 
    background: linear-gradient(135deg, #0055FF 0%, #003399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
}
.metric-label {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: var(--weight-bold);
}

/* --- TWO-COLUMN LAYOUT --- */
.split-section {
    padding: 160px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.split-left-heading {
    font-size: 2.75rem;
    font-weight: var(--weight-heavy);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

.split-left-heading::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    margin-bottom: 24px;
}

.sticky-col {
    position: sticky;
    top: 140px;
    height: fit-content;
}

/* Use Case Items */
.uc-item {
    margin-bottom: 70px;
    padding-bottom: 70px;
    border-bottom: 1px solid #CBD5E1;
}
.uc-item:last-child { border-bottom: none; margin-bottom: 0; }

.uc-title {
    font-size: 1.75rem;
    font-weight: var(--weight-heavy);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0F172A;
}

.uc-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 24px;
}

/* Feature List Styling */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.feature-list li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-list i {
    color: var(--brand-primary);
    font-size: 1.1rem;
}

.badge-beta {
    font-size: 0.75rem;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

/* --- PROVEN SCALE SECTION --- */
.proven-section {
    padding: 60px 0 40px;
    text-align: center;
}
.proven-sub {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- SUPPORTERS SECTION --- */
.supporters-section {
    padding: 60px 0;
    background: transparent;
    overflow: hidden;
}

.supporters-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: var(--weight-bold);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee__wrapper {
    display: flex;
    width: fit-content;
    animation: scroll 32s linear infinite;
}

.marquee__content {
    display: flex;
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    padding-right: 60px;
}

.marquee__content li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: fit-content;
}

.marquee__content svg {
    height: 24px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.marquee__content svg:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

.marquee__content svg path,
.marquee__content svg rect,
.marquee__content svg g {
    transition: all 0.3s ease;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.marquee:hover .marquee__wrapper {
    animation-play-state: paused;
}

/* --- CODE BLOCK --- */
.code-window {
    background: #0F172A;
    border-radius: 12px;
    padding: 24px;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #E2E8F0;
    overflow-x: auto;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid #334155;
    
    transform: perspective(1000px) rotateX(10deg);
    opacity: 0.9;
    transition: all 0.5s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateX(0deg);
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.code-key { color: #38BDF8; }
.code-str { color: #A5F3FC; }
.code-num { color: #F472B6; }
.code-comment { color: #64748B; font-style: italic; }

/* --- FOOTER --- */
footer {
    padding: 100px 0 40px;
    background: #020617; 
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}
.footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 85, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo {
    color: #FFFFFF;
    font-family: var(--font-logo); 
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.social-links {
    display: flex;
    gap: 24px;
}
.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}
.social-links a:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copy { 
    color: #64748B; 
    font-size: 0.9rem; 
}

.disclaimer {
    color: #475569;
    font-size: 0.8rem;
    font-style: italic;
}

/* --- MOBILE --- */
@media(max-width: 1024px) {
     .hero { padding-top: 180px; }
     h1 { font-size: 4rem; }
     .split-grid { grid-template-columns: 1fr; gap: 60px; }
     .sticky-col { position: static; margin-bottom: 40px; } 
     .metrics-grid { grid-template-columns: 1fr; gap: 20px; }
     .feature-list { grid-template-columns: 1fr; }
     .container { padding: 0 24px; }
     .blob-1 { right: -200px; }
     
     /* Supporters Section Mobile */
     .supporters-section { padding: 40px 0; }
     .supporters-title { font-size: 0.95rem; margin-bottom: 30px; }
     .marquee__wrapper { animation: scroll 24s linear infinite; }
     .marquee__content { gap: 40px; padding-right: 40px; }
     .marquee__content svg { height: 18px; }
}
@media(max-width: 768px) {
     h1 { font-size: 3.25rem; }
     .hero-sub { font-size: 1.15rem; }
     .btn-secondary { margin-left: 0; margin-top: 10px; width: 100%; display: flex; }
     .btn-primary { width: 100%; }
     
     /* Footer Mobile */
     .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
     .footer-links { flex-direction: column; gap: 15px; margin-bottom: 30px; }
     
     /* Supporters Section Mobile */
     .supporters-section { padding: 30px 0; }
     .marquee__wrapper { animation: scroll 20s linear infinite; }
     .marquee__content { gap: 30px; padding-right: 30px; }
     .marquee__content svg { height: 16px; }
}