/* ==========================================================================
   AIPANNEL — Autonomous AI-Native Cloud Hosting Panel Design System
   Color Palette: Deep Obsidian / Slate with Emerald & Cyan Cyber Accents
   ========================================================================== */

:root {
  /* Core Backgrounds */
  --bg-base: #070a0f;
  --bg-surface: #0b0f17;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(22, 33, 56, 0.75);
  --bg-card-solid: #0f172a;
  --bg-input: rgba(11, 15, 23, 0.85);
  --bg-terminal: #070a10;
  
  /* Primary Accent: Emerald Glow */
  --emerald-primary: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.28);
  --emerald-glow-subtle: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.35);

  /* Secondary Accent: Electric Cyan */
  --cyan-primary: #06b6d4;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --cyan-border: rgba(6, 182, 212, 0.35);

  /* Warning / Danger Accents */
  --danger-primary: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.2);
  --yellow-primary: #f59e0b;
  --purple-primary: #a855f7;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-code: #cbd5e1;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(16, 185, 129, 0.6);

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  --shadow-emerald: 0 0 25px -5px rgba(16, 185, 129, 0.35);
  --shadow-cyan: 0 0 25px -5px rgba(6, 182, 212, 0.35);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;

  /* Transitions */
  --trans-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-spring: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Futuristic Cybernetic Background & Ambient Glow
   ========================================================================== */

.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: opacity 1s ease;
}

.glow-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--emerald-primary) 0%, transparent 70%);
  top: -120px;
  left: 20%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cyan-primary) 0%, transparent 70%);
  top: 35%;
  right: -150px;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.glow-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
  animation: floatOrb 25s ease-in-out infinite alternate;
}

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

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.84rem;
  position: relative;
  z-index: 50;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pulsing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-primary);
  animation: pulseLight 1.8s infinite;
}

@keyframes pulseLight {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.announcement-text {
  color: var(--text-muted);
}

.announcement-link {
  color: var(--emerald-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.announcement-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--trans-normal), border-color var(--trans-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
  transition: transform var(--trans-spring);
}

.brand-logo:hover .logo-icon-wrap {
  transform: scale(1.06) rotate(-3deg);
}

.brand-name {
  color: var(--text-heading);
}

.brand-tld {
  color: var(--emerald-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-primary), var(--cyan-primary));
  transition: width var(--trans-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-heading);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cmd-palette-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.cmd-palette-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass);
  color: var(--text-heading);
}

.kbd-shortcut {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all var(--trans-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-emerald-glow {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #041f16;
  font-weight: 700;
  box-shadow: 0 0 20px -3px rgba(16, 185, 129, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-emerald-glow:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-1px);
  box-shadow: 0 0 30px 0 rgba(16, 185, 129, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-emerald-glow:active {
  transform: translateY(0);
}

.btn-full {
  width: 100%;
}

.btn-arrow {
  transition: transform var(--trans-fast);
}

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

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.mobile-nav-panel {
  display: none;
  background: #0b0f17;
  border-bottom: 1px solid var(--border-glass);
  padding: 20px;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-link:hover {
  color: var(--emerald-light);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 10;
  padding: 80px 0 60px 0;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge */
.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--emerald-border);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow: 0 0 20px -5px var(--emerald-glow-subtle);
  animation: badgeHover 3s ease-in-out infinite alternate;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-primary);
}

.badge-highlight {
  color: var(--emerald-light);
  font-weight: 600;
}

.badge-separator {
  color: var(--text-dim);
}

/* Headlines */
.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  max-width: 960px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #a7f3d0 45%, #38bdf8 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 740px;
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 400;
}

/* Hero Waitlist Form */
.hero-form-wrapper {
  width: 100%;
  max-width: 520px;
  margin-bottom: 24px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass);
  padding: 6px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: border-color var(--trans-normal), box-shadow var(--trans-normal);
}

.waitlist-form:focus-within {
  border-color: var(--emerald-border);
  box-shadow: 0 0 25px -3px var(--emerald-glow), 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

.input-icon-group {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 12px;
  gap: 10px;
}

.mail-icon {
  color: var(--text-dim);
  flex-shrink: 0;
}

.email-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.email-input::placeholder {
  color: var(--text-dim);
}

.submit-btn {
  flex-shrink: 0;
  padding: 12px 24px;
}

.form-feedback {
  min-height: 24px;
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 500;
  transition: all var(--trans-fast);
}

.form-feedback.success {
  color: var(--emerald-light);
}

.form-feedback.error {
  color: var(--danger-primary);
}

/* Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
  object-fit: cover;
  margin-left: -8px;
  background-color: #1e293b;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  color: var(--emerald-light);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.proof-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.text-emerald {
  color: var(--emerald-light);
}
.text-cyan {
  color: var(--cyan-light);
}
.text-danger {
  color: var(--danger-primary);
}
.text-yellow {
  color: var(--yellow-primary);
}

/* ==========================================================================
   HERO DASHBOARD MOCKUP (Dual / Triple-Pane)
   ========================================================================== */

.hero-mockup-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1200px;
}

.mockup-frame {
  background: #0a0e17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 50px -10px var(--emerald-glow-subtle);
  overflow: hidden;
  text-align: left;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mockup-frame:hover {
  box-shadow: 
    0 30px 70px -10px rgba(0, 0, 0, 0.95),
    0 0 60px -5px var(--emerald-glow);
}

/* Top Window Bar */
.mockup-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #080c13;
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-title-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.badge-status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
}

.mockup-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mockup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.mockup-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-heading);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--emerald-light);
  font-family: var(--font-mono);
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald-primary);
  box-shadow: 0 0 8px var(--emerald-primary);
  animation: pulseLight 1.5s infinite;
}

