/* ===== DESIGN TOKENS ===== */
:root {
  --brand: #1a6bff;
  --brand-dark: #1254cc;
  --brand-light: #e8f0ff;
  --brand-mid: #4a8bff;
  --ink: #0d0f14;
  --ink-2: #3a3f4a;
  --ink-3: #6b7280;
  --ink-4: #9ca3af;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #f1f3f8;
  --border: #e5e8ef;
  --border-2: #d1d5de;
  --success: #16a34a;
  --success-light: #dcfce7;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-brand: 0 8px 32px rgba(26,107,255,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  display: flex; align-items: center; gap: 32px;
  height: 60px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 22px;
  color: var(--brand); margin-right: auto;
  letter-spacing: -0.03em; cursor: pointer;
}
.nav-logo span { color: var(--ink); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 12px; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--brand); background: var(--brand-light); }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; color: #fff; text-decoration: none; transform: translateY(-1px); }

/* Pulse animation on nav CTA */
.pulse-cta {
  animation: subtlePulse 3s ease-in-out infinite;
}
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,107,255,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(26,107,255,0); }
}

/* ===== PAGES ===== */
.page { display: none; }
.page.active { display: block; }
.page.active { animation: fadeIn 0.22s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== SHARED SECTION STYLES ===== */
.section { padding: 96px max(24px, calc((100vw - 1120px) / 2)); }
.section-sm { padding: 64px max(24px, calc((100vw - 1120px) / 2)); }
.section-bg { background: var(--surface-2); }

.label {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-light);
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}

h2.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: var(--ink-3);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 56px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.18s; text-decoration: none !important;
}
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand-light); transform: translateY(-1px); }

/* Glow CTA button */
.btn-glow {
  box-shadow: 0 4px 24px rgba(26,107,255,0.35);
  position: relative; overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}
.btn-glow:hover { box-shadow: 0 8px 32px rgba(26,107,255,0.5); }

.btn-cta-final {
  font-size: 18px; padding: 18px 40px;
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.btn-cta-final:hover {
  box-shadow: 0 0 0 6px rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow);
}
.card-hover {
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-featured {
  border-color: var(--brand);
  background: linear-gradient(135deg, #f0f5ff 0%, #fff 100%);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.card-tag {
  display: inline-block; margin-top: 12px;
  background: var(--surface-3); color: var(--ink-3);
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; letter-spacing: 0.04em;
}
.card-tag-brand {
  background: var(--brand-light); color: var(--brand);
}

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ===== HERO ===== */
.hero {
  padding: 96px max(24px, calc((100vw - 1120px) / 2)) 80px;
  background: linear-gradient(175deg, #f0f5ff 0%, #fff 60%);
  position: relative; overflow: hidden;
}
/* Animated blobs */
.hero-blob {
  position: absolute; border-radius: 50%;
  pointer-events: none; opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(26,107,255,0.10) 0%, transparent 70%);
  animation-duration: 8s;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(100,160,255,0.08) 0%, transparent 70%);
  animation-duration: 12s;
  animation-delay: -4s;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.05); }
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light); color: var(--brand);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(26,107,255,0.2);
  animation: badgePop 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes badgePop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800; max-width: 820px;
  margin-bottom: 24px;
  line-height: 1.08;
  animation: heroSlide 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}
@keyframes heroSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-headline .accent { color: var(--brand); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-2); max-width: 560px;
  margin-bottom: 36px; line-height: 1.7;
  animation: heroSlide 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
  animation: heroSlide 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

/* Micro trust pills */
.hero-microtrust {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 56px;
  animation: heroSlide 0.5s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--ink-3); font-weight: 500;
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 100px;
}

/* ===== HERO OUTPUT PREVIEW ===== */
.hero-output-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 48px rgba(26,107,255,0.12), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  max-width: 740px;
  animation: heroSlide 0.7s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
