/* ============================================================
   Sections — nav, hero, trust, features, how, demo, pricing, cta, footer
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav{
  position:sticky; top:0; z-index:50;
  transition:background .3s, box-shadow .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.nav.is-scrolled{
  background:rgba(255,255,255,.82); backdrop-filter:saturate(180%) blur(16px);
  border-bottom-color:var(--line); box-shadow:0 1px 0 rgba(10,19,34,.02);
}
.nav-inner{ height:74px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.nav-logo .logo-svg{ height:24px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:15px; font-weight:500; color:var(--body); transition:color .2s; white-space:nowrap; }
.nav-links a:hover{ color:var(--ink); }
.nav-actions{ display:flex; align-items:center; gap:18px; }
.nav-signin{ font-size:15px; font-weight:550; color:var(--ink); white-space:nowrap; }
.nav-signin:hover{ color:var(--accent); }
@media(max-width:900px){ .nav-links{ display:none; } }
@media(max-width:520px){ .nav-signin{ display:none; } }

/* ---------------- HERO ---------------- */
.hero{ position:relative; padding:72px 0 96px; overflow:hidden; }
.hero-bg{
  position:absolute; inset:-10% -10% auto -10%; height:780px; z-index:0;
  background:
    radial-gradient(60% 70% at 78% 8%, rgba(45,107,255,.13), transparent 60%),
    radial-gradient(50% 60% at 12% 0%, rgba(91,134,255,.10), transparent 55%),
    linear-gradient(180deg, #f4f7fc 0%, rgba(244,247,252,0) 70%);
  pointer-events:none;
}
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.02fr .98fr; gap:64px; align-items:center; }
.hero-copy{ padding-top:8px; }
.hero-chip{ margin-bottom:24px; background:#fff; box-shadow:var(--shadow-sm); white-space:nowrap; }
.hero-chip-dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }
.hero .h-display{ margin-bottom:22px; }
.hero-lede{ margin-bottom:34px; }
.hero-cta{ margin-bottom:34px; }
.hero-meta{ display:flex; align-items:center; gap:12px; font-size:14.5px; color:var(--muted); }
.hero-meta strong{ color:var(--ink); font-weight:650; }
.hero-stars{ display:flex; gap:2px; color:#2d6bff; }
.hero-stars svg{ width:16px; height:16px; }

.hero-demo{ position:relative; }
.hero-demo-glow{
  position:absolute; inset:-8% -6% -12% -6%; z-index:0; border-radius:40px;
  background:radial-gradient(60% 60% at 60% 30%, rgba(45,107,255,.22), transparent 70%);
  filter:blur(10px);
}
.hero-demo .qd{ position:relative; z-index:1; }
.hero-float{
  position:absolute; z-index:2; display:flex; align-items:center; gap:12px;
  background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:12px 16px 12px 12px; box-shadow:var(--shadow-lg);
}
.hero-float--qr{ left:-34px; bottom:38px; animation:floaty 5s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
.hero-qr{ width:52px; height:52px; border-radius:11px; background:#fff; border:1px solid var(--line); flex:none; overflow:hidden; }
.hero-qr img{ width:100%; height:100%; object-fit:contain; display:block; }
.hero-float-k{ font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.hero-float-v{ font-size:14px; font-weight:650; color:var(--ink); letter-spacing:-.01em; }

@media(max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:54px; }
  .hero-copy{ max-width:640px; }
  .hero-demo{ max-width:480px; }
  .hero-float--qr{ left:auto; right:-12px; }
}
@media(max-width:520px){
  .hero-float--qr{ display:none; }
}

/* ---------------- TRUST ---------------- */
.trust{ padding:8px 0 56px; }
.trust-label{ text-align:center; font-size:13px; font-weight:600; letter-spacing:.05em; color:var(--muted); margin:0 0 20px; }
.trust-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px 18px; }
.trust-item{
  font-size:18px; font-weight:600; color:var(--ink-soft); letter-spacing:-.02em;
  opacity:.62; transition:opacity .25s, transform .25s; padding:6px 4px;
}
.trust-item:hover{ opacity:1; transform:translateY(-1px); }
@media(max-width:600px){ .trust-item{ font-size:15px; } }

/* ---------------- EVENT TYPES (cards) ---------------- */
.etype-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:820px; margin:0 auto; }
.etype{
  display:flex; align-items:center; justify-content:center; text-align:center;
  min-height:86px; padding:20px 18px; background:#fff; border:1px solid var(--line);
  border-radius:var(--r); box-shadow:var(--shadow-sm);
  font-size:22px; font-weight:650; letter-spacing:-.025em; line-height:1.15; color:var(--ink);
  transition:transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.etype:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:#dbe3ef; }
@media(max-width:760px){ .etype-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:430px){ .etype-grid{ grid-template-columns:1fr; } .etype{ min-height:64px; font-size:20px; } }

/* ---------------- SECTION HEAD ---------------- */
.sec-head{ text-align:center; margin-bottom:62px; }
.sec-head h2{ max-width:820px; margin-left:auto; margin-right:auto; }
.sec-head .eyebrow{ margin-bottom:18px; }

/* ---------------- FEATURES ---------------- */
.feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feat{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:32px 30px 34px; transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feat:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:#dbe3ef; }
.feat-ic{
  width:50px; height:50px; border-radius:14px; margin-bottom:22px;
  display:flex; align-items:center; justify-content:center;
  background:var(--accent-soft); color:var(--accent);
}
.feat-ic svg{ width:24px; height:24px; }
.feat .h-card{ margin-bottom:11px; }
.feat-body{ font-size:15.5px; line-height:1.6; color:var(--body); margin:0; }
@media(max-width:900px){ .feat-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .feat-grid{ grid-template-columns:1fr; } }

/* ---------------- HOW IT WORKS ---------------- */
.steps{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.steps-line{ position:absolute; top:30px; left:14%; right:14%; height:2px; background:linear-gradient(90deg,transparent,var(--line) 12%,var(--line) 88%,transparent); z-index:0; }
.step{ position:relative; z-index:1; text-align:left; }
.step-n{
  width:60px; height:60px; border-radius:50%; margin-bottom:24px;
  display:flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm);
  font-size:19px; font-weight:700; color:var(--accent); letter-spacing:-.02em;
}
.step-title{ margin-bottom:10px; }
.step-body{ font-size:15.5px; color:var(--body); margin:0; max-width:330px; }
@media(max-width:760px){ .steps{ grid-template-columns:1fr; gap:36px; } .steps-line{ display:none; } }

/* ---------------- DEMO SECTION ---------------- */
.demo-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center; }
.demo-stage{ position:relative; max-width:460px; }
.demo-stage-glow{ position:absolute; inset:-10%; border-radius:40px; background:radial-gradient(60% 60% at 50% 30%, rgba(45,107,255,.16), transparent 70%); filter:blur(8px); }
.demo-stage .qd{ position:relative; z-index:1; }
.demo-points{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.demo-point{ display:flex; gap:18px; padding:22px 24px; background:#fff; border:1px solid var(--line); border-radius:var(--r); transition:transform .3s var(--ease), box-shadow .3s; }
.demo-point:hover{ transform:translateX(4px); box-shadow:var(--shadow-sm); }
.demo-point-ic{ width:44px; height:44px; flex:none; border-radius:12px; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; }
.demo-point-ic svg{ width:21px; height:21px; }
.demo-point-title{ font-size:17px; font-weight:650; color:var(--ink); letter-spacing:-.02em; margin:0 0 4px; }
.demo-point-body{ font-size:14.5px; color:var(--body); margin:0; line-height:1.55; }
@media(max-width:920px){ .demo-grid{ grid-template-columns:1fr; gap:44px; } .demo-stage{ margin:0 auto; } }

/* ---------------- TESTIMONIAL ---------------- */
.quote{ max-width:880px; margin:0 auto; text-align:center; }
.quote-mark{ width:54px; height:54px; margin:0 auto 26px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; }
.quote-mark svg{ width:26px; height:26px; }
.quote-text{ font-size:clamp(24px,3vw,34px); line-height:1.32; font-weight:600; letter-spacing:-.03em; color:var(--ink); margin:0 0 30px; text-wrap:balance; }
.quote-text em{ font-style:italic; color:var(--accent); }
.quote-by{ display:inline-flex; align-items:center; gap:14px; }
.quote-ava{ width:48px; height:48px; border-radius:50%; background:linear-gradient(140deg,#0a1322,#22386a); color:#fff; font-weight:700; font-size:16px; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none; }
.quote-ava img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.quote-name{ font-weight:650; color:var(--ink); text-align:left; }
.quote-role{ font-size:14px; color:var(--muted); text-align:left; }

/* ---------------- PRICING ---------------- */
.price-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.price{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:34px 30px; transition:transform .35s var(--ease), box-shadow .35s; }
.price:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.price--featured{ border-color:transparent; box-shadow:var(--shadow-lg); background:linear-gradient(180deg,#0a1322,#13213a); color:#fff; transform:translateY(-10px); }
.price--featured:hover{ transform:translateY(-14px); }
.price-badge{ position:absolute; top:-13px; left:30px; display:inline-flex; align-items:center; gap:6px; height:26px; padding:0 13px; border-radius:999px; background:var(--accent); color:#fff; font-size:12px; font-weight:650; box-shadow:var(--shadow-blue); white-space:nowrap; }
.price-badge svg{ width:14px; height:14px; }
.price-tag{ font-size:13px; font-weight:600; color:var(--muted); letter-spacing:.02em; }
.price--featured .price-tag{ color:#9cc0ff; }
.price-name{ font-size:22px; font-weight:700; letter-spacing:-.02em; margin:6px 0 16px; color:var(--ink); }
.price--featured .price-name{ color:#fff; }
.price-amt{ display:flex; align-items:baseline; gap:7px; margin-bottom:24px; }
.price-num{ font-size:42px; font-weight:750; letter-spacing:-.04em; color:var(--ink); white-space:nowrap; }
.price--featured .price-num{ color:#fff; }
.price-per{ font-size:15px; color:var(--muted); font-weight:500; }
.price--featured .price-per{ color:#9fb0cb; }
.price-btn{ width:100%; margin-bottom:26px; }
.price-btn.btn--ghost{ border-width:1.5px; border-color:#b9c8df; }
.price-btn.btn--ghost:hover{ border-color:var(--accent); }
.price--featured .price-btn.btn--primary{ background:#fff; color:var(--ink); box-shadow:none; }
.price--featured .price-btn.btn--primary:hover{ background:#eef2f8; transform:translateY(-2px); }
.price-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px; }
.price-list li{ display:flex; align-items:center; gap:11px; font-size:15px; color:var(--body); }
.price--featured .price-list li{ color:var(--on-dark); }
.price-check{ width:21px; height:21px; flex:none; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; }
.price-check svg{ width:13px; height:13px; }
.price--featured .price-check{ background:rgba(45,107,255,.25); color:#9cc0ff; }
@media(max-width:880px){ .price-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } .price--featured{ transform:none; } .price--featured:hover{ transform:translateY(-4px); } }

/* billing toggle */
.price-toggle{ display:flex; align-items:center; gap:4px; width:max-content; margin:-30px auto 46px; padding:4px; background:#fff; border:1px solid var(--line); border-radius:999px; box-shadow:var(--shadow); }
.price-toggle-opt{ border:0; background:transparent; cursor:pointer; font:inherit; font-size:14.5px; font-weight:650; color:var(--muted); padding:9px 18px; border-radius:999px; display:inline-flex; align-items:center; gap:8px; transition:background .2s, color .2s, box-shadow .2s; }
.price-toggle-opt:hover{ color:var(--ink); }
.price-toggle-opt.is-on{ background:var(--accent); color:#fff; box-shadow:var(--shadow-blue); }
.price-toggle-opt.is-on:hover{ color:#fff; }
.price-toggle-save{ font-size:11.5px; font-weight:700; padding:2px 7px; border-radius:999px; background:var(--accent-soft); color:var(--accent-ink); }
.price-toggle-opt.is-on .price-toggle-save{ background:rgba(255,255,255,.22); color:#fff; }

/* per-card sub-note (annual breakdown) */
.price-amt{ margin-bottom:6px; }
.price-sub{ min-height:18px; font-size:13px; font-weight:500; color:var(--muted); margin:0 0 20px; }
.price--featured .price-sub{ color:#9fb0cb; }

/* add-on line under the grid */
.price-addons{ text-align:center; margin:34px auto 0; max-width:700px; font-size:15px; line-height:1.65; color:var(--body); }
.price-addons strong{ color:var(--ink); font-weight:700; }

/* ---------------- CTA ---------------- */
.cta{ position:relative; border-radius:var(--r-xl); overflow:hidden; background:var(--ink); padding:78px 40px; text-align:center; }
.cta-bg{ position:absolute; inset:0; background:radial-gradient(70% 120% at 50% -10%, rgba(45,107,255,.45), transparent 60%), radial-gradient(60% 90% at 90% 110%, rgba(91,134,255,.3), transparent 60%); }
.cta-eqs{ position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:center; gap:6px; opacity:.16; padding-bottom:0; }
.cta-eqs span{ width:8px; background:#7aa0ff; border-radius:3px 3px 0 0; height:100%; transform-origin:bottom; animation:ctaeq 1s ease-in-out infinite; }
@keyframes ctaeq{ 0%,100%{ transform:scaleY(.12); } 50%{ transform:scaleY(.85); } }
.cta-inner{ position:relative; z-index:1; }
.cta-inner .eyebrow{ margin-bottom:20px; }
.cta-title{ font-size:clamp(32px,4.4vw,52px); font-weight:700; letter-spacing:-.04em; line-height:1.04; color:#fff; margin:0 0 16px; }
.cta-sub{ font-size:18px; color:var(--on-dark-mut); margin:0 auto 32px; max-width:480px; }
.cta-actions{ justify-content:center; }

/* ---------------- FOOTER ---------------- */
.footer{ background:var(--ink); color:var(--on-dark); padding:72px 0 36px; }
.footer-grid{ display:grid; grid-template-columns:1.1fr 2fr; gap:60px; padding-bottom:48px; border-bottom:1px solid var(--line-dark); }
.footer-brand{ max-width:320px; }
.footer-tag{ font-size:15px; color:var(--on-dark-mut); line-height:1.6; margin:20px 0 24px; }
.footer-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
.footer-h{ font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; margin-bottom:16px; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14.5px; color:var(--on-dark-mut); transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding-top:26px; font-size:14px; color:var(--on-dark-mut); }
.footer-legal{ display:flex; gap:24px; }
.footer-legal a:hover{ color:#fff; }
@media(max-width:820px){ .footer-grid{ grid-template-columns:1fr; gap:40px; } .footer-cols{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .footer-bottom{ flex-direction:column; gap:14px; } }
