/* ==========================================================================
   Taskly — v2 · Modern Product SaaS
   Bright, friendly, capable. Indigo primary with multi-colour accents.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --indigo-50:  #EEF2FF;
  --indigo-100: #E0E7FF;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;
  --indigo-900: #1E1B4B;

  /* Accents */
  --teal:   #14B8A6;
  --teal-bg: #CCFBF1;
  --pink:   #EC4899;
  --pink-bg: #FCE7F3;
  --amber:  #F59E0B;
  --amber-bg: #FEF3C7;
  --sky:    #0EA5E9;
  --sky-bg: #E0F2FE;
  --green:  #10B981;
  --green-bg: #D1FAE5;
  --red:    #EF4444;

  /* Surfaces */
  --white:    #FFFFFF;
  --bg-soft:  #FAFAFB;
  --bg-tint:  #F5F6FA;
  --bg-dark:  #0B0B1E;

  /* Text */
  --text-900: #0F172A;
  --text-700: #334155;
  --text-500: #64748B;
  --text-400: #94A3B8;

  /* Borders */
  --border:   #E5E7EB;
  --border-soft: #F1F2F6;

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Shadows — layered, soft */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --sh-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.10), 0 8px 16px -8px rgba(15, 23, 42, 0.06);
  --sh-xl: 0 40px 80px -20px rgba(79, 70, 229, 0.18), 0 12px 24px -8px rgba(15, 23, 42, 0.06);
  --sh-indigo: 0 8px 20px -4px rgba(79, 70, 229, 0.35);

  /* Space */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;
  --s-4: 1rem;     --s-5: 1.5rem;   --s-6: 2rem;
  --s-7: 3rem;     --s-8: 4rem;     --s-9: 5.5rem;
  --s-10: 7rem;

  /* Layout */
  --max: 1200px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--text-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-700); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-500);
  max-width: 54ch;
}

.eyebrow {
  display: inline-block;
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--s-5);
}

/* Highlighted word in headlines */
.hl {
  color: var(--indigo-600);
  position: relative;
  display: inline-block;
}
.hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 10px;
  background: var(--amber);
  opacity: 0.35;
  border-radius: 4px;
  z-index: -1;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: var(--s-9) 0; }
section.tight { padding: var(--s-8) 0; }
section.soft { background: var(--bg-soft); }
section.tint { background: linear-gradient(180deg, var(--white) 0%, var(--indigo-50) 100%); }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s-8);
}
.section-head h2 { margin-bottom: var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--indigo-600);
  color: var(--white);
  box-shadow: var(--sh-indigo);
}
.btn-primary:hover {
  background: var(--indigo-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -4px rgba(79, 70, 229, 0.42);
}
.btn-secondary {
  background: var(--white);
  color: var(--text-900);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--text-900);
}
.btn-ghost {
  background: transparent;
  color: var(--text-700);
}
.btn-ghost:hover { color: var(--indigo-600); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-900);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--sh-indigo);
}
.nav-links {
  display: flex; align-items: center;
  gap: var(--s-7);
}
.nav-links a {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text-700);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--indigo-600); }
.nav-cta { display: flex; align-items: center; gap: var(--s-3); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-10);
  background:
    radial-gradient(ellipse at 75% 10%, rgba(79, 70, 229, 0.10), transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(236, 72, 153, 0.06), transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--s-8);
  align-items: center;
}
.hero h1 { margin-bottom: var(--s-5); max-width: 18ch; }
.hero .lead { margin-bottom: var(--s-7); }
.hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-trust {
  margin-top: var(--s-6);
  display: flex; align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-500);
}
.hero-trust .item {
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.hero-trust .check {
  width: 16px; height: 16px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================================
   PRODUCT MOCKUP — Owner Dashboard
   ============================================================ */
.product {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
}
.product-window {
  background: var(--bg-tint);
  padding: 0.65rem 0.9rem;
  display: flex; align-items: center; gap: var(--s-2);
  border-bottom: 1px solid var(--border);
}
.product-window .dots {
  display: flex; gap: 6px;
}
.product-window .dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #FBBF24;
}
.product-window .dots span:first-child { background: #EF4444; }
.product-window .dots span:last-child { background: #10B981; }
.product-window .url {
  flex: 1;
  margin-left: var(--s-3);
  font-size: 0.74rem;
  color: var(--text-500);
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.product-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 460px;
}
.product-side {
  background: var(--bg-soft);
  border-right: 1px solid var(--border-soft);
  padding: var(--s-4) var(--s-3);
}
.product-side .side-brand {
  display: flex; align-items: center; gap: var(--s-2);
  font-weight: 800; font-size: 0.92rem;
  color: var(--text-900);
  padding: var(--s-2) var(--s-3);
  margin-bottom: var(--s-4);
}
.product-side .side-brand span {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  border-radius: 6px;
  display: grid; place-items: center;
  color: white; font-size: 0.78rem;
}
.product-side .side-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-400);
  padding: var(--s-3) var(--s-3) var(--s-2);
}
.product-side .side-item {
  display: flex; align-items: center; gap: var(--s-2);
  padding: 0.5rem 0.7rem;
  margin-bottom: 2px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-700);
  font-weight: 500;
}
.product-side .side-item.active {
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-weight: 600;
}
.product-side .side-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.product-side .side-item:nth-child(5) .dot { background: var(--pink); }
.product-side .side-item:nth-child(6) .dot { background: var(--amber); }
.product-side .side-item:nth-child(7) .dot { background: var(--sky); }

