/* ============================================
   Zvuai Technologies — Digital World Design
   ============================================ */

:root {
    --color-bg: #05070A;
    --color-bg-elevated: #0a0d12;
    --color-bg-card: #0d1117;
    --color-border: rgba(125, 211, 252, 0.06);
    --color-border-hover: rgba(125, 211, 252, 0.2);
    --color-text: #e8ecf0;
    --color-text-secondary: #6b7a8d;
    --color-text-muted: #3a4555;
    --color-accent: #7dd3fc;
    --color-accent-light: #bae6fd;
    --color-accent-dark: #38bdf8;
    --gradient-text: linear-gradient(135deg, #bae6fd, #7dd3fc, #38bdf8);
    --glass-bg: rgba(13, 17, 23, 0.8);
    --glass-border: rgba(125, 211, 252, 0.08);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --container-width: 1200px;
    --container-padding: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); }
a { color: inherit; text-decoration: none; }

.cursor-glow {
    position: fixed; width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.06), transparent 70%);
    pointer-events: none; z-index: 0;
    transform: translate(-50%, -50%); transition: opacity 0.3s;
    will-change: left, top;
}

/* ============================================
   Typography
   ============================================ */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.5;
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 16px;
}
.section-subheading {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius-full);
    font-family: var(--font-primary); font-size: 0.9rem; font-weight: 600;
    transition: all var(--transition-base); cursor: pointer; border: none; white-space: nowrap;
}
.btn-icon { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #7dd3fc);
    color: #05070A; font-weight: 700;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}
.btn-primary:hover { box-shadow: 0 0 40px rgba(56, 189, 248, 0.35); transform: translateY(-1px); }
.btn-secondary {
    background: transparent; color: var(--color-text);
    border: 1px solid rgba(125, 211, 252, 0.15);
}
.btn-secondary:hover { border-color: rgba(125,211,252,0.35); background: rgba(125,211,252,0.04); }

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all var(--transition-base);
}
.nav.scrolled { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
/* Blur lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside the nav box. */
.nav.scrolled::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
    max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding);
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-size: 0.875rem; font-weight: 500; color: var(--color-text-secondary);
    transition: color var(--transition-fast); position: relative;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
    height: 2px; background: var(--color-accent); border-radius: 1px;
}
.nav-cta { padding: 10px 22px; font-size: 0.8125rem; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition-fast); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }
.nav-mobile { display: none; flex-direction: column; padding: 24px var(--container-padding); gap: 16px; }
.nav-mobile.active { display: flex; }

/* ============================================
   ROBOT CHARACTER
   ============================================ */
.robot {
    position: fixed; z-index: 100;
    bottom: 10%; left: 2%;
    width: 60px; height: 75px;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.2));
}
.robot svg { width: 100%; height: 100%; }
.robot.idle { animation: robot-idle 2.5s ease-in-out infinite; }
@keyframes robot-idle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.robot-eye { animation: blink 4s ease-in-out infinite; }
@keyframes blink { 0%,45%,55%,100% { ry: 3; } 50% { ry: 0.5; } }
.robot-antenna-tip { animation: antenna-pulse 2s ease-in-out infinite; }
@keyframes antenna-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.robot-chest-light { animation: chest-glow 3s ease-in-out infinite; }
@keyframes chest-glow { 0%,100% { opacity: 0.8; } 50% { opacity: 0.3; } }
.robot-arm-l { transform-origin: 13px 44px; animation: arm-swing 3s ease-in-out infinite; }
.robot-arm-r { transform-origin: 67px 44px; animation: arm-swing 3s ease-in-out infinite 1.5s; }
@keyframes arm-swing { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg); } }

/* ============================================
   ROBOT THOUGHT BUBBLE
   ============================================ */
.robot-bubble {
    position: fixed; z-index: 101;
    pointer-events: none; opacity: 0;
    transition: top 0.6s ease, left 0.6s ease, opacity 0.4s ease;
    animation: bubble-fade-in 0.6s ease 1.5s forwards;
}
.robot-bubble.is-hidden { opacity: 0 !important; }
@keyframes bubble-fade-in { to { opacity: 1; } }
.robot-bubble-inner {
    position: relative;
    background: rgba(13, 17, 23, 0.92);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 14px;
    padding: 12px 16px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    max-width: 220px; min-height: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 20px rgba(56,189,248,0.06);
}
.robot-bubble-inner::before {
    content: '';
    position: absolute; bottom: 10px; left: -8px;
    width: 14px; height: 14px;
    background: rgba(13, 17, 23, 0.92);
    border-left: 1px solid rgba(125, 211, 252, 0.2);
    border-bottom: 1px solid rgba(125, 211, 252, 0.2);
    transform: rotate(45deg);
}
.robot-bubble-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--color-accent-light);
    letter-spacing: 0.02em;
}
.robot-bubble-text .typing-cursor {
    display: inline-block; width: 2px; height: 12px;
    background: var(--color-accent);
    margin-left: 2px; vertical-align: middle;
    animation: cursor-blink 0.7s step-end infinite;
}
@keyframes cursor-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.robot-bubble-text .highlight { color: #fff; font-weight: 600; }
.robot-wave {
    display: inline-block; animation: wave-hand 1.5s ease-in-out 2s 2;
    transform-origin: bottom center;
}
@keyframes wave-hand {
    0%,100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(15deg); }
}

/* ============================================
   BACKGROUND SPARKLES
   ============================================ */
