/* =========================================================
   Tabify landing — base
   ========================================================= */



:root {
  --bg: #08090c;
  --bg-soft: #0c0d11;
  --panel: #131318;
  --panel-2: #16171d;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f4f5f7;
  --text-muted: #9a9ba3;
  --text-dim: #6b6c74;
  --accent: #1e9bff;
  --accent-2: #4db2ff;
  --accent-soft: rgba(30,155,255,0.12);
  --red: #ff5c5c;
  --green: #35d07f;

  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
#mail {
  color: var(--accent-2);
  text-decoration: underline;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.text-accent { color: var(--accent); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.eyebrow.center { text-align: center; }

.section-title {
  font-size: 40px;
  /* margin-bottom: 16px; */
}

.section-title.center { text-align: center; }

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 640px;
}

.section-subtitle.center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(30,155,255,0);
}
.btn-primary:hover { background: var(--accent-2); }
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary:disabled:hover { background: var(--accent); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--text-muted); }

.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 18px;
}

.badge-outline {
  color: var(--accent-2);
  background: rgba(30,155,255,0.08);
  border: 1px solid rgba(30,155,255,0.35);
  box-shadow: 0 0 24px rgba(30,155,255,0.15);
}

.badge-ghost {
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: transparent;
  padding: 6px 14px;
}

.badge-tag {
  color: var(--accent-2);
  background: var(--accent-soft);
  padding: 5px 12px;
  margin-bottom: 14px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-right: 10px;
  flex-shrink: 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,9,12,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--text); }

.header-cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav a:not(.btn) {
  padding: 12px 4px;
  color: var(--text-muted);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 14px; }