.product-main {
  padding: var(--s-5);
  background: var(--white);
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--s-4);
}
.product-head h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 2px;
}
.product-head .meta {
  font-size: 0.74rem;
  color: var(--text-500);
}
.product-head .week-pill {
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.kpi {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--s-3);
  background: var(--white);
}
.kpi .k-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 4px;
}
.kpi .k-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi .k-change {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
}
.kpi .k-change.up { color: var(--green); }
.kpi .k-change.down { color: var(--red); }

.kpi.featured {
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  border: 0;
}
.kpi.featured .k-label,
.kpi.featured .k-change { color: rgba(255,255,255,0.7); }
.kpi.featured .k-value { color: white; }

.member-list {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.member {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-soft);
}
.member:last-child { border-bottom: 0; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
}
.avatar.a { background: linear-gradient(135deg, var(--indigo-500), var(--pink)); }
.avatar.b { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.avatar.c { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.avatar.d { background: linear-gradient(135deg, var(--sky), var(--indigo-600)); }
.member .name { font-size: 0.82rem; font-weight: 600; color: var(--text-900); }
.member .role { font-size: 0.7rem; color: var(--text-500); }
.bar-track {
  width: 90px;
  height: 6px;
  background: var(--bg-tint);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.bar-track > i {
  position: absolute; inset: 0 auto 0 0;
  border-radius: 99px;
}
.bar-track > i.good  { background: var(--green); }
.bar-track > i.warn  { background: var(--amber); }
.bar-track > i.risk  { background: var(--red); }
.bar-track > i.fine  { background: var(--indigo-500); }

/* Floating accent badges around product */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0.6rem 0.85rem;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-900);
  z-index: 2;
}
.float-badge .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-bg);
}
.float-badge.b1 { top: 20px; left: -32px; }
.float-badge.b2 { bottom: 38px; right: -28px; }
.float-badge.b2 .dot { background: var(--pink); box-shadow: 0 0 0 4px var(--pink-bg); }

