:root {
    --bg-main: #0a0a0f;
    --bg-card: rgba(30, 30, 45, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    --border-light: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(184, 85, 247, 0.5);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    --accent-primary: #B855F7; /* Neon Purple */
    --accent-secondary: #06B6D4; /* Cyan */
    --accent-tertiary: #EC4899; /* Magenta */
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* zoom: 0.9;  As per previous request, scaling down */
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(184, 85, 247, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(184, 85, 247, 0.1);
    border-color: var(--accent-primary);
}

/* Background Effects */
.bg-gradient-top {
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 600px;
    background: radial-gradient(circle, rgba(184,85,247,0.15) 0%, rgba(3,3,5,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-gradient-bottom {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, rgba(3,3,5,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #7c3aed);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(184,85,247,0.3);
}

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

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.arrow {
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.brand-logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 8px;
    box-shadow: 0 0 15px var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.brand-logo-icon::after {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    background: var(--bg-main);
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.mobile-toggle span {
    width: 25px; height: 2px; background: white; transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 5rem;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: 5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-3d-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Marquee Section */
.marquee-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-dot {
    width: 10px; height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Bento Grid Features */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: none; /* Removed blur to fix "faded" look */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 5;
}

.bento-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.col-span-2 { grid-column: span 2; }
.row-span-2 { grid-row: span 2; }

.card-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.card-content.horizontal {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.content-left { flex: 1; }
.content-right { flex: 1; height: 100%; position: relative; }

.card-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}

.card-icon svg { width: 24px; height: 24px; color: var(--text-primary); }

.code-icon { color: var(--accent-secondary); box-shadow: 0 0 25px rgba(6,182,212,0.4); background: rgba(6,182,212,0.1); }
.video-icon { color: var(--accent-tertiary); box-shadow: 0 0 25px rgba(236,72,153,0.4); background: rgba(236,72,153,0.1); }
.brain-icon { color: var(--accent-primary); box-shadow: 0 0 25px rgba(184,85,247,0.4); background: rgba(184,85,247,0.1); }
.social-icon { color: #3b82f6; box-shadow: 0 0 25px rgba(59,130,246,0.4); background: rgba(59,130,246,0.1); }
.career-icon { color: #10b981; box-shadow: 0 0 25px rgba(16,185,129,0.4); background: rgba(16,185,129,0.1); }

.bento-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #ffffff !important;
    font-weight: 700;
}

.bento-card p {
    color: #e2e8f0 !important;
    font-size: 1rem;
    line-height: 1.5;
}

.card-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: var(--accent-primary);
    filter: blur(80px);
    opacity: 0.08;
    transition: opacity 0.5s;
    border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.bento-card:hover .card-glow { opacity: 0.25; }

/* Visuals inside Bento */
.bento-card.3d-tilt {
    transition: transform 0.1s ease-out, border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
}
.bento-card.3d-tilt .card-content, .bento-card.3d-tilt .card-visual {
    transform: translateZ(30px);
}
.bento-card.3d-tilt .card-glow {
    transform: translateZ(-10px);
}

.card-visual {
    margin-top: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.code-window {
    background: #0f111a;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    height: 100%;
    overflow: hidden;
}

.window-header {
    background: #1a1d27;
    padding: 0.8rem;
    display: flex; gap: 6px;
}

.window-header span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #4b5563;
}
.window-header span:nth-child(1) { background: #ef4444; }
.window-header span:nth-child(2) { background: #eab308; }
.window-header span:nth-child(3) { background: #22c55e; }

.window-body { 
    padding: 1.5rem; 
    font-family: monospace; 
    font-size: 0.85rem; 
    color: #cbd5e1; 
    white-space: pre-wrap; 
    height: 200px;
}

.typewriter-container {
    color: var(--accent-secondary);
}
.typewriter-text {
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
}
.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--accent-secondary);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hologram-effect {
    display: flex;
    flex-direction: column;
    gap: 10px;
    perspective: 500px;
}
.holo-agent {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    background: rgba(184, 85, 247, 0.1);
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(184, 85, 247, 0.3);
    animation: floatHolo 3s infinite ease-in-out alternate;
}
.holo-agent:nth-child(2) { animation-delay: 1s; margin-left: 20px; }
.holo-agent:nth-child(3) { animation-delay: 2s; margin-left: -20px; }
@keyframes floatHolo {
    0% { transform: translateZ(0) translateY(0); box-shadow: 0 0 10px rgba(184, 85, 247, 0.2); }
    100% { transform: translateZ(20px) translateY(-10px); box-shadow: 0 0 25px rgba(184, 85, 247, 0.6); }
}

.resume-visual {
    position: absolute; top: 0; right: -20px;
    width: 100%; height: 120%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transform: rotate(5deg) translateY(-20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.r-header { height: 40px; width: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); margin-bottom: 1rem; }
.r-line { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 0.5rem; }
.w-full { width: 100%; }
.w-3\/4 { width: 75%; }
.r-block { height: 40px; background: rgba(255,255,255,0.05); border-radius: 6px; margin-top: 1rem; }

/* Domains / Agents */
.domains {
    padding: 8rem 2rem;
    background: rgba(15,15,20,0.3);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.domains-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.domains-content { flex: 1; }
.domains-content h2 { font-size: 3rem; }
.domains-content p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.1rem; }

.domain-tags {
    display: flex; flex-wrap: wrap; gap: 1rem;
}

.domain-tag {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.domain-tag:hover {
    border-color: var(--accent-primary);
    background: rgba(184,85,247,0.1);
    color: var(--accent-primary);
}

.domains-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-sphere {
    width: 400px; height: 400px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

.core-agent {
    width: 80px; height: 80px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--accent-primary);
    animation: corePulse 3s infinite alternate;
}

@keyframes corePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 30px var(--accent-primary); }
    100% { transform: scale(1.1); box-shadow: 0 0 80px var(--accent-secondary); background: var(--accent-secondary); }
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.ring-1 { width: 200px; height: 200px; animation: spinRing 10s linear infinite; border-top-color: var(--accent-secondary); }
.ring-2 { width: 300px; height: 300px; animation: spinRing 15s linear infinite reverse; border-right-color: var(--accent-primary); }
.ring-3 { width: 400px; height: 400px; animation: spinRing 20s linear infinite; border-bottom-color: var(--accent-tertiary); border-style: dashed; }

@keyframes spinRing { 100% { transform: rotate(360deg); } }

/* Footer */
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex; gap: 4rem;
}

.link-group h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =========================================
   NEW SECTIONS (Enterprise, Stacking, Workflow)
   ========================================= */

/* Enterprise Stats (Ref Image 1) */
.enterprise-stats {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.stats-container {
    display: flex;
    gap: 2rem;
}
.stats-left {
    flex: 1.5;
    background: linear-gradient(145deg, #252535, #161625);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.stats-left h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.stats-left p { color: var(--text-secondary); margin-bottom: 3rem; max-width: 500px; }
.mockup-window {
    display: flex;
    background: #0f0f11;
    border: 1px solid #27272a;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.mockup-sidebar { width: 150px; border-right: 1px solid #27272a; padding: 1rem 0; }
.m-item { padding: 0.8rem 1.5rem; color: #71717a; font-size: 0.9rem; }
.m-item.active { color: #fff; background: rgba(255,255,255,0.05); border-left: 2px solid var(--accent-secondary); }
.mockup-main { padding: 2rem; flex: 1; }
.m-title { font-size: 1.1rem; margin-bottom: 1rem; font-weight: 500; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.m-card { background: #18181b; padding: 1rem; border-radius: 8px; border: 1px solid #27272a; font-weight: 600; }
.m-card small { color: #71717a; display: block; margin-top: 0.5rem; font-weight: 400; }

.stats-right {
    flex: 1;
    background: linear-gradient(180deg, #373391, #1e2245);
    border: 1px solid rgba(184, 85, 247, 0.4);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.stats-right h2 { font-size: 2rem; margin-bottom: 2rem; }
.stat-item { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.stat-item h3 { font-size: 3rem; margin-bottom: 0.2rem; color: #fff; display: flex; align-items: baseline; gap: 0.5rem;}
.stat-item .plus { color: #6366f1; font-size: 2rem; }
.stat-item p { color: #94a3b8; }

/* Bento Grid Overrides (Ref Image 2 style) */
.feature-bullets { list-style: none; padding: 0; }
.feature-bullets li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--text-secondary); font-size: 0.95rem; }
.feature-bullets li::before { content: '•'; position: absolute; left: 0; color: #6366f1; font-size: 1.5rem; line-height: 1; }

.robot-orb {
    width: 200px; height: 200px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #B855F7);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 40px rgba(184, 85, 247, 0.4), inset -10px -10px 30px rgba(0,0,0,0.4);
    animation: floatOrb 4s ease-in-out infinite alternate;
}
.orb-eye {
    width: 40px; height: 40px;
    background: #020617;
    border-radius: 50%;
    position: absolute; top: 40%;
    border: 3px solid #06b6d4;
    box-shadow: 0 0 25px #06b6d4;
}
.orb-eye.left { left: 20%; }
.orb-eye.right { right: 20%; }
.orb-ring {
    position: absolute; top: -10%; left: -10%; right: -10%; bottom: -10%;
    border: 3px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    transform: rotateX(70deg);
}
@keyframes floatOrb { 100% { transform: translateY(-20px); } }

.social-icons .s-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
}
.play-btn {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; backdrop-filter: blur(5px);
}

/* Stacking Cards Section */
.stacking-section {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.stacking-container {
    position: relative;
    padding-bottom: 300px; /* space for scrolling */
}
.stack-card {
    position: sticky;
    top: 20vh;
    background: #111;
    border: 1px solid #333;
    border-radius: 24px;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-1 { top: 15vh; background: linear-gradient(to right, #111, #1e1b4b); }
.card-2 { top: 18vh; background: linear-gradient(to right, #111, #312e81); }
.card-3 { top: 21vh; background: linear-gradient(to right, #111, #4c1d95); }

.stack-content { display: flex; height: 100%; }
.stack-text { flex: 1; padding: 4rem; }
.stack-text h3 { font-size: 2.5rem; margin-bottom: 1rem; }
.stack-visual { flex: 1; border-left: 1px solid #333; background-size: cover; background-position: center; opacity: 0.5; }

/* Fire Workflow */
.workflow-fire {
    padding: 8rem 2rem;
    position: relative;
    text-align: center;
    background: #000;
    overflow: hidden;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.fire-bg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.4) 0%, rgba(249, 115, 22, 0.2) 30%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: flicker 3s infinite alternate;
}
@keyframes flicker {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
.workflow-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.workflow-sub { font-size: 1.2rem; color: #fca5a5; margin: 2rem 0 4rem; }
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.f-step { background: rgba(20,0,0,0.5); padding: 2rem; border-radius: 16px; border: 1px solid #7f1d1d; flex: 1; }
.f-icon { width: 50px; height: 50px; background: #dc2626; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 1rem; box-shadow: 0 0 20px #ef4444; }
.f-arrow { font-size: 2rem; color: #f97316; }

/* Integrations Marquee */
.app-icons .m-app {
    padding: 0.8rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-weight: 500;
    margin: 0 1rem;
    color: #fff;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}
.app-icons.reverse { animation-direction: reverse; animation-duration: 40s; }
.m-app.model { border-color: rgba(6, 182, 212, 0.3); background: rgba(6,182,212,0.05); }

/* Initialize Modal */
.init-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.init-modal.active { opacity: 1; pointer-events: all; }
.modal-glass {
    background: rgba(15,15,20,0.6); border: 1px solid var(--border-glow);
    border-radius: 24px; padding: 4rem; text-align: center; max-width: 800px; width: 90%;
    position: relative; box-shadow: 0 0 50px rgba(184,85,247,0.2);
    transform: translateY(50px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.init-modal.active .modal-glass { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.modal-title { font-size: 3rem; margin-bottom: 0.5rem; }
.modal-sub { color: var(--text-secondary); margin-bottom: 3rem; }
.modal-options, .modal-sub-options { display: flex; gap: 2rem; justify-content: center; }
.m-option {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 2rem; border-radius: 16px; cursor: pointer; transition: all 0.3s; flex: 1;
}
.m-option:hover { background: rgba(184,85,247,0.1); border-color: var(--accent-primary); transform: translateY(-5px); }
.o-icon { font-size: 3rem; margin-bottom: 1rem; }

/* NASA Warp Overlay */
.warp-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #000; z-index: 20000;
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 1s;
}
.warp-overlay.active { display: flex; opacity: 1; }
.warp-text { position: absolute; z-index: 2; color: #06b6d4; font-family: monospace; font-size: 2rem; letter-spacing: 5px; text-shadow: 0 0 20px #06b6d4; animation: flashText 0.5s infinite; }
@keyframes flashText { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
#warpCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

/* Rent AI Employees Section */
.rent-agents { padding: 8rem 2rem; max-width: 1200px; margin: 0 auto; }

.rent-how-it-works { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin: 4rem 0; }
.hw-step { flex: 1; text-align: center; padding: 2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; transition: all 0.3s; }
.hw-step:hover { border-color: var(--accent-primary); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(184,85,247,0.15); }
.hw-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
.hw-step h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.hw-step p { color: var(--text-secondary); font-size: 0.9rem; }
.hw-connector { width: 60px; height: 2px; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); align-self: center; margin-top: -1rem; flex-shrink: 0; }

.agent-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 4rem 0; }
.agent-cat-card { background: rgba(15,15,20,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 2rem; transition: all 0.3s; position: relative; overflow: hidden; }
.agent-cat-card:hover { border-color: var(--accent-primary); transform: translateY(-4px); }
.agent-cat-card::after { content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px; background: radial-gradient(circle, rgba(184,85,247,0.1), transparent 70%); pointer-events: none; }
.agent-cat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.agent-cat-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.agent-cat-card p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1rem; }
.agent-count { font-family: var(--font-display); font-size: 0.85rem; color: var(--accent-primary); font-weight: 600; padding: 0.3rem 0.8rem; background: rgba(184,85,247,0.1); border: 1px solid rgba(184,85,247,0.3); border-radius: 50px; }

.agent-terminal { max-width: 800px; margin: 4rem auto 0; border-radius: 16px; overflow: hidden; border: 1px solid #27272a; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.terminal-header { background: #1a1d27; padding: 0.8rem 1rem; display: flex; align-items: center; gap: 8px; }
.terminal-header span { width: 12px; height: 12px; border-radius: 50%; }
.terminal-header span:nth-child(1) { background: #ef4444; }
.terminal-header span:nth-child(2) { background: #eab308; }
.terminal-header span:nth-child(3) { background: #22c55e; }
.terminal-title { margin-left: auto; color: #71717a; font-size: 0.8rem; font-family: monospace; }
.terminal-body { background: #0a0a0f; padding: 1.5rem; font-family: monospace; font-size: 0.9rem; min-height: 220px; }
.term-line { opacity: 0; animation: typeFade 0.5s forwards; margin-bottom: 0.6rem; color: #cbd5e1; }
.t-prompt { color: var(--accent-secondary); font-weight: 700; margin-right: 0.5rem; }
.t-ok { color: #22c55e; font-weight: 700; margin-right: 0.5rem; }
.t-active { color: #22c55e; font-weight: 600; text-shadow: 0 0 8px rgba(34,197,94,0.5); }
.t-link { color: var(--accent-primary); text-decoration: underline; }

.card-4 { top: 24vh; background: linear-gradient(to right, #111, #be185d); }

/* Stacking visuals */
.media-preview-box { width: 300px; height: 200px; background: #0f0f11; border-radius: 12px; border: 1px solid #333; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.preview-img { flex: 1; background: linear-gradient(45deg, #3b82f6, #8b5cf6); border-radius: 8px; animation: pulseColor 3s infinite alternate; }
@keyframes pulseColor { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(90deg); } }
.preview-ui { display: flex; gap: 1rem; align-items: center; }
.p-bar { height: 8px; background: #333; border-radius: 4px; flex: 1; }
.p-btn { width: 24px; height: 24px; background: #6366f1; border-radius: 50%; }

.rag-network { position: relative; width: 250px; height: 250px; }
.rag-node { position: absolute; border-radius: 50%; background: #b855f7; box-shadow: 0 0 20px #b855f7; }
.rag-node.center { width: 60px; height: 60px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #ec4899; box-shadow: 0 0 30px #ec4899; }
.rag-node.orbit { width: 20px; height: 20px; }
.o1 { top: 10%; left: 50%; transform: translateX(-50%); }
.o2 { bottom: 25%; left: 15%; }
.o3 { bottom: 25%; right: 15%; }
.spin-slow { transform-origin: center; animation: spin 10s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* About Us Section */
.about-us { padding: 8rem 2rem; max-width: 1200px; margin: 0 auto; }
.about-container { margin-top: 3rem; background: rgba(15,15,20,0.8); border: 1px solid #27272a; border-radius: 24px; overflow: hidden; }
.about-tabs { display: flex; border-bottom: 1px solid #27272a; }
.tab-btn { flex: 1; text-align: center; padding: 1.5rem; color: #71717a; cursor: pointer; font-weight: 500; transition: all 0.3s; }
.tab-btn:hover { background: rgba(255,255,255,0.02); }
.tab-btn.active { color: #fff; background: rgba(255,255,255,0.05); border-bottom: 2px solid var(--accent-primary); }
.about-content-box { display: flex; min-height: 400px; }
.about-text-area { flex: 1; padding: 4rem; }
.about-text-area h3 { font-size: 2rem; margin-bottom: 1rem; }
.about-text-area p { color: var(--text-secondary); margin-bottom: 2rem; }
.about-visual-area { flex: 1; border-left: 1px solid #27272a; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(184,85,247,0.1), transparent 70%); }

/* CSS Macbook */
.macbook { width: 400px; display: flex; flex-direction: column; align-items: center; transform: perspective(800px) rotateY(-15deg); }
.mb-screen { width: 100%; height: 250px; background: #111; border: 4px solid #27272a; border-radius: 12px 12px 0 0; padding: 10px; position: relative; }
.mb-display { width: 100%; height: 100%; background: #000; border-radius: 4px; padding: 1rem; font-family: monospace; font-size: 0.8rem; color: #fff; position: relative; overflow: hidden; }
.mb-code-line { margin-bottom: 0.5rem; opacity: 0; animation: typeFade 0.5s forwards; }
.mb-code-line:nth-child(1) { animation-delay: 0.5s; }
.mb-code-line:nth-child(2) { animation-delay: 1.5s; }
.mb-code-line:nth-child(3) { animation-delay: 2.5s; }
.mb-orb { position: absolute; bottom: -20px; right: -20px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(184,85,247,0.4), transparent 70%); animation: pulseOrb 4s infinite alternate; }
@keyframes typeFade { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes pulseOrb { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 1; } }
.mb-base { width: 120%; height: 15px; background: #3f3f46; border-radius: 0 0 16px 16px; position: relative; }
.mb-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 5px; background: #27272a; border-radius: 0 0 4px 4px; }

/* FAQ Section */
.faq-section { padding: 8rem 2rem; max-width: 800px; margin: 0 auto; }
.faq-container { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; }
.faq-q { padding: 1.5rem; font-size: 1.2rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.faq-q:hover { background: rgba(255,255,255,0.05); }
.faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; color: var(--text-secondary); transition: all 0.3s ease-out; }
.faq-item.active .faq-a { padding: 0 1.5rem 1.5rem; max-height: 200px; }
.faq-item.active .faq-q span { transform: rotate(45deg); }
.faq-q span { transition: transform 0.3s; color: var(--accent-primary); }

/* Responsive Updates */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.col-span-2 { grid-column: span 2; }
    .domains-inner { flex-direction: column; text-align: center; }
    .domain-tags { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; cursor: pointer; }
    .hero-title { font-size: 3rem; }
    .hero-cta { flex-direction: column; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.col-span-2 { grid-column: span 1; }
    .bento-card.row-span-2 { grid-row: span 1; }
    .card-content.horizontal { flex-direction: column; text-align: center; }
    .resume-visual { position: relative; transform: none; top: 0; right: 0; margin-top: 2rem; }
    .footer-top { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 2rem; }
    .rent-how-it-works { flex-direction: column; gap: 1.5rem; }
    .hw-connector { width: 2px; height: 40px; margin: 0 auto; }
    .agent-categories { grid-template-columns: 1fr; }
}
