/* ============================================================================
   PROJECT FRIDAY — Modern Showcase & Technical Documentation
   Theme: Obsidian Void, Neon Cyan, Emerald, Electric Blue & Violet Accents
   Target Endpoint: friday.vincecyriac.dev
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --void: #070A0F;
  --void-deep: #030508;
  --void-surface: #0B111A;
  --void-card: rgba(14, 22, 34, 0.65);
  --void-card-hover: rgba(20, 32, 50, 0.85);

  --cyan: #00F2FE;
  --cyan-glow: rgba(0, 242, 254, 0.25);
  --cyan-subtle: rgba(0, 242, 254, 0.08);

  --blue: #0077FF;
  --blue-glow: rgba(0, 119, 255, 0.25);

  --amber: #FFB800;
  --amber-glow: rgba(255, 184, 0, 0.25);

  --emerald: #00FF88;
  --emerald-glow: rgba(0, 255, 136, 0.25);

  --ember: #E5726F;
  --ember-glow: rgba(229, 114, 111, 0.25);

  --violet: #A18CD1;
  --blush: #FBC2EB;

  --text-primary: #F0F6FC;
  --text-secondary: rgba(240, 246, 252, 0.72);
  --text-muted: rgba(240, 246, 252, 0.45);
  --text-faint: rgba(240, 246, 252, 0.25);

  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 242, 254, 0.35);
  --glass-border-active: rgba(0, 255, 136, 0.4);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1240px;
  --header-height: 72px;
}

/* Base Resets */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(161, 140, 209, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.04) 0%, transparent 50%),
    linear-gradient(to bottom, #070A0F 0%, #030508 100%);
  background-attachment: fixed;
}

/* Background Cyber Grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Ambient Glow Orbs in Backdrop */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
}

.glow-orb-2 {
  width: 450px;
  height: 450px;
  bottom: 10%;
  right: 5%;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #00F2FE 50%, #A18CD1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 20%, #00F2FE 80%, #0077FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #FFFFFF 20%, #00FF88 80%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-mono {
  font-family: var(--font-mono);
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--cyan-glow);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--void-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* ============================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(7, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 10, 15, 0.92);
  border-bottom-color: rgba(0, 242, 254, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-orb {
  width: 32px;
  height: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-orb-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 32px var(--cyan);
  animation: pulseBrand 3s infinite ease-in-out;
}

.brand-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 242, 254, 0.6);
  animation: rotateRing 8s linear infinite;
}