/* ============================================================
   PROBLEM AGITATION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.p-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.p-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--border);
}
.p-card .icon-square {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: var(--s-4);
}
.p-card .icon-square svg { width: 24px; height: 24px; }
.p-card.c1 .icon-square { background: var(--pink-bg); color: var(--pink); }
.p-card.c2 .icon-square { background: var(--amber-bg); color: var(--amber); }
.p-card.c3 .icon-square { background: var(--sky-bg); color: var(--sky); }
.p-card h3 { margin-bottom: var(--s-2); }
.p-card p { font-size: 0.96rem; }

/* ============================================================
   30-SECOND STRIP
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.step {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
}
.step .step-num {
  position: absolute;
  top: -18px; left: var(--s-6);
  width: 40px; height: 40px;
  background: var(--white);
  border: 2px solid var(--indigo-600);
  color: var(--indigo-600);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.step h3 { margin: var(--s-3) 0 var(--s-2); }
.step p { font-size: 0.95rem; }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.feat-grid .feat:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  color: white;
}
.feat-grid .feat:first-child h3,
.feat-grid .feat:first-child p { color: white; }
.feat-grid .feat:first-child .icon-square {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}
.feat {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.feat .icon-square {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: var(--s-4);
}
.feat .icon-square svg { width: 24px; height: 24px; }
.feat.col-teal  .icon-square { background: var(--teal-bg); color: var(--teal); }
.feat.col-pink  .icon-square { background: var(--pink-bg); color: var(--pink); }
.feat.col-amber .icon-square { background: var(--amber-bg); color: var(--amber); }
.feat.col-sky   .icon-square { background: var(--sky-bg); color: var(--sky); }
.feat.col-green .icon-square { background: var(--green-bg); color: var(--green); }
.feat h3 { margin-bottom: var(--s-2); }
.feat p { font-size: 0.95rem; }

/* ============================================================
   JIRA COMPARISON TABLE
   ============================================================ */
.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.compare-card table {
  width: 100%;
  border-collapse: collapse;
}
.compare-card th, .compare-card td {
  text-align: left;
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}
.compare-card thead th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-card thead th.taskly-col {
  background: var(--indigo-600);
  color: white;
  position: relative;
}
.compare-card tbody td:first-child {
  font-weight: 600;
  color: var(--text-900);
  width: 35%;
}
.compare-card tbody tr:last-child td { border-bottom: 0; }
.compare-card tbody td.taskly-cell {
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-weight: 600;
}
.compare-card tbody td.taskly-cell::before {
  content: "✓ ";
  font-weight: 800;
  margin-right: 4px;
}
.compare-card tbody td.jira-cell {
  color: var(--text-500);
}

/* ============================================================
   PRICING TEASER
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.price-card.featured {
  border: 2px solid var(--indigo-600);
  box-shadow: var(--sh-md);
}
.price-card .badge {
  position: absolute;
  top: -14px; left: var(--s-7);
  background: var(--indigo-600);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.price-card .sum { color: var(--text-500); font-size: 0.95rem; margin-bottom: var(--s-5); }
.price-card .price {
  display: flex; align-items: baseline; gap: var(--s-2);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border-soft);
}
.price-card .price b {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -0.02em;
}
.price-card .price span { color: var(--text-500); font-size: 0.95rem; }
.price-card ul.feat-list { margin-bottom: var(--s-6); }
.price-card ul.feat-list li {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 0.4rem 0;
  font-size: 0.94rem;
  color: var(--text-700);
}
.price-card ul.feat-list li .tick {
  width: 18px; height: 18px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 18px;
}
.price-card .btn { margin-top: auto; }

/* ============================================================
   BUILT FOR
   ============================================================ */
