/* ===================================
   PERSONA X: BROWSERBASE x SARVAM
   Premium Aesthetic Design System
   =================================== */

/* Base Styles & Variables */
:root {
    --bg: #fafafa;
    --bg-elevated: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f3f4f6;
    --text: #111827;
    --text-secondary: #4b5563;

    /* Sarvam Inspired Palette */
    --theme-blue: #3b82f6;
    --theme-purple: #8b5cf6;
    --theme-orange: #ea580c;

    /* Accent & Gradients */
    --accent: var(--theme-orange);
    --flow-gradient: linear-gradient(135deg, #f9bb9e 0%, #b8d4fe 100%);
    --flow-gradient-soft: linear-gradient(135deg, rgba(249, 187, 158, 0.5) 0%, rgba(184, 212, 254, 0.5) 100%);
    --flow-gradient-border: linear-gradient(135deg, #f9bb9e, #b8d4fe);
    --border: #e5e7eb;
    --glass-border: 1px solid #e5e7eb;

    /* Keeping 'flow' variable names so we don't have to rename everything */
    --flow-blue: #2563eb;
    --flow-red: #ea580c;
    --flow-yellow: #f59e0b;
    --flow-green: #10b981;
    --flow-purple: #7c3aed;

    /* Typography */
    --font-heading: 'Newsreader', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===================================
   BROWSERBASE GRID & SARVAM ORBS
   =================================== */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbDrift 20s ease-in-out infinite;
    opacity: 0.25;
}

.orb-blue {
    width: 800px;
    height: 800px;
    background: var(--theme-blue);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.orb-orange {
    width: 700px;
    height: 700px;
    background: var(--theme-orange);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

.orb-purple {
    width: 600px;
    height: 600px;
    background: var(--theme-purple);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes orbDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -80px) scale(1.1);
    }

    66% {
        transform: translate(-60px, 120px) scale(0.9);
    }
}

/* ===================================
   UTILITIES
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-12 {
    gap: 48px;
}

.grid {
    display: grid;
}

/* ===================================
   COLLAB BADGE
   =================================== */
.collab-banner {
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(90deg, var(--flow-blue), var(--flow-green), var(--flow-yellow), var(--flow-red));
    background-size: 300% 100%;
    animation: bannerScroll 8s linear infinite;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
}

@keyframes bannerScroll {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* ===================================
   BADGE / TAG COMPONENT
   =================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--theme-orange);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 32px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.announcement-pill:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.pill-badge {
    background: var(--theme-orange);
    color: white;
    font-weight: 700;
    font-family: var(--font-mono);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
}

.announcement-pill span:not(.pill-badge) {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.pill-arrow {
    margin-left: 4px;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.announcement-pill:hover .pill-arrow {
    transform: translateX(4px);
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--flow-gradient);
    border-radius: 6px;
    position: relative;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        box-shadow: 0 0 12px rgba(66, 133, 244, 0.4);
    }

    50% {
        box-shadow: 0 0 24px rgba(66, 133, 244, 0.7), 0 0 48px rgba(52, 168, 83, 0.3);
    }
}

.logo-collab {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    opacity: 0.7;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--flow-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-primary {
    background: #111827;
    color: #fff;
    border: 1px solid #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #1f2937;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.05;
    margin: 16px 0 24px;
    font-weight: 500;
    color: var(--text);
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 32px;
}

/* Hero collab badge */
.collab-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.collab-tag .collab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--flow-gradient);
    animation: collabPulse 2s ease-in-out infinite;
}

@keyframes collabPulse {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(66, 133, 244, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 12px rgba(66, 133, 244, 0.8);
        transform: scale(1.3);
    }
}

/* Neural Canvas */
#neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    padding: 72px 40px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: all 0.4s ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(66, 133, 244, 0.04);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 500;
    color: var(--theme-orange);
    margin-bottom: 12px;
    display: block;
}

.stat-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===================================
   BENTO GRID
   =================================== */
.section {
    position: relative;
    z-index: 2;
}

.bento-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 80px 0;
}

.bento-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bento-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.bento-icon-svg {
    width: 40px;
    height: 40px;
    color: var(--theme-orange);
    margin-bottom: 16px;
    transition: all 0.4s ease;
    stroke-width: 1.5px;
}

.bento-item:hover .bento-icon-svg {
    transform: scale(1.1);
    color: var(--theme-blue);
}

