/* ============================================================
   12TesterPro — Landing Page Styles
   Premium, mobile-first, responsive SaaS landing page.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef1fe;
  --ink: #0e1526;
  --ink-2: #48516b;
  --ink-3: #7b8497;

  --line: #e6e9f2;
  --line-soft: #eef0f7;

  --brand-1: #4f46e5;
  --brand-2: #7c3aed;
  --brand-3: #06b6d4;
  --accent: #10b981;
  --accent-dark: #059669;
  --amber: #f59e0b;

  --wa: #25d366;
  --wa-dark: #128c4a;

  --grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #9333ea 100%);
  --grad-soft: linear-gradient(120deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.12));

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 10px rgba(14, 21, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 21, 38, 0.09);
  --shadow-lg: 0 26px 70px rgba(14, 21, 38, 0.16);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", var(--font-body);

  --header-h: 72px;
  --container: 1160px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  overflow-x: clip; /* prevent horizontal scroll without breaking sticky */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand-1);
  text-decoration: none;
}

ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn svg { flex: 0 0 auto; }

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.45);
}

.btn-outline {
  background: #fff;
  color: var(--brand-1);
  border-color: #cfd4ea;
}
.btn-outline:hover {
  border-color: var(--brand-1);
  background: var(--grad-soft);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}

.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 8px rgba(79, 70, 229, 0.35));
}
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-text em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  transition: color 0.18s ease;
}
.nav-link:hover { color: var(--brand-1); }

.nav-cta { padding: 11px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f4f6ff 0%, var(--bg-tint) 100%);
  color: var(--ink);
  padding: 72px 0 92px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  pointer-events: none;
}
.hero-glow-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(79, 70, 229, 0.6), transparent 70%); }
.hero-glow-2 { width: 440px; height: 440px; bottom: -180px; left: -140px; background: radial-gradient(circle, rgba(6, 182, 212, 0.5), transparent 70%); opacity: 0.5; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}