.bg-particles {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-particle {
    position: absolute; width: 3px; height: 3px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125,211,252,0.8), rgba(56,189,248,0.2));
    box-shadow: 0 0 6px rgba(125,211,252,0.4), 0 0 12px rgba(56,189,248,0.15);
}
.bg-particle:nth-child(1) { top: 12%; left: 18%; animation: sparkle-drift 7s ease-in-out infinite, sparkle-glow 3s ease-in-out infinite; }
.bg-particle:nth-child(2) { top: 30%; left: 72%; animation: sparkle-drift 10s ease-in-out infinite 1.5s, sparkle-glow 2.5s ease-in-out infinite 0.5s; width: 4px; height: 4px; }
.bg-particle:nth-child(3) { top: 52%; left: 38%; animation: sparkle-drift 8s ease-in-out infinite 3s, sparkle-glow 3.5s ease-in-out infinite 1s; width: 2px; height: 2px; }
.bg-particle:nth-child(4) { top: 70%; left: 82%; animation: sparkle-drift 9s ease-in-out infinite 0.8s, sparkle-glow 2s ease-in-out infinite 1.5s; }
.bg-particle:nth-child(5) { top: 22%; left: 88%; animation: sparkle-drift 11s ease-in-out infinite 2s, sparkle-glow 4s ease-in-out infinite; width: 2px; height: 2px; }
.bg-particle:nth-child(6) { top: 60%; left: 12%; animation: sparkle-drift 6s ease-in-out infinite 4s, sparkle-glow 3s ease-in-out infinite 2s; width: 4px; height: 4px; }
.bg-particle:nth-child(7) { top: 82%; left: 52%; animation: sparkle-drift 12s ease-in-out infinite 1s, sparkle-glow 2.5s ease-in-out infinite 0.8s; }
.bg-particle:nth-child(8) { top: 8%; left: 48%; animation: sparkle-drift 9s ease-in-out infinite 2.5s, sparkle-glow 3s ease-in-out infinite 1.2s; width: 2px; height: 2px; }
@keyframes sparkle-drift {
    0%,100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -25px); }
    50% { transform: translate(-15px, -40px); }
    75% { transform: translate(25px, -10px); }
}
@keyframes sparkle-glow {
    0%,100% { opacity: 0.2; box-shadow: 0 0 4px rgba(125,211,252,0.2); }
    50% { opacity: 0.9; box-shadow: 0 0 10px rgba(125,211,252,0.6), 0 0 20px rgba(56,189,248,0.3); }
}

/* ============================================
   GRID OVERLAY
   ============================================ */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(125, 211, 252, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

/* ============================================
   GLOWING PATH
   ============================================ */
.glow-path {
    position: fixed; left: calc(2.75% + 27px); top: 0; bottom: 0;
    width: 6px; z-index: 50; pointer-events: none;
}
.glow-path-svg { width: 100%; height: 100%; }

/* ============================================
   WORLD SECTIONS (shared)
   ============================================ */
.world-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; padding: 100px 0;
}
.world-env { position: absolute; inset: 0; pointer-events: none; }
.world-content {
    position: relative; z-index: 10;
    width: 100%; max-width: var(--container-width); margin: 0 auto;
    padding: 0 var(--container-padding);
}
/* Keeps a lane on the left for the fixed robot so it never covers text. */
@media (min-width: 1025px) {
    .world-section:not(.cta-world) .world-content {
        padding-left: max(var(--container-padding), calc(124px - max(0px, (100vw - var(--container-width)) / 2)));
    }
}

/* ============================================
   HERO
   ============================================ */
/* Section dividers */
.world-section + .world-section::before {
    content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125,211,252,0.08) 30%, rgba(125,211,252,0.08) 70%, transparent);
}

/* Sparkles */
.hero-sparkles {
    position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.sparkle {
    position: absolute; left: var(--x); top: var(--y);
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px rgba(125,211,252,0.6), 0 0 12px rgba(125,211,252,0.3);
    animation: sparkle-pulse var(--dur) ease-in-out var(--delay) infinite;
    opacity: 0;
}
@keyframes sparkle-pulse {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Rocket */
.hero-rocket {
    position: absolute; z-index: 2; pointer-events: none;
    width: 20px; height: 40px;
    left: 82%; bottom: -50px;
    animation: rocket-fly 8s cubic-bezier(0.2, 0.8, 0.3, 1) 2s infinite;
    opacity: 0;
}
.hero-rocket svg { width: 100%; height: 100%; }
.rocket-trail {
    position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 30px;
    background: linear-gradient(to top, transparent, rgba(125,211,252,0.4), rgba(251,191,36,0.3));
    border-radius: 2px;
    animation: trail-flicker 0.15s ease infinite alternate;
}
@keyframes trail-flicker {
    from { opacity: 0.6; height: 25px; }
    to { opacity: 1; height: 35px; }
}
@keyframes rocket-fly {
    0% { bottom: -60px; opacity: 0; left: 82%; transform: rotate(-5deg); }
    5% { opacity: 0.9; }
    70% { opacity: 0.9; }
    100% { bottom: 110%; opacity: 0; left: 78%; transform: rotate(-8deg); }
}

.hero-world { perspective: 1200px; }
.hero-world .world-content { padding-left: var(--container-padding); transform-style: preserve-3d; }
.hero-home { padding-top: 70px; padding-bottom: 0; flex-direction: column; align-items: stretch; }
/* Top padding = nav height (~81px) + the same gap that sits below the title (56px here + 80px next section). */
.page-hero { min-height: auto; padding: 216px 0 56px; }
.world-section.content-section { min-height: auto; padding: 80px 0; flex-direction: column; justify-content: center; align-items: stretch; }
.page-hero .world-content { width: 100%; }
.page-hero .hero-content, .hero-home .hero-content { max-width: var(--container-width); }
.page-hero .hero-description { margin-bottom: 0; }
.hero-content {
    display: flex; flex-direction: column; align-items: flex-start; max-width: 600px;
    position: relative; transform-style: preserve-3d;
}
.hero-content::before {
    content: ''; position: absolute; top: 50%; left: 30%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.12), rgba(167,139,250,0.06), transparent 70%);
    transform: translate(-50%, -50%) translateZ(-60px);
    filter: blur(60px); pointer-events: none; z-index: -1;
}
.hero-title {
    font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px;
    transform-style: preserve-3d;
}
.hero-title .word {
    display: inline-block; opacity: 0;
    transform: translateY(40px) scale(0.92);
    filter: blur(8px);
    animation: word-reveal 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: 0.15s; }
