/* ==========================================================================
   SwiftExtract — Design System & Styles (v2)
   ========================================================================== */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  /* Palette */
  --bg-primary: #09090b;
  --bg-secondary: #000000;
  --bg-card: rgba(24, 24, 27, 0.7);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --border-subtle: rgba(249, 115, 22, 0.12);
  --border-glow: rgba(249, 115, 22, 0.35);
  --text-primary: #f3f4f6;
  --text-secondary: rgba(209, 213, 219, 0.85);
  --text-muted: rgba(156, 163, 175, 0.75);
  --accent: #f97316;
  --accent-light: #fde047;
  --accent-glow: rgba(249, 115, 22, 0.30);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Gradient */
  --grad-brand: linear-gradient(135deg, #f97316, #e11d48, #f59e0b);
  --grad-card: linear-gradient(145deg, rgba(249,115,22,0.06) 0%, rgba(225,29,72,0.03) 100%);

  /* Typography */
  --font-heading: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Spacing */
  --section-gap: 120px;
  --container-max: 1200px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes blobBounce {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #c4b5fd; }

img { max-width: 100%; display: block; }

/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gradient-text {
  background: linear-gradient(to right, #f97316, #f59e0b, #e11d48, #f97316);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid var(--border-glow);
  background: rgba(249, 115, 22, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Glass Card ──────────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px var(--accent-glow);
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--text-primary);
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--grad-brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  color: white;
}
.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.25rem;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--grad-brand); color: white !important;
  padding: 0.55rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.4rem; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -20%; left: -10%; right: -10%; bottom: -20%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  filter: blur(60px);
  animation: blobBounce 20s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(249,115,22,0.1);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 2rem;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 4rem;
}
.btn-primary {
  background: var(--grad-brand); color: white;
  padding: 0.85rem 2.2rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer;
  transition: opacity 0.25s, transform 0.25s;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); color: white; }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  padding: 0.85rem 2.2rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem;
  border: 1px solid var(--border-glow);
  cursor: pointer; transition: background 0.25s, transform 0.25s;
}
.btn-secondary:hover { background: rgba(249,115,22,0.1); transform: translateY(-2px); }

/* Hero Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 700px; margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(to right, #f97316, #f59e0b, #e11d48, #f97316);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.stat-label {
  display: block; font-size: 0.82rem;
  color: var(--text-muted); margin-top: 0.3rem;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works { padding: var(--section-gap) 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 3.2rem; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
  opacity: 0.3;
}
.step-card {
  text-align: center; position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  z-index: 1;
}
.step-card > * { position: relative; z-index: 2; }
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--border-glow) inset;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  margin-bottom: 0.8rem;
}
.step-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,0.08);
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  line-height: 1;
}
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.6rem;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* ── Features Grid ───────────────────────────────────────── */
.features { padding: var(--section-gap) 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card:nth-child(1) { grid-column: span 2; }
.feature-card:nth-child(4) { grid-column: span 2; }
.feature-card:nth-child(8) { grid-column: span 2; }
.feature-card:nth-child(13) { grid-column: span 2; }
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  z-index: 1;
}
.feature-card > * { position: relative; z-index: 2; }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.feature-card.highlighted {
  border-color: var(--border-glow);
  background: var(--grad-card);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  line-height: 1;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.6rem;
  min-height: 2.2em;
  display: flex; align-items: flex-start;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* ── Regions ─────────────────────────────────────────────── */
.regions { padding: var(--section-gap) 0; }
.regions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.region-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}
.region-flag { font-size: 2.4rem; margin-bottom: 0.5rem; line-height: 1; }
.region-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 0.8rem;
}
.region-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  min-height: 2.4em; /* Allows exactly 2 lines evenly across all tabs */
}
.region-meta strong { color: var(--text-secondary); }

