/* ================================================================
   VATify NL — Design System v2
   High-end SaaS · Stripe / Linear / Vercel aesthetic
================================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --bg-primary:   #030D1A;
  --bg-secondary: #061525;
  --bg-card:      rgba(15, 37, 64, 0.55);
  --accent:       #1A73E8;
  --accent-light: #0EA5E9;
  --accent-grad:  linear-gradient(135deg, #1A73E8 0%, #0EA5E9 100%);
  --success:      #22c55e;
  --warning:      #f59e0b;
  --danger:       #ef4444;
  --text:         #E8F0FE;
  --muted:        rgba(232, 240, 254, 0.55);
  --text-secondary: rgba(232, 240, 254, 0.6);
  --border:       rgba(255, 255, 255, 0.08);
  --border-accent: rgba(26, 115, 232, 0.35);
  --card:         rgba(15, 37, 64, 0.55);
  --bg:           #030D1A;
  --radius:       14px;
  --radius-sm:    8px;
  --nav-h:        72px;
}

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── BACKGROUND TEXTURE ────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 115, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 115, 232, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(26, 115, 232, 0.14), transparent),
    radial-gradient(ellipse 55% 35% at 85% 85%, rgba(14, 165, 233, 0.07), transparent);
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.16;
  z-index: 0;
}
.orb-1 { width: 560px; height: 560px; top: -180px; right: -120px; background: #1A73E8; }
.orb-2 { width: 440px; height: 440px; bottom: -160px; left: -120px; background: #0EA5E9; }
@media (max-width: 768px) { .orb-2 { display: none; } }

.cursor-glow {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: none;
  filter: blur(30px);
}
@media (min-width: 1024px) { .cursor-glow { display: block; } }

/* ── NAVIGATION ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 13, 26, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.6rem 1.2rem;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(3, 13, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}
.logo-wrap > div:first-child { display: flex; align-items: center; gap: 8px; }

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo span { color: var(--accent-light); }
.logo strong { color: var(--accent); }

.logo-sub {
  font-size: 0.585rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.875rem;
}

.nav-links > a:not(.btn) {
  color: var(--text-secondary);
  padding: 0.42rem 0.7rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links > a:not(.btn):hover  { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links > a.active           { color: var(--text); }
.nav-links > a.active-page      { color: var(--accent-light); }

.nav-links .nav-signin {
  padding: 0.42rem 0.95rem;
  font-size: 0.85rem;
  margin-left: 0.35rem;
}
.nav-links .nav-cta { color: #fff; margin-left: 0.2rem; }

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 10px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.08); }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section { padding: 6.5rem 0; }

.page-content {
  padding-top: var(--nav-h);
  transition: opacity 0.2s ease;
}
.page-content.i18n-fade { opacity: 0; }

.grid { display: grid; gap: 1.25rem; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.how-grid       { grid-template-columns: repeat(3, 1fr); }
.pricing-grid   { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

@media (max-width: 768px) { .page-content { padding-top: 80px; } }

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
  color: var(--text);
}
.section-head p {
  font-size: 1.075rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin: 0;
}

/* ── EYEBROW / PILL ────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(26, 115, 232, 0.3);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  color: var(--accent-light);
  background: rgba(26, 115, 232, 0.08);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

/* ── TAGS ──────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  margin-top: 1.1rem;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.26rem 0.65rem;
  border: 1px solid transparent;
}
.tag-green  { color: #86efac; background: rgba(34, 197, 94, 0.1);   border-color: rgba(34, 197, 94, 0.25); }
.tag-blue   { color: #93c5fd; background: rgba(59, 130, 246, 0.1);  border-color: rgba(59, 130, 246, 0.25); }
.tag-orange { color: #fcd34d; background: rgba(245, 158, 11, 0.1);  border-color: rgba(245, 158, 11, 0.25); }
.tag-purple { color: #c4b5fd; background: rgba(139, 92, 246, 0.1);  border-color: rgba(139, 92, 246, 0.25); }
.tag-gray   { color: #cbd5e1; background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.25); }

/* Status badges */
.status {
  display: inline-flex;
  font-size: 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.25rem 0.55rem;
}
.status.ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.68rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0px); }

/* Primary — gradient */
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(26, 115, 232, 0.38);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(26, 115, 232, 0.52); }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shimmer 2.8s infinite;
}
@keyframes shimmer { to { left: 100%; } }

/* Green */
.btn-green {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.32);
}
.btn-green:hover { box-shadow: 0 8px 28px rgba(34, 197, 94, 0.48); }