.hero-title .word:nth-child(2) { animation-delay: 0.3s; }
.hero-title .word:nth-child(3) { animation-delay: 0.45s; }
.hero-title .word:nth-child(4) { animation-delay: 0.6s; }
.hero-title .word:nth-child(5) { animation-delay: 0.75s; }
.hero-title .word-br { display: block; }
@keyframes word-reveal {
    0% { opacity: 0; transform: translateY(40px) scale(0.92); filter: blur(8px); }
    60% { opacity: 1; transform: translateY(-4px) scale(1.02); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.hero-rotator {
    display: inline-block; height: 1.15em; overflow: hidden;
    perspective: 600px; position: relative;
    vertical-align: bottom;
}
.hero-rotator-track {
    display: flex; flex-direction: column;
    animation: rotator-cycle 10s linear 1s infinite;
}
.rotator-word {
    display: block; height: 1.15em; line-height: 1.15;
    background: linear-gradient(135deg, var(--color-accent), #a78bfa, #38bdf8);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer-text 4s ease-in-out infinite;
    white-space: nowrap;
    transform-style: preserve-3d;
}
@keyframes rotator-cycle {
    0%, 16%   { transform: translateY(0)       rotateX(0deg); animation-timing-function: cubic-bezier(0.64,0,0.78,0); }
    18%       { transform: translateY(-0.575em) rotateX(-12deg); animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
    20%, 36%  { transform: translateY(-1.15em) rotateX(0deg); animation-timing-function: cubic-bezier(0.64,0,0.78,0); }
    38%       { transform: translateY(-1.725em) rotateX(-12deg); animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
    40%, 56%  { transform: translateY(-2.3em)  rotateX(0deg); animation-timing-function: cubic-bezier(0.64,0,0.78,0); }
    58%       { transform: translateY(-2.875em) rotateX(-12deg); animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
    60%, 76%  { transform: translateY(-3.45em) rotateX(0deg); animation-timing-function: cubic-bezier(0.64,0,0.78,0); }
    78%       { transform: translateY(-4.025em) rotateX(-12deg); animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
    80%, 96%  { transform: translateY(-4.6em)  rotateX(0deg); animation-timing-function: cubic-bezier(0.64,0,0.78,0); }
    98%       { transform: translateY(-5.175em) rotateX(-12deg); animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
    100%      { transform: translateY(-5.75em) rotateX(0deg); }
}
@keyframes shimmer-text {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-description {
    font-size: 1.05rem; color: var(--color-text-secondary); line-height: 1.7; max-width: 440px; margin-bottom: 28px;
    opacity: 0; animation: fade-up 0.6s ease 0.8s forwards;
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    opacity: 0; animation: fade-up 0.6s ease 1s forwards;
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-world > .world-content .section-label { opacity: 0; animation: fade-up 0.5s ease 0.05s forwards; }

.hero-platform { position: absolute; bottom: 15%; left: 6%; width: 120px; height: 20px; perspective: 400px; }
.platform-surface {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(125,211,252,0.08), rgba(56,189,248,0.03));
    border: 1px solid rgba(125,211,252,0.12); border-radius: 50%; transform: rotateX(60deg);
}
.platform-glow {
    position: absolute; inset: -10px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(56,189,248,0.08) 0%, transparent 70%);
    transform: rotateX(60deg); filter: blur(8px);
}

/* Floating Objects */
.hero-orbit-wrap {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;
    min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); padding: 32px 24px 72px; gap: 24px;
}
.orbit-title {
    font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.6rem);
    letter-spacing: 0.35em; text-transform: uppercase; text-align: center;
    margin: 0; padding-left: 0.35em; position: relative; display: flex; flex-wrap: wrap;
    justify-content: center; gap: 6px 0.55em;
}
.orbit-title::after {
    content: ''; position: absolute; bottom: -10px; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0; animation: orbit-line-reveal 0.8s ease 2s forwards;
}
@keyframes orbit-line-reveal {
    from { opacity: 0; left: 45%; right: 45%; }
    to { opacity: 0.4; left: 20%; right: 20%; }
}
.orbit-title-line { display: flex; justify-content: center; white-space: nowrap; }
.orbit-letter {
    display: inline-block; opacity: 0;
    background: linear-gradient(135deg, #bae6fd, #7dd3fc, #38bdf8, #a78bfa);
    background-size: 300% 300%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: orbit-letter-in 0.6s cubic-bezier(0.16,1,0.3,1) calc(var(--d) * 0.08s + 0.3s) forwards,
               orbit-title-shimmer 6s ease-in-out 2.5s infinite;
}
@keyframes orbit-letter-in {
    from { opacity: 0; transform: translateY(-20px) scale(0.5) rotateX(90deg); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); filter: blur(0); }
}
@keyframes orbit-title-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.orbit-tagline {
    font-family: var(--font-mono); font-size: clamp(0.75rem, 2.2vw, 1rem);
    letter-spacing: 0.2em; color: var(--color-text-secondary); text-align: center;
    margin-top: 0;
    opacity: 0; animation: orbit-tagline-reveal 1.2s ease 2.2s forwards;
}
@keyframes orbit-tagline-reveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 0.75; transform: translateY(0); }
}
.hero-orbit {
    --orbit-size: min(520px, 92vw, 54vh);
    --orbit-radius: 0.41;
    position: relative; width: var(--orbit-size); height: var(--orbit-size);
    margin: 0 auto; z-index: 5; flex-shrink: 0;
}
.orbit-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(125,211,252,0.1);
    animation: orbit-pulse 4s ease-in-out infinite;
}
.orbit-ring-inner {
    inset: 25%; border-color: rgba(125,211,252,0.06);
    animation-delay: -2s;
}
@keyframes orbit-pulse {
    0%, 100% { border-color: rgba(125,211,252,0.08); box-shadow: 0 0 20px rgba(125,211,252,0.02); }
    50% { border-color: rgba(125,211,252,0.18); box-shadow: 0 0 40px rgba(125,211,252,0.06); }
}
.orbit-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(13,17,23,0.9); border: 1px solid rgba(125,211,252,0.15);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 40px rgba(125,211,252,0.12), 0 0 80px rgba(125,211,252,0.04);
    z-index: 2;
}
.orbit-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; }
.orbit-track {
    position: absolute; inset: 0; animation: orbit-spin 60s linear infinite;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit-node {
    position: absolute; top: 50%; left: 50%;
    width: 70px; height: 70px; margin: -35px 0 0 -35px;
    transform: rotate(calc(var(--i) * 60deg)) translateX(calc(var(--orbit-size) * var(--orbit-radius)));
}
.orbit-node-inner {
    animation: orbit-counter 60s linear infinite;
}
@keyframes orbit-counter { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.orbit-node-upright {
    transform: rotate(calc(var(--angle) * -1));
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.orbit-node .fo-phone { width: 34px; height: 56px; }
.orbit-node .fo-dashboard { width: 60px; height: 40px; }
.orbit-node .fo-ai-node { width: 42px; height: 42px; }
.orbit-node .fo-browser { width: 60px; }
.orbit-node .fo-browser-screen { height: 32px; }
.orbit-node .fo-cube { width: 32px; height: 32px; }
.orbit-node .fo-pipeline span { width: 10px; height: 10px; }
.orbit-label {
    font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
    color: var(--color-accent); opacity: 0.7; white-space: nowrap; text-align: center;
}
.hero-title-section {
    min-height: 80vh; display: flex; flex-direction: column;
    justify-content: center; padding: 60px 0 80px;
}
.hero-home .scroll-hint { bottom: 20px; }
.floating-objects { position: absolute; top: 10%; right: 5%; width: 50%; height: 70%; pointer-events: auto; }
.float-obj { position: absolute; transition: transform 0.4s ease; }
.float-obj::after {
    content: attr(data-label); position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
    color: var(--color-accent); opacity: 0.5; white-space: nowrap;
}
.float-obj:hover { transform: scale(1.08) translateY(-8px) !important; }
@keyframes obj-float-1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes obj-float-2 { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes obj-float-3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.float-obj-browser { top: 5%; right: 20%; animation: obj-float-1 6s ease-in-out infinite; }
.float-obj-phone { top: 20%; right: 65%; animation: obj-float-2 5.5s ease-in-out infinite 0.5s; }
.float-obj-ai { top: 50%; right: 10%; animation: obj-float-3 7s ease-in-out infinite 1s; }
.float-obj-dash { top: 60%; right: 55%; animation: obj-float-1 5s ease-in-out infinite 0.3s; }
.float-obj-cube { top: 15%; right: 5%; animation: obj-float-2 6.5s ease-in-out infinite 0.8s; }
.float-obj-auto { top: 75%; right: 30%; animation: obj-float-3 5.5s ease-in-out infinite 1.2s; }

.fo-browser {
    width: 100px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 6px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fo-browser-bar { display: flex; gap: 4px; padding: 5px 8px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.04); }
.fo-browser-bar span { width: 5px; height: 5px; border-radius: 50%; background: rgba(125,211,252,0.2); }
.fo-browser-bar span:first-child { background: rgba(239,68,68,0.4); }
.fo-browser-bar span:nth-child(2) { background: rgba(234,179,8,0.4); }
.fo-browser-bar span:nth-child(3) { background: rgba(34,197,94,0.4); }
.fo-browser-screen { height: 50px; background: linear-gradient(135deg, rgba(125,211,252,0.06), rgba(56,189,248,0.02)); }

.fo-phone {
    width: 45px; height: 85px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 10px; padding: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.fo-phone-notch { width: 20px; height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin: 3px auto; }
.fo-phone-screen { height: calc(100% - 10px); border-radius: 6px; background: linear-gradient(180deg, rgba(125,211,252,0.08), rgba(56,189,248,0.03)); }

.fo-ai-node { position: relative; width: 50px; height: 50px; }
.fo-ai-core { position: absolute; inset: 15px; border-radius: 50%; background: var(--color-accent-dark); box-shadow: 0 0 20px rgba(56,189,248,0.4); }
.fo-ai-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(125,211,252,0.2); animation: spin-slow 8s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.fo-dashboard {
    width: 90px; height: 55px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 5px; display: flex; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.fo-dash-sidebar { width: 16px; background: rgba(125,211,252,0.04); border-right: 1px solid rgba(125,211,252,0.06); }
.fo-dash-content { flex: 1; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.fo-dash-bar { height: 8px; background: rgba(125,211,252,0.1); border-radius: 2px; }
.fo-dash-bar.short { width: 60%; }

.fo-cube {
    width: 30px; height: 30px; background: rgba(125,211,252,0.06); border: 1px solid rgba(125,211,252,0.15);
    border-radius: 4px; transform: rotate(45deg); box-shadow: 0 0 20px rgba(125,211,252,0.06);
}
.fo-pipeline { display: flex; align-items: center; }
.fo-pipeline span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); opacity: 0.6; box-shadow: 0 0 8px rgba(125,211,252,0.3); }
.fo-pipeline span:nth-child(2) { margin-left: -2px; opacity: 0.4; }
.fo-pipeline span:nth-child(3) { margin-left: -2px; opacity: 0.2; }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 10; }
.scroll-hint span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.scroll-hint-arrow { animation: bounce-arrow 2s ease-in-out infinite; }
@keyframes bounce-arrow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================
   PLANNING
   ============================================ */
.plan-world { background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(125,211,252,0.02) 0%, transparent 100%); }
.plan-room { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.plan-table {
    display: flex; flex-direction: column; align-items: center;
    position: absolute; right: 10%; top: 50%; transform: translateY(-50%); pointer-events: auto;
}
.plan-node {
    display: flex; align-items: center; gap: 12px; padding: 12px 20px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm); cursor: default; transition: all var(--transition-base);
    position: relative; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.plan-node:hover { border-color: var(--color-border-hover); box-shadow: 0 0 20px rgba(125,211,252,0.08); }
.plan-node:hover::after {
    content: attr(data-info); position: absolute; left: calc(100% + 16px); top: 50%; transform: translateY(-50%);
    padding: 8px 14px; background: rgba(13,17,23,0.95); border: 1px solid rgba(125,211,252,0.12);
    border-radius: var(--radius-sm); font-size: 0.75rem; color: var(--color-text-secondary);
    white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 20;
}
.plan-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent-dark); box-shadow: 0 0 10px rgba(56,189,248,0.3); }
.plan-node span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--color-text); }
.plan-connector { width: 1px; height: 24px; background: linear-gradient(180deg, rgba(125,211,252,0.2), rgba(125,211,252,0.05)); }
.plan-node.active { border-color: rgba(125,211,252,0.25); box-shadow: 0 0 24px rgba(125,211,252,0.1); }
.plan-node.active .plan-dot { box-shadow: 0 0 16px rgba(56,189,248,0.5); }

/* ============================================
   DIGITAL CITY
   ============================================ */
.city-world { min-height: 120vh; align-items: flex-end; padding-bottom: 60px; }
.city-world .world-content { margin-bottom: 40px; }
.city-skyline {
    position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
    display: flex; align-items: flex-end; justify-content: center; gap: 3%; padding: 0 8%;
    pointer-events: auto;
}
.city-building { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 140px; cursor: default; transition: all 0.4s ease; }
.city-building:hover { transform: translateY(-8px); }
.city-building:hover .bld-structure { border-color: var(--color-border-hover); box-shadow: 0 0 30px rgba(125,211,252,0.08), 0 12px 40px rgba(0,0,0,0.3); }
.city-building:hover .bld-info { opacity: 1; transform: translateY(-8px); }
.city-building:hover .bld-label { color: var(--color-accent); }

.bld-structure {
    width: 100%; background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md) var(--radius-md) 0 0; transition: all var(--transition-base);
    position: relative; overflow: hidden;
}
.bld-window { height: 16px; margin: 8px 10px; background: rgba(125,211,252,0.05); border: 1px solid rgba(125,211,252,0.06); border-radius: 2px; }
.bld-web .bld-structure { height: 160px; padding-top: 12px; }
.bld-mobile .bld-structure { height: 200px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.bld-phone-shape { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; }
.bld-screen { flex: 1; width: 80%; background: linear-gradient(180deg, rgba(125,211,252,0.06), rgba(56,189,248,0.02)); border-radius: 6px; }
.bld-ai .bld-structure { height: 180px; display: flex; align-items: center; justify-content: center; }
.bld-ai-shape { position: relative; }
.bld-ai-core { width: 30px; height: 30px; border-radius: 50%; background: var(--color-accent-dark); box-shadow: 0 0 20px rgba(56,189,248,0.4); }
.bld-ai-ring { position: absolute; inset: -15px; border-radius: 50%; border: 1px solid rgba(125,211,252,0.15); animation: spin-slow 10s linear infinite; }
.bld-saas .bld-structure { height: 220px; }
.bld-tower { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.bld-module { flex: 1; background: rgba(125,211,252,0.04); border: 1px solid rgba(125,211,252,0.06); border-radius: 3px; }
.bld-auto .bld-structure { height: 140px; }
.bld-factory { display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.bld-pipe { height: 8px; background: rgba(125,211,252,0.08); border-radius: 4px; }
.bld-gear { width: 30px; height: 30px; margin: 0 auto; border: 2px solid rgba(125,211,252,0.12); border-radius: 50%; animation: spin-slow 6s linear infinite; }
.bld-ux .bld-structure { height: 150px; }
.bld-studio { display: flex; gap: 6px; padding: 10px; height: 100%; }
.bld-panel { flex: 1; background: rgba(125,211,252,0.04); border: 1px solid rgba(125,211,252,0.06); border-radius: 3px; }

.bld-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; color: var(--color-text-muted); margin-top: 10px; transition: color var(--transition-fast); }
.bld-info {
    position: absolute; bottom: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(4px);
    padding: 12px 16px; background: rgba(13,17,23,0.95); border: 1px solid rgba(125,211,252,0.12);
    border-radius: var(--radius-sm); text-align: center; opacity: 0; transition: all var(--transition-base);
    pointer-events: none; min-width: 160px; z-index: 20; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bld-info h3 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.bld-info p { font-size: 0.7rem; color: var(--color-text-secondary); line-height: 1.5; }

.city-road { position: absolute; bottom: 0; left: 0; right: 0; height: 6px; }
.road-surface { height: 100%; background: linear-gradient(90deg, transparent, rgba(125,211,252,0.1) 20%, rgba(125,211,252,0.1) 80%, transparent); }
.road-glow { position: absolute; bottom: 0; left: 10%; right: 10%; height: 20px; background: radial-gradient(ellipse 100% 100% at 50% 100%, rgba(56,189,248,0.06) 0%, transparent 100%); }

/* ============================================
   FACTORY
   ============================================ */
.factory-line {
    position: absolute; top: 50%; left: 15%; right: 5%; transform: translateY(-50%);
    display: flex; align-items: flex-start; pointer-events: auto;
}
.factory-stage { flex: 1; text-align: center; opacity: 0.4; transition: opacity 0.5s ease; }
.factory-stage.active { opacity: 1; }
.factory-machine { display: flex; justify-content: center; margin-bottom: 12px; }
.machine-body {
    width: 60px; height: 60px; background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-base);
}
.factory-stage.active .machine-body { border-color: var(--color-border-hover); box-shadow: 0 0 20px rgba(125,211,252,0.08); }
.machine-screen { font-size: 1.2rem; }
.factory-belt { flex: 0 0 auto; width: 30px; height: 2px; background: linear-gradient(90deg, rgba(125,211,252,0.2), rgba(125,211,252,0.05)); margin-top: 30px; }
.factory-label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.factory-desc { font-size: 0.65rem; color: var(--color-text-secondary); line-height: 1.4; }
.factory-io { position: absolute; top: 50%; left: 15%; right: 5%; transform: translateY(60px); display: flex; justify-content: space-between; margin-top: 60px; }
.factory-input, .factory-output {
    font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; color: var(--color-text-muted);
    padding: 4px 10px; border: 1px solid rgba(125,211,252,0.06); border-radius: var(--radius-full);
}
.factory-output { color: var(--color-accent); border-color: rgba(125,211,252,0.15); }

/* ============================================
   AI CORE
   ============================================ */
.ai-world { background: radial-gradient(ellipse 60% 40% at 70% 50%, rgba(56,189,248,0.03) 0%, transparent 100%); }
.ai-core-env { position: absolute; right: 10%; top: 50%; transform: translateY(-50%); width: 350px; height: 350px; }
.ai-central-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ai-core-center {
    width: 60px; height: 60px; border-radius: 50%; background: var(--color-bg-card);
    border: 2px solid rgba(125,211,252,0.2); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #fff;
    box-shadow: 0 0 40px rgba(56,189,248,0.1); position: relative; z-index: 3;
}
.ai-core-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(125,211,252,0.08); top: 50%; left: 50%; }
.ring-1 { width: 100px; height: 100px; margin: -50px 0 0 -50px; animation: spin-slow 15s linear infinite; }
.ring-2 { width: 160px; height: 160px; margin: -80px 0 0 -80px; animation: spin-slow 25s linear infinite reverse; }
.ring-3 { width: 220px; height: 220px; margin: -110px 0 0 -110px; animation: spin-slow 40s linear infinite; border-style: dashed; }
.ai-modules { position: absolute; inset: 0; }
.ai-mod {
    position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px;
    transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle)));
    background: var(--color-bg-card); border: 1px solid rgba(125,211,252,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: all var(--transition-base);
    pointer-events: auto;
}
.ai-mod span { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.05em; color: var(--color-text-secondary); }
.ai-mod:hover { border-color: var(--color-border-hover); box-shadow: 0 0 20px rgba(125,211,252,0.1); }
.ai-mod:hover span { color: var(--color-accent); }