/* Mockup Body (3-column grid) */
.mockup-body {
  display: grid;
  grid-template-columns: 280px 1fr 1.15fr;
  min-height: 440px;
  background: #080c14;
}

.pane {
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.pane:last-child {
  border-right: none;
}

.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.4);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.pane-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-subtle {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Pane 1: User Prompt */
.pane-prompt {
  background: #0a0f19;
  padding-bottom: 16px;
}

.prompt-thread {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.chat-bubble {
  padding: 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.bubble-user {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
}

.bubble-ai {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid var(--emerald-border);
}

.bubble-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.sender-tag {
  color: var(--cyan-light);
  font-weight: 600;
}

.time-tag {
  color: var(--text-dim);
}

.bubble-text {
  color: var(--text-main);
  margin-bottom: 10px;
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.domain-chip {
  background: #0f172a;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.bubble-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guardrail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--emerald-light);
  font-family: var(--font-mono);
}

.prompt-mini-stats {
  margin: 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.mini-stat .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
}

.mini-stat .stat-desc {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Pane 2: Action Card & Checklist */
.pane-action-card {
  background: #080c14;
}

.progress-counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald-light);
  font-weight: 600;
}

.checklist-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--emerald-primary));
  transition: width 0.4s ease;
}

.action-tasks-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.action-task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  transition: all var(--trans-normal);
}

.action-task-item.running {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--cyan-border);
  box-shadow: 0 0 15px -3px var(--cyan-glow);
}

.action-task-item.completed {
  background: rgba(16, 185, 129, 0.06);
  border-color: var(--emerald-border);
}

.task-status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.action-task-item.completed .task-status-icon {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
}

.action-task-item.running .task-status-icon {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan-light);
  animation: spinSlow 3s linear infinite;
}

.action-task-item.ready .task-status-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

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

.task-info {
  flex: 1;
}

.task-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.task-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
}

.badge-running {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  animation: pulseLight 1s infinite alternate;
}

.badge-ready {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.task-subtext {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.task-summary-footer {
  margin: 0 16px 16px;
  padding: 12px;
  background: #0d131f;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
}

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

.summary-metric .label {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.summary-metric .val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Pane 3: Raw Terminal Stream */
.pane-terminal {
  background: var(--bg-terminal);
}

.terminal-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-streaming {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  animation: pulseLight 1.2s infinite;
}

.log-speed-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.terminal-screen {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-y: auto;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-line {
  word-break: break-all;
}

.log-line.bold {
  font-weight: 700;
}

.terminal-prompt-sym {
  color: var(--emerald-light);
}

.cursor-blink {
  color: var(--emerald-primary);
  animation: blinkCursor 0.9s infinite;
}

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

/* ==========================================================================
   TICKER / TECH STACKS
   ========================================================================== */

.ticker-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 15, 23, 0.6);
  position: relative;
  z-index: 10;
}

.ticker-label {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 600;
}

.ticker-track {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  transition: all var(--trans-fast);
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
  border-color: var(--border-glass);
}

/* ==========================================================================
   COMPARISON SECTION (Old Way vs. Aipannel)
   ========================================================================== */

.comparison-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--emerald-border);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.comparison-card {
  border-radius: 16px;
  padding: 36px;
  position: relative;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
}

/* Legacy Card */
.card-old-way {
  background: rgba(15, 20, 30, 0.6);
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 10px 40px -10px rgba(239, 68, 68, 0.08);
}

.card-old-way:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 15px 45px -5px rgba(239, 68, 68, 0.15);
}

/* Modern Card */
.card-aipannel-way {
  background: rgba(13, 27, 30, 0.65);
  border: 1px solid var(--emerald-border);
  box-shadow: 0 10px 40px -10px var(--emerald-glow);
}

.card-aipannel-way:hover {
  border-color: var(--emerald-light);
  box-shadow: 0 15px 50px -5px var(--emerald-glow);
}