.hero-copy { max-width: 640px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-1);
  background: #fff;
  border: 1px solid rgba(79, 70, 229, 0.18);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero-title {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16.5px, 2.4vw, 20px);
  color: var(--ink-2);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-trust-ico {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-dark);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 340px;
}
.phone {
  position: relative;
  width: 270px;
  background: #151b31;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(14, 21, 38, 0.28);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0b1020;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  background: #0d1329;
  border-radius: 22px;
  padding: 34px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.phone-app {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--grad);
  border-radius: 12px;
}
.phone-app strong { display: block; color: #fff; font-size: 14.5px; }
.phone-app span { color: #8d96b8; font-size: 12.5px; }
.app-badge {
  margin-left: auto;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.14);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
}
.phone-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #aeb6d4;
  margin-bottom: 8px;
}
.phone-progress-head span:last-child { color: #fff; font-weight: 600; }
.bar {
  height: 8px;
  background: #1e2747;
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 999px;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar-stack { display: flex; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid #0d1329;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(1) { background: #6366f1; }
.avatar:nth-child(2) { background: #06b6d4; }
.avatar:nth-child(3) { background: #f59e0b; }
.avatar:nth-child(4) { background: #10b981; }
.avatar.more { background: #3b466d; }
.phone-label { color: #aeb6d4; font-size: 13px; }
.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.phone-stat {
  background: #161d3a;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.phone-stat strong { display: block; color: #fff; font-size: 15px; }
.phone-stat span { color: #8d96b8; font-size: 11px; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
}
.float-card strong { display: block; font-size: 13.5px; }
.float-card span:not(.float-ico) { color: var(--ink-3); font-size: 12px; }
.float-ico {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-soft);
  font-size: 16px;
}
.float-ico.ok { background: rgba(16, 185, 129, 0.14); color: var(--accent-dark); font-weight: 700; }
.float-card-a { top: 1%; left: -22px; animation: floaty 6s ease-in-out infinite; }
.float-card-b { bottom: 6%; right: -24px; animation: floaty 7s ease-in-out 0.8s infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(180deg, var(--bg-tint) 0%, #f7f8ff 42%, #ffffff 100%);
  padding: 0 0 30px;
  margin-top: -46px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 22px;
}
.stat-card {
  text-align: center;
  padding: 10px 6px;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- Section scaffolding ---------- */
section { scroll-margin-top: calc(var(--header-h) + 10px); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-1);
  background: var(--grad-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; }
.section-sub { color: var(--ink-2); font-size: 17px; margin: 0; }

/* ---------- Split (problem/solution) ---------- */
.split { padding: 84px 0; background: var(--bg); }
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.split-copy h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; }
.split-copy p { color: var(--ink-2); font-size: 16.5px; }
.split-copy .btn { margin-top: 8px; }

.split-cards { display: grid; gap: 16px; }
.split-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.split-card-solution {
  background: #fff;
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--shadow-md);
}
.split-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 14px;
}
.split-ico.warn { background: rgba(245, 158, 11, 0.14); color: #d97706; }
.split-ico.ok { background: rgba(16, 185, 129, 0.14); color: var(--accent-dark); }
.split-card h3 { font-size: 19px; margin-bottom: 14px; }

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--ink-2);
  font-size: 15px;
}
.tick-list li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.muted-list li::before { content: "×"; background: rgba(239, 68, 68, 0.12); color: #dc2626; }

/* ---------- How it works ---------- */
.how { padding: 88px 0; background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.25);
}
.step-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: rgba(79, 70, 229, 0.1);
  letter-spacing: -0.03em;
}
.step-ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.32);
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Features ---------- */
.features { padding: 88px 0; background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.28);
}
.feature-ico {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--brand-1);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Dashboard visual ---------- */
.dash {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(180deg, #f6f7ff 0%, var(--bg-tint) 100%);
  color: var(--ink);
  overflow: hidden;
}
.dash::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  top: -200px; right: -160px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.45), transparent 70%);
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}
.dash .section-head h2 { color: var(--ink); }

.dash-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3f2; }
.dash-dots i:nth-child(1) { background: #f87171; }
.dash-dots i:nth-child(2) { background: #fbbf24; }
.dash-dots i:nth-child(3) { background: #34d399; }
.dash-title { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.dash-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(16, 185, 129, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
}
.dash-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.dash-body { padding: 24px 20px; }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dash-kpi {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
}
.dash-kpi-label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.dash-kpi strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.dash-kpi small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.dash-kpi-bar {
  display: block;
  height: 6px;
  background: #e2e6f3;
  border-radius: 999px;
  overflow: hidden;
}
.dash-kpi-bar i {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 999px;
}
.dash-kpi-bar.green i { background: #10b981; }
.dash-kpi-bar.amber i { background: #f59e0b; }

.dash-timeline { margin-top: 22px; }
.dash-timeline-title { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.dash-timeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 6px 0;
}
.dash-timeline-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #e2e6f3;
  border-radius: 999px;
}
.tl-node {
  position: relative;
  z-index: 1;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #e2e6f3;
  border: 3px solid #fff;
}
.tl-node.done { background: var(--brand-1); }
.tl-node.active {
  background: var(--brand-1);
  box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.22);
}
.dash-timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 10px;
}
.dash-note {
  margin: 16px 20px 20px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Why choose us ---------- */
.why { padding: 88px 0; background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.why-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-ico { font-size: 26px; display: inline-block; margin-bottom: 12px; }
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ---------- Audience ---------- */
.audience { padding: 88px 0; background: var(--bg-soft); }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.audience-ico { font-size: 26px; display: inline-block; margin-bottom: 12px; }
.audience-card h3 { font-size: 17px; margin-bottom: 6px; }
.audience-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ---------- Pricing ---------- */
.pricing {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.28);
}

.price-card-featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}
.price-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.price-desc { color: var(--ink-3); font-size: 14.5px; margin-bottom: 20px; min-height: 42px; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 22px;
}
.price-currency { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--ink-2); }
.price-value {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 15px;
}
.price-features li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq { padding: 88px 0; background: var(--bg); }
.faq-wrap { max-width: 820px; }
.faq-wrap .section-head { margin-bottom: 44px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item.open { border-color: rgba(79, 70, 229, 0.3); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 22px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-ico {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-soft);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--brand-1);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-ico::before { width: 10px; height: 2px; }
.faq-ico::after { width: 2px; height: 10px; transition: transform 0.25s ease, opacity 0.25s ease; }
.faq-item.open .faq-ico { transform: rotate(180deg); }
.faq-item.open .faq-ico::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- WhatsApp CTA ---------- */
.wa-cta { padding: 40px 0 88px; background: var(--bg-soft); }
.wa-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  background: linear-gradient(120deg, #0e7a42, #128c4a 55%, #1fb25d);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 42px 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.wa-card::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  top: -140px; right: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.wa-ico-big {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  margin-bottom: 4px;
}
.wa-card h2 { color: #fff; font-size: clamp(24px, 4vw, 34px); margin-bottom: 8px; }
.wa-card p { color: #e4f7ec; font-size: 16.5px; margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f1f3fe 100%);
  color: var(--ink);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.final-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(79, 70, 229, 0.14), transparent 70%),
    radial-gradient(500px 300px at 85% 120%, rgba(6, 182, 212, 0.1), transparent 70%);
  pointer-events: none;
}
.final-wrap { position: relative; }
.final-cta .section-head h2 { color: var(--ink); font-size: clamp(28px, 5vw, 46px); }
.final-cta .btn { margin: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: 60px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { color: var(--ink); margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; margin: 0; }
.footer-nav h3, .footer-contact h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a {
  color: var(--ink-2);
  font-size: 14.5px;
  transition: color 0.18s ease;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--brand-1); }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--ink-3); }
.footer-legal a:hover { color: var(--brand-1); }

/* ---------- Modals ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 26, 0.62);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 560px;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-panel h2 { font-size: 22px; margin-bottom: 14px; }
.modal-panel p { color: var(--ink-2); font-size: 15px; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-2);
}

/* ---------- Marketplace chooser ---------- */
.modal-panel-market {
  max-width: 520px;
  text-align: center;
}
.market-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-1);
  background: var(--grad-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.modal-panel-market h2 {
  font-size: clamp(21px, 4.4vw, 26px);
  margin-bottom: 10px;
}
.market-sub {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 24px;
}
.market-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.market-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.market-card:hover,
.market-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--shadow-md);
}
.market-logo {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-transform: lowercase;
  box-shadow: 0 6px 14px rgba(14, 21, 38, 0.16);
}
.market-logo-fiverr { background: linear-gradient(140deg, #1dbf73, #12a05e); }
.market-logo-upwork { background: linear-gradient(140deg, #22b400, #108a00); }
.market-logo-kwork { background: linear-gradient(140deg, #7c6bf0, #5b46d6); }
.market-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.market-info strong { font-size: 16.5px; color: var(--ink); }
.market-info small { font-size: 13px; color: var(--ink-3); }
.market-go {
  margin-left: auto;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand-1);
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.market-card:hover .market-go,
.market-card:focus-visible .market-go {
  background: var(--grad-soft);
  transform: translateX(2px);
}
.market-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

@media (max-width: 420px) {
  .modal-panel { padding: 28px 20px; }
  .modal-panel-market h2 { margin-bottom: 8px; }
  .market-sub { font-size: 14px; margin-bottom: 20px; }
  .market-card { padding: 12px 13px; gap: 12px; }
  .market-logo { width: 42px; height: 42px; font-size: 21px; }
  .market-info strong { font-size: 15.5px; }
  .market-info small { font-size: 12.5px; }
  .market-go { width: 30px; height: 30px; }
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.55);
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive breakpoints ---------- */
@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 34px 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero { padding: 96px 0 110px; }
  .split-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card-featured { transform: scale(1.04); }
  .price-card-featured:hover { transform: scale(1.04) translateY(-8px); }
  .wa-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px 54px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .step { padding: 28px 20px; }
  .dash-body { padding: 28px 30px; }
  .dash-kpis { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .container { padding-inline: 26px; }
}

/* ---------- Mobile navigation ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    padding: 18px 22px 26px;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 10px;
  }
  .nav-link {
    display: block;
    padding: 12px 6px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-cta { margin-top: 8px; }
  .float-card { padding: 10px 13px; }
  .float-card-a { left: -4px; top: 2%; }
  .float-card-b { right: -6px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