.built-for-band {
  background: var(--bg-soft);
  border-radius: var(--r-2xl);
  padding: var(--s-8);
  text-align: center;
  border: 1px solid var(--border-soft);
}
.built-for-band h2 { margin-bottom: var(--s-3); max-width: 22ch; margin-inline: auto; }
.built-for-band p { max-width: 540px; margin: 0 auto; color: var(--text-500); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background:
    radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.25), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(14, 184, 166, 0.18), transparent 50%),
    linear-gradient(135deg, var(--indigo-700) 0%, var(--indigo-900) 100%);
  color: white;
  border-radius: var(--r-2xl);
  padding: var(--s-9) var(--s-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  color: white;
  margin-bottom: var(--s-4);
  max-width: 22ch;
  margin-inline: auto;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto var(--s-6);
}
.final-cta .btn-primary {
  background: white;
  color: var(--indigo-700);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.final-cta .btn-primary:hover {
  background: var(--bg-soft);
  color: var(--indigo-700);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s-8) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid h4 {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer-grid a, .footer-grid p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  padding: 0.3rem 0;
}
.footer-grid a:hover { color: white; }
.footer-grid .brand { color: white; margin-bottom: var(--s-3); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--s-4);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ============================================================
   PAGE HEAD (sub-pages)
   ============================================================ */
.page-head {
  padding: var(--s-9) 0 var(--s-7);
  text-align: center;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(79, 70, 229, 0.08), transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(236, 72, 153, 0.05), transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}
.page-head .eyebrow { margin-bottom: var(--s-4); }
.page-head h1 { margin: 0 auto var(--s-4); max-width: 18ch; }
.page-head p { max-width: 600px; margin: 0 auto; color: var(--text-500); font-size: 1.1rem; }

/* ============================================================
   WALKTHROUGH (how-it-works alternating steps)
   ============================================================ */
.walk-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-bottom: var(--s-9);
}
.walk-step:last-child { margin-bottom: 0; }
.walk-step.reverse > .walk-text { order: 2; }
.walk-step .walk-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--s-4);
  letter-spacing: 0.02em;
}
.walk-step.s1 .walk-pill { background: var(--teal-bg); color: var(--teal); }
.walk-step.s2 .walk-pill { background: var(--pink-bg); color: var(--pink); }
.walk-step.s3 .walk-pill { background: var(--amber-bg); color: var(--amber); }
.walk-step.s4 .walk-pill { background: var(--sky-bg); color: var(--sky); }
.walk-step h3 { font-size: 1.7rem; margin-bottom: var(--s-3); }
.walk-step p { font-size: 1rem; }
.walk-step .walk-list { margin-top: var(--s-4); }
.walk-step .walk-list li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text-700);
}
.walk-step .walk-list li .tick {
  width: 18px; height: 18px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 18px;
  margin-top: 2px;
}

/* Mini mockup placeholder for walkthrough */
.mini-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
}
.mini-mockup .mini-bar {
  background: var(--bg-soft);
  padding: 0.5rem 0.7rem;
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--border-soft);
}
.mini-mockup .mini-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #FBBF24;
}
.mini-mockup .mini-bar span:first-child { background: #EF4444; }
.mini-mockup .mini-bar span:nth-child(3) { background: #10B981; }
.mini-mockup .mini-body {
  flex: 1;
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  background: var(--white);
}
.mini-mockup .mini-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-900);
}
.mini-mockup .mini-sub {
  font-size: 0.7rem;
  color: var(--text-500);
  margin-bottom: var(--s-3);
}
.mini-mockup .mini-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 0.5rem;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
}
.mini-mockup .mini-row .av {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-500), var(--pink));
  flex: 0 0 24px;
}
.mini-mockup .mini-row.r2 .av { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.mini-mockup .mini-row.r3 .av { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.mini-mockup .mini-row .nm { flex: 1; font-weight: 600; color: var(--text-900); }
.mini-mockup .mini-row .pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green);
}
.mini-mockup .mini-row.r3 .pill { background: var(--amber-bg); color: var(--amber); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details[open] {
  border-color: var(--indigo-100);
  box-shadow: var(--sh-md);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-weight: 600;
  color: var(--text-900);
  font-size: 1rem;
  padding: var(--s-5) var(--s-6);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--indigo-600);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p {
  padding: 0 var(--s-6) var(--s-5);
  color: var(--text-700);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--sh-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-900);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--text-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-400); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-block-btn {
  width: 100%;
  justify-content: center;
}
.form-note {
  margin-top: var(--s-4);
  font-size: 0.88rem;
  color: var(--text-500);
  text-align: center;
}