/* ============================================
   PROJECT ARCHIVE
   ============================================ */
.archive-room {
    position: relative;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    pointer-events: auto; margin-top: 40px;
}
.project-capsule {
    width: 100%; background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s ease; cursor: default;
}
.project-capsule:hover { border-color: var(--color-border-hover); transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 40px rgba(125,211,252,0.04); }
.capsule-shell {
    height: 160px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(125,211,252,0.03), transparent);
    border-bottom: 1px solid var(--color-border); padding: 20px;
}
.capsule-mockup { box-shadow: 0 4px 16px rgba(0,0,0,0.3); transform: perspective(600px) rotateY(-3deg); transition: transform var(--transition-base); }
.project-capsule:hover .capsule-mockup { transform: perspective(600px) rotateY(0deg) scale(1.05); }
.capsule-mockup.browser-type {
    width: 140px; background: rgba(10,13,18,0.9); border: 1px solid rgba(125,211,252,0.08);
    border-radius: 6px; overflow: hidden;
}
.cm-bar { display: flex; gap: 4px; padding: 6px 8px; background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.04); }
.cm-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(125,211,252,0.15); }
.cm-bar span:first-child { background: rgba(239,68,68,0.4); }
.cm-bar span:nth-child(2) { background: rgba(234,179,8,0.4); }
.cm-bar span:nth-child(3) { background: rgba(34,197,94,0.4); }
.cm-screen { height: 70px; }
.gradient-screen-1 { background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(125,211,252,0.04)); }
.gradient-screen-2 { background: linear-gradient(180deg, rgba(125,211,252,0.08), rgba(56,189,248,0.03)); }
.capsule-mockup.phone-type {
    width: 70px; height: 120px; background: rgba(10,13,18,0.9); border: 2px solid rgba(125,211,252,0.1);
    border-radius: 14px; padding: 6px 4px;
}
.cm-notch { width: 24px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; margin: 2px auto 4px; }
.capsule-mockup.phone-type .cm-screen { height: calc(100% - 10px); border-radius: 8px; }
.capsule-mockup.dash-type {
    width: 140px; height: 90px; background: rgba(10,13,18,0.9); border: 1px solid rgba(125,211,252,0.08);
    border-radius: 6px; display: flex; overflow: hidden;
}
.cm-sidebar { width: 24px; background: rgba(125,211,252,0.03); border-right: 1px solid rgba(125,211,252,0.06); }
.cm-main { flex: 1; padding: 8px; }
.cm-chart { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(125,211,252,0.04)); border-radius: 3px; }
.capsule-info { padding: 16px; }
.capsule-tag { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: 6px; display: block; }
.capsule-info h3 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.capsule-info p { font-size: 0.75rem; color: var(--color-text-secondary); line-height: 1.5; }
.capsule-note { font-size: 0.8rem; color: var(--color-text-muted); font-style: italic; margin-top: 12px; }

