/* ============================================================
   Flow Dev — Design System
   Light theme DEFAULT · Dark mode via [data-theme="dark"]
   ============================================================ */

/* ── LIGHT THEME (default) ─────────────────────────────────── */
:root {
  --bg:           #f7f6f2;
  --surface:      #ffffff;
  --surface-2:    #f2f0ec;
  --surface-3:    #ebe8e2;
  --border:       rgba(20, 20, 20, 0.08);
  --border-soft:  rgba(20, 20, 20, 0.05);
  --border-med:   rgba(20, 20, 20, 0.13);
  --text:         #0d0d0f;
  --text-muted:   #5a5a68;
  --text-quiet:   #9898a8;
  --gold:         #9a6f28;
  --gold-dim:     rgba(154, 111, 40, 0.10);
  --gold-border:  rgba(154, 111, 40, 0.22);
  --blue:         #2563eb;
  --blue-dim:     rgba(37, 99, 235, 0.08);
  --blue-border:  rgba(37, 99, 235, 0.20);
  --green:        #16a34a;
  --green-dim:    rgba(22, 163, 74, 0.08);
  --green-border: rgba(22, 163, 74, 0.18);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.09), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12), 0 24px 64px rgba(0,0,0,0.08);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
}

/* ── DARK THEME ─────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:           #0a0a0b;
  --surface:      #111114;
  --surface-2:    #18181c;
  --surface-3:    #1e1e24;
  --border:       rgba(255, 255, 255, 0.07);
  --border-soft:  rgba(255, 255, 255, 0.04);
  --border-med:   rgba(255, 255, 255, 0.11);
  --text:         #f2f0ec;
  --text-muted:   #8a8a96;
  --text-quiet:   #55555f;
  --gold:         #c9a66b;
  --gold-dim:     rgba(201, 166, 107, 0.12);
  --gold-border:  rgba(201, 166, 107, 0.22);
  --blue:         #3e7bfa;
  --blue-dim:     rgba(62, 123, 250, 0.10);
  --blue-border:  rgba(62, 123, 250, 0.22);
  --green:        #22c55e;
  --green-dim:    rgba(34, 197, 94, 0.10);
  --green-border: rgba(34, 197, 94, 0.20);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.40);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.50);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.60);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.site-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-sm);
  margin-bottom: 72px;
  transition: background 0.3s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(10, 10, 11, 0.92);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 12px 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

/* Light mode: show logo as-is (dark logo on light bg) */
.site-logo {
  height: 60px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Dark mode: invert to white logo on dark bg */
[data-theme="dark"] .site-logo {
  filter: invert(1) brightness(1.1);
}

/* ── FLOATING HERO VISUAL ───────────────────────────────────── */
.hero-floating {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-center {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle radial glow behind logo */
.floating-center::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154,111,40,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Center Flow Dev logo box */
.float-logo-wrap {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-main-logo {
  height: 56px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
}

[data-theme="dark"] .float-main-logo {
  filter: invert(1) brightness(1.1);
}

/* Each floating icon */
.float-icon {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
}

.float-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
}

/* Positions — top-left, top-right, bottom-left, bottom-right */
.float-icon-1 { top: 20px;    left: 10px;   animation: floatUpDown 3.0s ease-in-out infinite; }
.float-icon-2 { top: 20px;    right: 10px;  animation: floatUpDown 3.4s ease-in-out infinite 0.5s; }
.float-icon-3 { bottom: 20px; left: 10px;   animation: floatUpDown 2.8s ease-in-out infinite 0.8s; }
.float-icon-4 { bottom: 20px; right: 10px;  animation: floatUpDown 3.2s ease-in-out infinite 0.3s; }

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-10px); }
}

.brand-name { display: none; } /* Name is part of wordmark SVG now */

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

/* Header right: toggle + CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Dark/Light toggle button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-med);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--surface-2);
  color: var(--text);
}

.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none;  }

[data-theme="dark"] .theme-toggle .icon-sun  { display: none;  }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.nav-action:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border-med);
}

.btn-secondary:hover { color: var(--text); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(154,111,40,0.20);
}

[data-theme="dark"] .btn-gold { color: #0a0a0b; }

.btn-gold:hover { box-shadow: 0 8px 24px rgba(154,111,40,0.30); }

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-med);
}

.btn-outline:hover { color: var(--text); background: var(--surface-2); }

.btn-full { width: 100%; }
.btn-sm   { height: 36px; padding: 0 14px; font-size: 13px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero-section {
  padding: 20px 0 80px;
  border-top: none !important;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--green-border);
  border-radius: 999px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

[data-theme="dark"] .status-dot {
  animation: pulse-dark 2.4s ease infinite;
}
@keyframes pulse-dark {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 26px;
  text-wrap: balance;
}

.accent-word { color: var(--gold); }

.hero-lede {
  font-size: 18px;
  font-weight: 450;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

/* ── HERO STATS ─────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 16px 20px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-md);
  background: var(--surface);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
}

.hero-stat span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-quiet);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-stat-div {
  width: 1px;
  height: 30px;
  background: var(--border-med);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── HERO VISUAL (extension preview) ───────────────────────── */
.hero-visual { position: relative; }

.product-window {
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; }
.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.window-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--green-border);
}

.ext-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px 0;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-med);
  background: var(--surface-2);
  color: var(--text-quiet);
  font-size: 12px;
  font-weight: 600;
}

.ext-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px 0;
}

.ext-tab {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ext-tab.active {
  background: var(--surface-3);
  color: var(--text);
}

.template-list {
  padding: 10px 14px;
  display: grid;
  gap: 6px;
}

.template-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color 0.15s;
}

.template-row.active-row {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.tmpl-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surface-3);
  border: 1px solid var(--border-med);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
}

.template-row.active-row .tmpl-icon {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

.tmpl-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.tmpl-info small {
  font-size: 10px;
  color: var(--text-quiet);
  font-weight: 600;
}

.tmpl-btn {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-3);
  border: 1px solid var(--border-med);
  cursor: pointer;
}