/* ============================================================
   TWO-COL PAGE LAYOUTS (contact / demo)
   ============================================================ */
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
.split-grid.flip {
  grid-template-columns: 1fr 1.15fr;
}
.info-block {
  padding-top: var(--s-2);
}
.info-block .info-row {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--border-soft);
}
.info-block .info-row:first-child { padding-top: 0; }
.info-block .info-row:last-child { border-bottom: 0; }
.info-block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: var(--s-2);
}
.info-block .info-row p {
  color: var(--text-900);
  font-size: 1rem;
  font-weight: 500;
}
.info-block .info-row p.muted {
  color: var(--text-500);
  font-size: 0.88rem;
  font-weight: 400;
  margin-top: 4px;
}
.info-block .info-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: var(--s-3);
}
.info-block .info-icon svg { width: 20px; height: 20px; }
.info-block .info-row.c1 .info-icon { background: var(--teal-bg); color: var(--teal); }
.info-block .info-row.c2 .info-icon { background: var(--pink-bg); color: var(--pink); }
.info-block .info-row.c3 .info-icon { background: var(--amber-bg); color: var(--amber); }
.info-block .info-row.c4 .info-icon { background: var(--sky-bg); color: var(--sky); }

/* Demo "what to expect" side panel */
.expect-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.expect-card h4 {
  font-size: 1rem;
  margin-bottom: var(--s-4);
}
.expect-card h4:not(:first-child) { margin-top: var(--s-5); }
.expect-card ul.checks li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: 0.4rem 0;
  font-size: 0.94rem;
  color: var(--text-700);
}
.expect-card ul.checks li .tick {
  width: 18px; height: 18px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 18px;
  margin-top: 2px;
}
.expect-card p { font-size: 0.94rem; }

/* ============================================================
   ABOUT PAGE — text-heavy with placeholder
   ============================================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.6rem;
  margin: var(--s-7) 0 var(--s-4);
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: var(--s-4);
  color: var(--text-700);
}
.prose .first-p {
  font-size: 1.2rem;
  color: var(--text-900);
  line-height: 1.55;
}
.team-placeholder {
  background: linear-gradient(135deg, var(--indigo-50) 0%, var(--pink-bg) 100%);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  min-height: 200px;
  color: var(--indigo-700);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px dashed var(--indigo-100);
  margin: var(--s-5) 0;
}

/* ============================================================
   FEATURES PAGE — theme blocks + screenshot placeholders
   ============================================================ */
.theme-block {
  margin-bottom: var(--s-9);
}
.theme-block:last-child { margin-bottom: 0; }
.theme-head {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border-soft);
}
.theme-head .theme-num {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex: 0 0 44px;
}
.theme-block.t1 .theme-num { background: var(--teal-bg); color: var(--teal); }
.theme-block.t2 .theme-num { background: var(--pink-bg); color: var(--pink); }
.theme-block.t3 .theme-num { background: var(--amber-bg); color: var(--amber); }
.theme-block.t4 .theme-num { background: var(--sky-bg); color: var(--sky); }
.theme-head h2 { font-size: 1.7rem; margin-bottom: 0; }
.theme-head p {
  color: var(--text-500);
  font-size: 0.95rem;
  margin-top: 4px;
}
.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.theme-feature {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.theme-feature h3 {
  font-size: 1.1rem;
  margin-bottom: var(--s-2);
}
.theme-feature p {
  font-size: 0.95rem;
  margin-bottom: var(--s-3);
}
.theme-feature .benefit {
  display: block;
  font-size: 0.88rem;
  color: var(--indigo-700);
  font-weight: 600;
  background: var(--indigo-50);
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--indigo-600);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}
.testimonial .quote-mark {
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--indigo-500);
  opacity: 0.22;
  font-weight: 800;
  margin-bottom: var(--s-3);
  height: 28px;
}
.testimonial .quote-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-700);
  margin-bottom: var(--s-5);
  flex: 1;
  font-style: italic;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-soft);
}
.testimonial .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: white;
  flex: 0 0 42px;
}
.testimonial.t1 .avatar { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.testimonial.t2 .avatar { background: linear-gradient(135deg, var(--pink), var(--amber)); }
.testimonial.t3 .avatar { background: linear-gradient(135deg, var(--indigo-500), var(--pink)); }
.testimonial .author-info { display: flex; flex-direction: column; }
.testimonial .author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-900);
}
.testimonial .author-role {
  font-size: 0.82rem;
  color: var(--text-500);
}