.bento-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.bento-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================
   SECTION HEADINGS (Flow Style)
   =================================== */
.flow-heading {
    position: relative;
    display: inline-block;
}

.flow-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--flow-gradient);
    border-radius: 3px;
}

/* ===================================
   COMPARISON TABLE
   =================================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.comparison-table th,
.comparison-table td {
    padding: 22px 28px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td:first-child {
    color: var(--text);
    font-weight: 500;
}

.comparison-table tr {
    transition: all 0.3s ease;
}

.comparison-table tr:hover {
    background: rgba(66, 133, 244, 0.04);
}

.compare-good {
    color: var(--flow-green);
    font-weight: 500;
}

.compare-bad {
    color: #ff6b6b;
    opacity: 0.6;
}

/* ===================================
   FAQ
   =================================== */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(15, 15, 28, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.faq-item:hover {
    border-color: rgba(66, 133, 244, 0.25);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--flow-blue);
}

.faq-toggle {
    font-size: 24px;
    color: var(--flow-blue);
    font-weight: 300;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

/* ===================================
   FORM STYLES
   =================================== */
.access-group input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.access-group input:focus {
    outline: none;
    border-color: var(--flow-blue);
    background: rgba(66, 133, 244, 0.06);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

/* ===================================
   FOOTER
   =================================== */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 12, 0.9);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-links h5 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===================================
   DIGITAL TWIN CREATION
   =================================== */
.twin-creation-visual {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
}

.creation-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    position: relative;
    animation: fadeInStep 0.6s ease-out forwards;
    animation-delay: var(--step-delay);
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInStep {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 133, 244, 0.06);
    border: 2px solid rgba(66, 133, 244, 0.2);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.creation-step:hover .step-icon {
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 0 32px rgba(66, 133, 244, 0.15);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.2) 0%, transparent 70%);
    border-radius: 24px;
    animation: softGlow 3s ease-in-out infinite;
}

@keyframes softGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.step-connector {
    position: absolute;
    top: 50px;
    right: -50px;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--flow-blue), transparent);
    z-index: -1;
}

.creation-step:last-child .step-connector {
    display: none;
}

.creation-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--flow-blue);
}

.creation-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.detail-tag {
    padding: 6px 14px;
    background: rgba(66, 133, 244, 0.08);
    border: 1px solid rgba(66, 133, 244, 0.15);
    border-radius: 100px;
    font-size: 11px;
    color: var(--flow-blue);
    font-family: var(--font-mono);
}

/* Brain Upload Animation */
.brain-upload-visual {
    text-align: center;
    padding: 60px 0;
}

.upload-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
}

.brain-container,
.twin-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 133, 244, 0.06);
    border: 2px solid rgba(66, 133, 244, 0.2);
    border-radius: 50%;
}

.brain-pulse,
.twin-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--flow-blue);
    border-radius: 50%;
    animation: flowRipple 2.5s ease-out infinite;
}

@keyframes flowRipple {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.data-stream {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}

.data-particle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: streamFlow 1.8s ease-in-out infinite;
    animation-delay: var(--particle-delay);
}

.data-particle:nth-child(1) {
    background: var(--flow-blue);
    box-shadow: 0 0 10px var(--flow-blue);
}

.data-particle:nth-child(2) {
    background: var(--flow-green);
    box-shadow: 0 0 10px var(--flow-green);
}

.data-particle:nth-child(3) {
    background: var(--flow-yellow);
    box-shadow: 0 0 10px var(--flow-yellow);
}

.data-particle:nth-child(4) {
    background: var(--flow-red);
    box-shadow: 0 0 10px var(--flow-red);
}

.data-particle:nth-child(5) {
    background: var(--flow-blue);
    box-shadow: 0 0 10px var(--flow-blue);
}

@keyframes streamFlow {

    0%,
    100% {
        transform: scale(0.5);
        opacity: 0.3;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.upload-label {
    font-size: 18px;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ===================================
   USE CASE CARDS
   =================================== */
.use-case-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.use-case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 24px 48px rgba(66, 133, 244, 0.1);
}

/* ===================================
   ROBOTIC BRAIN VISUAL
   =================================== */
.robot-brain-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.robot-brain-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(66, 133, 244, 0.4));
    animation: floatGentle 4s ease-in-out infinite;
}

@keyframes floatGentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ===================================
   CUSTOM ICON IMAGES
   =================================== */
.text-theme-blue {
    color: var(--theme-blue);
}

