/* CSS Variables */
:root {
    --bg-main: #060608;
    --bg-surface: #101014;
    --bg-surface-elevated: #1a1a20;
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    
    --accent-blue: #0088ff;
    --accent-blue-glow: rgba(0, 136, 255, 0.4);
    --accent-teal: #00e0b0;
    --accent-teal-glow: rgba(0, 224, 176, 0.4);
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --border-subtle: rgba(255,255,255,0.08);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.container-sm { max-width: 800px; }

/* Typography */
.text-gradient {
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-blue) 50%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.section-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}
.center { text-align: center; }
.large-text { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.5rem; font-weight: 400; font-family: var(--font-heading);}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--text-primary);
    color: var(--bg-main);
}
.btn-primary:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-blue-glow);
}
.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}
.btn-outline {
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}
.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* Nav */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(6, 6, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}
.font-light { font-weight: 300; color: var(--text-secondary); }
.logo-icon {
    width: 16px; height: 16px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-blue-glow);
}
.logo-icon.small { width: 12px; height: 12px; }
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.nav-link:hover { color: var(--text-primary); }

/* Layouts */
.section {
    padding: 8rem 0;
    position: relative;
}
.bg-dark {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 8px var(--accent-teal-glow);
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 300;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orb {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 136, 255, 0.1), transparent 70%);
    box-shadow: inset 0 0 50px rgba(0, 224, 176, 0.2), 0 0 100px rgba(0, 136, 255, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
}
.orb::after {
    content: '';
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}
.grid-overlay {
    position: absolute;
    width: 150%; height: 150%;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    opacity: 0.3;
    z-index: -1;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.card {
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}
.card-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.neural-teal { color: var(--accent-teal); }
.biotech-blue { color: var(--accent-blue); }
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.feature-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}
.feature-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Diagram */
.platform-visual {
    perspective: 1000px;
}
.layer-diagram {
    position: relative;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(-45deg);
}
.diagram-layer {
    position: absolute;
    width: 300px; height: 300px;
    left: 50%; margin-left: -150px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.l1 { transform: translateZ(90px); background: rgba(0, 136, 255, 0.05); border-color: rgba(0,136,255,0.3); }
.l2 { transform: translateZ(60px); background: rgba(0, 224, 176, 0.05); }
.l3 { transform: translateZ(30px); background: rgba(255, 255, 255, 0.02); }
.l4 { transform: translateZ(0px); background: rgba(255, 255, 255, 0.01); }

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(200px, auto);
}
.bento-item {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.bento-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}
.bento-item.wide { grid-column: span 2; }
.bento-item:hover { border-color: rgba(255,255,255,0.15); }

/* Markets */
.markets-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}
.market-tag {
    padding: 1rem 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    cursor: default;
}
.market-tag:hover {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    background: rgba(0,224,176,0.05);
}

/* Roadmap & Business */
.business-roadmap {
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-surface));
}
.model-card {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.model-card:last-child { border-bottom: none; }
.model-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.model-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.timeline {
    border-left: 1px solid var(--border-subtle);
    padding-left: 2rem;
    margin-top: 2rem;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.time-marker {
    position: absolute;
    left: -2.3rem;
    top: 5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--text-muted);
}
.timeline-item.active .time-marker {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue-glow);
}
.timeline-item h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.timeline-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* CTA */
.cta-section {
    background: var(--bg-main);
    border-top: 1px solid var(--border-subtle);
}
.cta-desc {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-main);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.footer-links a:hover { color: var(--text-primary); }
.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container, .split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .hero-title { font-size: 3rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.wide { grid-column: span 1; }
    .nav-links { display: none; }
}