.card-status-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.flag-legacy {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.flag-modern {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
}

.comparison-metric-highlight {
  margin-bottom: 28px;
}

.metric-time {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.aipannel-prompt-card {
  background: #090e16;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 28px;
}

.card-mini-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--emerald-light);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.terminal-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-primary);
  border-radius: 50%;
}

.sample-prompt-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.4;
}

.highlight-prompt {
  color: var(--emerald-light);
  font-weight: 600;
}

.comparison-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
  flex: 1;
}

.step-item {
  display: flex;
  gap: 14px;
  font-size: 0.92rem;
}

.step-item strong {
  display: block;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-negative .step-num {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.step-positive .step-num {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
}

.comparison-footer-spec {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-row span {
  color: var(--text-muted);
}

/* Interactive ROI / Time Saved Calculator */
.roi-calculator-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(7, 10, 15, 0.95));
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.roi-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.roi-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.roi-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.slider-control-group {
  margin-bottom: 22px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.custom-range-slider {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 10px var(--emerald-primary);
  cursor: pointer;
  transition: transform var(--trans-fast);
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-outputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roi-card {
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 22px;
}

.roi-output-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 600;
}

.roi-output-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 6px;
}

.roi-output-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CORE FEATURES GRID (BENTO BOX LAYOUT)
   ========================================================================== */

.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform var(--trans-normal), border-color var(--trans-normal), box-shadow var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.15;
}

.bento-prompt-provisioning .bento-glow { background: var(--emerald-primary); }
.bento-safety .bento-glow { background: var(--cyan-primary); }
.bento-transparency .bento-glow { background: var(--yellow-primary); }
.bento-multi-server .bento-glow { background: var(--purple-primary); }
.bento-zero-bloat .bento-glow { background: var(--emerald-primary); }

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald-light); border: 1px solid var(--emerald-border); }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: var(--cyan-light); border: 1px solid var(--cyan-border); }
.icon-yellow { background: rgba(245, 158, 11, 0.12); color: var(--yellow-primary); border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: var(--purple-primary); border: 1px solid rgba(168, 85, 247, 0.3); }

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.bento-description {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Bento Sub-elements */
.bento-interactive-pill-stack {
  margin-top: auto;
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
}

.pill-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--emerald-light);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-primary);
  border-radius: 50%;
}

.pill-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-code);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Safety Preview Box */
.safety-preview-box {
  margin-top: auto;
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.safety-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.safety-badge { color: var(--text-dim); }

.diff-line {
  margin-bottom: 4px;
}
.diff-add { color: var(--emerald-light); }
.diff-neutral { color: var(--cyan-light); }

.action-btn-row {
  margin-top: 10px;
  text-align: right;
}

.btn-mock-approve {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

/* Mini Terminal Snippet */
.mini-terminal-snippet {
  margin-top: auto;
  background: #070a10;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* Fleet Node Visualizer */
.fleet-nodes-visual {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.node-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 12px;
  transition: all var(--trans-fast);
}

.node-chip.active {
  border-color: var(--cyan-border);
  background: rgba(6, 182, 212, 0.05);
}

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

.node-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.node-info strong {
  font-size: 0.8rem;
  color: var(--text-heading);
}

.node-info span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.node-load {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-light);
  font-weight: 600;
}

/* Memory Comparison Gauge */
.memory-gauge-container {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gauge-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gauge-label-col {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}

.gauge-track {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
}

.gauge-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.bar-danger {
  background: linear-gradient(90deg, #f87171, #ef4444);
}

.bar-emerald {
  background: linear-gradient(90deg, #34d399, #10b981);
  box-shadow: 0 0 10px var(--emerald-primary);
}

/* ==========================================================================
   INTERACTIVE TERMINAL SIMULATOR (Live Demo)
   ========================================================================== */

.simulator-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.simulator-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.preset-prompts-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.preset-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.preset-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-heading);
  border-color: var(--border-glass);
}

.preset-chip.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border-color: var(--emerald-border);
  box-shadow: 0 0 15px -3px var(--emerald-glow);
}

.chip-icon {
  font-size: 0.9rem;
}

.interactive-terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 0 40px -10px var(--emerald-glow-subtle);
  overflow: hidden;
}

.term-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #090e16;
  border-bottom: 1px solid var(--border-subtle);
}

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