.ext-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-quiet);
  margin-top: 4px;
}

.ext-add-btn {
  color: var(--gold);
  cursor: pointer;
  font-weight: 800;
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 96px;
}

.trust-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-quiet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 22px;
  background: var(--border-med);
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-item-polar {
  color: var(--blue);
  font-weight: 700;
}

/* ── SECTIONS SHARED ────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.7;
}

section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

section:first-child { border-top: none; }

.section-header { margin-bottom: 52px; }

.section-header h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 450;
  line-height: 1.65;
}

/* ── FEATURES ───────────────────────────────────────────────── */
.features-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feat-big-card {
  padding: 28px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feat-big-card:hover {
  border-color: var(--border-med);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feat-num {
  font-size: 11px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.feat-big-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.feat-big-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.62;
  font-weight: 500;
  margin-bottom: 18px;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feat-tags span {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: var(--surface-3);
  color: var(--text-quiet);
  border: 1px solid var(--border-med);
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.hiw-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.hiw-copy { position: sticky; top: 90px; }

.hiw-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 14px;
}

.hiw-copy p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 450;
}

.hiw-steps { display: grid; gap: 12px; }

.hiw-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s;
}

.hiw-step:hover { transform: translateX(4px); }

.hiw-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
}

.hiw-step h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.hiw-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.62;
  font-weight: 500;
}

/* ── SCREENSHOT ─────────────────────────────────────────────── */
.screenshot-section { padding: 96px 0; }

.screenshot-wrap {
  border: 1px solid var(--border-med);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

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

.screenshot-caption {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ── PRICING ────────────────────────────────────────────────── */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--gold-border);
  background: linear-gradient(145deg, var(--gold-dim) 0%, var(--surface) 60%);
  box-shadow: 0 0 0 1px var(--gold-border), var(--shadow-md);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.badge-lifetime { background: var(--gold-dim);   color: var(--gold);  border: 1px solid var(--gold-border);  }
.badge-monthly  { background: var(--blue-dim);   color: var(--blue);  border: 1px solid var(--blue-border);  }
.badge-yearly   { background: var(--green-dim);  color: var(--green); border: 1px solid var(--green-border); }
.badge-free     { background: var(--surface-3);  color: var(--text-muted); border: 1px solid var(--border-med); }

.card-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.card-price .amount {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.card-price .currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 5px;
}

.card-price .period {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 20px;
}

.card-features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-features li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3 5L7 1' stroke='%2316a34a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── POLAR NOTE ─────────────────────────────────────────────── */
.polar-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--blue-border);
  background: var(--blue-dim);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
}

.polar-note strong { color: var(--text); }
.polar-note svg { flex-shrink: 0; margin-top: 1px; }

.inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(154,111,40,0.4);
  text-underline-offset: 2px;
}

[data-theme="dark"] .inline-link {
  text-decoration-color: rgba(201,166,107,0.4);
}

/* ── CHECKOUT ───────────────────────────────────────────────── */
.checkout-section {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.checkout-copy h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 14px;
}

.checkout-copy p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 450;
  margin-bottom: 20px;
}

.checkout-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

.checkout-notice svg { flex-shrink: 0; margin-top: 1px; }

.checkout-trust-list { display: grid; gap: 9px; }

.ctl-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.checkout-panel {
  padding: 28px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.panel-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-quiet);
  margin-bottom: 14px;
}

.panel-product-select { display: grid; gap: 7px; margin-bottom: 20px; }

.panel-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-med);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.panel-option.active {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.panel-option-name { font-size: 13px; font-weight: 700; color: var(--text); }
.panel-option-price { font-size: 13px; font-weight: 800; color: var(--gold); }

.panel-divider { height: 1px; background: var(--border-med); margin: 16px 0; }

.panel-total-label { font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }

.panel-total-price {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1;
}

.panel-checkout-desc {
  font-size: 11px;
  color: var(--text-quiet);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  border: 1px solid var(--border);
}

.panel-secure {
  text-align: center;
  font-size: 11px;
  color: var(--text-quiet);
  font-weight: 600;
  margin-top: 12px;
}

/* ── SUPPORT ────────────────────────────────────────────────── */
.support-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.support-section h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 10px;
}

.support-section p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 450;
  line-height: 1.65;
  max-width: 540px;
}

.support-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-med);
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.support-email-btn:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
}

.footer-brand img { width: 22px; height: 22px; border-radius: 5px; }

.footer-copy { font-size: 13px; color: var(--text-quiet); font-weight: 500; }

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

.footer-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-quiet);
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--text-muted); }

/* ── LEGAL PAGES ────────────────────────────────────────────── */
.legal-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 44px;
  transition: color 0.15s;
}

.legal-page .back-link:hover { color: var(--text); }

.legal-page h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 6px;
}

.legal-meta { font-size: 13px; color: var(--text-quiet); font-weight: 600; margin-bottom: 44px; }

.legal-page h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 10px;
}

.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 450;
}