/* Outline / Dark */
.btn-outline, .btn-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover, .btn-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Large */
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 12px; }

/* Hero CTAs */
.hero-btn-primary {
  background: var(--accent-grad);
  color: #fff;
  border-radius: 50px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26, 115, 232, 0.52); }

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 50px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem); /* max 52px */
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

/* Gradient applied to individual words via <span class="grad"> */
.grad {
  background: linear-gradient(135deg, #1A73E8, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h2 {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

#typewriter-text {
  display: block;
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 0 2rem;
}

.hero-cta-stack  { margin-top: 0; }
.hero-actions    { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.hero-trust {
  margin-top: 1.75rem;
  font-size: 0.845rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* ── PAGE HERO (subpages) ──────────────────────────────────── */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.page-hero .hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero .hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.page-hero .hero-content p  { max-width: 560px; margin-inline: auto; }

/* ── APP MOCKUP ────────────────────────────────────────────── */
.app-mockup {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 15, 32, 0.92);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: min(100%, 960px);
  height: 460px; /* fixed height keeps proportions consistent */
  box-shadow:
    0 0 0 1px rgba(26, 115, 232, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 64px 120px rgba(0, 0, 0, 0.25);
}

.mock-sidebar {
  background: rgba(3, 10, 22, 0.95);
  border-right: 1px solid var(--border);
  padding: 0.65rem;
  overflow-y: auto;
}
.mock-brand { font-weight: 700; color: var(--text); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
.mock-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.mock-tab {
  color: var(--muted);
  font-size: 11px;
  border-radius: 8px;
  /* equal height for all tabs */
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-tab:hover  { color: var(--text); background: rgba(26, 115, 232, 0.1); }
.mock-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.mock-main {
  padding: 0.72rem;
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto; /* scroll within fixed-height mockup */
  font-size: 11px;
  align-content: start;
}
.mock-main h3 { margin: 0; }

.mock-tab-content { display: none; opacity: 0; animation: fadeIn 0.3s ease forwards; min-width: 0; }
.mock-tab-content.active { display: grid; opacity: 1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.dashboard-stat {
  background: rgba(3, 13, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
}
.quarter-card {
  background: rgba(3, 13, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
}
.threshold-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(3, 13, 26, 0.8);
}

.row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.row.amount { margin-top: 0.5rem; color: var(--muted); }
.green { color: var(--success); }

.progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  margin-top: 0.6rem;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* Invoices table constraints */
#my-invoices .btn.btn-primary { font-size: 11px !important; padding: 0.3rem 0.55rem !important; }
#my-invoices table { min-width: 0 !important; width: 100% !important; table-layout: fixed; }
#my-invoices th { font-size: 10px !important; text-transform: uppercase; }
#my-invoices td { font-size: 11px !important; }
#my-invoices th, #my-invoices td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#my-invoices th:nth-child(1), #my-invoices td:nth-child(1) { max-width: 130px; }
#my-invoices th:nth-child(2), #my-invoices td:nth-child(2) { max-width: 70px; }
#my-invoices th:nth-child(3), #my-invoices td:nth-child(3) { max-width: 70px; }
#my-invoices th:nth-child(4), #my-invoices td:nth-child(4) { max-width: 80px; }
#my-invoices th:nth-child(5), #my-invoices td:nth-child(5) { max-width: 90px; }
#my-invoices th:nth-child(6), #my-invoices td:nth-child(6) { max-width: 90px; }
#my-invoices th:nth-child(7), #my-invoices td:nth-child(7) { max-width: 60px; }
#my-invoices .status,
#my-invoices td span[style*="border-radius: 999px"] { font-size: 10px !important; }

/* ── FEATURE CARDS ─────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(26, 115, 232, 0.12);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.55rem;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.68;
  font-size: 0.92rem;
}

/* Icon box — gradient container */
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.18), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(26, 115, 232, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.feat-icon i, .feat-icon svg { width: 20px; height: 20px; color: var(--accent-light); }
.card:hover .feat-icon { background: linear-gradient(135deg, rgba(26, 115, 232, 0.28), rgba(14, 165, 233, 0.18)); }

/* Legacy plain icon in card */
.card > i, .card > svg {
  color: var(--accent-light);
  width: 22px; height: 22px;
  margin-bottom: 0.85rem;
  display: block;
}

/* ── STEP CARDS ────────────────────────────────────────────── */
.step-card { position: relative; }
.step-number {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

/* ── THRESHOLD ─────────────────────────────────────────────── */
.threshold-showcase .stack { display: grid; gap: 1.25rem; }
.threshold-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(12px);
}
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.panel-top h3 { font-size: 1rem; margin: 0; color: var(--text); letter-spacing: -0.01em; }
.panel-amount { color: var(--success); font-weight: 700; margin-top: 0.6rem; text-align: right; }
.threshold-panel p { color: var(--muted); margin-bottom: 0; line-height: 1.65; font-size: 0.9rem; }

/* ── STATS ─────────────────────────────────────────────────── */
.stats {
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.75rem;
  gap: 1.25rem;
}
.stats article { text-align: center; }
.stats strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats span { color: var(--muted); font-size: 0.875rem; margin-top: 0.2rem; display: block; }

/* ── PRICING ───────────────────────────────────────────────── */
.pricing-intro { text-align: center; margin: 0 auto 2.5rem; }
.pricing-intro-headline { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.4rem; color: var(--text); }
.pricing-intro-sub  { color: var(--text); font-size: 0.95rem; margin: 0 0 0.25rem; }
.pricing-intro-sub2 { color: var(--muted); font-size: 0.85rem; margin: 0; text-align: center; }

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* fills equal-height grid cell */
  padding: 2rem 1.75rem;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0.75rem 0 0; color: var(--text); letter-spacing: -0.015em; }
.plan-tagline { color: var(--muted); font-size: 0.875rem; margin: 0.3rem 0 0.75rem; }
.plan-btn-sub { font-size: 0.75rem; color: var(--muted); text-align: center; margin: 0.5rem 0 0; }

.price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.6rem 0 1.1rem;
  color: var(--text);
}
.price span { color: var(--muted); font-size: 1rem; font-weight: 500; letter-spacing: 0; }

.pricing-card ul {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.895rem;
}
.pricing-card li { padding-left: 1.4rem; position: relative; line-height: 1.45; }
.pricing-card li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pricing-card li.yes::before { content: "✓"; color: var(--success); }
.pricing-card li.no  { opacity: 0.45; }
.pricing-card li.no::before { content: "–"; color: var(--muted); font-weight: 400; }
.pricing-card li.warn::before { content: "⚠"; font-size: 0.72rem; }
.pricing-card .btn { margin-top: 1.6rem; width: 100%; border-radius: 10px; }

/* Free */
.pricing-card.free {
  border-color: rgba(34, 197, 94, 0.25);
}
.pricing-card.free:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(34,197,94,0.15);
}

/* Growth — FEATURED */
.pricing-card.growth {
  position: relative;
  border-color: rgba(26, 115, 232, 0.5);
  box-shadow: 0 0 0 1px rgba(26, 115, 232, 0.2), 0 24px 64px rgba(26, 115, 232, 0.18);
  background: linear-gradient(160deg, rgba(26,115,232,0.08), rgba(14,165,233,0.04));
  transform: scale(1.035);
  z-index: 1;
}
.pricing-card.growth::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(26,115,232,0.4);
}

/* Pro */
.pricing-card.pro {
  border-color: rgba(139, 92, 246, 0.35);
}
.pricing-card.pro:hover {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(139,92,246,0.18);
}

#pro-plan { scroll-margin-top: 100px; }

/* Comparison table */
.pricing-compare { margin-top: 3.5rem; overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td { padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare-table thead th { background: rgba(255,255,255,0.03); color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-table tbody td { color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .compare-pro { color: #93c5fd; background: rgba(26,115,232,0.06); }
.compare-table thead .compare-pro { color: var(--accent-light); background: rgba(26,115,232,0.14); font-weight: 700; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.7rem; max-width: 760px; margin: 0 auto; }
.faq-item { padding: 1.1rem 1.4rem; }
.faq-item summary {
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 300; color: var(--muted); flex-shrink: 0; transition: transform 0.22s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0.75rem 0 0; color: var(--muted); line-height: 1.68; font-size: 0.9rem; }

/* ── CTA BANNER ────────────────────────────────────────────── */
.cta-banner {
  border: 1px solid rgba(26, 115, 232, 0.22);
  background: linear-gradient(160deg, rgba(26, 115, 232, 0.09), rgba(14, 165, 233, 0.04));
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(26, 115, 232, 0.14), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.cta-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.cta-banner .hero-actions { justify-content: center; }

/* ── STEPS TIMELINE (how-it-works) ────────────────────────── */
.steps-timeline {
  max-width: 760px;
  margin: 0 auto;
}

.step-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.step-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(26, 115, 232, 0.1);
  border: 1px solid rgba(26, 115, 232, 0.3);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  flex-shrink: 0;
}

.step-connector {
  width: 1px;
  flex: 1;
  min-height: 48px;
  background: linear-gradient(to bottom, rgba(26, 115, 232, 0.3), transparent);
  margin: 6px auto 0;
}
.step-block:last-child .step-connector { display: none; }

.step-body {
  padding-bottom: 3rem;
}
.step-block:last-child .step-body { padding-bottom: 0; }

.step-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.step-heading h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.step-heading .feat-icon { margin-bottom: 0; flex-shrink: 0; }

.step-body > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
  max-width: 580px;
}

@media (max-width: 600px) {
  .step-block { grid-template-columns: 48px 1fr; gap: 1.25rem; }
  .step-num   { width: 40px; height: 40px; font-size: 0.72rem; }
  .step-heading h3 { font-size: 1.1rem; }
}

/* ── USP GRID ──────────────────────────────────────────────── */
.usp-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .usp-grid { grid-template-columns: 1fr; } }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  background: rgba(3, 13, 26, 0.85);
}
.footer-grid {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2.5rem;
  align-items: start;
}
.footer-grid p { color: var(--muted); margin: 0.4rem 0 0; font-size: 0.875rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--muted); font-size: 0.875rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.lang-switch { display: inline-flex; gap: 0.2rem; }
.lang-option, .lang-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.32rem 0.48rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.lang-option:hover, .lang-btn:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.lang-option.active, .lang-btn.active { color: var(--accent-light); font-weight: 700; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger in grids */
.grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.grid .reveal:nth-child(4) { transition-delay: 0.07s; }
.grid .reveal:nth-child(5) { transition-delay: 0.14s; }
.grid .reveal:nth-child(6) { transition-delay: 0.21s; }
.grid .reveal:nth-child(7) { transition-delay: 0.07s; }
.grid .reveal:nth-child(8) { transition-delay: 0.14s; }

/* ── TYPEWRITER ────────────────────────────────────────────── */
.typewriter-cursor { display: inline; animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── MISC ANIMATIONS ───────────────────────────────────────── */
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes counterPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.8; }
}
.stats strong { animation: counterPulse 0.5s ease-out; }

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 {
    animation: none;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
  }
  .btn-primary::after { animation: none; }
  .stats strong { animation: none; }
  .typewriter-cursor { animation: none; }
  .mock-tab-content { animation: none !important; display: none !important; }
  .mock-tab-content.active { display: grid !important; opacity: 1 !important; }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
  }
  .hero-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }
  .hero p { max-width: none; }
  .hero-trust { justify-content: center; }
  .app-mockup { max-width: 700px; margin: 0 auto; }
}

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .how-grid      { grid-template-columns: repeat(2, 1fr); }
  .stats         { grid-template-columns: repeat(2, 1fr); }
  .app-mockup    { grid-template-columns: 1fr; }
  .mock-sidebar  { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid   { grid-template-columns: 1fr; text-align: center; }
  .footer-links  { justify-content: center; }
  .pricing-card.growth { transform: none; }
  .pricing-card.growth::before { display: block; }
}

/* ── HERO STATS (mobile-only social proof strip) ───────────── */
.hero-stats { display: none; }

@media (max-width: 768px) {
  /* Hide the complex app mockup — too large for small screens */
  .app-mockup { display: none !important; }

  /* Hero layout */
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 0 2.5rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }
  .hero h2, #typewriter-text {
    font-size: 1rem;
  }
  .hero p {
    font-size: 1rem;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-trust { justify-content: center; }

  /* CTA buttons: stacked, full-width up to 280px */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  /* Stats strip replacing the mockup */
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat { text-align: center; }
  .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
  }
  .stat-label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    background: rgba(3, 13, 26, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 0.65rem 0.8rem; }
  /* Ensure both nav buttons appear in mobile menu */
  .nav-links .nav-signin,
  .nav-links .nav-cta { text-align: center; margin: 0.3rem 0 0; width: 100%; }
  .features-grid,
  .pricing-grid,
  .how-grid,
  .stats { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .cta-banner { padding: 3rem 1.5rem; }
  .hero-actions { justify-content: center; }
  .pricing-card.growth { transform: none; }
  .compare-table th,
  .compare-table td { padding: 0.6rem; font-size: 0.8rem; }
}