.term-dots .dot {
  width: 10px;
  height: 10px;
}
.term-dots .red { background-color: #ef4444; }
.term-dots .yellow { background-color: #f59e0b; }
.term-dots .green { background-color: #10b981; }

.term-session-info {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.term-reset-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 4px;
  transition: color var(--trans-fast);
}

.term-reset-btn:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.term-output-area {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.7;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.03), transparent 70%), var(--bg-terminal);
}

/* Terminal Input Form */
.term-input-form {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #090e16;
  border-top: 1px solid var(--border-subtle);
  gap: 10px;
}

.term-prompt-marker {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  white-space: nowrap;
}

.prompt-user { color: var(--emerald-light); font-weight: 600; }
.prompt-at { color: var(--text-dim); }
.prompt-host { color: var(--cyan-light); font-weight: 600; }
.prompt-colon { color: var(--text-dim); }
.prompt-tilde { color: var(--yellow-primary); }
.prompt-dollar { color: var(--text-main); font-weight: 700; margin-left: 2px; }

.term-real-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-heading);
}

.term-real-input::placeholder {
  color: var(--text-dim);
}

.btn-term-run {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-term-run:hover {
  background: var(--emerald-primary);
  color: #041f16;
}

/* ==========================================================================
   ARCHITECTURE SECTION
   ========================================================================== */

.architecture-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
  background: rgba(9, 13, 20, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.arch-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.arch-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--emerald-border);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.arch-node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(8px);
  transition: all var(--trans-normal);
}

.arch-node-card:hover {
  border-color: var(--emerald-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -5px var(--emerald-glow-subtle);
}

.arch-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.arch-node-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.arch-node-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.arch-arrow {
  color: var(--emerald-light);
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.7;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-counter {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.workflow-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.workflow-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.copyable-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080c14;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 10px 14px;
}

.copyable-command code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-cmd-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color var(--trans-fast);
}

.copy-cmd-btn:hover {
  color: var(--text-heading);
}

.sample-instruction-preview {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-light);
}

.workflow-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--emerald-border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-light);
}

.pulse-emerald {
  width: 8px;
  height: 8px;
  background: var(--emerald-primary);
  border-radius: 50%;
  animation: pulseLight 1.5s infinite;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-normal);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass);
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.author-details span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--trans-normal);
}

.faq-item.active {
  border-color: var(--border-glass);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  padding-right: 16px;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--emerald-light);
  transition: transform var(--trans-normal);
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 280px;
  padding: 0 24px 22px 24px;
}

.faq-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-content code {
  font-family: var(--font-mono);
  background: #080c14;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--emerald-light);
  font-size: 0.85em;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
  padding: 100px 0 60px 0;
  position: relative;
  z-index: 10;
}

.final-cta-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--emerald-border);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px var(--emerald-glow-subtle);
}

.cta-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-border);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.cta-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.cta-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-form {
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-perks-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #06090e;
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 16px 0 24px;
  line-height: 1.6;
  max-width: 320px;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--emerald-border);
  padding: 6px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-light);
}

.status-pulse-green {
  width: 7px;
  height: 7px;
  background: var(--emerald-primary);
  border-radius: 50%;
  animation: pulseLight 1.5s infinite;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.col-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--emerald-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sec-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS (Waitlist Confirmation & Command Palette)
   ========================================================================== */

.modal-backdrop, .cmd-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show, .cmd-modal-backdrop.show {
  display: flex;
}

.modal-card {
  background: #0d131f;
  border: 1px solid var(--emerald-border);
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  padding: 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 40px -5px var(--emerald-glow);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
}
.modal-close-btn:hover { color: var(--text-heading); }

.modal-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.queue-rank-card {
  background: #080c14;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
}

.queue-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.queue-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--emerald-light);
  line-height: 1;
  margin-bottom: 6px;
}

.queue-status {
  font-size: 0.84rem;
  font-weight: 600;
}

.referral-box {
  margin-bottom: 24px;
  text-align: left;
}

.referral-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.referral-input-row {
  display: flex;
  gap: 8px;
}

.referral-input {
  flex: 1;
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-code);
  outline: none;
}

.btn-copy-ref {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-copy-ref:hover {
  background: var(--emerald-primary);
  color: #041f16;
}

/* Command Palette Card */
.cmd-palette-card {
  background: #0b0f17;
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  width: 100%;
  max-width: 540px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95);
  animation: modalPop 0.2s ease;
}

.cmd-search-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

.cmd-search-header input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-heading);
}

.kbd-esc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.cmd-suggestions-list {
  padding: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--trans-fast);
}

.cmd-item:hover {
  background: rgba(16, 185, 129, 0.12);
}

.cmd-title {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-main);
}

.cmd-hint {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  border: 1px solid var(--emerald-border);
  color: var(--text-heading);
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px -3px var(--emerald-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1080px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .pane {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
  }
  .arch-flow-diagram {
    flex-direction: column;
  }
  .arch-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  .roi-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 820px) {
  .desktop-nav, .cmd-palette-trigger {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links-group {
    grid-template-columns: 1fr 1fr;
  }
  .fleet-nodes-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .waitlist-form {
    flex-direction: column;
  }
  .submit-btn {
    width: 100%;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
  }
  .ticker-track {
    gap: 12px;
  }
}