.legal-page ul {
  padding-left: 18px;
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.legal-page a { color: var(--gold); text-decoration: underline; }

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

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── SCREENSHOT SECTION ─────────────────────────────────────── */
.screenshot-section { border-top: 1px solid var(--border); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .features-main-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-3 { grid-template-columns: 1fr; }
  .hiw-layout { grid-template-columns: 1fr; gap: 40px; }
  .hiw-copy { position: static; }
  .checkout-section { grid-template-columns: 1fr; }
  .support-section { grid-template-columns: 1fr; gap: 24px; }
  .header-inner { gap: 16px; }
}

@media (max-width: 768px) {
  .site-frame { width: calc(100% - 32px); }
  .header-inner { padding: 10px 16px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .features-main-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-bar { flex-wrap: wrap; gap: 14px; }
  .footer-nav { flex-wrap: wrap; gap: 12px; }
  section { padding: 72px 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 40px; }
  .header-inner { gap: 8px; }
}

/* ── PROFESSIONAL UI POLISH ─────────────────────────────────── */
:root {
  --bg: #f8f9fb;
  --surface-2: #f1f4f8;
  --surface-3: #e8edf4;
  --border: rgba(12, 18, 28, 0.08);
  --border-soft: rgba(12, 18, 28, 0.05);
  --border-med: rgba(12, 18, 28, 0.14);
  --text: #0b0d12;
  --text-muted: #586172;
  --text-quiet: #8a93a3;
  --gold: #a2762b;
  --blue: #2563eb;
  --cyan: #0891b2;
  --violet: #7c3aed;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10), 0 3px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.16), 0 10px 30px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
  --bg: #090b10;
  --surface: #11151d;
  --surface-2: #171c25;
  --surface-3: #202733;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --border-med: rgba(255, 255, 255, 0.13);
  --text: #f5f7fb;
  --text-muted: #a6adbb;
  --text-quiet: #6f7889;
  --cyan: #22d3ee;
  --violet: #a78bfa;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.08), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(8, 145, 178, 0.07), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #f4f6fa 100%);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 16%, rgba(37, 99, 235, 0.16), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(34, 211, 238, 0.10), transparent 28%),
    linear-gradient(180deg, #0c1018 0%, var(--bg) 45%, #080a0e 100%);
}

.site-header {
  margin-bottom: 56px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .site-header {
  background: rgba(9, 11, 16, 0.78);
}

.header-inner {
  padding: 10px 24px;
}

.site-logo {
  height: 64px;
}

.nav-links a,
.theme-toggle,
.nav-action,
.btn,
.price-card,
.feat-big-card,
.hiw-step,
.checkout-panel,
.screenshot-wrap,
.support-email-btn,
.hero-stats,
.trust-bar {
  will-change: transform;
}

.nav-action,
.btn-primary {
  background: linear-gradient(135deg, #05070b 0%, #1d2430 100%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

[data-theme="dark"] .nav-action,
[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #f7f9fc 0%, #dce4ef 100%);
  color: #090b10;
}

.btn-gold {
  background: linear-gradient(135deg, #b38335 0%, #d5a24a 100%);
  box-shadow: 0 14px 30px rgba(162, 118, 43, 0.24);
}

.hero-section {
  position: relative;
  padding: 4px 0 92px !important;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -80px -14vw auto;
  height: 520px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 72% 34%, rgba(37, 99, 235, 0.12), transparent 32%),
    radial-gradient(circle at 44% 56%, rgba(162, 118, 43, 0.09), transparent 26%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .hero-section::before {
  background:
    radial-gradient(circle at 72% 34%, rgba(37, 99, 235, 0.20), transparent 32%),
    radial-gradient(circle at 44% 56%, rgba(34, 211, 238, 0.10), transparent 26%);
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 540px);
  gap: clamp(42px, 6vw, 88px);
}

h1 {
  max-width: 690px;
}

.accent-word {
  background: linear-gradient(90deg, var(--gold), var(--cyan) 58%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 590px;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
}

[data-theme="dark"] .hero-stats {
  background: rgba(17, 21, 29, 0.74);
}

.hero-floating {
  min-height: 540px;
  perspective: 1000px;
}

.floating-center {
  width: min(540px, 100%);
  height: 540px;
  animation: heroTilt 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.floating-center::before {
  inset: 22px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.92) 0 16%, rgba(37,99,235,0.10) 17% 31%, transparent 62%),
    conic-gradient(from 210deg, rgba(37,99,235,0.08), rgba(8,145,178,0.15), rgba(162,118,43,0.12), rgba(37,99,235,0.08));
  filter: blur(0.2px);
  opacity: 0.9;
}

[data-theme="dark"] .floating-center::before {
  background:
    radial-gradient(circle, rgba(17,21,29,0.82) 0 16%, rgba(37,99,235,0.16) 17% 31%, transparent 62%),
    conic-gradient(from 210deg, rgba(37,99,235,0.14), rgba(34,211,238,0.13), rgba(201,166,107,0.10), rgba(37,99,235,0.14));
}

.orbit-ring {
  position: absolute;
  inset: 58px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring-1 {
  transform: rotateX(62deg) rotateZ(-18deg);
  animation: orbitSpin 18s linear infinite;
}

.orbit-ring-2 {
  inset: 96px;
  border-color: rgba(162, 118, 43, 0.20);
  transform: rotateX(64deg) rotateZ(36deg);
  animation: orbitSpin 24s linear reverse infinite;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.12), 0 10px 22px rgba(37, 99, 235, 0.22);
  pointer-events: none;
}

.orbit-dot-1 {
  top: 112px;
  left: 50%;
  animation: dotDrift 5s ease-in-out infinite;
}

.orbit-dot-2 {
  right: 114px;
  bottom: 128px;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(162, 118, 43, 0.12), 0 10px 22px rgba(162, 118, 43, 0.20);
  animation: dotDrift 5.8s ease-in-out infinite 0.9s;
}

.float-logo-wrap {
  min-width: 230px;
  padding: 28px 38px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18), 0 4px 18px rgba(15, 23, 42, 0.07);
  animation: logoBreathe 4.8s ease-in-out infinite;
}

[data-theme="dark"] .float-logo-wrap {
  background: rgba(17, 21, 29, 0.88);
}

.float-main-logo {
  height: 70px;
}

.float-icon {
  width: 128px;
  height: 128px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.14), 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}

[data-theme="dark"] .float-icon {
  background: rgba(17, 21, 29, 0.86);
}

.float-icon:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.20), 0 0 0 8px rgba(37, 99, 235, 0.06);
}

.float-icon img {
  width: 88px;
  height: 88px;
}

.float-icon-1 { top: 12px; left: 0; animation: floatOne 4.2s ease-in-out infinite; }
.float-icon-2 { top: 12px; right: 0; animation: floatTwo 4.8s ease-in-out infinite 0.25s; }
.float-icon-3 { bottom: 14px; left: 0; animation: floatThree 4.5s ease-in-out infinite 0.55s; }
.float-icon-4 { bottom: 14px; right: 0; animation: floatFour 4.9s ease-in-out infinite 0.35s; }

.trust-bar {
  padding: 18px 22px;
  border: 1px solid var(--border-med);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .trust-bar {
  background: rgba(17, 21, 29, 0.64);
}

.feat-big-card,
.price-card,
.hiw-step,
.checkout-panel,
.screenshot-wrap {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)),
    var(--surface);
}

[data-theme="dark"] .feat-big-card,
[data-theme="dark"] .price-card,
[data-theme="dark"] .hiw-step,
[data-theme="dark"] .checkout-panel,
[data-theme="dark"] .screenshot-wrap {
  background:
    linear-gradient(180deg, rgba(17,21,29,0.96), rgba(17,21,29,0.82)),
    var(--surface);
}

.feat-big-card,
.price-card,
.hiw-step {
  position: relative;
  overflow: hidden;
}

.feat-big-card::before,
.price-card::before,
.hiw-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feat-big-card:hover::before,
.price-card:hover::before,
.hiw-step:hover::before,
.price-card.featured::before {
  opacity: 1;
}

.feat-big-card:hover,
.price-card:hover,
.hiw-step:hover {
  border-color: rgba(37, 99, 235, 0.26);
  transform: translateY(-6px);
}

.feat-num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
}

.feat-big-card h3 {
  font-size: 18px;
}

.feat-big-card p,
.hiw-step p,
.card-desc {
  font-size: 14px;
}

.screenshot-wrap {
  transform: translateZ(0);
}

.screenshot-img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-wrap:hover .screenshot-img {
  transform: scale(1.018);
}

.reveal {
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  transform: translateY(0) scale(1);
}

@keyframes heroTilt {
  0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
  50% { transform: rotateX(1.5deg) rotateY(-2deg); }
}

@keyframes orbitSpin {
  to { transform: rotateX(62deg) rotateZ(342deg); }
}

@keyframes dotDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.8; }
  50% { transform: translate3d(12px, -10px, 0); opacity: 1; }
}

