/* ── BillTrade website — shared styles ─────────────────────────────────────── */
:root {
  --brand: #10b981;
  --brand-2: #0d9488;
  --brand-dark: #059669;
  --brand-deep: #047857;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --soft: #f0fdf7;
  --soft-2: #ecfdf5;
  --border: #e2e8f0;
  --radius: 16px;
  --grad: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, .14);
  --shadow-lg: 0 28px 60px -16px rgba(15, 23, 42, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0; color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.2; }
a { color: var(--brand-deep); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

/* Selection */
::selection { background: #a7f3d0; color: #064e3b; }

/* ── Nav ───────────────────────────────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; z-index: 50;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
header.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .18);
  background: rgba(255, 255, 255, .94);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem; max-width: 1120px; margin: 0 auto; position: relative;
}
.brand {
  display: flex; align-items: center; gap: .55rem; font-weight: 800;
  font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--brand-dark); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800;
  box-shadow: 0 6px 16px -4px rgba(16, 185, 129, .55);
}
/* legacy mark, kept for safety */
.brand .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: inline-block; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a:hover { color: var(--brand-deep); text-decoration: none; }
.nav-links a.active { color: var(--brand-deep); }
.nav-links a.active:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2.5px;
  border-radius: 2px; background: var(--grad);
}
.nav-toggle { display: none; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--grad); color: #fff !important; padding: .72rem 1.5rem;
  border-radius: 12px; font-weight: 700; font-size: .98rem; line-height: 1.3;
  text-decoration: none !important; border: none; cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(16, 185, 129, .55);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(16, 185, 129, .6); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: #fff; color: var(--brand-deep) !important;
  border: 1.5px solid #a7f3d0; box-shadow: var(--shadow-sm);
}
.btn.ghost:hover { background: var(--soft); border-color: var(--brand); box-shadow: var(--shadow-md); }
.nav-links .btn { padding: .55rem 1.2rem; font-size: .92rem; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 5rem 1.25rem 4.5rem; text-align: center;
  background:
    radial-gradient(820px 420px at 12% -10%, rgba(16, 185, 129, .38), transparent 62%),
    radial-gradient(700px 400px at 88% -5%, rgba(45, 212, 191, .22), transparent 60%),
    linear-gradient(165deg, #042f24 0%, #064e3b 55%, #053826 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 80%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1rem; font-weight: 800; }
.hero p { font-size: 1.18rem; color: rgba(236, 253, 245, .88); max-width: 660px; margin: 0 auto 1.8rem; }
.hero .grad-text {
  background: linear-gradient(90deg, #6ee7b7, #5eead4, #a7f3d0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .btn { background: #fff; color: var(--brand-deep) !important; box-shadow: 0 14px 32px -10px rgba(0, 0, 0, .45); }
.hero .btn:hover { filter: none; background: #ecfdf5; }
.hero .btn.ghost { background: rgba(255, 255, 255, .06); color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .45); }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #d1fae5; font-size: .85rem; font-weight: 600;
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1.3rem;
  backdrop-filter: blur(6px);
}
.hero-points {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 1.6rem; padding: 0; margin: 1.8rem 0 0; font-size: .92rem;
  color: rgba(209, 250, 229, .92); font-weight: 600;
}
.hero-points li::before { content: "✓"; color: #6ee7b7; font-weight: 800; margin-right: .45rem; }

/* Home hero: two columns */
.hero.home { text-align: left; padding-bottom: 6.5rem; }
.hero.home .hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.hero.home p { margin-left: 0; }
.hero.home .hero-actions, .hero.home .hero-points { justify-content: flex-start; }

/* Entrance animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .anim { animation: fadeUp .7s ease both; }
.hero .anim.d1 { animation-delay: .1s; }
.hero .anim.d2 { animation-delay: .2s; }
.hero .anim.d3 { animation-delay: .32s; }
.hero .anim.d4 { animation-delay: .45s; }

/* ── Hero invoice mockup ───────────────────────────────────────────────────── */
.hero-visual { position: relative; min-height: 420px; animation: fadeUp .8s .25s ease both; }
.invoice-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 1.5rem 1.6rem;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  max-width: 400px; margin: 0 auto; font-size: .9rem;
  transform: rotate(1.5deg);
  transform-style: preserve-3d; will-change: transform;
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.inv-title { font-weight: 800; font-size: 1rem; letter-spacing: .06em; }
.inv-no { color: var(--muted); font-size: .8rem; }
.inv-status {
  background: #d1fae5; color: #047857; font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; padding: .25rem .7rem; border-radius: 999px;
  border: 1px solid #6ee7b7;
}
.inv-party {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--ink-2); font-weight: 600; font-size: .84rem;
  border-bottom: 1px dashed var(--border); padding-bottom: .8rem; margin-bottom: .8rem;
}
.inv-party small { color: var(--muted); font-weight: 500; }
.inv-item, .inv-tax { display: flex; justify-content: space-between; padding: .3rem 0; color: var(--ink-2); }
.inv-tax { color: var(--muted); font-size: .84rem; }
.inv-total {
  display: flex; justify-content: space-between; margin-top: .7rem; padding-top: .8rem;
  border-top: 2px solid var(--ink); font-weight: 800; font-size: 1.06rem;
}
.inv-total span:last-child { color: var(--brand-deep); }
.chip {
  position: absolute; background: rgba(255, 255, 255, .96); color: var(--ink);
  font-size: .8rem; font-weight: 700; padding: .55rem .9rem; border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 4%; left: -2%; animation-delay: 0s; }
.chip-2 { bottom: 10%; right: -3%; animation-delay: 1.4s; }
.chip-3 { bottom: -4%; left: 6%; animation-delay: 2.6s; }
@keyframes float {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  50% { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 10px), 0); }
}

/* ── Stats strip ───────────────────────────────────────────────────────────── */
.stats { padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 1.6rem 1.2rem;
  margin-top: -3.2rem; position: relative; z-index: 2;
}
.stat { text-align: center; padding: .4rem .8rem; }
.stat strong {
  display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: .88rem; font-weight: 600; }

/* ── Sections ──────────────────────────────────────────────────────────────── */
section { padding: 4.5rem 0; }
section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); text-align: center; margin: 0 0 .6rem; font-weight: 800; }
.eyebrow {
  display: table; margin: 0 auto .9rem; background: var(--soft-2); color: var(--brand-deep);
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 999px; border: 1px solid #a7f3d0;
}
.lead { text-align: center; color: var(--muted); font-size: 1.08rem; max-width: 660px; margin: 0 auto 3rem; }
.alt { background: linear-gradient(180deg, var(--soft) 0%, #f8fffb 100%); }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #a7f3d0; }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #ccfbef);
  box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129, .18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  transition: transform .25s ease;
}
.card:hover .ic { transform: scale(1.08) rotate(-4deg); }
.card h3 { margin: 0 0 .45rem; font-size: 1.12rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Steps (How it works) ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #a7f3d0; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem;
  box-shadow: 0 10px 22px -8px rgba(16, 185, 129, .6);
}
.step h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Checklist (Why BillTrade) ─────────────────────────────────────────────── */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .9rem 2.2rem; max-width: 860px; margin: 0 auto; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.check .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: .15rem;
  background: var(--soft-2); border: 1.5px solid #6ee7b7; color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800;
}
.check strong { display: block; }
.check span { color: var(--muted); font-size: .92rem; }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; align-items: stretch; }
.plan {
  border: 1px solid var(--border); border-radius: 20px; padding: 2.2rem 1.8rem;
  text-align: center; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #a7f3d0; }
.plan.featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 60px -18px rgba(16, 185, 129, .35);
}
.plan h3 { font-size: 1.3rem; margin: 0 0 .3rem; }
.plan .price { font-size: 2.5rem; font-weight: 800; margin: .4rem 0; letter-spacing: -.03em; }
.plan .price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; text-align: left; flex: 1; }
.plan li { padding: .42rem 0 .42rem 1.8rem; position: relative; color: var(--ink-2); font-size: .96rem; }
.plan li::before {
  content: "✓"; color: var(--brand-dark); position: absolute; left: 0; top: .42rem;
  font-weight: 800; background: var(--soft-2); width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .72rem;
}
.plan .btn { width: 100%; }
.tag {
  display: inline-block; background: var(--grad); color: #fff; font-size: .72rem;
  font-weight: 800; letter-spacing: .1em; padding: 4px 14px; border-radius: 999px;
  margin-bottom: .7rem; box-shadow: 0 8px 18px -6px rgba(16, 185, 129, .55);
}