/* ============================================
   TECH CONSTELLATION
   ============================================ */
.tech-world { background: radial-gradient(ellipse 50% 50% at 60% 50%, rgba(125,211,252,0.02) 0%, transparent 100%); }
.tech-constellation { position: absolute; right: 10%; top: 50%; transform: translateY(-50%); width: 360px; height: 360px; pointer-events: auto; }
.tech-center-node {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; border-radius: 50%; background: var(--color-bg-card);
    border: 1px solid rgba(125,211,252,0.15); display: flex; align-items: center; justify-content: center;
    text-align: center; font-family: var(--font-mono); font-size: 0.55rem; font-weight: 600;
    letter-spacing: 0.05em; color: #fff; z-index: 3; box-shadow: 0 0 30px rgba(125,211,252,0.06); line-height: 1.3;
}
.tech-connections { position: absolute; inset: 0; }
.tech-node-item {
    position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px;
    transform: rotate(var(--angle)) translateX(var(--dist)) rotate(calc(-1 * var(--angle)));
    background: var(--color-bg-card); border: 1px solid rgba(125,211,252,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: all var(--transition-base);
}
.tech-node-item span { font-family: var(--font-mono); font-size: 0.55rem; color: var(--color-text-secondary); }
.tech-node-item:hover { border-color: var(--color-border-hover); box-shadow: 0 0 20px rgba(125,211,252,0.1); }
.tech-node-item:hover span { color: var(--color-accent); }

/* ============================================
   COMMAND CENTER
   ============================================ */
.command-center {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 380px; pointer-events: auto;
}
.cmd-screen {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 16px; transition: all var(--transition-base);
}
.cmd-screen:hover { border-color: var(--color-border-hover); box-shadow: 0 0 20px rgba(125,211,252,0.06); }
.cmd-screen-label { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.15em; color: var(--color-text-muted); margin-bottom: 10px; }
.cmd-chart { display: flex; align-items: flex-end; gap: 4px; height: 50px; }
.cmd-bar { flex: 1; height: var(--h); background: linear-gradient(to top, rgba(125,211,252,0.3), rgba(125,211,252,0.6)); border-radius: 2px 2px 0 0; }
.cmd-metric { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }

/* ============================================
   CTA
   ============================================ */
.cta-world { text-align: center; justify-content: center; }
.cta-world .world-content { padding-left: var(--container-padding); text-align: center; z-index: 10; }
.portal-env { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; opacity: 0.3; }
.portal-frame {
    width: 200px; height: 300px; border: 2px solid rgba(125,211,252,0.15);
    border-radius: 100px 100px 0 0; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 20px 0;
}
.portal-glow {
    position: absolute; inset: -20px; border-radius: 120px 120px 0 0;
    background: radial-gradient(ellipse 100% 100% at 50% 60%, rgba(56,189,248,0.06) 0%, transparent 70%); filter: blur(20px);
}
.portal-label-top, .portal-label-bottom { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; position: relative; z-index: 2; }
.portal-label-top { color: var(--color-text-muted); }
.portal-label-bottom { color: var(--color-accent); }
.cta-content { display: flex; flex-direction: column; align-items: center; }
.cta-heading { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.cta-text { font-size: 1rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 80px 0 40px; background: var(--color-bg-elevated); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-tagline { font-size: 0.875rem; color: var(--color-text-secondary); margin-top: 8px; margin-bottom: 16px; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.65rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.4); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.footer-heading { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--color-text); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.85rem; color: var(--color-text-secondary); transition: color var(--transition-fast); }
.footer-link:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social-link {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--color-border); transition: all var(--transition-fast);
}
.footer-social-link:hover { border-color: var(--color-border-hover); background: rgba(125,211,252,0.04); }
.footer-social-link svg { width: 16px; height: 16px; fill: var(--color-text-secondary); stroke: none; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 24px; border-top: 1px solid var(--color-border); font-size: 0.8rem; color: var(--color-text-muted);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--color-text-secondary); }