@keyframes logoBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.018); }
}

@keyframes floatOne {
  0%, 100% { transform: translate3d(0, 0, 26px) rotate(-2deg); }
  50% { transform: translate3d(10px, -18px, 26px) rotate(3deg); }
}

@keyframes floatTwo {
  0%, 100% { transform: translate3d(0, 0, 34px) rotate(2deg); }
  50% { transform: translate3d(-12px, -16px, 34px) rotate(-3deg); }
}

@keyframes floatThree {
  0%, 100% { transform: translate3d(0, 0, 30px) rotate(2deg); }
  50% { transform: translate3d(12px, 16px, 30px) rotate(-2deg); }
}

@keyframes floatFour {
  0%, 100% { transform: translate3d(0, 0, 24px) rotate(-2deg); }
  50% { transform: translate3d(-10px, 18px, 24px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
    min-height: 500px;
    margin: 0 auto;
  }

  .floating-center {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .site-header {
    margin-bottom: 38px;
  }

  .site-logo {
    height: 52px;
    max-width: 170px;
  }

  .hero-section {
    padding-bottom: 68px !important;
  }

  .hero-floating {
    min-height: 430px;
  }

  .floating-center {
    width: min(430px, 100%);
    height: 430px;
  }

  .float-logo-wrap {
    min-width: 190px;
    padding: 22px 28px;
  }

  .float-main-logo {
    height: 58px;
  }

  .float-icon {
    width: 104px;
    height: 104px;
    padding: 14px;
    border-radius: 24px;
  }

  .float-icon img {
    width: 72px;
    height: 72px;
  }

  .orbit-ring {
    inset: 52px;
  }

  .orbit-ring-2 {
    inset: 86px;
  }

  .trust-bar {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .header-right {
    gap: 8px;
  }

  .nav-action {
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    padding: 14px;
  }

  .hero-stat-div {
    display: none;
  }

  .hero-floating {
    min-height: 360px;
  }

  .floating-center {
    width: min(360px, 100%);
    height: 360px;
  }

  .float-logo-wrap {
    min-width: 164px;
    padding: 18px 22px;
    border-radius: 22px;
  }

  .float-main-logo {
    height: 48px;
  }

  .float-icon {
    width: 86px;
    height: 86px;
    padding: 11px;
    border-radius: 20px;
  }

  .float-icon img {
    width: 60px;
    height: 60px;
  }

  .float-icon-1 { top: 8px; left: -2px; }
  .float-icon-2 { top: 8px; right: -2px; }
  .float-icon-3 { bottom: 8px; left: -2px; }
  .float-icon-4 { bottom: 8px; right: -2px; }

  .orbit-ring {
    inset: 42px;
  }

  .orbit-ring-2,
  .orbit-dot {
    display: none;
  }
}

/* ── METE RUN APPROVAL/POLISH OVERRIDES ─────────────────────── */
html[data-theme="dark"] {
  color-scheme: light;
}

.site-header {
  padding: 12px 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none !important;
  margin-bottom: 44px;
}

.header-inner {
  min-height: 70px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10), 0 1px 0 rgba(255,255,255,0.92) inset;
  backdrop-filter: blur(22px) saturate(1.25);
}

.nav-brand-pill {
  min-width: 178px;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.nav-brand-pill .site-logo {
  width: 42px;
  height: 42px;
  max-width: 42px;
  border-radius: 12px;
  object-fit: cover;
  filter: none !important;
}

.nav-brand-pill span {
  font-size: 15px;
  font-weight: 900;
  color: #0b0d12;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  justify-content: center;
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13px;
  color: #4b5565;
  font-weight: 800;
}

.nav-links a:hover {
  color: #0b0d12;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.nav-action {
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #155eef 0%, #0b1220 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.mete-hero-center {
  width: min(580px, 100%);
  height: 560px;
}

.mete-logo-card {
  min-width: 232px;
  padding: 24px 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 32px 78px rgba(15, 23, 42, 0.18), 0 0 0 10px rgba(37, 99, 235, 0.05);
}

.mete-logo-card .float-main-logo {
  width: 178px;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  filter: none !important;
}

.float-icon {
  width: 176px;
  height: 84px;
  padding: 11px 14px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,245,255,0.94));
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16), 0 0 0 6px rgba(255,255,255,0.70);
  overflow: visible;
}

