/**
 * ZENITH CODE — Master Design System & Styling
 * Premium Dark SaaS Aesthetic (Deep Navy / Electric Blue / Royal Purple)
 */

:root {
  --bg-base: #05070e;
  --bg-surface: #0a0e1c;
  --bg-surface-elevated: #10162a;
  --bg-card: rgba(16, 22, 42, 0.7);
  --bg-card-hover: rgba(22, 31, 58, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(139, 92, 246, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  --accent-blue: #38bdf8;
  --accent-electric: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-pink: #ec4899;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;

  --grad-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --grad-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grad-card-border: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 80%);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, Menlo, monospace;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(120, 80, 220, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(168, 85, 247, 0.07) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background canvas particles */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

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

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

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

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

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--accent-blue);
}

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

/* Section Wrapper */
section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5, 7, 14, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 10, 22, 0.92);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
}

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

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

.nav-logo img, .nav-logo svg {
  height: 38px;
  width: auto;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

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

.btn-primary {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-glow {
  background: rgba(139, 92, 246, 0.1);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-outline-glow:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.6);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-full);
}

.badge-announcement {
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.25);
  margin-bottom: 24px;
  animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
  0%, 100% { border-color: rgba(139, 92, 246, 0.25); }
  50% { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 16px rgba(139, 92, 246, 0.25); }
}

.badge-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 36px auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ==========================================================================
   Desktop Application Preview Mockup (AI Coding Agent Interface)
   ========================================================================== */
.mockup-wrapper {
  margin-top: 20px;
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--grad-card-border);
  box-shadow: 0 24px 80px -15px rgba(0, 0, 0, 0.9), 0 0 60px rgba(139, 92, 246, 0.2);
}

.mockup-window {
  background: #090d1a;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Window Chrome Header */
.mockup-header {
  background: #070914;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dot.red { background: #ef4444; }
.window-dot.yellow { background: #f59e0b; }
.window-dot.green { background: #10b981; }

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

.window-status-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

/* Window Body (3 columns: File Explorer, Code Editor, AI Agent Chat) */
.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr 340px;
  min-height: 480px;
  background: #0a0e1c;
}

@media (max-width: 992px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar, .mockup-agent-chat {
    display: none;
  }
}

/* Mockup Sidebar */
.mockup-sidebar {
  background: #070913;
  border-right: 1px solid var(--border-subtle);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.file-tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 2px;
  transition: all var(--transition-fast);
}

.file-tree-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.file-tree-item.active {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

.file-tree-item.modified::after {
  content: '•';
  color: #38bdf8;
  margin-left: auto;
  font-size: 14px;
}

/* Mockup Code Editor */
.mockup-editor {
  display: flex;
  flex-direction: column;
  background: #090d1a;
  border-right: 1px solid var(--border-subtle);
}

.editor-tabs {
  display: flex;
  background: #060812;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.editor-tab {
  padding: 10px 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.editor-tab.active {
  color: var(--text-primary);
  background: #090d1a;
  border-top: 2px solid var(--accent-purple);
}

.editor-code {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-y: auto;
  flex: 1;
}

.code-line {
  display: flex;
  gap: 16px;
}

.line-num {
  color: #475569;
  user-select: none;
  width: 24px;
  text-align: right;
}

.line-content {
  color: #cbd5e1;
}

/* Syntax Highlighting */
.syn-keyword { color: #f472b6; }
.syn-function { color: #60a5fa; }
.syn-string { color: #34d399; }
.syn-comment { color: #64748b; font-style: italic; }
.syn-class { color: #facc15; }
.syn-var { color: #e2e8f0; }

.diff-add {
  background: rgba(16, 185, 129, 0.12);
  border-left: 3px solid #10b981;
}

/* Mockup AI Agent Chat Drawer */
.mockup-agent-chat {
  background: #070a16;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #38bdf8;
}

.chat-messages {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  font-size: 13px;
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  line-height: 1.5;
}

.chat-bubble.user {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #e2e8f0;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.agent {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.agent-step {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 8px;
  border-left: 2px solid var(--accent-purple);
  color: #a78bfa;
}

.chat-input-bar {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.mockup-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #ffffff;
  flex: 1;
  outline: none;
}

/* ==========================================================================
   Early Access Promotion Section
   ========================================================================== */
.promo-section {
  position: relative;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.promo-card {
  background: linear-gradient(145deg, rgba(16, 22, 42, 0.95), rgba(11, 15, 30, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.promo-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}

.promo-card-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.promo-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #e2e8f0;
}

.perk-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-style: italic;
}

/* ==========================================================================
   Email Waitlist Signup Card
   ========================================================================== */
.signup-box {
  background: rgba(14, 19, 36, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 7, 14, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
  background: rgba(8, 12, 24, 0.95);
}

.form-control::placeholder {
  color: #64748b;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.45;
  user-select: none;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-purple);
  margin-top: 2px;
  cursor: pointer;
}

/* Success Card Animation */
.signup-success-card {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px auto;
  animation: scaleSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleSuccess {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Push Notification Callout Banner
   ========================================================================== */
.push-callout-card {
  background: rgba(11, 16, 33, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 40px auto 0 auto;
  max-width: 860px;
}

@media (max-width: 768px) {
  .push-callout-card {
    flex-direction: column;
    text-align: center;
  }
}

.push-callout-text h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}

.push-callout-text p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Ecosystem Section
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

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

@media (max-width: 992px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

.ecosystem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ecosystem-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.ecosystem-badge-top {
  position: absolute;
  top: 18px;
  right: 18px;
}

.ecosystem-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.ecosystem-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ecosystem-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.ecosystem-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.ecosystem-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ecosystem-highlights li::before {
  content: '→';
  color: var(--accent-blue);
  font-weight: bold;
}

.ecosystem-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 20px;
}

.ecosystem-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Vision Banner */
.vision-banner {
  background: linear-gradient(135deg, rgba(16, 22, 42, 0.9) 0%, rgba(20, 15, 38, 0.9) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

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

@media (max-width: 900px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }
}

.example-commands {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.command-pill {
  background: rgba(7, 10, 22, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.command-pill::before {
  content: '>';
  color: var(--accent-purple);
  margin-right: 10px;
  font-weight: bold;
}

/* ==========================================================================
   Features Showcase Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  color: #38bdf8;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #04060b;
  padding: 60px 0 30px 0;
  position: relative;
  z-index: 1;
}

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

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 320px;
  margin-top: 12px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #0c1020;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: #ffffff;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all var(--transition-normal);
}

@keyframes slideInToast {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.toast-success { border-left: 4px solid var(--accent-success); }
.toast-error { border-left: 4px solid var(--accent-danger); }
.toast-warning { border-left: 4px solid var(--accent-warning); }
.toast-info { border-left: 4px solid var(--accent-blue); }

.toast-icon { font-size: 16px; flex-shrink: 0; }
.toast-body { flex: 1; line-height: 1.4; }
.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}
.toast-close:hover { color: #ffffff; }

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #0c1022;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