/* ── CTA panel ─────────────────────────────────────────────────────────────── */
.cta-panel {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 24px; padding: 4rem 2rem;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(110, 231, 183, .25), transparent 60%),
    radial-gradient(500px 280px at 85% 100%, rgba(45, 212, 191, .2), transparent 60%),
    linear-gradient(150deg, #064e3b, #042f24);
  box-shadow: var(--shadow-lg);
}
.cta-panel h2 { color: #fff; }
.cta-panel .lead { color: rgba(209, 250, 229, .85); margin-bottom: 2rem; }
.cta-panel .btn { background: #fff; color: var(--brand-deep) !important; }
.cta-panel .btn.ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .5); }
.cta-panel .btn.ghost:hover { background: rgba(255, 255, 255, .12); }

/* ── Legal / content pages ─────────────────────────────────────────────────── */
.content { max-width: 840px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.content h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-top: 0; }
.content h1::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px;
  background: var(--grad); margin-top: .7rem;
}
.content h2 {
  text-align: left; font-size: 1.32rem; margin-top: 2.4rem;
  border-bottom: 1px solid var(--border); padding-bottom: .4rem;
}
.content .updated { color: var(--muted); font-size: .9rem; }
.placeholder { background: #fff7ed; border: 1px dashed #fdba74; color: #9a3412; padding: .15rem .5rem; border-radius: 6px; }

/* ── Business types ────────────────────────────────────────────────────────── */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.type {
  display: flex; align-items: center; gap: .9rem; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.1rem 1.2rem; background: #fff; font-weight: 700;
  box-shadow: var(--shadow-sm); font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.type:hover { border-color: var(--brand); box-shadow: 0 14px 30px -10px rgba(16, 185, 129, .25); transform: translateY(-4px); }
.type .em {
  flex: none; font-size: 1.5rem; line-height: 1; width: 48px; height: 48px;
  border-radius: 12px; background: linear-gradient(135deg, #ecfdf5, #ccfbef);
  display: inline-flex; align-items: center; justify-content: center;
}
.type span small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer.site {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #cbd5e1; padding: 3.5rem 1.25rem 2rem; margin-top: 3rem;
  border-top: 3px solid transparent;
  border-image: var(--grad) 1;
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; max-width: 1120px; margin: 0 auto; }
footer.site h4 {
  color: #fff; margin: 0 0 .9rem; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
}
footer.site a { color: #94a3b8; display: block; padding: .25rem 0; font-size: .92rem; transition: color .2s, transform .2s; }
footer.site a:hover { color: #6ee7b7; text-decoration: none; transform: translateX(3px); }
.foot-brand .brand { color: #fff; margin-bottom: .9rem; }
.foot-brand .brand .accent { color: #6ee7b7; }
.foot-brand p { color: #94a3b8; font-size: .92rem; max-width: 320px; margin: 0 0 1.1rem; }
.foot-badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.foot-badges span {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #cbd5e1; font-size: .78rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 999px;
}
footer.site .bottom {
  text-align: center; border-top: 1px solid #1e293b; margin-top: 2.5rem; padding-top: 1.4rem;
  color: #64748b; font-size: .85rem; max-width: 1120px; margin-left: auto; margin-right: auto;
}

/* ── 3D interactive layer ──────────────────────────────────────────────────── */
/* Depth inside the tilting invoice mockup */
.invoice-card .inv-status { display: inline-block; transform: translateZ(30px); }
.invoice-card .inv-total { transform: translateZ(20px); }

/* Parallax glow orbs in the hero */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .55; will-change: transform; }
.orb-1 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(110, 231, 183, .55), transparent 70%); top: -60px; left: 8%; }
.orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(45, 212, 191, .4), transparent 70%); bottom: -90px; right: 5%; }
.orb-3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(16, 185, 129, .5), transparent 70%); top: 28%; right: 32%; }

/* Floating 3D rupee coins */
.coin {
  position: absolute; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6ee7b7, #10b981 55%, #047857);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .22), inset 0 0 0 6px rgba(4, 120, 87, .45),
    0 16px 32px -10px rgba(0, 0, 0, .5);
  display: flex; align-items: center; justify-content: center;
  color: #ecfdf5; font-weight: 800; font-size: 1.35rem;
  animation: coinSpin 7s ease-in-out infinite;
}
.coin-1 { top: -7%; right: 4%; }
.coin-2 { bottom: 4%; left: -5%; width: 42px; height: 42px; font-size: 1.05rem; animation-delay: 1.4s; }
@keyframes coinSpin {
  0%, 100% { transform: rotateY(-30deg) translateY(0); }
  50% { transform: rotateY(30deg) translateY(-12px); }
}

/* Pointer-tracking 3D tilt (class added by script.js on hover-capable devices) */
.tilt { position: relative; transition: transform .18s ease-out, box-shadow .25s ease, border-color .25s ease; }
.tilt:hover { will-change: transform; }
.tilt-glare {
  position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  transition: opacity .3s ease; pointer-events: none; z-index: 2;
}

/* Cursor-following glow on the CTA panel */
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(110, 231, 183, .22), transparent 65%);
  opacity: 0; transition: opacity .35s ease;
}
.cta-panel.glow-on::after { opacity: 1; }