.float-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,0.34), rgba(8,145,178,0.12), rgba(162,118,43,0.22));
  z-index: -1;
}

.float-icon img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.float-icon span {
  display: block;
  align-self: center;
  color: #101828;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: left;
}

.float-icon-1 { top: 24px; left: -12px; }
.float-icon-2 { top: 24px; right: -12px; }
.float-icon-3 { bottom: 24px; left: -12px; }
.float-icon-4 { bottom: 24px; right: -12px; }

.orbit-ring {
  border-color: rgba(37, 99, 235, 0.24);
}

.orbit-ring-2 {
  border-color: rgba(8, 145, 178, 0.22);
}

.mete-preview {
  max-width: 860px;
  margin: 0 auto;
  background: #05070b;
}

.mete-preview .screenshot-img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #05070b;
}

.polar-note {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.78);
}

.theme-toggle,
.icon-sun,
.icon-moon {
  display: none !important;
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .mete-hero-center {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .site-header {
    margin-bottom: 28px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    border-radius: 18px;
  }

  .nav-brand-pill {
    min-width: 0;
    width: fit-content;
  }

  .nav-links {
    display: none;
  }

  .mete-hero-center {
    width: min(440px, 100%);
    height: 440px;
  }

  .mete-logo-card {
    min-width: 188px;
  }

  .mete-logo-card .float-main-logo {
    width: 142px;
  }

  .float-icon {
    width: 142px;
    height: 72px;
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 9px;
    border-radius: 18px;
  }

  .float-icon img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .float-icon span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nav-brand-pill span {
    display: none;
  }

  .nav-action {
    height: 42px;
    padding: 0 14px;
  }

  .mete-hero-center {
    width: min(350px, 100%);
    height: 360px;
  }

  .mete-logo-card {
    min-width: 150px;
    padding: 18px 20px;
  }

  .mete-logo-card .float-main-logo {
    width: 112px;
  }

  .float-icon {
    width: 118px;
    height: 62px;
    grid-template-columns: 32px 1fr;
  }

  .float-icon img {
    width: 32px;
    height: 32px;
  }

  .float-icon span {
    font-size: 10px;
  }

  .float-icon-1 { top: 12px; left: -8px; }
  .float-icon-2 { top: 12px; right: -8px; }
  .float-icon-3 { bottom: 12px; left: -8px; }
  .float-icon-4 { bottom: 12px; right: -8px; }
}

/* ── FLOW DEV HOME + PRODUCT HUB ────────────────────────────── */
.flow-brand-pill {
  background: linear-gradient(135deg, #ffffff, #f2f7ff);
  border-color: rgba(15, 23, 42, 0.10);
}

.flow-brand-pill .site-logo {
  object-fit: contain;
  padding: 7px;
  background: #fff;
}

.flow-hero-center {
  width: min(580px, 100%);
  height: 560px;
}

.flow-logo-card {
  min-width: 260px;
  padding: 26px 34px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 32px 78px rgba(15, 23, 42, 0.16), 0 0 0 10px rgba(37, 99, 235, 0.045);
}

.flow-logo-card .float-main-logo {
  width: 190px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  filter: none !important;
}

.product-float {
  color: inherit;
  text-decoration: none;
}

.product-float-live {
  border-color: rgba(124, 58, 237, 0.22);
  background: linear-gradient(135deg, #ffffff, #f6f0ff);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border-med);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)), var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--gold));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before,
.product-card-live::before {
  opacity: 1;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-card-top img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
}

.product-card h3 {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--text);
}

.product-card p {
  min-height: 78px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-card .btn {
  margin-top: auto;
}

.product-card button:disabled {
  cursor: default;
  opacity: 0.62;
}

@media (max-width: 1024px) {
  .product-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-hero-center {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .flow-hero-center {
    width: min(440px, 100%);
    height: 440px;
  }

  .flow-logo-card {
    min-width: 210px;
  }

  .flow-logo-card .float-main-logo {
    width: 152px;
  }
}

@media (max-width: 560px) {
  .product-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .flow-hero-center {
    width: min(350px, 100%);
    height: 360px;
  }

  .flow-logo-card {
    min-width: 170px;
    padding: 18px 20px;
  }

  .flow-logo-card .float-main-logo {
    width: 124px;
  }
}

/* ── REAL FLOW DEV LOGO + ASSET ICON FIXES ──────────────────── */
.flow-brand-pill {
  min-width: 184px;
  padding: 7px 14px;
}

.flow-brand-pill .site-logo {
  width: 152px;
  height: 42px;
  max-width: 152px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.flow-brand-pill span {
  display: none;
}

.flow-logo-card .float-main-logo {
  width: 214px;
}

.product-card-top img[src*="icon-"],
.float-icon img[src*="icon-"] {
  object-fit: cover;
  padding: 0;
  background: #ffffff;
}

.product-card-top img[src*="icon-"] {
  width: 72px;
  height: 54px;
  border-radius: 16px;
}

.float-icon img[src*="icon-"] {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.product-soon-logo {
  min-width: 260px;
  min-height: 180px;
  padding: 18px;
}

.product-soon-logo .float-main-logo {
  width: 220px;
  height: 150px;
  max-height: 150px;
  object-fit: cover;
  border-radius: 26px;
  filter: none !important;
}

.mete-logo-card .float-main-logo[src*="icon-meta"] {
  width: 230px;
  height: 160px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 26px;
}

.mete-preview {
  background: linear-gradient(135deg, #080b12, #10141c);
}

.mete-preview .screenshot-img[src*="meta-run-mockup"] {
  max-height: none;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  background: #0a0d13;
}

.footer-brand img[src*="flowdev-logo"] {
  width: 118px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.footer-brand:has(img[src*="flowdev-logo"]) {
  gap: 12px;
}

@media (max-width: 768px) {
  .flow-brand-pill {
    min-width: 150px;
  }

  .flow-brand-pill .site-logo {
    width: 132px;
    max-width: 132px;
  }
}

@media (max-width: 480px) {
  .flow-brand-pill {
    min-width: 124px;
    padding: 7px 10px;
  }

  .flow-brand-pill .site-logo {
    width: 108px;
    height: 36px;
    max-width: 108px;
  }
}

/* ── PREMIUM BUTTON + HOME HERO REFINEMENT ──────────────────── */
.site-header {
  padding-top: 14px;
}

.header-inner {
  min-height: 76px;
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255,255,255,0.95) inset;
}

.nav-links {
  max-width: 760px;
  margin: 0 auto;
  padding: 6px;
  background: linear-gradient(180deg, #f8fbff, #eef3f9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

.nav-links a {
  min-width: 96px;
  text-align: center;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-action,
.btn-primary,
.btn-gold {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  font-weight: 900;
}

.nav-action {
  height: 50px;
  min-width: 150px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 42%),
    linear-gradient(135deg, #2563eb 0%, #0f172a 96%);
  box-shadow:
    0 18px 34px rgba(37, 99, 235, 0.28),
    0 0 0 1px rgba(255,255,255,0.22) inset;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.nav-action::after,
.btn-primary::after,
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0 30%, rgba(255,255,255,0.42) 45%, transparent 60% 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.nav-action:hover,
.btn-primary:hover,
.btn-gold:hover {
  opacity: 1;
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.nav-action:hover::after,
.btn-primary:hover::after,
.btn-gold:hover::after {
  transform: translateX(120%);
}

.btn {
  height: 52px;
  border-radius: 14px;
  padding: 0 24px;
}

.btn-primary {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), transparent 38%),
    linear-gradient(135deg, #101828 0%, #020617 100%);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.24),
    0 0 0 1px rgba(255,255,255,0.10) inset;
}

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,248,252,0.92));
  color: #485467;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn-secondary:hover,
.btn-outline:hover {
  color: #101828;
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.btn-gold {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 42%),
    linear-gradient(135deg, #b77a27 0%, #dfae55 100%);
  box-shadow:
    0 18px 36px rgba(183, 122, 39, 0.24),
    0 0 0 1px rgba(255,255,255,0.18) inset;
}

.hero-section.flow-hero {
  padding-bottom: 110px !important;
}

.flow-hero .status-badge {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(37,99,235,0.06));
  border-color: rgba(16,185,129,0.22);
}

.flow-hero h1 {
  font-size: clamp(54px, 6.3vw, 92px);
  line-height: .91;
}

.flow-hero .hero-lede {
  font-size: 18.5px;
  max-width: 610px;
}

.flow-hero .hero-stats {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.11),
    0 1px 0 rgba(255,255,255,0.95) inset;
}

.flow-hero .hero-actions {
  gap: 14px;
}

.floating-center::before {
  opacity: 0.74;
}

.flow-logo-card {
  border-radius: 30px;
  transform: translateZ(44px);
  box-shadow:
    0 36px 92px rgba(37, 99, 235, 0.14),
    0 24px 60px rgba(15, 23, 42, 0.16),
    0 0 0 10px rgba(255,255,255,0.66);
}

.product-float {
  width: 190px;
  height: 92px;
  border-radius: 26px;
  grid-template-columns: 58px 1fr;
  padding: 12px 15px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(236,248,255,0.90)),
    #fff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow:
    0 26px 54px rgba(37, 99, 235, 0.13),
    0 14px 32px rgba(15, 23, 42, 0.11),
    0 0 0 6px rgba(255,255,255,0.66);
}

.product-float img {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  object-fit: cover !important;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.10);
}

.product-float span {
  font-size: 15px;
}

.product-showcase-grid {
  gap: 18px;
}

.product-card {
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,251,255,0.90)),
    #fff;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.10),
    0 1px 0 rgba(255,255,255,0.95) inset;
}

.product-card-top img {
  width: 78px;
  height: 60px;
}

.product-card-live {
  background:
    radial-gradient(circle at 18% 0%, rgba(37,99,235,0.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.card-badge {
  border-radius: 999px;
  padding: 6px 11px;
}

@media (max-width: 768px) {
  .nav-action {
    min-width: 126px;
    height: 46px;
  }

  .flow-hero h1 {
    font-size: clamp(46px, 12vw, 62px);
  }

  .product-float {
    width: 150px;
    height: 76px;
    grid-template-columns: 42px 1fr;
  }

  .product-float img {
    width: 42px !important;
    height: 42px !important;
  }
}

/* ── NO GRADIENT / NO NEON VISUAL SYSTEM ────────────────────── */
body {
  background: #f7f8fb !important;
}

.hero-section::before,
.floating-center::before,
.float-icon::after,
.feat-big-card::before,
.price-card::before,
.hiw-step::before,
.product-card::before,
.nav-action::after,
.btn-primary::after,
.btn-gold::after,
.orbit-ring,
.orbit-dot {
  display: none !important;
}

.site-header {
  background: transparent !important;
}

.header-inner {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
}

.nav-brand-pill,
.nav-links,
.hero-stats,
.trust-bar,
.feat-big-card,
.price-card,
.hiw-step,
.checkout-panel,
.screenshot-wrap,
.product-card,
.float-logo-wrap,
.float-icon,
.support-email-btn,
.polar-note {
  background: #ffffff !important;
  background-image: none !important;
}

.nav-links {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: none !important;
}

.nav-links a:hover {
  background: #f2f4f7 !important;
  box-shadow: none !important;
}

.nav-action,
.btn-primary {
  background: #111827 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16) !important;
}

.btn-gold {
  background: #a2762b !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(162, 118, 43, 0.16) !important;
}

.btn-secondary,
.btn-outline {
  background: #ffffff !important;
  color: #475467 !important;
  box-shadow: none !important;
}

.btn-secondary:hover,
.btn-outline:hover {
  background: #f2f4f7 !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  box-shadow: none !important;
}

.accent-word {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: #a2762b !important;
}

.status-badge {
  background: #eef8f2 !important;
  border-color: rgba(22, 163, 74, 0.20) !important;
  color: #128044 !important;
}

.status-dot {
  animation: none !important;
  box-shadow: none !important;
}

.flow-logo-card,
.mete-logo-card,
.product-soon-logo {
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12) !important;
}

.product-float,
.float-icon {
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10) !important;
}

.product-card,
.feat-big-card,
.price-card,
.hiw-step {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07) !important;
}

.product-card-live,
.price-card.featured {
  border-color: rgba(162, 118, 43, 0.26) !important;
}

.badge-monthly,
.badge-lifetime {
  background: #f7f0e4 !important;
  color: #8a5f20 !important;
  border-color: rgba(162, 118, 43, 0.22) !important;
}

.badge-free {
  background: #f2f4f7 !important;
  color: #475467 !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
}

.checkout-disabled,
.checkout-disabled:hover {
  cursor: not-allowed !important;
  transform: none !important;
  filter: none !important;
  opacity: 0.78 !important;
  background: #344054 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.product-card-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(16, 24, 40, 0.10);
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.product-card-live {
  min-height: 470px;
}

.product-card-live p {
  min-height: auto;
}

.mete-preview {
  max-width: 1100px !important;
  background: #ffffff !important;
}

.mete-preview .screenshot-img[src*="meta-run-real-ss"] {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
}

.screenshot-caption {
  background: #ffffff;
}

/* ── FAST SECTION FIXES: PRODUCT GRID + PRICING ─────────────── */
.product-showcase-grid {
  align-items: stretch;
}

.product-card {
  min-height: 520px;
}

.product-card:not(.product-card-live) {
  justify-content: flex-start;
}

.coming-preview {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 128px;
  margin: 2px 0 4px;
  padding: 18px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 18px;
  background: #f8fafc;
  text-align: center;
}

.coming-preview img {
  width: 74px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.coming-preview strong {
  font-size: 13px;
  line-height: 1.15;
  color: #101828;
}

.coming-preview span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a95a6;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  min-height: 500px;
  padding: 32px;
  border-radius: 24px;
}

.price-card.featured {
  transform: translateY(-8px);
}

.price-card:hover.featured {
  transform: translateY(-12px);
}

.card-price .amount {
  font-size: 48px;
}

.card-desc {
  max-width: 260px;
}

.checkout-disabled,
.checkout-disabled:hover {
  background: #111827 !important;
  opacity: 1 !important;
}

.price-card.featured .checkout-disabled,
.price-card.featured .checkout-disabled:hover {
  background: #9a6a24 !important;
}

.checkout-note {
  margin-top: 24px;
  border-color: rgba(16, 24, 40, 0.10);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
}

@media (max-width: 1024px) {
  .product-card {
    min-height: 470px;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card:hover.featured {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── FINAL UI QUALITY PASS ──────────────────────────────────── */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef1f5;
  --border: rgba(16, 24, 40, 0.08);
  --border-med: rgba(16, 24, 40, 0.13);
  --text: #090d14;
  --text-muted: #596579;
  --text-quiet: #8a95a6;
  --gold: #9a6a24;
  --blue: #1f5fd1;
  --green: #15914d;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 20px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 18px 44px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 28px 68px rgba(16, 24, 40, 0.13);
}

body {
  background: var(--bg) !important;
  color: var(--text);
}

.site-frame {
  width: min(1160px, calc(100% - 64px));
}

.site-header {
  margin-bottom: 60px;
}

.header-inner {
  min-height: 68px;
  padding: 8px 10px;
  border-radius: 18px;
  box-shadow: var(--shadow-md) !important;
}

.flow-brand-pill {
  min-width: 176px;
  height: 52px;
  justify-content: center;
  border-radius: 14px;
}

.nav-links {
  height: 50px;
  border-radius: 14px;
  background: #f6f7f9 !important;
}

.nav-links a {
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.nav-action,
.btn {
  height: 48px;
  border-radius: 12px;
  letter-spacing: 0;
}

.nav-action {
  min-width: 142px;
}

.hero-section {
  padding-bottom: 88px !important;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: clamp(44px, 5vw, 76px);
}

h1,
.flow-hero h1 {
  max-width: 650px;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.hero-lede,
.flow-hero .hero-lede {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.75;
  color: #566176;
}

.status-badge {
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  font-size: 12px;
}

.hero-stats {
  width: min(100%, 440px);
  padding: 16px 18px;
  border-radius: 16px;
}

.hero-stat strong {
  font-size: 18px;
}

.hero-stat span {
  letter-spacing: 0.04em;
}

.hero-actions .btn {
  min-width: 158px;
}

.hero-floating {
  min-height: 500px;
}

.flow-hero-center,
.mete-hero-center {
  height: 500px;
}

.float-logo-wrap {
  border-radius: 24px;
}

.flow-logo-card .float-main-logo {
  width: 198px;
}

.product-float,
.float-icon {
  width: 176px;
  height: 84px;
  border-radius: 22px;
}

.trust-bar {
  margin-bottom: 88px;
  padding: 17px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm) !important;
}

section {
  padding: 88px 0;
}

.section-header {
  margin-bottom: 42px;
}

.section-header h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.section-sub {
  max-width: 720px;
  font-size: 16px;
}

.product-showcase-grid,
.features-main-grid,
.pricing-grid-3 {
  gap: 18px;
}

.product-card,
.feat-big-card,
.price-card,
.hiw-step {
  border-radius: 22px;
  border-color: var(--border-med);
  box-shadow: var(--shadow-sm) !important;
}

.product-card:hover,
.feat-big-card:hover,
.price-card:hover,
.hiw-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

.product-card {
  min-height: 340px;
  padding: 28px;
}

.product-card h3 {
  font-size: 25px;
}

.product-card p {
  min-height: 86px;
  color: #5d6879;
}

.feat-big-card {
  padding: 30px;
}

.feat-num {
  width: fit-content;
  min-width: 42px;
  height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.feat-big-card h3 {
  font-size: 18px;
}

.hiw-layout {
  gap: 68px;
}

.hiw-step {
  padding: 26px;
}

.screenshot-section {
  padding: 90px 0;
}

.screenshot-wrap {
  border-radius: 24px;
  box-shadow: var(--shadow-lg) !important;
}

.pricing-grid-3 {
  align-items: stretch;
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(154, 106, 36, 0.30) !important;
  box-shadow: 0 18px 48px rgba(154, 106, 36, 0.12) !important;
}

.card-badge {
  width: fit-content;
  margin-bottom: 20px;
  font-size: 11px;
}

.card-name {
  font-size: 18px;
  margin-bottom: 14px;
}

.card-price {
  margin-bottom: 10px;
}

.card-price .amount {
  font-size: 44px;
}

.card-desc {
  min-height: 50px;
  margin-bottom: 22px;
  color: #5d6879;
}

.card-features {
  gap: 11px;
  margin-bottom: 28px;
}

.card-features li {
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
}

.price-card .btn,
.price-card button {
  margin-top: auto;
}

.checkout-disabled,
.checkout-disabled:hover {
  height: auto !important;
  min-height: 50px;
  padding: 12px 18px !important;
  border-radius: 13px !important;
  background: #667085 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  text-wrap: balance;
}

.checkout-note,
.polar-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  color: #5b6677;
  line-height: 1.55;
}

.checkout-note span {
  min-width: 0;
}

.checkout-note .inline-link {
  flex: 0 0 auto;
  font-weight: 800;
}

.support-section {
  padding: 76px 0;
}

.support-email-btn {
  border-radius: 14px;
  min-height: 50px;
}

.site-footer {
  padding-top: 28px;
}

@media (max-width: 1024px) {
  .site-frame {
    width: min(100% - 40px, 920px);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .site-frame {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 64px;
  }

  h1,
  .flow-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-lede,
  .flow-hero .hero-lede {
    font-size: 16px;
  }

  .hero-stats {
    width: 100%;
  }

  .checkout-note,
  .polar-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stat {
    padding: 4px 0;
  }

  .price-card {
    min-height: auto;
  }
}

/* Meta Run Polar-ready page polish */
.meta-review-hero {
  align-items: center;
}

.hero-disclaimer {
  max-width: 720px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 4px solid #9a6a24;
  border-radius: 14px;
  background: #ffffff;
  color: #526071;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}

.meta-hero-shot {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.meta-hero-shot img {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
}

.pricing-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-grid-5 .price-card {
  min-height: 475px;
  padding: 26px;
}

.pricing-grid-5 .card-desc {
  min-height: 72px;
}

.pricing-grid-5 .price-card.featured {
  border-color: rgba(154, 106, 36, 0.42) !important;
  background: #fffdf8;
}

.pricing-grid-5 .btn {
  min-height: 52px;
  border-radius: 14px;
  font-size: 14px;
  letter-spacing: 0;
}

.license-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: #536173;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}

.license-note strong {
  flex: 0 0 auto;
  color: #101722;
  font-size: 14px;
}

.product-card-note {
  min-height: 0 !important;
  margin-top: -10px;
  margin-bottom: 18px;
  color: #6b7483 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.post-purchase-section,
.responsible-use-section,
.comparison-section,
.faq-section {
  padding: 86px 0 0;
}

.info-panel {
  max-width: 980px;
  padding: 34px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.info-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.98;
}

.info-panel p {
  max-width: 880px;
  margin: 0;
  color: #536173;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.65;
}

.responsible-use-section .info-panel {
  border-color: rgba(154, 106, 36, 0.26);
  background: #0f141c;
}

.responsible-use-section .section-label,
.responsible-use-section h2 {
  color: #ffffff;
}

.responsible-use-section p {
  color: #d8dee8;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  color: #536173;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  vertical-align: middle;
}

.comparison-table th {
  background: #f5f7fa;
  color: #101722;
  font-size: 13px;
  text-transform: none;
  white-space: nowrap;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #ffffff;
  color: #101722;
  text-align: left;
}

.comparison-table th:first-child {
  z-index: 2;
  background: #f5f7fa;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0 0 12px;
  color: #101722;
  font-size: 17px;
  line-height: 1.25;
}

.faq-item p {
  margin: 0;
  color: #5b6677;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.footer-disclaimer {
  flex: 1 1 100%;
  margin: 10px 0 0;
  color: #6b7483;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .pricing-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pricing-grid-5,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid-5 .price-card {
    min-height: auto;
  }

  .pricing-grid-5 .card-desc {
    min-height: 0;
  }

  .info-panel {
    padding: 26px;
  }

  .license-note {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-disclaimer {
    font-size: 13px;
  }

  .meta-hero-shot {
    padding: 10px;
    border-radius: 20px;
  }

  .meta-hero-shot img {
    border-radius: 14px;
  }

  .post-purchase-section,
  .responsible-use-section,
  .comparison-section,
  .faq-section {
    padding-top: 64px;
  }
}