.output-preview-label {
  padding: 14px 20px 10px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.output-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.otab {
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.otab:hover { color: var(--brand); }
.otab.active { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
.output-body { padding: 20px; min-height: 180px; }
.otab-content { display: none; }
.otab-content.active { display: block; }

.output-niche-tag {
  display: inline-block; font-size: 12px; color: var(--brand);
  background: var(--brand-light); padding: 3px 10px;
  border-radius: 100px; font-weight: 600; margin-bottom: 14px;
}

/* Idea items */
.output-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 8px;
  cursor: pointer; transition: all 0.15s;
}
.output-item:hover { border-color: var(--brand); background: var(--brand-light); }
.output-item.selected { border-color: var(--brand); background: var(--brand-light); }
.output-item-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-3); color: var(--ink-3);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.output-item.selected .output-item-num { background: var(--brand); color: #fff; }
.output-item-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.output-item-meta { font-size: 12px; color: var(--ink-3); }
.output-item-check { margin-left: auto; font-size: 16px; color: var(--brand); }

/* Caption items */
.caption-block {
  padding: 12px; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 10px;
}
.caption-block.selected-caption { border-color: var(--brand); background: var(--brand-light); }
.caption-label { font-size: 11px; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.caption-text { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* Hook items */
.hook-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 8px;
}
.hook-item.selected-hook { border-color: var(--brand); background: var(--brand-light); }
.hook-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  background: var(--surface-3); color: var(--ink-3);
  white-space: nowrap; flex-shrink: 0; margin-top: 2px;
}
.hook-text { font-size: 13px; color: var(--ink-2); line-height: 1.55; font-style: italic; }

.output-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.output-time { font-size: 12px; color: var(--ink-3); }

/* ===== SOCIAL PROOF TICKER ===== */
.proof-ticker {
  background: var(--brand);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 48px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.9);
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STATS BAND ===== */
.stats-band-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr 1fr; } }
.stat-item { padding: 8px; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-label { font-size: 14px; color: var(--ink-3); margin-top: 6px; }

/* ===== PROBLEM SECTION ===== */
.problem-section { background: #fafbff; }
.problem-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
@media (max-width: 900px) { .problem-inner { grid-template-columns: 1fr; } }
.problem-copy { padding-top: 8px; }

.pain-cards { display: flex; flex-direction: column; gap: 12px; }
.pain-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pain-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.pain-emoji { font-size: 26px; flex-shrink: 0; }
.pain-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.pain-text p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* ===== SOLUTION SECTION ===== */
.solution-section { background: var(--surface-2); }
/* .solution-inner { } */
.solution-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0;
  align-items: center; max-width: 900px; margin: 0 auto;
}
@media (max-width: 800px) {
  .solution-steps { grid-template-columns: 1fr; gap: 0; }
  .sol-arrow { transform: rotate(90deg); text-align: center; padding: 8px 0; }
}
.sol-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: center; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sol-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sol-step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.sol-step-icon { font-size: 32px; margin-bottom: 12px; }
.sol-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.sol-step p { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.sol-arrow { font-size: 24px; color: var(--brand-mid); padding: 0 16px; }

/* ===== FLOW VISUAL ===== */
.flow-section { background: var(--surface-2); text-align: center; }
.flow-steps {
  display: flex; align-items: center; gap: 0;
  justify-content: center; flex-wrap: wrap;
  margin: 48px 0 24px;
}
.flow-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 110px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.flow-step-highlight { border-color: var(--brand); background: var(--brand-light); }
.flow-step-icon { font-size: 26px; margin-bottom: 6px; }
.flow-step-label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.flow-step-time { font-size: 11px; color: var(--brand); font-weight: 600; }
.flow-arrow { font-size: 20px; color: var(--brand); padding: 0 4px; font-weight: 300; }
.flow-compare {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  margin-top: 8px;
  font-size: 15px; font-weight: 600;
}
.flow-old { color: var(--ink-3); }
.flow-vs { color: var(--ink-4); }
.flow-new { color: var(--success); }

/* ===== FEATURES ===== */
.features-section { background: #fff; }

/* ===== BEFORE/AFTER ===== */
.ba-section { background: var(--surface-2); }
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 0;
}
@media (max-width: 700px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card { border-radius: var(--radius-lg); padding: 32px; }
.ba-before { background: #fff5f5; border: 1px solid #fecaca; }
.ba-after { background: #f0fdf4; border: 1px solid #bbf7d0; }
.ba-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.ba-before h3 { color: #dc2626; }
.ba-after h3 { color: #16a34a; }
.ba-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ba-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.ba-text { font-size: 15px; color: var(--ink-2); }

/* ===== SOCIAL PROOF ===== */
.proof-section { background: #fff; }
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-featured {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
}
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.t-name { font-size: 14px; font-weight: 700; }
.t-handle { font-size: 13px; color: var(--ink-3); }

/* ===== PRICING PREVIEW ON HOME ===== */
.pricing-preview-section { background: var(--surface-2); }
.pricing-highlight-box {
  display: flex; align-items: stretch; gap: 20px;
  justify-content: center; margin-bottom: 16px;
  flex-wrap: wrap;
}
.ph-plan {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 36px;
  min-width: 200px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ph-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ph-plan-featured {
  border-color: var(--brand);
  background: linear-gradient(135deg, #f0f5ff 0%, #fff 100%);
  position: relative;
}
.ph-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 14px;
  border-radius: 100px; white-space: nowrap;
}
.ph-name { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ph-price { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.ph-price span { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.ph-desc { font-size: 12px; color: var(--ink-3); }
.ph-divider { display: flex; align-items: center; color: var(--ink-4); font-size: 13px; padding: 0 8px; }
.pricing-note-small { font-size: 14px; color: var(--ink-2); }

/* ===== PRICING PAGE ===== */
.pricing-toggle {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 48px; justify-content: center;
}
.toggle-label { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.toggle-label.active { color: var(--brand); font-weight: 600; }
.toggle-btn {
  width: 52px; height: 28px; border-radius: 100px;
  background: var(--brand); cursor: pointer;
  position: relative; transition: background 0.2s;
  border: none;
}
.toggle-btn .knob {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; transition: transform 0.2s;
}
.toggle-btn.yearly .knob { transform: translateX(24px); }
.price-badge {
  background: var(--success-light); color: var(--success);
  font-size: 12px; font-weight: 700; padding: 3px 10px;
  border-radius: 100px;
}
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(135deg, #f0f5ff 0%, #fff 100%);
  position: relative;
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 16px;
  border-radius: 100px; white-space: nowrap;
}
.price-tier { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.price-amount { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; line-height: 1; color: var(--ink); }
.price-period { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.price-desc { font-size: 14px; color: var(--ink-3); margin: 12px 0 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.price-features li .check { color: var(--success); font-size: 16px; flex-shrink: 0; }
.region-notice { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.pricing-note { text-align: center; margin-top: 20px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.pricing-note strong { color: var(--brand); }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  text-align: left; padding: 20px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--brand); }
.faq-a { padding: 0 0 20px; font-size: 15px; color: var(--ink-3); line-height: 1.7; display: none; }
.faq-a.open { display: block; }
.faq-icon { font-size: 20px; color: var(--ink-3); transition: transform 0.2s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--brand); color: #fff;
  padding: 80px max(24px, calc((100vw - 1120px) / 2));
  text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Upgraded CTA band */
.cta-band-upgraded {
  background: linear-gradient(135deg, #0a4aee 0%, #1a6bff 60%, #4a8bff 100%);
  position: relative; overflow: hidden;
}
.cta-band-upgraded::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-badge {
  display: inline-block; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
}
.cta-microtrust {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin-top: 16px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}

/* ===== STEP FLOW ===== */
.steps-list { max-width: 680px; }
.step-item { display: flex; gap: 20px; margin-bottom: 36px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 15px; color: var(--ink-3); }

/* ===== FEATURES PAGE ===== */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 80px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 800px) { .feature-row { grid-template-columns: 1fr; } }
.feature-visual {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  min-height: 240px; display: flex; align-items: center; justify-content: center;
}
.mock-ui {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 20px;
  width: 100%;
}
.mock-badge { display: inline-block; background: var(--brand-light); color: var(--brand); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 100px; margin: 2px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-thumb { height: 160px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-body { padding: 20px; }
.blog-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 8px; }
.blog-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-excerpt { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-bottom: 16px; }
.blog-meta { font-size: 12px; color: var(--ink-4); }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.legal-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--ink-2); }
.legal-content p { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content li { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: 6px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-2); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--surface); outline: none; transition: border 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--brand); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ===== DASHBOARD ===== */
.dash-layout {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; min-height: 520px;
}
@media (max-width: 800px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-sidebar { background: var(--ink); padding: 24px 16px; }
.dash-sidebar .brand { font-family: 'Syne', sans-serif; font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 28px; }
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  color: #94a3b8; font-size: 14px; font-weight: 500;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; cursor: pointer;
  transition: all 0.15s;
}
.dash-nav-item:hover, .dash-nav-item.active { background: rgba(255,255,255,0.08); color: #fff; }
.dash-main { background: var(--surface-2); padding: 28px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.dash-stat-val { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--ink); }
.dash-stat-label { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.dash-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.dash-panel h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.dash-draft { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.dash-draft:last-child { border-bottom: none; }
.draft-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.draft-info { flex: 1; }
.draft-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.draft-meta { font-size: 12px; color: var(--ink-3); }
.draft-status { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 100px; }
.status-draft { background: #fef3c7; color: #92400e; }
.status-sched { background: #dbeafe; color: #1e40af; }
.status-idea { background: var(--brand-light); color: var(--brand); }

/* ===== ABOUT PAGE ===== */
.founder-card {
  display: flex; gap: 32px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; margin-top: 48px;
}
@media (max-width: 700px) { .founder-card { flex-direction: column; } }

/* ===== PILL TAGS ===== */
.tag { display: inline-block; background: var(--surface-3); color: var(--ink-2); font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 100px; margin: 4px 3px; }
.tag-blue { background: var(--brand-light); color: var(--brand); }

/* ===== PROBLEM SECTION (old style preserved as fallback) ===== */
.problem-list { max-width: 600px; }
.problem-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.problem-item:last-child { border-bottom: none; }
.problem-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.problem-text h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.problem-text p { font-size: 15px; color: var(--ink-3); }

/* ===== PAGE HERO (generic) ===== */
.page-hero {
  padding: 64px max(24px, calc((100vw - 1120px) / 2)) 48px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: var(--ink-3); max-width: 560px; }

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 64px max(24px, calc((100vw - 1120px) / 2)) 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 10px; cursor: pointer; transition: color 0.15s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }

/* ===== MOBILE MENU ===== */
.hamburger {
  display: none; border: none; background: none;
  cursor: pointer; padding: 8px; color: var(--ink);
  font-size: 22px;
}
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ===== REGION TOGGLE ===== */
.region-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px; width: fit-content;
  margin-left: auto; margin-right: auto;
}
.region-btn {
  padding: 8px 20px; border-radius: 100px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.18s;
  background: transparent; color: var(--ink-3);
}
.region-btn.active {
  background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* ===== SUCCESS ALERT ===== */
.alert-success {
  background: var(--success-light); color: var(--success);
  padding: 14px 18px; border-radius: var(--radius); font-size: 15px;
  font-weight: 600; display: none; margin-top: 16px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 3-PLAN PRICING GRID ===== */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 480px; }
}

/* Pricing highlight box — 3 plans on homepage */
.pricing-highlight-box {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .pricing-highlight-box { flex-direction: column; align-items: center; }
  .ph-divider { transform: rotate(90deg); padding: 4px 0; }
}

/* ===== COMPARE TABLE ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 820px;
  margin: 0 auto;
  font-size: 14px;
}
.compare-table thead tr {
  border-bottom: 2px solid var(--border);
}
.compare-table th {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  text-align: center;
}
.compare-table th:first-child { text-align: left; }
.compare-table th.col-pro {
  color: var(--brand);
  font-weight: 700;
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.compare-table tbody tr:hover { background: var(--surface-2); }
.compare-table td {
  padding: 12px 16px;
  text-align: center;
  color: var(--ink-2);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}
.compare-table td.col-pro {
  color: var(--brand);
  font-weight: 600;
}

/* ===================================================
   FEEDBACK WIDGET
=================================================== */

/* Floating trigger button */
.fb-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.fb-trigger:hover {
  background: #1a1d24;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.30);
}
.fb-trigger.open {
  background: var(--ink-2);
}
.fb-trigger-icon { font-size: 16px; line-height: 1; }
.fb-trigger-label { letter-spacing: -0.01em; }

/* Panel */
.fb-panel {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9001;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  display: none;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), opacity 0.2s ease;
}
.fb-panel.visible {
  display: block;
  animation: fbSlideIn 0.25s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes fbSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.fb-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
}
.fb-header-left { display: flex; align-items: center; gap: 10px; }
.fb-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
  flex-shrink: 0;
}
.fb-header-name { font-weight: 700; font-size: 14px; color: #fff; }
.fb-header-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 1px; }
.fb-close {
  background: rgba(255,255,255,0.1);
  border: none; cursor: pointer;
  color: rgba(255,255,255,0.7);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: background 0.15s;
}
.fb-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Prompt text */
.fb-prompt {
  padding: 14px 18px 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.fb-prompt strong { color: var(--ink); }

/* Mode tabs */
.fb-modes {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.fb-mode-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.fb-mode-btn:hover { color: var(--brand); }
.fb-mode-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: var(--brand-light);
}

/* Body */
.fb-body { padding: 14px 18px; }

.fb-textarea {
  width: 100%;
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  resize: none;
  outline: none;
  line-height: 1.55;
  transition: border 0.2s;
}
.fb-textarea:focus { border-color: var(--brand); }
.fb-textarea::placeholder { color: var(--ink-4); }

.fb-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.fb-email {
  flex: 1;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border 0.2s;
  min-width: 0;
}
.fb-email:focus { border-color: var(--brand); }
.fb-email::placeholder { color: var(--ink-4); }
.fb-submit-btn { padding: 9px 18px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }

/* Voice area */
.fb-voice-area {
  text-align: center;
  padding: 8px 0 4px;
}
.fb-voice-idle { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; }
.fb-record-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(26,107,255,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.fb-record-btn:hover { transform: scale(1.06); box-shadow: 0 6px 28px rgba(26,107,255,0.45); }
.fb-voice-hint { font-size: 13px; color: var(--ink-3); }

/* Recording state */
.fb-voice-recording {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0;
}
.fb-recording-pulse {
  display: flex; align-items: center; gap: 10px;
  background: #fff5f5; border: 1px solid #fecaca;
  border-radius: 100px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; color: #dc2626;
}
.fb-rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #dc2626;
  animation: recPulse 1s ease-in-out infinite;
}
@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
/* .fb-rec-label { } */
.fb-stop-btn { padding: 8px 24px; font-size: 13px; }

/* Done state */
.fb-voice-done { padding: 8px 0; }
.fb-playback {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface-2); border-radius: 10px; padding: 12px;
}
.fb-play-icon { font-size: 18px; margin-bottom: 4px; }

/* Success state */
.fb-success {
  padding: 24px 18px;
  text-align: center;
}
.fb-success-icon { font-size: 36px; margin-bottom: 10px; }
.fb-success h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fb-success p { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin-bottom: 4px; }
.fb-success-sig { font-style: italic; font-weight: 600; color: var(--brand) !important; }

/* Overlay (mobile) */
.fb-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 8999;
}
.fb-overlay.visible { display: block; }

@media (max-width: 480px) {
  .fb-trigger { bottom: 16px; right: 16px; padding: 11px 16px; font-size: 13px; }
  .fb-panel { bottom: 72px; right: 16px; left: 16px; width: auto; }
}
/* ===== HOW IT WORKS SECTION ===== */
.hiw-section { background: #fff; }

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.hiw-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 0;
}

.hiw-step-icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.hiw-step-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.hiw-step:hover .hiw-step-icon {
  background: var(--brand-light);
  border-color: var(--brand);
}

.hiw-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.hiw-step-content {
  padding-top: 8px;
}

.hiw-step-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.hiw-step-content p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 560px;
}

.hiw-connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--border-2), var(--border));
  margin-left: 27px;
  flex-shrink: 0;
}

.hiw-step-final .hiw-step-icon {
  background: var(--brand-light);
  border-color: var(--brand);
}

.hiw-icon-final .hiw-step-icon {
  background: linear-gradient(135deg, var(--brand-light) 0%, #e0eaff 100%);
  border-color: var(--brand);
}

.hiw-time-compare {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 12px;
}

.htc-before { color: var(--ink-3); }
.htc-arrow { color: var(--brand); font-size: 20px; }
.htc-after { color: var(--success); }

@media (max-width: 640px) {
  .hiw-step { gap: 16px; }
  .hiw-step-content h4 { font-size: 16px; }
  .hiw-step-content p { font-size: 14px; }
  .hiw-time-compare { flex-direction: column; text-align: center; padding: 20px; }
  .htc-arrow { transform: rotate(90deg); }
}

/* ===== HERO PREVIEW — SCRIPT TAB ===== */
.script-block {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: all 0.15s;
}
.script-block.selected-script {
  border-color: var(--brand);
  background: var(--brand-light);
}
.script-scene-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.script-scene-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  font-style: italic;
}

/* ===== HERO PREVIEW — SHOOT GUIDE TAB ===== */
.shoot-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: all 0.15s;
}
.shoot-guide-item.selected-shoot {
  border-color: var(--brand);
  background: var(--brand-light);
}
.shoot-scene-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.shoot-guide-item.selected-shoot .shoot-scene-num {
  background: var(--brand);
  color: #fff;
}
.shoot-scene-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.shoot-scene-detail {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