@keyframes pulseBrand {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #00FF88); }
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.1;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-status span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.btn-github {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s var(--ease-smooth);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-github svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ============================================================================
   BUTTONS & MICRO-INTERACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00F2FE 0%, #0077FF 100%);
  color: #070A0F;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
  color: #000;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 242, 254, 0.4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: 6px;
}

/* Pill Badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill-cyan {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
}

.pill-emerald {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--emerald);
}

.pill-amber {
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--amber);
}

.pill-violet {
  background: rgba(161, 140, 209, 0.12);
  border: 1px solid rgba(161, 140, 209, 0.3);
  color: var(--violet);
}

/* ============================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: calc(var(--header-height) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 620px;
}

.hero-tagline strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-snippet-bar {
  display: flex;
  align-items: center;
  background: rgba(11, 17, 26, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  gap: 12px;
  margin-top: 8px;
  max-width: 440px;
}

.hero-snippet-bar code {
  color: var(--cyan);
  flex-grow: 1;
}

.btn-copy {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Live Interactive Orb Hero Stage */
.hero-orb-card {
  background: radial-gradient(circle at 50% 50%, rgba(14, 22, 34, 0.75) 0%, rgba(7, 10, 15, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-orb-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.orb-telemetry-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.orb-stage-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

#orb-interactive-canvas {
  position: relative;
  width: 100%;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#orb-interactive-canvas canvas,
.orb-stage-wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}

.orb-state-indicator {
  position: absolute;
  bottom: 8px;
  background: rgba(7, 10, 15, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.orb-state-indicator span.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* Orb Interactive State Controls */
.orb-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.orb-state-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
}

.orb-state-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.orb-state-btn .btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.orb-state-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.orb-state-btn.active[data-state="idle"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-subtle);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.orb-state-btn.active[data-state="listening"] {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 119, 255, 0.12);
  box-shadow: 0 0 12px var(--blue-glow);
}

.orb-state-btn.active[data-state="thinking"] {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(255, 184, 0, 0.12);
  box-shadow: 0 0 12px var(--amber-glow);
}

.orb-state-btn.active[data-state="speaking"] {
  border-color: var(--emerald);
  color: var(--emerald);
  background: rgba(0, 255, 136, 0.12);
  box-shadow: 0 0 12px var(--emerald-glow);
}

.orb-state-btn.active[data-state="offline"] {
  border-color: var(--ember);
  color: var(--ember);
  background: rgba(229, 114, 111, 0.12);
  box-shadow: 0 0 12px var(--ember-glow);
}

.orb-mic-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px dashed rgba(0, 242, 254, 0.35);
  border-radius: 8px;
  padding: 8px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orb-mic-action:hover {
  background: rgba(0, 242, 254, 0.16);
  border-color: var(--cyan);
}

/* Audio Simulation Waveform Bars */
.sound-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.sound-bar {
  width: 2px;
  height: 4px;
  background: var(--cyan);
  border-radius: 1px;
  transition: height 0.1s ease;
}

.sound-bars.active .sound-bar {
  animation: bounceBar 0.8s infinite ease-in-out alternate;
}

.sound-bars.active .sound-bar:nth-child(2) { animation-delay: 0.15s; }
.sound-bars.active .sound-bar:nth-child(3) { animation-delay: 0.3s; }
.sound-bars.active .sound-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes bounceBar {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* ============================================================================
   METRICS / KEY SPECS BANNER
   ========================================================================== */
.specs-banner {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(11, 17, 26, 0.4);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
  border-left: 1px solid rgba(0, 242, 254, 0.2);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.spec-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.spec-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-pill {
  margin-bottom: 4px;
}

.section-title {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================================
   PILLARS: WHAT IS FRIDAY?
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--void-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(12px);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: var(--void-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.08);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
}

.pillar-icon-box.cyan { color: var(--cyan); background: var(--cyan-subtle); border-color: rgba(0, 242, 254, 0.3); }
.pillar-icon-box.emerald { color: var(--emerald); background: rgba(0, 255, 136, 0.08); border-color: rgba(0, 255, 136, 0.3); }
.pillar-icon-box.blue { color: var(--blue); background: rgba(0, 119, 255, 0.08); border-color: rgba(0, 119, 255, 0.3); }
.pillar-icon-box.amber { color: var(--amber); background: rgba(255, 184, 0, 0.08); border-color: rgba(255, 184, 0, 0.3); }
.pillar-icon-box.violet { color: var(--violet); background: rgba(161, 140, 209, 0.08); border-color: rgba(161, 140, 209, 0.3); }

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.pillar-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features li::before {
  content: "▹";
  color: var(--cyan);
  font-weight: bold;
}

/* ============================================================================
   ARCHITECTURE & HOW IT WORKS
   ========================================================================== */
.architecture-box {
  background: var(--void-surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.arch-nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
  margin-bottom: 30px;
  overflow-x: auto;
}

.arch-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.arch-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.arch-tab-btn.active {
  background: var(--cyan);
  color: #070A0F;
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* Visual Architecture Flow Diagram */
.arch-diagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin: 40px 0;
}

.arch-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.arch-column-header {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.05em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}

.arch-node {
  background: rgba(14, 22, 34, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.arch-node:hover, .arch-node.highlighted {
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.arch-node-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.arch-node-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.arch-node-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Timeline Flow */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.flow-step-card {
  background: rgba(11, 17, 26, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.flow-step-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0.6;
  margin-bottom: 8px;
}

.flow-step-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.flow-step-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================================
   SPATIAL 3D ENGINE & SVE DEMO
   ========================================================================== */
.sve-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: stretch;
}

.sve-viewport-container {
  background: #020406;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

#sve-interactive-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#sve-interactive-canvas canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.sve-hud-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.sve-scene-pill {
  background: rgba(7, 10, 15, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #fff;
}

.sve-actions-bar {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sve-btn {
  background: rgba(14, 22, 34, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sve-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: #fff;
}

.sve-btn.active {
  background: var(--cyan);
  color: #070A0F;
  border-color: var(--cyan);
  font-weight: 600;
}

.sve-details-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sve-info-card {
  background: var(--void-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gesture-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gesture-guide-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gesture-guide-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gesture-guide-desc {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ============================================================================
   ASYNC WIDGET DECK SIMULATOR
   ========================================================================== */
.widget-simulator-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.widget-stage-outer {
  background: var(--void-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.widget-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 14px;
}

.widget-deck-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Skeleton Placeholder */
.hud-skeleton {
  background: rgba(14, 22, 34, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hud-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.08), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.sk-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.sk-line.w-40 { width: 40%; }
.sk-line.w-70 { width: 70%; }
.sk-line.w-90 { width: 90%; }
.sk-line.h-32 { height: 32px; }

/* Real Hydrated HUD Card */
.hud-card {
  background: rgba(14, 22, 34, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
  animation: hudFadeIn 0.4s var(--ease-smooth);
}

@keyframes hudFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hud-hero-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hud-hero-stat {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.hud-hero-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.hud-badge-green {
  background: rgba(0, 255, 136, 0.12);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.hud-svg-chart {
  width: 100%;
  height: 120px;
}

.hud-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.hud-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hud-metric .k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-metric .v {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* ============================================================================
   TOOL REGISTRY (38 NATIVE TOOLS)
   ========================================================================== */
.tool-registry-box {
  background: var(--void-surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 36px;
}

.tool-search-bar-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tool-search-input {
  flex-grow: 1;
  background: rgba(14, 22, 34, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.tool-search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.tool-category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tool-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tool-chip.active {
  background: var(--cyan);
  color: #070A0F;
  border-color: var(--cyan);
  font-weight: 600;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool-item-card {
  background: rgba(14, 22, 34, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.tool-item-card:hover {
  border-color: rgba(0, 242, 254, 0.35);
  background: rgba(14, 22, 34, 0.9);
  transform: translateY(-2px);
}

.tool-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
}

.tool-category-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.tool-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ============================================================================
   GETTING STARTED & SETUP TABS
   ========================================================================== */
.setup-guide-box {
  background: var(--void-surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
}

.setup-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: 30px;
  overflow-x: auto;
}

.setup-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.setup-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.setup-tab-btn.active {
  background: var(--cyan);
  color: #070A0F;
  border-color: var(--cyan);
}

.setup-tab-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.setup-tab-content.active {
  display: flex;
}

/* Code Snippet Block */
.code-block {
  background: #020406;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
}

.code-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.code-dot:nth-child(1) { background: #FF5F56; }
.code-dot:nth-child(2) { background: #FFBD2E; }
.code-dot:nth-child(3) { background: #27C93F; }

.code-title {
  font-size: 11px;
  color: var(--text-muted);
}

.code-content {
  padding: 16px;
  overflow-x: auto;
  color: #E6EDF5;
  line-height: 1.6;
}

.code-content .comment { color: var(--text-muted); }
.code-content .keyword { color: #A18CD1; font-weight: 600; }
.code-content .string { color: var(--emerald); }
.code-content .variable { color: var(--cyan); }

/* Command Examples Grid */
.voice-commands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.voice-cmd-card {
  background: rgba(14, 22, 34, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-cmd-prompt {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.voice-cmd-prompt::before {
  content: "“";
  color: var(--cyan);
  font-size: 22px;
}

.voice-cmd-response {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: #020406;
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.setup-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ============================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .agency-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-diagram-grid { grid-template-columns: repeat(3, 1fr); }
  .sve-showcase-grid { grid-template-columns: 1fr; }
  .widget-simulator-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .agency-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.setup-two-col-grid { grid-template-columns: 1fr; }
  .pillar-title { word-break: break-word; }
  .nav-menu, .header-status { display: none; }
  .mobile-toggle { display: block; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .arch-diagram-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .voice-commands-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-orb-card { padding: 16px; }
  .orb-stage-wrapper, #orb-interactive-canvas { height: 260px; min-height: 260px; max-height: 260px; }
}




.header-private-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.28);
  padding: 6px 13px;
  border-radius: 20px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