.region-section-title {
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-light);
  margin: 1.2rem 0 0.5rem;
}
.region-list {
  list-style: none; padding: 0;
}
.region-list:first-of-type {
  flex: 1;
  margin-bottom: auto;
}
.region-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.region-list li::before {
  content: '✓';
  color: var(--success);
  font-size: 0.85rem; font-weight: 700;
  flex-shrink: 0;
}

/* ── AI Modes ────────────────────────────────────────────── */
.ai-modes { padding: var(--section-gap) 0; }
.modes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.mode-card:hover {
  transform: translateY(-4px); border-color: var(--border-glow);
}
.mode-icon {
  font-size: 2rem; margin-bottom: 1rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  line-height: 1;
}
.mode-badge {
  display: inline-block; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  padding: 0.2rem 0.6rem; border-radius: 999px;
  margin-bottom: 0.5rem;
}
.mode-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 0.6rem;
}
.mode-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6; flex: 1;
}
.mode-spec {
  display: flex; flex-direction: column; gap: 0.35rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}
.mode-spec span strong { color: var(--text-secondary); }

/* ── ROI ─────────────────────────────────────────────────── */
.roi { padding: var(--section-gap) 0; }
.roi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.roi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.roi-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.roi-before {
  font-size: 0.85rem; color: var(--text-muted);
  text-decoration: line-through; margin-bottom: 0.3rem;
}
.roi-after {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 700;
  color: var(--success);
  margin-bottom: 0.4rem;
}
.roi-metric {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem; min-height: 2.4em;
}
.roi-savings {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}

/* ── Comparison Table ────────────────────────────────────── */
.comparison { padding: var(--section-gap) 0; }
.comparison-wrapper {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}
.comparison-table {
  width: 100%; border-collapse: collapse;
  text-align: center;
  font-size: 0.88rem;
}
.comparison-table thead th {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 1.2rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}
.comparison-table thead th:first-child {
  text-align: left;
  padding-left: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}
/* Highlight SwiftExtract column header */
.comparison-table thead th.highlight-col {
  color: var(--accent-light);
  background: rgba(249, 115, 22, 0.08);
  position: relative;
}
.comparison-table thead th.highlight-col::after {
  content: '';
  position: absolute; bottom: 0; left: 20%; right: 20%;
  height: 2px; background: var(--grad-brand);
}
.comparison-table tbody tr {
  border-bottom: 1px solid rgba(249,115,22,0.06);
  transition: background 0.15s;
}
.comparison-table tbody tr:hover {
  background: rgba(249,115,22,0.04);
}
.comparison-table tbody tr:nth-child(even) {
  background: rgba(249,115,22,0.02);
}
.comparison-table tbody tr:nth-child(even):hover {
  background: rgba(249,115,22,0.06);
}
.comparison-table tbody td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
}
.comparison-table tbody td:first-child {
  text-align: left;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}
