/* ============================================================
   Tecveq PWA Studio Plugin. Showcase Page Styles
   Color system: Gradient Mesh Dark (PRD Section 3, Option B)
   WCAG 2.1 AA compliant · Responsive 320px → 1920px+
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Gradient mesh background (replaces flat black) */
  --bg-base: #0d1124;
  --bg-mid-1: #131a35;
  --bg-mid-2: #181030;
  --bg-elev: #1a2042;
  --bg-elev-2: #1f2750;
  --bg-card: rgba(26, 32, 66, 0.65);
  --bg-card-solid: #1a2042;
  --bg-input: rgba(13, 17, 36, 0.6);

  /* Brand. Indigo / Purple / Cyan (matches original PWA brand) */
  --brand: #6366f1;          /* indigo-500 */
  --brand-strong: #818cf8;   /* indigo-400 */
  --brand-deep: #4f46e5;     /* indigo-600 */
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --brand-foreground: #ffffff;
  --brand-soft: rgba(99, 102, 241, 0.12);
  --brand-soft-2: rgba(99, 102, 241, 0.06);

  /* Text. High contrast for WCAG AA on dark bg */
  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-soft: #94a3b8;
  --text-dim: #64748b;
  --text-on-brand: #ffffff;

  /* Status colors */
  --status-good: #10b981;
  --status-warn: #f59e0b;
  --status-bad: #ef4444;
  --status-good-soft: rgba(16, 185, 129, 0.15);
  --status-warn-soft: rgba(245, 158, 11, 0.15);
  --status-bad-soft: rgba(239, 68, 68, 0.15);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-brand: rgba(99, 102, 241, 0.5);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-brand-2: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  --gradient-text: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #22d3ee 100%);
  --gradient-mesh-page: linear-gradient(160deg, #0d1124 0%, #131a35 35%, #181030 70%, #0d1124 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.30);
  --shadow-glow: 0 0 0 4px rgba(99, 102, 241, 0.20);
  --shadow-glow-cyan: 0 0 24px rgba(34, 211, 238, 0.25);

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 0.875rem;
  --r-xl: 1.25rem;
  --r-2xl: 1.75rem;
  --r-full: 9999px;

  /* Layout */
  --maxw: 1280px;
  --nav-h: 68px;

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 400ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  /* PRD Section 3 Option B. Gradient mesh background (replaces flat black) */
  background: var(--gradient-mesh-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

/* Decorative gradient glow blobs. Extend PRD Option B to whole page */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}
body::before {
  width: 600px; height: 600px;
  background: rgba(99, 102, 241, 0.12);
  top: -200px; right: -150px;
  animation: blobFloat1 18s ease-in-out infinite;
}
body::after {
  width: 500px; height: 500px;
  background: rgba(6, 182, 212, 0.10);
  bottom: -150px; left: -150px;
  animation: blobFloat2 22s ease-in-out infinite;
}
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.1); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--brand); color: var(--brand-foreground);
  padding: 12px 20px; border-radius: var(--r-md); z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px; padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) { .container { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { .container { padding-left: 48px; padding-right: 48px; } }

.section { padding: 64px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
@media (min-width: 1024px) { .section { padding: 100px 0; } }

.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-subtitle {
  margin-top: 16px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-muted);
  max-width: 680px;
}
.section-header { text-align: center; margin: 0 auto 48px; max-width: 800px; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  min-height: 44px;
}
.btn svg { width: 16px; height: 16px; min-width: 16px; max-width: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--brand-foreground);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn-lg { padding: 14px 26px; font-size: 16px; min-height: 52px; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; color: #ffffff; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all var(--t-base);
  border-bottom: 1px solid transparent;
  background: rgba(13, 17, 36, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header.scrolled {
  background: rgba(13, 17, 36, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 36px; height: 36px;
  background: var(--gradient-brand);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-foreground);
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--shadow-glow-cyan);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
.brand-text b { color: var(--text); font-size: 17px; }
.brand-text b span { color: var(--brand-strong); }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; }

.mobile-menu-btn {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  align-items: center; justify-content: center;
  color: var(--text);
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-base);
  z-index: 99;
  padding: 24px 20px;
  flex-direction: column; gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex !important; }
.mobile-menu a {
  padding: 14px 16px;
  font-size: 16px; font-weight: 500;
  color: var(--text);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; position: relative; }
@media (min-width: 1024px) { .hero { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 96px; } }
.hero-grid {
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}
.hero-ctas {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 480px;
}
.hero-stat .num {
  font-size: 28px; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-stat .lbl { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

/* Phone mockup teaser in hero */
.hero-phone {
  position: relative;
  margin: 0 auto;
  max-width: 280px;
}
.hero-phone-frame {
  background: #0a0e1a;
  border: 8px solid #1a2042;
  border-radius: 36px;
  padding: 0;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.20);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 18;
}
.hero-phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0a0e1a;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 5;
}
.hero-phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
  display: flex; flex-direction: column;
}
.hero-phone-status {
  padding: 28px 16px 6px;
  display: flex; justify-content: space-between;
  font-size: 10px; color: #fff; font-weight: 600;
}
.hero-phone-header {
  padding: 8px 16px 12px;
  text-align: center;
  color: #fff;
}
.hero-phone-header b { font-size: 16px; font-weight: 700; display: block; }
.hero-phone-header small { font-size: 10px; opacity: 0.85; }
.hero-phone-content {
  flex: 1;
  background: #f8fafc;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-phone-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 10px;
}
.hero-phone-card .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-brand-2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-phone-card .ic svg { width: 16px; height: 16px; }
.hero-phone-card .tx b { display: block; font-size: 11px; color: #1e293b; font-weight: 700; }
.hero-phone-card .tx small { font-size: 9px; color: #64748b; }
.hero-phone-nav {
  background: #fff;
  padding: 8px 4px;
  display: flex; justify-content: space-around;
  border-top: 1px solid #e2e8f0;
}
.hero-phone-nav .ni {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 9px; color: #94a3b8;
  padding: 4px;
}
.hero-phone-nav .ni.active { color: var(--brand); }
.hero-phone-nav .ni svg { width: 18px; height: 18px; }

/* ---------- Trust badges strip ---------- */
.trust-strip {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 36, 0.4);
}
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; text-align: center; }
.trust-strip .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-soft); width: 100%; margin-bottom: 4px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
}
.trust-badge svg { width: 14px; height: 14px; color: var(--brand-strong); }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all var(--t-base);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md), 0 0 24px rgba(99, 102, 241, 0.15);
}
.feature-card .ic {
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-strong);
  margin-bottom: 14px;
  transition: all var(--t-fast);
}
.feature-card:hover .ic { background: var(--gradient-brand); color: var(--brand-foreground); border-color: transparent; }
.feature-card .ic svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.feature-card .free-tag {
  position: absolute; top: 16px; right: 16px;
  padding: 3px 8px;
  background: var(--status-good-soft);
  color: var(--status-good);
  border-radius: var(--r-full);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Live Customizer (interactive demo) ---------- */
.customizer {
  background: rgba(13, 17, 36, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.customizer-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
}
.customizer-bar .dots { display: flex; gap: 6px; }
.customizer-bar .dots span { width: 12px; height: 12px; border-radius: 50%; }
.customizer-bar .dots span:nth-child(1) { background: #f87171; }
.customizer-bar .dots span:nth-child(2) { background: #fbbf24; }
.customizer-bar .dots span:nth-child(3) { background: #10b981; }
.customizer-bar .url {
  flex: 1; padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-soft);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.customizer-bar .url::before { content: '🔒 '; }

.customizer-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 600px;
}
@media (min-width: 1024px) {
  .customizer-body { grid-template-columns: 220px 1fr 320px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .customizer-body { grid-template-columns: 200px 1fr; }
  .customizer-phone-col { display: none; }
}

/* WP-admin style sidebar tabs */
.customizer-sidebar {
  background: rgba(0, 0, 0, 0.20);
  border-right: 1px solid var(--border);
  padding: 12px;
  overflow-x: auto;
  display: flex;
  flex-direction: row;
  gap: 4px;
  min-height: auto;
}
@media (min-width: 768px) {
  .customizer-sidebar { flex-direction: column; min-height: 600px; }
}
.customizer-sidebar h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-soft); padding: 8px 12px 4px;
  display: none;
}
@media (min-width: 768px) { .customizer-sidebar h4 { display: block; } }

.cust-tab {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-fast);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
}
@media (max-width: 767px) {
  .cust-tab { width: auto; }
}
.cust-tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.cust-tab.active {
  background: var(--gradient-brand-2);
  color: var(--brand-foreground);
  box-shadow: var(--shadow-sm);
}
.cust-tab .emoji { font-size: 16px; line-height: 1; }

/* Customizer main panel */
.customizer-main {
  padding: 24px;
  overflow-y: auto;
  max-height: 700px;
}
@media (max-width: 767px) { .customizer-main { max-height: none; padding: 16px; } }

.cust-section { display: none; }
.cust-section.active { display: block; animation: custFade 0.25s ease-out; }
@keyframes custFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.cust-section h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.cust-section .desc { font-size: 13px; color: var(--text-soft); margin-bottom: 20px; }

/* Dashboard readiness cards */
.dash-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .dash-grid { grid-template-columns: repeat(4, 1fr); } }
.dash-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}
.dash-card .ic {
  width: 32px; height: 32px; margin: 0 auto 8px;
  background: var(--brand-soft); color: var(--brand-strong);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.dash-card .ic svg { width: 16px; height: 16px; }
.dash-card .val { font-size: 24px; font-weight: 800; line-height: 1; }
.dash-card .lbl { font-size: 11px; color: var(--text-soft); margin-top: 4px; }

.dash-checklist {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
}
.dash-checklist h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 12px; }
.check-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.check-item .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--status-good);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-item .check svg { width: 12px; height: 12px; }
.check-item.pending .check { background: var(--status-warn); }