/* ============================================
   REVEALS
   ============================================ */
/* Hidden states apply only under html.js (set inline in <head>); if scripts fail, the class is dropped and everything stays visible. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.world-section:not(.hero-world) { perspective: 800px; }
.js .world-section:not(.hero-world) .section-heading,
.js .world-section:not(.hero-world) .section-subheading { opacity: 0; transform: translateY(30px) translateZ(-40px) rotateX(6deg); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.js .world-section.in-view .section-heading { opacity: 1; transform: none; transition-delay: 0.1s; }
.js .world-section.in-view .section-subheading { opacity: 1; transform: none; transition-delay: 0.25s; }
.js .world-section:not(.hero-world) .world-content { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease 0.2s, transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s; }
.js .world-section.in-view .world-content { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal, .js .world-section .world-content,
    .js .world-section .section-heading, .js .world-section .section-subheading { opacity: 1; transform: none; transition: none; }
    .robot { display: none; }
    .glow-path { display: none; }
    .float-obj { animation: none !important; }
    .ai-core-ring, .fo-ai-ring, .bld-gear, .bld-ai-ring { animation: none !important; }
    .status-dot, .robot-eye, .robot-antenna-tip, .robot-chest-light, .robot-arm-l, .robot-arm-r { animation: none !important; }
    .scroll-hint { display: none; }
}

/* ============================================
   SUB-PAGE STYLES
   ============================================ */