/* Highlight SwiftExtract column */
.comparison-table tbody td.highlight-col {
  background: rgba(249, 115, 22, 0.05);
  font-weight: 600;
}
.check { color: var(--success); font-weight: 700; font-size: 1rem; }
.cross { color: var(--danger); opacity: 0.6; font-weight: 700; font-size: 1rem; }
.partial { color: var(--warning); font-weight: 500; font-size: 0.82rem; }
.comp-license { font-size: 0.78rem; color: var(--accent-light); font-weight: 600; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing { padding: var(--section-gap) 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; align-items: stretch;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.plan-card.highlighted {
  border-color: var(--accent);
  background: var(--grad-card);
  position: relative;
  transform: scale(1.02);
}
.plan-card.highlighted::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: white;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 999px;
}
.plan-name {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 0.3rem;
}
.plan-price {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 700;
  margin-bottom: 0.2rem;
}
.plan-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.plan-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.55;
  min-height: 70px;
}
.plan-limits {
  display: flex; gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.plan-limit {
  display: flex; flex-direction: column;
  align-items: center; flex: 1;
  text-align: center;
}
.plan-limit-value {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent-light);
}
.plan-limit-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan-features {
  list-style: none; padding: 0;
  flex: 1;
}
.plan-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.plan-features li::before {
  content: '✓'; color: var(--success);
  font-weight: 700; flex-shrink: 0;
  margin-top: 1px;
}
.plan-cta {
  display: block; text-align: center;
  margin-top: auto;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border-glow);
  color: var(--accent-light);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.plan-cta:hover {
  background: rgba(249,115,22,0.12);
  color: var(--text-primary);
}
.plan-card.highlighted .plan-cta {
  background: var(--grad-brand);
  color: white; border-color: transparent;
}
.plan-card.highlighted .plan-cta:hover { opacity: 0.9; }

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* ── Security ────────────────────────────────────────────── */
.security { padding: var(--section-gap) 0; }
.security-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.security-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.security-icon {
  font-size: 1.8rem; margin-bottom: 1rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16,185,129,0.15);
  line-height: 1;
}
.security-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.6rem;
  min-height: 2.2em;
  display: flex; align-items: flex-start;
}
.security-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { padding: var(--section-gap) 0; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.2rem;
  font-style: italic;
  position: relative;
  padding-left: 1.2rem;
}
.testimonial-quote::before {
  content: '"';
  position: absolute; left: 0; top: -4px;
  font-size: 2rem; font-weight: 700;
  color: var(--accent); opacity: 0.5;
  font-style: normal;
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.95rem;
}
.testimonial-company {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { padding: var(--section-gap) 0; }
.faq-list {
  max-width: 780px; margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-glow); }
.faq-question {
  width: 100%; padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: none; color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex; align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question::after {
  content: '+';
  font-size: 1.3rem; font-weight: 400;
  color: var(--accent-light);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-content {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── CTA / Contact ───────────────────────────────────────── */
.cta-section {
  padding: var(--section-gap) 0;
  text-align: center;
}
.cta-box {
  background: var(--grad-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700; margin-bottom: 1rem;
}
.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
#contact-form {
  display: flex; flex-direction: column;
  gap: 0.8rem; max-width: 400px;
  margin: 0 auto;
}
#contact-form input,
#contact-form textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
#contact-form textarea { resize: vertical; min-height: 80px; }
#contact-form button { margin-top: 0.4rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 32px; height: 32px;
  background: var(--grad-brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: white;
}
.footer-logo span {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.1rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-social {
  display: flex; gap: 0.8rem;
}
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem; font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent-light); }
#footer-sections { display: contents; }
.footer-section h4 {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.footer-section ul { list-style: none; padding: 0; }
.footer-section li { margin-bottom: 0.4rem; }
.footer-section a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-section a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Spotlight Hover ─────────────────────────────────────── */
.step-card::after, .feature-card::after, .region-card::after, .mode-card::after, .roi-card::after, .plan-card::after, .security-card::after, .testimonial-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 40%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 0;
}
.step-card:hover::after, .feature-card:hover::after, .region-card:hover::after, .mode-card:hover::after, .roi-card:hover::after, .plan-card:hover::after, .security-card:hover::after, .testimonial-card:hover::after {
  opacity: 1;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid,
  .regions-grid,
  .modes-grid,
  .security-grid,
  .testimonials-grid,
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(1), .feature-card:nth-child(4), .feature-card:nth-child(8), .feature-card:nth-child(13) { grid-column: span 1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .comparison-wrapper { overflow-x: auto; }
}
@media (max-width: 768px) {
  :root { --section-gap: 80px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,14,26,0.96);
    backdrop-filter: blur(16px);
    padding: 1.5rem; gap: 1rem;
    border-top: 1px solid var(--border-subtle);
  }
  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2rem; }
  .features-grid,
  .regions-grid,
  .modes-grid,
  .security-grid,
  .testimonials-grid,
  .pricing-grid,
  .roi-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .plan-card.highlighted { transform: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: center; }
}