/* Placeholder slot indicator (subtle dashed border, dev-friendly) */
.testimonial.placeholder-slot {
  border-style: dashed;
  border-color: var(--indigo-100);
  background: linear-gradient(180deg, var(--white) 0%, rgba(238, 242, 255, 0.4) 100%);
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}
.case-study {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-study:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}
.case-study-image {
  aspect-ratio: 16 / 8;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.case-study-image::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.18), transparent 50%);
}
.case-study-image .img-label {
  position: relative;
  z-index: 2;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.case-study.c1 .case-study-image { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.case-study.c2 .case-study-image { background: linear-gradient(135deg, var(--pink), var(--amber)); }
.case-study.c3 .case-study-image { background: linear-gradient(135deg, var(--amber) 0%, #F97316 100%); }
.case-study.c4 .case-study-image { background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700)); }

.case-study-body {
  padding: var(--s-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.case-study-tags span {
  background: var(--bg-tint);
  color: var(--text-700);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.case-study h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  line-height: 1.3;
}
.case-study .case-summary {
  color: var(--text-500);
  font-size: 0.95rem;
  margin-bottom: var(--s-5);
  flex: 1;
}
.case-study .case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: var(--s-5);
}
.case-study .case-metric { text-align: center; }
.case-study .case-metric b {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--indigo-600);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.case-study .case-metric span {
  display: block;
  font-size: 0.66rem;
  color: var(--text-500);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}
.case-study .case-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--indigo-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.case-study .case-link:hover { color: var(--indigo-700); }

/* "Be our first case study" CTA */
.first-case-cta {
  background: var(--white);
  border: 1.5px dashed var(--indigo-100);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  text-align: center;
  margin-top: var(--s-7);
}
.first-case-cta .badge-pill {
  display: inline-block;
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--s-4);
}
.first-case-cta h2 {
  font-size: 1.8rem;
  margin-bottom: var(--s-3);
  max-width: 22ch;
  margin-inline: auto;
}
.first-case-cta p {
  color: var(--text-500);
  max-width: 500px;
  margin: 0 auto var(--s-5);
}

@media (max-width: 820px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .product { transform: none; }
  .float-badge.b1 { left: 12px; }
  .float-badge.b2 { right: 12px; }
  .walk-step { gap: var(--s-6); }
  .split-grid, .split-grid.flip { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .problem-grid,
  .steps-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid .feat:first-child { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .walk-step { grid-template-columns: 1fr; gap: var(--s-5); margin-bottom: var(--s-7); }
  .walk-step.reverse > .walk-text { order: 0; }
  .theme-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: var(--s-5); }
}
@media (max-width: 720px) {
  section { padding: var(--s-8) 0; }
  .nav-links { display: none; }
  .nav-cta .btn-secondary,
  .nav-cta .btn-ghost { display: none; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-grid .feat:first-child { grid-column: span 1; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid .kpi:first-child { grid-column: span 2; }
  .compare-card th, .compare-card td { padding: var(--s-4); font-size: 0.88rem; }
  .compare-card th:first-child, .compare-card td:first-child { padding-left: var(--s-4); }
  .final-cta { padding: var(--s-8) var(--s-5); }
  .built-for-band { padding: var(--s-7) var(--s-5); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .float-badge { display: none; }
}
