* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
}
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }

/* ── Nav — matches index.php's site-nav exactly ─────────────────────────── */
.site-nav {
  background: #1a1a2e; height: 60px; display: flex; align-items: center;
  padding: 0 40px; justify-content: space-between; position: sticky; top: 0; z-index: 1000;
}
.nav-logo { color: white; font-size: 17px; font-weight: 700; text-decoration: none; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 6px; transition: color .15s, background .15s; white-space: nowrap; }
.nav-links a:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-links a.nav-cta { background: #4a90e2; color: white; font-weight: 600; padding: 7px 18px; margin-left: 4px; }
.nav-links a.nav-cta:hover { background: #357abd; }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px 2px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: transform .22s, opacity .15s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media(max-width:900px) {
  .site-nav { position: relative; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #1a1a2e; border-top: 1px solid rgba(255,255,255,0.1); padding: 8px 20px 16px; flex-direction: column; gap: 2px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 15px; }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ── Footer — matches index.php's site-footer exactly ───────────────────── */
.site-footer { background: #111827; padding: 64px 24px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media(max-width:720px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media(max-width:420px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand-logo { font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 220px; }
.footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ds11-hero { text-align: center; padding: 64px 24px 40px; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.ds11-badge { display: inline-block; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: #1a1a2e; margin-bottom: 20px; }
.ds11-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; margin: 0 0 16px; color: #1a1a2e; }
.ds11-hero p.sub { font-size: 18px; color: #475569; max-width: 620px; margin: 0 auto; line-height: 1.6; }
@media(max-width:640px) { .ds11-hero h1 { font-size: 30px; } .ds11-hero p.sub { font-size: 16px; } }

/* ── Demo card — wraps the REAL filler.js-rendered form ──────────────────
   #fill-area/#filler-canvas-wrap/#filler-canvas/#voice-panel below all come
   from filler.css as-is; this file only adds the gamified layer on top. ── */
.demo-wrap { max-width: 900px; margin: 0 auto; padding: 0 24px 72px; }
.demo-card { background: #fff; border-radius: 20px; box-shadow: 0 12px 48px rgba(26,26,46,0.12); border: 1px solid #eef1f5; padding: 0; position: relative; overflow: hidden; }
#fill-area { min-height: 0; padding: 0; }
#voice-panel { border-radius: 20px 20px 0 0; position: relative; }

/* Covers the whole mic bar once the one demo attempt is used up — a real
   <button disabled> gives no feedback on click, so this sits on top and
   opens the paywall instead. Hidden/inert until JS activates it. */
#demo-mic-lock { position: absolute; inset: 0; z-index: 5; cursor: not-allowed; display: none; }
#demo-mic-lock.active { display: block; }

/* filler.js unconditionally adds .visible to these on load — this page uses
   its own .site-nav instead of filler's tool nav, and has no submit/AI-check
   actions for anonymous visitors, so both stay hidden regardless. */
#fill-nav.visible, #action-bar.visible { display: none !important; }

.demo-unavailable { padding: 48px 32px; text-align: center; color: #64748b; font-size: 15px; }

#filler-canvas-wrap { position: relative; transition: filter .3s; }
#filler-canvas-wrap.blurred { filter: blur(5px); user-select: none; }

/* Sits on top of the real rendered fields at all times — any click here
   (even after the fields are filled) opens the paywall instead of letting
   the browser focus a real input underneath. */
#demo-click-catcher {
  position: absolute; inset: 0; z-index: 5; cursor: not-allowed;
}

/* ── Stats + CTA (post-demo) — sit below the card's edge-to-edge canvas,
   so these get their own horizontal padding rather than inheriting it. ── */
.demo-stats { display: none; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 14px; padding: 20px 22px; margin: 24px 32px 0; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.demo-stats.show { display: block; opacity: 1; transform: translateY(0); }
.demo-stats .headline { font-size: 16px; font-weight: 700; color: #0c4a6e; margin-bottom: 4px; }
.demo-stats .sub { font-size: 13px; color: #075985; }

.demo-cta { display: none; margin: 24px 32px 0; opacity: 0; transform: translateY(12px); transition: opacity .4s .15s, transform .4s .15s; }
.demo-cta.show { display: block; opacity: 1; transform: translateY(0); }
.demo-cta h3 { font-size: 18px; font-weight: 800; text-align: center; margin: 0 0 12px; }
.demo-cta ul { list-style: none; padding: 0; margin: 0 0 20px; max-width: 340px; margin-left: auto; margin-right: auto; }
.demo-cta li { font-size: 14px; color: #334155; padding: 4px 0; }
.demo-cta li::before { content: '✓ '; color: #16a34a; font-weight: 800; }
.demo-cta-buttons { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }
.demo-cta-buttons a { display: block; text-align: center; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.demo-cta-buttons a.primary { background: #4a90e2; color: #fff; }
.demo-cta-buttons a.primary:hover { background: #357abd; }
.demo-cta-buttons a.secondary { background: #fff; color: #1a1a2e; border: 1.5px solid #e2e8f0; }
.demo-cta-buttons a.secondary:hover { border-color: #94a3b8; }
.demo-signin-hint { text-align: center; font-size: 13px; color: #94a3b8; margin-top: 14px; }
.demo-signin-hint a { color: #4a90e2; text-decoration: none; }

.demo-page2-gate { display: none; text-align: center; margin: 18px 32px 32px; }
.demo-page2-gate.show { display: block; }
.demo-page2-gate button { background: none; border: 1.5px dashed #cbd5e1; color: #64748b; border-radius: 10px; padding: 12px 18px; font-size: 14px; cursor: pointer; width: 100%; }
.demo-page2-gate button:hover { border-color: #94a3b8; color: #1a1a2e; }

.demo-error-banner { display: none; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 14px 18px; font-size: 14px; margin: 16px 32px 0; text-align: center; }
.demo-error-banner.show { display: block; }

/* ── Paywall modal ────────────────────────────────────────────────────── */
.paywall-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9500; align-items: center; justify-content: center; padding: 20px; }
.paywall-overlay.show { display: flex; }
.paywall-modal { background: #fff; border-radius: 20px; max-width: 900px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 36px 32px; position: relative; animation: paywall-up .25s ease; }
@keyframes paywall-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.paywall-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 22px; color: #94a3b8; cursor: pointer; line-height: 1; padding: 4px; }
.paywall-close:hover { color: #1a1a2e; }
.paywall-modal h2 { text-align: center; font-size: 24px; font-weight: 800; margin: 0 0 8px; color: #1a1a2e; }
.paywall-modal p.paywall-sub { text-align: center; color: #64748b; font-size: 14px; margin: 0 0 28px; }
.paywall-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media(max-width:760px) { .paywall-tiers { grid-template-columns: 1fr; } }
.paywall-tier { border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 22px 18px; text-align: center; position: relative; }
.paywall-tier.highlight { border-color: #4a90e2; box-shadow: 0 8px 24px rgba(74,144,226,0.18); }
.paywall-tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #f6c752; color: #1a1a2e; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.paywall-tier h3 { font-size: 16px; font-weight: 800; margin: 6px 0 4px; }
.paywall-tier .price { font-size: 22px; font-weight: 800; color: #1a1a2e; margin-bottom: 14px; }
.paywall-tier .price span { font-size: 13px; font-weight: 500; color: #94a3b8; }
.paywall-tier ul { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.paywall-tier li { font-size: 13px; color: #334155; padding: 4px 0; }
.paywall-tier li.no::before { content: '✗ '; color: #cbd5e1; }
.paywall-tier li:not(.no)::before { content: '✓ '; color: #16a34a; font-weight: 800; }
.paywall-tier a.tier-btn { display: block; text-align: center; padding: 11px; border-radius: 9px; font-weight: 700; font-size: 14px; text-decoration: none; background: #f1f5f9; color: #1a1a2e; }
.paywall-tier.highlight a.tier-btn { background: #4a90e2; color: #fff; }
.paywall-tier a.tier-btn:hover { opacity: .88; }
.paywall-maybe-later { display: block; text-align: center; margin-top: 20px; color: #94a3b8; font-size: 13px; background: none; border: none; cursor: pointer; }
.paywall-maybe-later:hover { color: #64748b; }

/* ── Content sections (About / Need / FAQ / Related) ─────────────────── */
.content-section { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.content-section h2 { font-size: 26px; font-weight: 800; color: #1a1a2e; margin: 0 0 16px; }
.content-section p { font-size: 15px; line-height: 1.75; color: #334155; margin: 0 0 14px; }
.content-section ul { padding-left: 20px; margin: 0 0 14px; }
.content-section li { font-size: 15px; line-height: 1.75; color: #334155; margin-bottom: 6px; }

.faq-item { border-bottom: 1px solid #e2e8f0; padding: 18px 0; }
.faq-item summary { font-size: 16px; font-weight: 700; color: #1a1a2e; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+ '; color: #4a90e2; }
.faq-item[open] summary::before { content: '– '; }
.faq-item p { margin: 10px 0 0; }

.related-forms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.related-forms a { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: #1a1a2e; }
.related-forms a:hover { border-color: #4a90e2; color: #4a90e2; }
