/* ==========================================================================
   QuickSnipe Documentation & Sales Portal Stylesheet
   Modern Glassmorphic Design System (Cyber Dark & Light Glass)
   ========================================================================== */

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

:root {
  /* Color Tokens - Cyber Dark (Default) */
  --bg-base: #060913;
  --bg-surface: #0c1222;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-input: rgba(15, 23, 42, 0.9);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-highlight: rgba(255, 255, 255, 0.16);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #090d16;

  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-secondary: #06b6d4;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;

  --grad-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-glow: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 80%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.3);

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

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Glass Theme */
[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: rgba(241, 245, 249, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.11);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-highlight: rgba(15, 23, 42, 0.22);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --accent-primary: #4f46e5;
  --accent-primary-hover: #4338ca;
  --accent-secondary: #0891b2;
  --accent-cyan: #0369a1;    /* 5.4:1 contrast on white (WCAG AAA) */
  --accent-emerald: #047857; /* 4.8:1 contrast on white (WCAG AA) */
  --accent-amber: #b45309;   /* 5.1:1 contrast on white (WCAG AA) */
  --accent-rose: #be123c;    /* 5.5:1 contrast on white (WCAG AAA) */
  --accent-purple: #6d28d9;  /* 6.8:1 contrast on white (WCAG AAA) */

  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  --grad-glow: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 80%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.2);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  background-image: var(--grad-glow);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 900px;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

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

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

a:hover {
  color: var(--accent-primary);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
}

[data-theme="light"] code {
  background: rgba(99, 102, 241, 0.1);
  color: #4338ca;
}

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

.section-padding {
  padding: 88px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Header & Glass Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.badge-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.02em;
}

.badge-version .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 5px #10b981;
  display: inline-block;
}

.badge-upcoming-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.badge-upcoming-pill:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

/* Theme Toggle Button */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  border: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.6);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

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

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

.btn-lg {
  padding: 14px 30px;
  font-size: 1.08rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  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.35);
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

[data-theme="light"] .hero-pill {
  color: #4338ca;
  background: rgba(99, 102, 241, 0.08);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  max-width: 960px;
  margin: 0 auto 22px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 780px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Showcase Frame */
.hero-showcase {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid var(--border-highlight);
  background: var(--bg-surface);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

/* Floating Feature Badges */
.floating-pill {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.floating-pill-1 {
  top: -16px;
  left: 30px;
}

.floating-pill-2 {
  bottom: 20px;
  right: 30px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
}

/* Cards & Glass Containers */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

/* Comparison Table (QuickSnipe vs SaaS) */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

[data-theme="light"] .comparison-table th {
  background: rgba(0, 0, 0, 0.03);
}

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

.col-highlight {
  background: rgba(99, 102, 241, 0.08);
  border-left: 2px solid var(--accent-primary);
  border-right: 2px solid var(--accent-primary);
}

.col-highlight strong {
  color: #38bdf8;
}

[data-theme="light"] .col-highlight strong {
  color: #0284c7;
}

/* Interactive Sandbox Grid */
.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

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

.sandbox-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.sandbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sandbox-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* Calculator Output Grid */
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.calc-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

[data-theme="light"] .calc-stat-box {
  background: rgba(0, 0, 0, 0.02);
}

.calc-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.calc-stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

.val-profit {
  color: var(--accent-emerald) !important;
}

/* LQS Title Score Meter */
.lqs-score-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-top: 14px;
}

.lqs-grade-badge {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  padding: 4px 18px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.grade-s { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }
.grade-a { background: rgba(6, 182, 212, 0.2); color: #38bdf8; border: 1px solid #06b6d4; }
.grade-b { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.grade-c { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid #f43f5e; }

.meter-bar-container {
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 8px;
}

.meter-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  width: 0%;
  transition: width var(--transition-smooth);
}

/* Carousel Section */
.carousel-wrapper {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}

.carousel-slides {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface);
}

.carousel-slide {
  display: none;
  animation: fadeIn 0.4s ease;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  display: block;
}

.carousel-caption {
  padding: 20px 28px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.carousel-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.carousel-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
}

.carousel-tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
}

/* Marketplaces Grid */
.marketplaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.marketplace-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.marketplace-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.marketplace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.marketplace-name {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.marketplace-bullets {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.marketplace-bullets li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* BYOK AI Providers Section */
.byok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.byok-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.byok-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.byok-badge-free {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  font-weight: 700;
  text-transform: uppercase;
}


/* FAQ Accordion & Search */
.faq-search-box {
  max-width: 580px;
  margin: 0 auto 36px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: transform var(--transition-fast);
}

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

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

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

/* Sticky Bottom Install Bar */
.sticky-install-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-highlight);
  padding: 12px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

.sticky-install-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-bar-rating {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SEO Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.footer-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-main);
}

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

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-emerald);
  color: #34d399;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .floating-pill {
    display: none;
  }
}

/* Technical Details Drawer & Reassurance Elements */
.hero-subtrust {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tech-specs-wrapper {
  margin-top: 36px;
  width: 100%;
}

.tech-specs-details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: left;
  transition: border-color var(--transition-smooth);
}

.tech-specs-details[open] {
  border-color: var(--border-highlight);
}

.tech-specs-summary {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-specs-summary:hover {
  color: var(--accent-primary);
}

.tech-specs-content {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.84rem;
}

.tech-specs-table th, .tech-specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.tech-specs-table th {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .tech-specs-table th {
  background: rgba(0, 0, 0, 0.04);
}

/* Step Flow & Tutorial High-Contrast Cards */
.step-flow-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.step-flow-card:hover {
  border-color: var(--border-highlight);
}

.step-flow-card strong {
  color: var(--text-main);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 6px;
}

.step-flow-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

[data-theme="light"] .step-flow-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .step-flow-card strong {
  color: #0f172a;
}

[data-theme="light"] .step-flow-card p {
  color: #475569;
}

.tutorial-flow-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.tutorial-flow-box h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 16px;
  text-align: center;
}

.tutorial-flow-box ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.tutorial-flow-box li {
  margin-bottom: 10px;
}

.tutorial-flow-box li strong {
  color: var(--text-main);
}

[data-theme="light"] .tutorial-flow-box {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .tutorial-flow-box h3 {
  color: #0f172a;
}

[data-theme="light"] .tutorial-flow-box ol,
[data-theme="light"] .tutorial-flow-box li {
  color: #334155;
}

[data-theme="light"] .tutorial-flow-box li strong {
  color: #0f172a;
}

[data-theme="light"] .tutorial-flow-box code {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}