.page-header { padding: 160px 0 60px; text-align: center; }
.page-header .section-label { justify-content: center; }
.page-header .section-subheading { max-width: 500px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 28px 24px; background: rgba(13,17,23,0.8); border: 1px solid rgba(125,211,252,0.1); border-radius: var(--radius-lg); transition: all var(--transition-base); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.service-card:hover { border-color: rgba(125,211,252,0.3); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px rgba(56,189,248,0.06); }
.service-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(125,211,252,0.06); border-radius: var(--radius-sm); padding: 8px; }
.service-icon svg { width: 24px; height: 24px; stroke: var(--color-accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.service-desc { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.7; }

.process-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step { padding: 28px 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); text-align: center; transition: all var(--transition-base); }
.process-step:hover { border-color: var(--color-border-hover); transform: translateY(-3px); }
.step-marker { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(125,211,252,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-number { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--color-accent); }
.step-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step-desc { font-size: 0.8rem; color: var(--color-text-secondary); line-height: 1.6; }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle-card { padding: 36px 28px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: all var(--transition-base); }
.principle-card:hover { border-color: var(--color-border-hover); transform: translateY(-3px); }
.principle-number { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: rgba(125,211,252,0.08); margin-bottom: 12px; }
.principle-icon { width: 40px; height: 40px; margin-bottom: 16px; }
.principle-icon svg { width: 24px; height: 24px; stroke: var(--color-accent); fill: none; stroke-width: 1.5; }
.principle-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.principle-text { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.6; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { padding: 32px 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: all var(--transition-base); }
.why-card:hover { border-color: var(--color-border-hover); transform: translateY(-4px); }
.why-card-number { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: rgba(125,211,252,0.1); margin-bottom: 16px; }
.why-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-card-text { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.6; }

.tech-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tech-badge { padding: 8px 20px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-family: var(--font-mono); font-size: 0.8rem; color: var(--color-text-secondary); transition: all var(--transition-fast); }
.tech-badge:hover { border-color: var(--color-border-hover); color: var(--color-text); }
.tech-stack-header { text-align: center; margin-bottom: 40px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; align-items: center; gap: 12px; }
.contact-detail-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(125,211,252,0.06); border: 1px solid rgba(125,211,252,0.08); }
.contact-detail-icon svg { width: 16px; height: 16px; stroke: var(--color-accent); fill: none; stroke-width: 1.5; }
.contact-detail span { font-size: 0.9rem; color: var(--color-text-secondary); }
.contact-form { padding: 40px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--color-text-secondary); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); font-family: var(--font-primary); font-size: 0.875rem; transition: border-color var(--transition-fast); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(125,211,252,0.3); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a8d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { width: 100%; justify-content: center; }
.form-status { font-size: 0.85rem; margin-top: 12px; text-align: center; }

/* ============================================
   INLINE EDITOR
   ============================================ */
.editor-toggle { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: rgba(10,13,18,0.9); border: 1px solid rgba(125,211,252,0.15); border-radius: var(--radius-full); color: var(--color-text); font-family: var(--font-primary); font-size: 0.875rem; font-weight: 500; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: var(--transition-base); }
.editor-toggle:hover { border-color: rgba(125,211,252,0.3); box-shadow: 0 0 20px rgba(125,211,252,0.1); }
.editor-toggle.active { background: var(--color-accent); color: #05070A; border-color: var(--color-accent); }
.editor-toggle.active svg { stroke: #05070A; }
.editor-active .editable { outline: 1px dashed rgba(125,211,252,0.3); outline-offset: 4px; cursor: text; }
.editor-active .editable:focus { outline: 2px solid var(--color-accent); background: rgba(125,211,252,0.02); }
.editor-active .draggable { cursor: grab; }
.editor-active .dragging { opacity: 0.4; }
.editor-active .drag-over { outline: 2px dashed var(--color-accent); outline-offset: 4px; }
.editor-toolbar { position: fixed; top: 0; left: 0; right: 0; z-index: 9998; background: rgba(10,13,18,0.95); border-bottom: 1px solid rgba(125,211,252,0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px 24px; }
.editor-toolbar-inner { max-width: var(--container-width); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.editor-toolbar-label { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--color-accent); }
.editor-toolbar-hint { font-size: 0.8rem; color: var(--color-text-secondary); flex: 1; }
.editor-toolbar-btn { padding: 6px 16px; border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: var(--transition-fast); border: 1px solid rgba(125,211,252,0.15); background: transparent; color: var(--color-text); }
.editor-save-btn { background: var(--color-accent); color: #05070A; border-color: var(--color-accent); }
.editor-reset-btn:hover { border-color: #f87171; color: #f87171; }
.editor-toast { position: fixed; bottom: 80px; right: 24px; z-index: 10000; padding: 10px 20px; background: var(--color-accent); color: #05070A; font-family: var(--font-primary); font-size: 0.875rem; font-weight: 500; border-radius: var(--radius-sm); opacity: 0; transform: translateY(8px); transition: all 0.3s ease; pointer-events: none; }
.editor-toast.visible { opacity: 1; transform: translateY(0); }
.editor-active .editable-link { outline: 1px dashed rgba(248,113,113,0.4); outline-offset: 2px; cursor: pointer; }
.editor-link-popup { position: absolute; z-index: 10001; background: rgba(10,13,18,0.97); border: 1px solid rgba(125,211,252,0.2); border-radius: var(--radius-md); padding: 16px; min-width: 280px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.elp-field { margin-bottom: 10px; }
.elp-field label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-secondary); margin-bottom: 4px; font-family: var(--font-primary); }
.elp-input, .elp-label-input { width: 100%; padding: 8px 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(125,211,252,0.15); border-radius: var(--radius-sm); color: var(--color-text); font-family: var(--font-mono); font-size: 0.8rem; outline: none; box-sizing: border-box; }
.elp-input:focus, .elp-label-input:focus { border-color: var(--color-accent); }
.elp-actions { display: flex; gap: 8px; margin-top: 12px; }
.elp-save, .elp-cancel { flex: 1; padding: 6px 12px; border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 0.8rem; font-weight: 500; cursor: pointer; border: 1px solid rgba(125,211,252,0.15); transition: var(--transition-fast); }
.elp-save { background: var(--color-accent); color: #05070A; border-color: var(--color-accent); }
.elp-cancel { background: transparent; color: var(--color-text); }
.elp-cancel:hover { border-color: rgba(125,211,252,0.3); }
.editor-remove-btn { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #ef4444; color: #fff; border: none; font-size: 14px; line-height: 1; cursor: pointer; z-index: 10; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.editor-active .editor-remove-btn { display: flex; }
.editor-add-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; margin-top: 12px; background: transparent; border: 1px dashed rgba(125,211,252,0.25); border-radius: var(--radius-sm); color: var(--color-accent); font-family: var(--font-primary); font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: var(--transition-fast); }
.editor-add-btn:hover { border-color: var(--color-accent); background: rgba(125,211,252,0.05); }
.editor-export-btn { border-color: rgba(125,211,252,0.15); }
.editor-export-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ===== Services Preview Section ===== */
.services-preview-world { min-height: auto !important; padding: 100px 0; }
.services-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sp-card { display: block; padding: 28px 24px; background: rgba(28, 35, 51, 0.6); border: 1px solid rgba(42, 53, 72, 0.5); border-radius: var(--radius-md, 12px); text-decoration: none; color: inherit; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.sp-card:hover { border-color: var(--color-accent, #38bdf8); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(56, 189, 248, 0.1); }
.sp-icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--color-accent, #38bdf8); }
.sp-icon svg { width: 100%; height: 100%; }
.sp-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; color: #fff; }
.sp-card p { font-size: 0.85rem; line-height: 1.5; color: var(--color-text-secondary); margin: 0; }
.tech-note { font-size: 0.8rem; color: var(--color-text-muted); font-style: italic; margin-top: 16px; text-align: center; }
@media (max-width: 768px) {
    .services-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .services-preview-world { padding: 60px 0; }
}
@media (max-width: 480px) {
    .services-preview-grid { grid-template-columns: 1fr; }
}