/* Form controls */
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-row label .hint { font-weight: 400; color: var(--text-soft); font-size: 11px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 14px;
  min-height: 40px;
  transition: all var(--t-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-row-2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

/* Color picker */
.color-picker {
  display: flex; align-items: center; gap: 10px;
}
.color-picker input[type="color"] {
  width: 44px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  background: transparent;
  padding: 2px;
}
.color-picker input[type="text"] {
  flex: 1;
  padding: 9px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  min-height: 40px;
}
.color-picker input[type="text"]:focus { outline: none; border-color: var(--brand); box-shadow: var(--shadow-glow); }

/* Toggle switch */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row .info { flex: 1; min-width: 0; }
.toggle-row .info b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.toggle-row .info small { font-size: 12px; color: var(--text-soft); }
.toggle {
  position: relative;
  width: 44px; height: 24px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--text-soft);
  border-radius: 50%;
  transition: all var(--t-fast);
}
.toggle.on { background: var(--gradient-brand-2); border-color: transparent; }
.toggle.on::after { left: 22px; background: #fff; }
.toggle:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }

/* Presets */
.preset-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .preset-grid { grid-template-columns: repeat(3, 1fr); } }
.preset-btn {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-fast);
  text-align: left;
  display: flex; align-items: center; gap: 8px;
  min-height: 44px;
}
.preset-btn:hover { border-color: var(--brand); color: var(--text); }
.preset-btn.active {
  background: var(--gradient-brand-2);
  color: var(--brand-foreground);
  border-color: transparent;
}
.preset-btn .swatch {
  width: 16px; height: 16px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Bottom nav items editor */
.nav-items-list { display: flex; flex-direction: column; gap: 8px; }
.nav-item-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.nav-item-row .drag {
  color: var(--text-soft); cursor: grab;
  flex-shrink: 0;
}
.nav-item-row .drag svg { width: 14px; height: 14px; }
.nav-item-row .icon-preview {
  width: 28px; height: 28px;
  background: var(--brand-soft); color: var(--brand-strong);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-item-row .icon-preview svg { width: 14px; height: 14px; }
.nav-item-row .name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
.nav-item-row .badge-count {
  background: var(--status-bad); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: var(--r-full);
}
.nav-item-row .actions { display: flex; gap: 4px; }
.nav-item-row .actions button {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
}
.nav-item-row .actions button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.nav-item-row .actions button svg { width: 12px; height: 12px; }

/* Live counter chip */
.live-counter {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--brand-soft);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
  color: var(--brand-strong);
  margin-bottom: 16px;
}
.live-counter .dot {
  width: 6px; height: 6px;
  background: var(--brand-strong);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* iOS step list */
.ios-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.ios-step {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.ios-step .num {
  width: 24px; height: 24px;
  background: var(--gradient-brand-2); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.ios-step .tx b { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.ios-step .tx small { font-size: 12px; color: var(--text-soft); }

/* Phone preview column (customizer right side) */
.customizer-phone-col {
  background: rgba(0, 0, 0, 0.20);
  border-left: 1px solid var(--border);
  padding: 20px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start;
  position: sticky; top: 0;
  height: 100%;
  overflow-y: auto;
}
.customizer-phone-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 12px;
  text-align: center;
}

/* Live phone preview */
.phone-preview {
  width: 240px;
  background: #0a0e1a;
  border: 6px solid #1a2042;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 17;
}
.phone-preview-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 16px;
  background: #0a0e1a;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 10;
}
.phone-preview-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  transition: background 0.3s ease;
}
.phone-status-bar {
  padding: 20px 12px 4px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; font-weight: 600;
  color: #fff;
}
.phone-status-bar .right { display: flex; gap: 3px; align-items: center; }
.phone-status-bar .right svg { width: 10px; height: 10px; }
.phone-app-header {
  padding: 6px 12px 10px;
  text-align: center;
  color: #fff;
  transition: background 0.3s ease;
}
.phone-app-header b { font-size: 13px; font-weight: 700; display: block; }
.phone-app-header small { font-size: 9px; opacity: 0.85; }
.phone-content {
  flex: 1;
  background: #f8fafc;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 12px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.phone-content::-webkit-scrollbar { width: 0; }
.phone-card {
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 8px;
}
.phone-card .ic {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--gradient-brand-2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-card .ic svg { width: 14px; height: 14px; }
.phone-card .tx b { display: block; font-size: 10px; color: #1e293b; font-weight: 700; }
.phone-card .tx small { font-size: 8px; color: #64748b; }
.phone-bottom-nav {
  background: #fff;
  padding: 6px 4px;
  display: flex; justify-content: space-around;
  border-top: 1px solid #e2e8f0;
  transition: background 0.3s ease;
}
.phone-bottom-nav .ni {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 8px; color: #94a3b8;
  padding: 4px;
  position: relative;
  transition: color 0.2s ease;
}
.phone-bottom-nav .ni svg { width: 16px; height: 16px; }
.phone-bottom-nav .ni.active { color: var(--brand); }
.phone-bottom-nav .ni .badge {
  position: absolute; top: 0; right: 8px;
  background: var(--status-bad); color: #fff;
  font-size: 7px; font-weight: 700;
  min-width: 12px; height: 12px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* Prompt overlays */
.phone-overlay {
  position: absolute;
  left: 8px; right: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 20;
  animation: overlaySlide 0.4s ease-out;
}
@keyframes overlaySlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.phone-overlay.popup { top: 50%; transform: translateY(-50%); }
.phone-overlay.banner { top: 36px; }
.phone-overlay.snackbar { bottom: 70px; border-radius: 8px; }
.phone-overlay .ic {
  width: 36px; height: 36px;
  background: var(--gradient-brand-2);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.phone-overlay .ic svg { width: 18px; height: 18px; }
.phone-overlay h5 { font-size: 12px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.phone-overlay p { font-size: 10px; color: #64748b; margin-bottom: 10px; line-height: 1.4; }
.phone-overlay .btns { display: flex; gap: 6px; }
.phone-overlay .btns button { flex: 1; padding: 6px; font-size: 10px; font-weight: 600; border-radius: 6px; }
.phone-overlay .btns .primary { background: var(--brand); color: #fff; }
.phone-overlay .btns .secondary { background: #f1f5f9; color: #64748b; }

/* QR code overlay */
.phone-overlay.qr { text-align: center; }
.phone-overlay.qr .qr-box {
  width: 100px; height: 100px;
  margin: 0 auto 8px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}

/* Push notification toast */
.phone-push {
  position: absolute;
  top: 28px; left: 8px; right: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px;
  display: flex; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 25;
  animation: pushSlide 0.5s ease-out;
}
@keyframes pushSlide { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.phone-push .ic {
  width: 28px; height: 28px;
  background: var(--brand); color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-push .ic svg { width: 14px; height: 14px; }
.phone-push .tx b { display: block; font-size: 10px; font-weight: 700; color: #1e293b; }
.phone-push .tx small { font-size: 9px; color: #64748b; }

/* ---------- Highlights (How It Works) — Three Steps ---------- */
.highlight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
}
@media (min-width: 1024px) {
  .highlight-row { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.highlight-row:last-child { margin-bottom: 0; }
.highlight-row.reverse > .highlight-visual { order: 2; }
.highlight-row.reverse > .highlight-content { order: 1; }
@media (max-width: 1023px) {
  .highlight-row.reverse > .highlight-visual,
  .highlight-row.reverse > .highlight-content { order: unset; }
}

.highlight-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.highlight-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-brand);
  opacity: 0.05;
  pointer-events: none;
}

/* Browser/admin mockup inside the visual */
.highlight-mockup {
  width: 220px;
  min-height: 320px;
  margin: 0 auto;
  background: #1a1a2e;
  border-radius: 20px;
  border: 2px solid #2a2a4a;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.mockup-bar {
  height: 32px;
  background: #1e293b;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mockup-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-bar span:nth-child(1) { background: #ef4444; }
.mockup-bar span:nth-child(2) { background: #f59e0b; }
.mockup-bar span:nth-child(3) { background: #22c55e; }
.mockup-body {
  flex: 1;
  padding: 12px;
  font-size: 10px;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-body .mock-line {
  background: #1e293b;
  border-radius: 6px;
  padding: 8px;
  font-size: 9px;
}
.mockup-body .mock-line.accent {
  background: var(--gradient-brand-2);
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.mockup-body .mock-line.muted {
  text-align: center;
  color: #64748b;
}
.mockup-body .mock-code {
  font-family: var(--font-mono);
  font-size: 9px;
}
.mockup-body .mock-code .purple { color: #6366f1; }
.mockup-body .mock-code .cyan { color: #22d3ee; }
.mockup-body .mock-code .green { color: #22c55e; }

/* WP admin sidebar mockup */
.mockup-wp {
  display: flex;
  height: 100%;
  min-height: 180px;
}
.mockup-wp .wp-sidebar {
  width: 60px;
  background: #1d2327;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-wp .wp-sidebar .wp-item {
  border-radius: 3px;
  padding: 4px;
  font-size: 8px;
}
.mockup-wp .wp-sidebar .wp-item.active { background: #2271b1; color: #fff; }
.mockup-wp .wp-sidebar .wp-item.inactive { background: #2c3338; color: #94a3b8; }
.mockup-wp .wp-content {
  flex: 1;
  background: #f0f0f1;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-wp .wp-card {
  background: #fff;
  border-radius: 4px;
  padding: 6px;
  border: 1px solid #c3c4c7;
}
.mockup-wp .wp-card .wp-label {
  font-size: 8px;
  font-weight: 700;
  color: #1d2327;
  margin-bottom: 3px;
}
.mockup-wp .wp-card .wp-input {
  background: #f1f5f9;
  border-radius: 3px;
  height: 10px;
}
.mockup-wp .wp-card .wp-color {
  display: flex; gap: 4px; margin-top: 3px;
}
.mockup-wp .wp-card .wp-color .swatch {
  width: 14px; height: 10px;
  background: #6366f1;
  border-radius: 2px;
}

/* Phone store mockup */
.mockup-store {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mockup-store .store-header {
  height: 32px;
  background: var(--gradient-brand-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
}
.mockup-store .store-body {
  flex: 1;
  padding: 12px;
  font-size: 9px;
  color: #64748b;
  background: #f8fafc;
}
.mockup-store .store-card {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 6px;
  border: 1px solid #e2e8f0;
}
.mockup-store .store-card .title {
  font-size: 10px;
  font-weight: 700;
  color: #1d2327;
  margin-bottom: 4px;
}
.mockup-store .store-card .line {
  background: #f1f5f9;
  border-radius: 4px;
  height: 16px;
  margin-bottom: 3px;
}
.mockup-store .store-card .btn {
  background: #6366f1;
  border-radius: 4px;
  padding: 4px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 8px;
  min-height: auto;
}
.mockup-store .store-badge {
  text-align: center;
  padding: 8px;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 9px;
  font-weight: 600;
}
.mockup-store .store-nav {
  height: 32px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.mockup-store .store-nav span { font-size: 10px; }
.mockup-store .store-nav span.active { color: #6366f1; }

/* Content side */
.highlight-content h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.highlight-content > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 15px;
}
.highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.highlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.highlight-list li .hl-check {
  width: 22px; height: 22px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 700;
}

/* ---------- Pricing ---------- */
.pricing-wrap { display: flex; justify-content: center; }
.pricing-card {
  max-width: 480px; width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border-brand);
  border-radius: var(--r-2xl);
  padding: 36px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.15);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-brand);
}
.pricing-card .price-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--status-good-soft);
  color: var(--status-good);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.pricing-card .price {
  font-size: 64px; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.pricing-card .price small { font-size: 18px; font-weight: 600; color: var(--text-muted); -webkit-text-fill-color: var(--text-muted); }
.pricing-card .price-sub { font-size: 14px; color: var(--text-soft); margin-top: 8px; margin-bottom: 24px; }
.pricing-card .features-list {
  text-align: left;
  margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.pricing-card .features-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted);
}
.pricing-card .features-list li .check {
  width: 20px; height: 20px;
  background: var(--status-good); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pricing-card .features-list li .check svg { width: 12px; height: 12px; }

/* ---------- Comparison table ---------- */
.compare-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  overflow-x: auto;
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-soft);
}
.compare-table th.tecveq {
  background: var(--gradient-brand-2);
  color: var(--brand-foreground);
}
.compare-table td.feature { font-weight: 600; color: var(--text); }
.compare-table .yes { color: var(--status-good); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.compare-table .no { color: var(--status-bad); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.compare-table .partial { color: var(--status-warn); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.compare-table .yes svg, .compare-table .no svg, .compare-table .partial svg { width: 14px; height: 14px; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all var(--t-base);
}
.testimonial-card:hover { transform: translateY(-3px); border-color: var(--border-brand); }
.testimonial-card .stars {
  display: flex; gap: 2px; margin-bottom: 12px;
  color: #fbbf24;
}
.testimonial-card .stars svg { width: 16px; height: 16px; }
.testimonial-card .quote { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 10px; }
.testimonial-card .author .av {
  width: 36px; height: 36px;
  background: var(--gradient-brand-2); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.testimonial-card .author b { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.testimonial-card .author small { font-size: 11px; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all var(--t-fast);
}
.faq-item.open { border-color: var(--border-brand); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left;
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 15px; font-weight: 600;
  color: var(--text);
}
.faq-q .icon {
  width: 24px; height: 24px;
  background: var(--brand-soft); color: var(--brand-strong);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq-q .icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--gradient-brand); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-base);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 18px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--r-2xl);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -200px; right: -100px;
}
.cta-band::after {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.10);
  bottom: -150px; left: -100px;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #fff;
}
.cta-band p {
  font-size: 16px;
  opacity: 0.95;
  max-width: 600px; margin: 0 auto 28px;
  color: #fff;
  line-height: 1.6;
}
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn-primary:hover { background: #f1f5f9; }
.cta-band .btn-secondary { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.30); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.20); border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: rgba(13, 17, 36, 0.6);
  backdrop-filter: blur(10px);
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 320px; line-height: 1.6; margin-top: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 14px; }
.footer-col ul li { padding: 4px 0; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color var(--t-fast); }
.footer-col ul li a:hover { color: var(--brand-strong); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-soft);
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.footer-social a:hover { color: var(--brand-strong); border-color: var(--brand); }
.footer-social svg { width: 14px; height: 14px; }

/* ---------- Floating Action Buttons ---------- */
.fab {
  position: fixed;
  bottom: 24px;
  z-index: 60;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform var(--t-fast), opacity var(--t-base), visibility var(--t-base);
  border: none;
  padding: 0;
  text-decoration: none;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 24px; height: 24px; }

.fab-whatsapp {
  left: 24px;
  background: #25d366;
  color: #fff;
}
.fab-whatsapp:hover { background: #1ebe5a; }
.fab-whatsapp::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #25d366;
  opacity: 0.5; z-index: -1;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-whatsapp::after { animation: none; } }

.fab-top {
  right: 24px;
  background: var(--gradient-brand);
  color: #fff;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
}
.fab-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .fab { width: 48px; height: 48px; bottom: 20px; }
  .fab-whatsapp { left: 20px; }
  .fab-top { right: 20px; }
  .fab svg { width: 22px; height: 22px; }
}

/* Desktop tooltips */
@media (min-width: 768px) {
  .fab::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 50%; transform: translateY(50%);
    background: var(--bg-elev-solid); color: var(--text);
    padding: 6px 12px;
    border-radius: var(--r-sm);
    font-size: 12px; font-weight: 600;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity var(--t-fast);
    border: 1px solid var(--border);
  }
  .fab-whatsapp::before { left: calc(100% + 12px); }
  .fab-top::before { right: calc(100% + 12px); }
  .fab:hover::before { opacity: 1; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 48px; }
  .hero-phone { max-width: 240px; }
  .section { padding: 48px 0; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-card .price { font-size: 52px; }
}
