/* ==========================================================================
   JAGY.IN — Next-Gen AI Video Automation & Syndication Engine
   Design System: Luxury Dark SaaS (Linear / OpusClip / Cursor aesthetic)
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Surfaces */
  --bg-main: #060609;
  --bg-card: rgba(18, 18, 26, 0.65);
  --bg-card-hover: rgba(26, 26, 38, 0.85);
  --bg-surface: #0e0e16;
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* Accents & Brand Gradients */
  --brand-primary: #6366f1;
  --brand-cyan: #06b6d4;
  --brand-pink: #ec4899;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;

  --grad-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-sunset: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #f59e0b 100%);
  --grad-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(99, 102, 241, 0.4);

  /* Typography */
  --text-white: #ffffff;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Geometry & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px -5px rgba(99, 102, 241, 0.35);
  --shadow-cyan-glow: 0 0 35px -5px rgba(6, 182, 212, 0.35);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#three-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Layout Container */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 6, 9, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

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

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

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

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

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(30deg);
  animation: shine 4s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  color: #a5b4fc;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 10px var(--brand-emerald);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-white);
  max-width: 980px;
  margin: 0 auto 24px;
}

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

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

.hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 400;
}

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

/* ==========================================================================
   Interactive Channel Clipping Simulator (Hero Product Interactive UI)
   ========================================================================== */
.simulator-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-card), 0 0 60px -20px rgba(99, 102, 241, 0.25);
  backdrop-filter: blur(25px);
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.sim-dot:nth-child(1) { background: #ef4444; }
.sim-dot:nth-child(2) { background: #f59e0b; }
.sim-dot:nth-child(3) { background: #10b981; }

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

.simulator-input-wrap {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.sim-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.sim-input:focus {
  border-color: var(--brand-primary);
}

.sim-btn {
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  padding: 0 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.sim-btn:hover {
  opacity: 0.9;
}

/* Simulation Pipeline Stages Preview */
.sim-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px;
}

.sim-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.sim-card.active {
  border-color: var(--brand-primary);
  background: rgba(99, 102, 241, 0.08);
}

.sim-card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.sim-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.sim-card-status {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.sim-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.sim-progress-fill {
  height: 100%;
  background: var(--grad-primary);
  width: 85%;
  animation: progressPulse 2s ease-in-out infinite alternate;
}

@keyframes progressPulse {
  0% { width: 40%; }
  100% { width: 95%; }
}

/* ==========================================================================
   Platforms Bar
   ========================================================================== */
.platforms-section {
  padding: 30px 0 70px;
  text-align: center;
}

.platforms-lead {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.platforms-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.platform-pill:hover {
  color: #fff;
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.platform-pill svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Bento Grid Section (Features that look real, not AI generated)
   ========================================================================== */
.bento-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.badge-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tag-purple {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.section-title {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Feature Mockup visuals inside Bento */
.mock-visual {
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mock-timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  background: #08080c;
  border-radius: var(--radius-sm);
  padding: 0 10px;
  position: relative;
}

.mock-bar {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.mock-bar.viral {
  background: var(--grad-sunset);
  height: 34px;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.5);
}

.mock-cut-tag {
  position: absolute;
  top: -24px;
  left: 45%;
  background: var(--brand-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Hormozi Subtitle visual */
.mock-shorts-frame {
  width: 160px;
  height: 240px;
  margin: 20px auto 0;
  border: 2px solid var(--border-light);
  border-radius: 18px;
  background: #08080e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 14px;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.mock-caption-word {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: #facc15;
  background: #000;
  padding: 2px 6px;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* ==========================================================================
   Desktop App Installation Section (Zero Terminal, 1-Click Package)
   ========================================================================== */
.install-section {
  padding: 90px 0;
  position: relative;
}

.install-hero-card {
  background: linear-gradient(135deg, rgba(26, 26, 38, 0.8), rgba(14, 14, 22, 0.95));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-card);
}

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

.install-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.install-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.install-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--brand-primary);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

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

.install-box {
  background: #09090f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.package-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.package-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.package-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.install-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Hermes AI Interactive Drawer & Floating Chat Trigger
   ========================================================================== */
.agent-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1001;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.agent-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.7);
}

.agent-modal {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 420px;
  height: 580px;
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  backdrop-filter: blur(30px);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.agent-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.agent-modal-header {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.agent-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.agent-status {
  font-size: 12px;
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  gap: 5px;
}

.close-agent-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.close-agent-btn:hover {
  color: #fff;
}

.agent-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}

.bubble-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.bubble-user {
  align-self: flex-end;
  background: var(--brand-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.prompt-btn {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.prompt-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

.agent-chat-input-bar {
  padding: 14px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
}

.agent-text-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.agent-text-input:focus {
  border-color: var(--brand-primary);
}

.agent-send-btn {
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   FAQ & Footer
   ========================================================================== */
.faq-section {
  padding: 90px 0;
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-trigger {
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  background: rgba(0, 0, 0, 0.5);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .col-8, .col-4, .col-6 {
    grid-column: span 12;
  }
  .install-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sim-preview-grid {
    grid-template-columns: 1fr;
  }
  .agent-modal {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 84px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 38px;
  }
  .install-hero-card {
    padding: 32px 20px;
  }
}

/* ==========================================================================
   Legal Pages (Terms of Service & Privacy Policy)
   ========================================================================== */
.legal-hero {
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.legal-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 14px;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 0 100px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: block;
}

.legal-toc-link:hover, .legal-toc-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--brand-primary);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease;
}

.legal-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.legal-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-card h2 .section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-card ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-card ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-primary);
  font-size: 12px;
}

.legal-highlight-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.legal-highlight-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.legal-highlight-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.legal-highlight-text strong {
  color: var(--text-white);
}

.legal-highlight-box.emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.legal-highlight-box.amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: relative;
    top: 0;
  }
}

