:root {
    --black: #000000;
    --dark: #0a0a0a;
    --darker: #111111;
    --gray-dark: #1a1a1a;
    --gray: #2a2a2a;
    --gray-light: #888888;
    --white: #ffffff;
    --accent: #00ff88;
    --accent-dim: rgba(0, 255, 136, 0.1);
    --font: 'Space Grotesk', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ANIMATED BACKGROUND */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: #00ccff;
    bottom: 20%;
    left: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -100px;
    right: 20%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, 100px) scale(1.1); }
    66% { transform: translate(50px, 50px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -100px) scale(1.2); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-80px, -80px); }
}

.bg-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(90deg, transparent 49.5%, rgba(0, 255, 136, 0.03) 49.5%, rgba(0, 255, 136, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(0, 255, 136, 0.03) 49.5%, rgba(0, 255, 136, 0.03) 50.5%, transparent 50.5%);
    background-size: 120px 120px;
    animation: bgLinesMove 60s linear infinite;
}

@keyframes bgLinesMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(120px, 120px); }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* FOCUS STATES */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-dark);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    padding: 0.5rem 1rem !important;
    background: var(--white) !important;
    color: var(--black) !important;
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--accent) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 20px;
    height: 1px;
    background: var(--white);
    transition: 0.2s;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--gray-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-dark) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.2;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent) 0%, transparent 60%);
    opacity: 0.06;
    filter: blur(100px);
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.06; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--gray-light);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.hero-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: rgba(0, 255, 136, 0.25);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    text-decoration: none;
    border: 1px solid var(--gray);
    border-radius: 2px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* STATS */
.stats {
    border-top: 1px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
    padding: 3rem 2rem;
    background: var(--dark);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-light);
    letter-spacing: 0.05em;
}

.stat-source {
    display: block;
    font-size: 0.6rem;
    color: rgba(0, 255, 136, 0.5);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* SECTIONS */
.section {
    padding: 6rem 2rem;
}

.section-dark {
    background: var(--dark);
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-dark);
    border: 1px solid var(--gray-dark);
}

.card {
    padding: 2rem;
    background: var(--black);
    transition: all 0.3s;
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.card:hover {
    background: var(--darker);
}

.card:hover::after {
    width: 100%;
}

.card-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.875rem;
    color: var(--gray-light);
    line-height: 1.6;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.2s;
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature:hover .feature-icon {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.feature h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.75rem;
    color: var(--gray-light);
}

/* PLATFORM */
.platform {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.platform-block {
    border: 1px solid var(--gray-dark);
    padding: 2rem;
    background: var(--black);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-tag {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 0.25rem 0.5rem;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 2px;
}

.platform-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.platform-block ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.platform-block li {
    font-size: 0.875rem;
    color: var(--gray-light);
}

.platform-block li strong {
    color: var(--white);
}

.platform-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
}

.connector-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.connector-line {
    width: 40px;
    height: 1px;
    background: var(--gray);
}

.flow-dots {
    display: flex;
    gap: 4px;
}

.flow-dots span {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: flowPulse 1.5s ease-in-out infinite;
}

.flow-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.flow-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.connector-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    border-radius: 4px;
}

.connector-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.connector-badge span {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
}

/* TIMELINE */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--gray), var(--accent));
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: markerPulse 2s ease-in-out infinite;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.3;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
}

.timeline-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--gray-light);
    line-height: 1.5;
}

/* MISSION */
.mission {
    padding: 1rem 2rem 4rem;
    background: var(--dark);
    border-bottom: 1px solid var(--gray-dark);
}

.mission blockquote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    text-align: center;
    color: var(--white);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.mission cite {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    font-style: normal;
    color: var(--accent);
    letter-spacing: 0.1em;
}

/* CTA */
.cta {
    text-align: center;
    background: var(--black);
    border-top: 1px solid var(--gray-dark);
}

.cta h2 {
    margin-bottom: 0.75rem;
}

.cta-sub {
    color: var(--gray-light);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* CONTACT SECTION */
.contact {
    background: transparent;
    border-top: 1px solid var(--gray-dark);
    padding-top: 4rem;
    padding-bottom: 0;
}

.contact .section-inner {
    max-width: 800px;
}

.contact-content {
    text-align: center;
    padding: 3rem 0;
}

.contact-content h2 {
    margin-bottom: 1rem;
}

.contact-tagline {
    color: var(--gray-light);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.25rem;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.contact-item-text a,
.contact-item-text span:last-child {
    font-size: 1.125rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item-text a:hover {
    color: var(--accent);
}

.contact-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-dark);
}

/* FOOTER */
.footer {
    padding: 3rem 2rem 2rem;
    background: transparent;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.footer-nav a:hover {
    color: var(--accent);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.8;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    opacity: 1;
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.5;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-legal-links a:hover {
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .stats-inner,
    .grid-4,
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--black);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--gray-dark);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .stats-inner,
    .grid-2,
    .grid-4,
    .timeline,
    .cta-cards,
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        gap: 2.5rem;
    }
    
    .contact-form-wrap {
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .platform-block ul {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .platform-connector {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .connector-flow {
        transform: rotate(90deg);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .scroll-hint {
        display: none;
    }
    
    .trust-logos {
        gap: 1rem;
    }
}