/* Language switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.lang-switcher-btn:hover { color: var(--text); border-color: var(--border-strong); }
.lang-switcher-chevron { transition: transform .15s ease; }
.lang-switcher.open .lang-switcher-chevron { transform: rotate(180deg); }

.lang-switcher-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 110;
}
.lang-switcher.open .lang-switcher-menu { display: block; }
.lang-switcher-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.lang-switcher-menu a:hover { color: var(--text); background: var(--panel-2); }
.lang-switcher-menu a[aria-current="true"] { color: var(--accent-2); }

.lang-switcher-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 4px 4px;
}
.lang-switcher-mobile a {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.lang-switcher-mobile a[aria-current="true"] {
  color: var(--accent-2);
  border-color: var(--accent);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(30,155,255,0.35), rgba(30,155,255,0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 60px;
  margin-top: 16px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  margin-top: 14px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.hero-platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-platform-soon { opacity: 0.55; }

.hero-platform-soon em {
  font-style: normal;
  margin-left: 6px;
  font-size: 10px;
  color: var(--accent-2);
}

.hero-platform-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 24px;
}

.hero-screenshot {
  width: 100%;
  margin-top: 48px;
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  max-width: 1020px;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -30px 80px rgba(30,155,255,0.08);
}

/* =========================================================
   Strip
   ========================================================= */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  font-size: 13px;
}
.strip-label {
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.strip-label b { color: var(--accent-2); font-weight: 600; }
.strip-item { color: var(--text-muted); }

/* =========================================================
   Problem
   ========================================================= */
.problem { padding: 110px 0; }

.problem .section-subtitle { color: var(--text-muted); margin-top: 20px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.problem-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.problem-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.x-icon {
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 16px;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   Solution
   ========================================================= */
.solution {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 110px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 40px 0 44px;
}

.pill {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--text);
  background: var(--panel);
}

.plus { color: var(--text-dim); font-size: 16px; }

/* =========================================================
   Features
   ========================================================= */
.features { padding: 130px 0; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row + .feature-row { margin-top: 110px; }

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-text h3 {
  font-size: 30px;
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.feature-visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Feature demo clips (promo/ renders them from the real app) */
.feature-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #17181b;
  object-fit: cover;
}

/* =========================================================
   Audience
   ========================================================= */
.audience { padding: 110px 0; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.audience-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.audience-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}
.audience-icon img { width: 100%; height: 100%; display: block; }

.audience-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  min-height: 66px;
}

.tag {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
}

/* =========================================================
   Pricing / PRO table
   ========================================================= */
.pricing {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.table-scroll-hint {
  display: none;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--bg);
}

.pricing-table th:first-child, .pricing-table td:first-child { width: 42%; }
.pricing-table th:nth-child(2), .pricing-table td:nth-child(2) { width: 29%; }
.pricing-table th:last-child, .pricing-table td:last-child { width: 29%; }

.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.pricing-table thead th {
  font-weight: 500;
  color: var(--accent);
}
.pricing-table thead th:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.th-price {
  display: block;
  font-weight: 400;
  color: inherit;
  font-size: 0.85em;
}

.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: rgba(255,255,255,0.02); }

/* highlighted "Pro" column spanning the full table height */
.pricing-table th:last-child, .pricing-table td:last-child {
  background: rgba(0, 144, 255, 0.05);
}
.pricing-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.pricing-table tbody tr:last-child td:last-child { border-radius: 0 0 var(--radius) 0; }

.mark-icon { width: 11px; height: 11px; display: block; }

.pricing-note {
  text-align: right;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 16px;
}

/* =========================================================
   Roadmap
   ========================================================= */
.roadmap {
  padding: 72px 0 72px 0;
  background: #040a17;
}

.roadmap-timeline {
  position: relative;
  container-type: inline-size;
  margin-top: 40px;
  padding-bottom: 72px; /* room for up to 4 label lines under the bars */
}

.roadmap-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Labels sit over the SVG box (same aspect ratio), under the bar numbers.
   --x / --mx: bar center in % of SVG width (desktop / mobile), --mrow: mobile row. */
.roadmap-labels {
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 1177 / 256;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-labels li {
  position: absolute;
  left: var(--x);
  top: calc(97.66% + 10px); /* numbers end at y=250 of 256 */
  width: 10%; /* closest bars are 11% apart — keep a gap */
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(10px, 1.2cqw, 15px);
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: break-word;
}

/* =========================================================
   Early access
   ========================================================= */
.early-access {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background-image: url("../img/cta-guitar-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.early-access-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.early-access-text h2 {
  font-size: 44px;
  margin-bottom: 20px;
}
.early-access-text p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 380px;
  line-height: 1.6;
}

.early-access-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.early-access-form form,
.send-link-form { display: flex; flex-direction: column; }

.early-access-form label,
.send-link-form label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.early-access-form input[type="text"],
.early-access-form input[type="email"],
.send-link-form input[type="email"] {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color .15s ease;
}
.early-access-form input[type="text"]:focus,
.early-access-form input[type="email"]:focus,
.send-link-form input[type="email"]:focus { border-color: var(--accent); }

/* Mobile "send me the download link" dialog (built in main.js) */
.send-link-dialog {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 28px 24px 20px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
.send-link-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }

.send-link-form { position: relative; }

.send-link-close {
  position: absolute;
  top: -18px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.send-link-title {
  font-size: 22px;
  margin: 0 28px 10px 0;
}

.send-link-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Linux package chooser (built in main.js, reuses the send-link dialog shell) */
.linux-options { display: flex; flex-direction: column; gap: 10px; }

.linux-option {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  padding: 14px 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color .15s ease;
}
.linux-option:hover,
.linux-option:focus-visible { border-color: var(--accent); }
.linux-option.is-recommended { border-color: var(--accent); }

.linux-option-name { font-weight: 600; font-size: 16px; }
.linux-option-desc {
  grid-column: 1;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}
.linux-option-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
}

/* One-line terminal install (built in main.js: Linux dialog + macOS CTA) */
.install-cmd-block {
  margin: -20px 0 40px;
  max-width: 760px;
}
.linux-terminal-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 18px 0 8px;
}
.install-cmd-block .linux-terminal-note { margin-top: 0; }
.install-cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.install-cmd code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Wide block near the final CTA (macOS visitors): one line, fits without scrolling */
.install-cmd-block .install-cmd code { white-space: nowrap; overflow-x: auto; }
.install-cmd-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.install-cmd-copy:hover,
.install-cmd-copy:focus-visible { border-color: var(--accent); }
.install-cmd-copy.is-copied { color: var(--green); border-color: var(--green); }
/* The package chooser hosts the one-line install command: give it room */
.linux-dialog { width: min(560px, calc(100vw - 32px)); }


.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -6px 0 20px;
  cursor: pointer;
}

.consent-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-field span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.consent-field a {
  color: var(--accent-2);
  text-decoration: underline;
}