.text-theme-orange {
    color: var(--theme-orange);
}

.text-theme-purple {
    color: var(--theme-purple);
}

.step-icon-svg {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
    stroke-width: 1.5px;
}

.brain-img-svg,
.twin-img-svg {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 2;
    color: var(--theme-blue);
    stroke-width: 1.5px;
}

/* ===================================
   PRODUCT MOCKUP
   =================================== */
.product-mockup {
    background: linear-gradient(145deg, #1a1a2e 0%, #0a0a18 100%);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(66, 133, 244, 0.08);
    position: relative;
}

.product-mockup::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--flow-gradient-border);
    border-radius: 21px;
    z-index: -1;
}

.mockup-screen {
    background: #0d0d18;
    border-radius: 12px;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #1a1a2e;
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-content {
    padding: 24px;
    min-height: 300px;
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 80%;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.chat-message.user {
    align-self: flex-end;
    background: rgba(66, 133, 244, 0.12);
    border: 1px solid rgba(66, 133, 244, 0.2);
    color: var(--text);
}

.chat-message.ai {
    align-self: flex-start;
    background: #f3f4f6;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    background: var(--flow-blue);
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    background: var(--flow-green);
    animation-delay: -0.16s;
}

.typing-indicator span:nth-child(3) {
    background: var(--flow-yellow);
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.privacy-badge {
    margin-top: 20px;
    padding: 12px;
    background: rgba(66, 133, 244, 0.06);
    border: 1px solid rgba(66, 133, 244, 0.15);
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* ===================================
   ANIMATIONS
   =================================== */
.animate-enter {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Initial state for JS scroll animations */
.bento-item,
.hero-content>*,
.stat-item {
    transform: translateY(20px);
}

/* ===================================
   MOBILE MENU
   =================================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

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

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    padding: 2rem;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.desktop-only {
    display: block;
}

/* ===================================
   CHIP/CIRCUIT ELEMENTS
   =================================== */
.brain-chip {
    position: relative;
    z-index: 2;
}

.chip-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.3) 0%, transparent 70%);
    animation: softGlow 3s ease-in-out infinite;
    border-radius: 50%;
}

.chip-core {
    position: relative;
    z-index: 3;
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #1a1a2e, #0a0a18);
    border: 2px solid var(--flow-blue);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(66, 133, 244, 0.2), inset 0 0 20px rgba(66, 133, 244, 0.08);
}

.chip-circuit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border: 1px dashed rgba(66, 133, 244, 0.2);
    border-radius: 50%;
    animation: rotate-circuit 25s linear infinite;
}

.chip-circuit::before,
.chip-circuit::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--flow-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--flow-blue);
}

.chip-circuit::before {
    top: -4px;
    left: 50%;
}

.chip-circuit::after {
    bottom: -4px;
    right: 50%;
}

@keyframes rotate-circuit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.robot-brain-svg {
    width: 160px;
    height: 160px;
    color: var(--theme-blue);
    stroke-width: 1px;
}

.robot-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 60px));
    z-index: 1;
}

/* ===================================
   COLLAB FOOTER BADGE
   =================================== */
.collab-footer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.collab-footer-badge .flow-dots {
    display: flex;
    gap: 4px;
}

.collab-footer-badge .flow-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.collab-footer-badge .flow-dots span:nth-child(1) {
    background: var(--flow-blue);
}

.collab-footer-badge .flow-dots span:nth-child(2) {
    background: var(--flow-red);
}

.collab-footer-badge .flow-dots span:nth-child(3) {
    background: var(--flow-yellow);
}

.collab-footer-badge .flow-dots span:nth-child(4) {
    background: var(--flow-green);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .bento-grid {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

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

    .desktop-only {
        display: none;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 40px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .flex.gap-4 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-mockup {
        margin: 0 -20px;
        border-radius: 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .grid[style*="repeat(3, 1fr)"],
    .grid[style*="repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    #robotic-brain>.container>div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .twin-creation-visual {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .creation-step {
        max-width: 100%;
    }

    .upload-animation {
        flex-direction: column;
        gap: 20px;
    }

    .data-stream {
        transform: rotate(90deg);
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===================================
   3D BACKGROUND CONTAINER
   =================================== */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

/* Typing cursor blink */
.typing-text {
    border-right: 2px solid var(--flow-blue);
    animation: blink-cursor 0.8s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--flow-blue);
    }
}