/* ── Scroll reveal (added by script.js) ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .anim, .hero-visual { opacity: 1; transform: none; transition: none; animation: none; }
  .chip, .coin { animation: none; }
  * { scroll-behavior: auto; }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero.home .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
  .hero.home .hero-actions, .hero.home .hero-points { justify-content: center; }
  .hero.home p { margin: 0 auto 1.8rem; }
  .hero-visual { min-height: 0; padding: 0 1.5rem; }
  .chip-1 { left: 0; } .chip-2 { right: 0; } .chip-3 { left: 10%; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: 0; padding: .55rem; cursor: pointer; border-radius: 8px;
  }
  .nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
  header.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  header.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  header.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; padding: .8rem 1.25rem 1.3rem;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  header.nav.open .nav-links { display: flex; }
  .nav-links a { padding: .65rem .6rem; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: var(--soft); }
  .nav-links a.active:not(.btn) { background: var(--soft-2); }
  .nav-links a.active:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: .5rem; justify-content: center; }
}
@media (max-width: 720px) {
  section { padding: 3.2rem 0; }
  .hero { padding: 3.5rem 1.25rem 4rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: -2.4rem; }
  .invoice-card { transform: none; }
  .coin { display: none; }
  .chip { position: static; display: inline-flex; margin: .8rem .4rem 0 0; animation: none; }
  .hero-visual { text-align: center; }
  footer.site .cols { grid-template-columns: 1fr; gap: 1.8rem; }
}