.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 14px;
  font-size: 13px;
  min-height: 18px;
  color: var(--text-muted);
}
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 420px; }

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-nav-groups {
  display: flex;
  gap: 88px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--text); }

.footer-link-soon { color: var(--text-dim); pointer-events: none; }
.footer-link-soon span {
  margin-left: 6px;
  font-size: 10px;
  color: var(--accent-2);
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 24px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  font-family: var(--font-mono);
}

.footer-legal { text-align: center; flex: 1; min-width: 260px; }
.footer-legal a { color: var(--accent); }
.footer-legal a:hover { color: var(--accent-2); }

/* =========================================================
   Pricing cards (Free / Pro / Enterprise)
   ========================================================= */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  background: var(--panel-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.pricing-card-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  z-index: 1;
  background: var(--bg-soft);
  border: 1px solid var(--accent);
}

.pricing-card-name {
  font-size: 14px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.pricing-card-price {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px;
}

.pricing-card-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex-grow: 1;
}

.pricing-card-list li {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}

.pricing-card-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .lang-switcher { display: none; }
  .burger { display: flex; }
  .mobile-nav.open { display: flex; }

  .hero-title { font-size: 44px; }
  .hero-subtitle { font-size: 16px; }

  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }

  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-visual { order: -1; }
  .feature-text { order: 2; }
  .feature-row + .feature-row { margin-top: 64px; }

  .early-access-inner { grid-template-columns: 1fr; }
  .early-access-text p { max-width: none; }

  .footer-nav-groups { gap: 48px; }
}

@media (max-width: 700px) {
  .table-scroll-hint { display: block; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .header-inner { height: 64px; }
  .logo-img { height: 20px; }

  .hero { padding-top: 48px; }
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .strip-inner { gap: 8px 20px; font-size: 12px; }
  .strip-label { flex-basis: 100%; }

  .problem { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .problem-grid { grid-template-columns: 1fr; }

  .solution { padding: 72px 0; }
  .pill-row { gap: 10px; }
  .pill { padding: 10px 16px; font-size: 13px; }

  .features { padding: 72px 0; }
  .feature-text h3 { font-size: 24px; }

  .audience { padding: 72px 0; }

  .pricing { padding: 72px 0; }
  .pricing-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pricing-head .btn { width: 100%; }

  .table-scroll-hint { display: none; }
  .pricing-table { min-width: 0; }
  .pricing-table th, .pricing-table td { padding: 12px 10px; font-size: 12px; }
  .pricing-table th:first-child, .pricing-table td:first-child { width: 46%; }
  .pricing-table th:nth-child(2), .pricing-table td:nth-child(2) { width: 27%; }
  .pricing-table th:last-child, .pricing-table td:last-child { width: 27%; }

  .roadmap { padding: 48px 0 70px; }
  .roadmap-timeline { margin-top: 32px; padding-bottom: 48px; }
  .roadmap-labels { aspect-ratio: 412 / 960; }
  /* rows of numbers end at y=250, 590, 930 of 960 */
  .roadmap-labels li {
    left: var(--mx);
    top: calc(26.04% + var(--mrow) * 35.42% + 8px);
    width: 30%;
    font-size: clamp(11px, 3.6cqw, 15px);
  }

  .early-access { padding: 72px 0; }
  .early-access-text h2 { font-size: 32px; }
  .early-access-form { padding: 24px; }

  .footer-inner { flex-direction: column; align-items: center; gap: 32px; text-align: center; }
  .footer-nav-groups { flex-direction: column; align-items: center; gap: 4px; width: 100%; }
  .footer-col { align-items: center; gap: 0; width: 100%; }
  .footer-title { margin: 24px 0 4px; }
  .footer-col a {
    width: 100%;
    padding: 14px 4px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card-featured { order: -1; }

  .faq { padding: 72px 0; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 110px 0; }

.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 0 0 20px;
  margin: 0;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 16px;
  animation: cookie-banner-in 0.3s ease;
}

.cookie-banner[hidden] { display: none; }

@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.cookie-banner-text {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.cookie-banner-text a { color: var(--accent); text-decoration: underline; }
.cookie-banner-text a:hover { color: var(--accent-2); }

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .cookie-banner-actions { flex-direction: column-reverse; }
  .cookie-banner-actions .btn { width: 100%; }
}


.agree {
  margin-bottom: 24px;
}

.agree-contaier {
  margin-top: 8px;
}