/* =============================================================
   Viralspace — homepage (ad-network look)
   Loaded on the public homepage only. Everything is prefixed .ah-
   so it cannot affect other pages. Works in light and dark mode
   through the tokens defined in app.css.
   ============================================================= */

:root {
  --ah-violet: #6366f1;
  --ah-pink:   #d946ef;
  --ah-grad:   linear-gradient(100deg, #0ea5e9 0%, #6366f1 55%, #d946ef 100%);
  --ah-glass:  rgba(255, 255, 255, .72);
  --ah-glass-line: rgba(15, 23, 42, .08);
  --ah-card:   #ffffff;
  --ah-soft:   #f1f6fb;
  --ah-grid:   rgba(15, 23, 42, .045);
}
[data-bs-theme="dark"] {
  --ah-grad:   linear-gradient(100deg, #38bdf8 0%, #818cf8 55%, #e879f9 100%);
  --ah-glass:  rgba(17, 26, 44, .72);
  --ah-glass-line: rgba(255, 255, 255, .09);
  --ah-card:   #0f1726;
  --ah-soft:   #0b1322;
  --ah-grid:   rgba(255, 255, 255, .05);
}

.ah-grad { background: var(--ah-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ah-sec { padding: 96px 0; position: relative; }
.ah-sec-soft { background: var(--ah-soft); }
.ah-kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .38rem .85rem; border-radius: 999px;
  background: rgba(var(--brand-rgb), .1); color: var(--brand); border: 1px solid rgba(var(--brand-rgb), .22);
}
.ah-h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ah-sub { color: var(--muted); max-width: 620px; font-size: 1.05rem; }

/* ---------------------------------------------------------------- hero */
.ah-hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--topbar-h));
  padding: calc(var(--topbar-h) + 72px) 0 84px;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(99, 102, 241, .22), transparent 62%),
    radial-gradient(800px 520px at -4% 18%, rgba(14, 165, 233, .24), transparent 60%),
    radial-gradient(600px 420px at 55% 110%, rgba(217, 70, 239, .14), transparent 60%),
    var(--app-bg);
}
.ah-hero::before {            /* faint grid, fading out downwards */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--ah-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ah-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.ah-hero > .container { position: relative; z-index: 2; }
.ah-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .42rem .95rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--ah-glass); border: 1px solid var(--ah-glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
}
.ah-pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
.ah-h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.ah-lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; line-height: 1.6; }
.ah-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; list-style: none; font-size: .9rem; font-weight: 600; color: var(--ink); }
.ah-checks i { color: #16a34a; margin-right: .3rem; }
.ah-btn-glow { box-shadow: 0 10px 30px rgba(163, 230, 53, .38); }
.ah-btn-ghost { background: var(--ah-glass); border: 1px solid var(--ah-glass-line); color: var(--ink); backdrop-filter: blur(8px); }
.ah-btn-ghost:hover { background: var(--ah-card); color: var(--ink); border-color: rgba(var(--brand-rgb), .5); }

/* hero stage: an ad "billboard", a story ad and a mini Ad Wall */
.ah-stage { position: relative; height: 500px; max-width: 560px; margin-inline: auto; }
.ah-card {
  position: absolute; background: var(--ah-card); border: 1px solid var(--ah-glass-line); border-radius: 22px;
  box-shadow: 0 28px 70px rgba(2, 32, 71, .18); overflow: hidden;
}
[data-bs-theme="dark"] .ah-card { box-shadow: 0 28px 80px rgba(0, 0, 0, .55); }
.ah-billboard { right: 0; top: 10px; width: 80%; transform: rotate(2.2deg); }
.ah-bb-img { height: 206px; background-size: cover; background-position: center; position: relative; }
.ah-bb-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .35)); }
.ah-tag { position: absolute; z-index: 2; top: 12px; left: 12px; font-size: .62rem; font-weight: 800; letter-spacing: .12em; padding: .25rem .55rem; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; }
.ah-bb-body { padding: 14px 16px 16px; }
.ah-brandrow { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.ah-avatar { width: 32px; height: 32px; border-radius: 10px; background: var(--ah-grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem; }
.ah-cta { display: inline-block; font-size: .78rem; font-weight: 700; padding: .45rem .95rem; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.ah-metrics { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--ah-glass-line); font-size: .74rem; color: var(--muted); }
.ah-metrics b { display: block; font-size: 1.02rem; color: var(--ink); }
.ah-story { left: 0; top: 150px; width: 31%; aspect-ratio: 9 / 16; transform: rotate(-4deg); border: 0; background-size: cover; background-position: center; }
.ah-story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 55%, rgba(0, 0, 0, .65)); }
.ah-story-bars { position: absolute; z-index: 2; top: 9px; left: 9px; right: 9px; display: flex; gap: 4px; }
.ah-story-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.ah-story-bars i:first-child { background: #fff; }
.ah-story-foot { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 12px; color: #fff; font-size: .72rem; font-weight: 700; }
.ah-story-foot span { display: block; text-align: center; margin-top: 8px; padding: .38rem; border-radius: 999px; background: #fff; color: #0b1220; font-size: .68rem; }
.ah-minwall { right: 8%; bottom: 0; width: 56%; padding: 12px; background: var(--ah-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: rotate(-1.5deg); }
.ah-minwall-title { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: .4rem; }
.ah-minwall-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 26px; gap: 5px; }
.ah-minwall-grid i { border-radius: 6px; background: linear-gradient(135deg, rgba(14, 165, 233, .55), rgba(99, 102, 241, .55)); }
.ah-minwall-grid i:nth-child(3n) { background: linear-gradient(135deg, rgba(217, 70, 239, .5), rgba(99, 102, 241, .5)); }
.ah-minwall-grid i:nth-child(5n) { background: linear-gradient(135deg, rgba(163, 230, 53, .75), rgba(14, 165, 233, .5)); }
.ah-minwall-grid i.w2 { grid-column: span 2; } .ah-minwall-grid i.h2 { grid-row: span 2; }
.ah-minwall-grid i.you { background: var(--lime); outline: 2px solid #fff; box-shadow: 0 0 0 4px rgba(163, 230, 53, .45); }
.ah-chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--ah-glass); border: 1px solid var(--ah-glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink);
  box-shadow: 0 10px 30px rgba(2, 32, 71, .14);
}
.ah-chip.c1 { right: 6%; top: -12px; } .ah-chip.c2 { right: -6px; top: 262px; } .ah-chip.c3 { left: 2%; bottom: 34px; }
.ah-chip .pos { color: #16a34a; }
.ah-hero-media { position: relative; }
.ah-hero-media .vp { position: relative; z-index: 2; }

@media (prefers-reduced-motion: no-preference) {
  .ah-pulse { animation: ah-ping 1.8s infinite; }
  @keyframes ah-ping { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
  .ah-billboard { animation: ah-float 7s ease-in-out infinite; }
  .ah-story { animation: ah-float 8s ease-in-out -2s infinite; }
  .ah-minwall { animation: ah-float 9s ease-in-out -4s infinite; }
  .ah-chip.c1 { animation: ah-float 6s ease-in-out infinite; } .ah-chip.c2 { animation: ah-float 7s ease-in-out -1s infinite; } .ah-chip.c3 { animation: ah-float 8s ease-in-out -3s infinite; }
  @keyframes ah-float { 50% { translate: 0 -10px; } }
  .ah-minwall-grid i.you { animation: ah-glow 2.2s ease-in-out infinite; }
  @keyframes ah-glow { 50% { box-shadow: 0 0 0 8px rgba(163, 230, 53, .15); } }
}
@media (max-width: 991.98px) {
  .ah-hero { padding-bottom: 56px; }
  .ah-stage { height: 440px; margin-top: 12px; }
  .ah-chip.c2 { right: 0; }
}
@media (max-width: 575.98px) {
  .ah-stage { height: 480px; }
  .ah-billboard { width: 88%; } .ah-bb-img { height: 170px; }
  .ah-story { width: 30%; top: 190px; }
  .ah-minwall { width: 62%; right: 2%; }
  .ah-chip.c1 { right: 4%; } .ah-chip.c2 { top: 236px; font-size: .7rem; } .ah-chip.c3 { display: none; }
}

/* ---------------------------------------------------------------- marquee */
.ah-marquee { padding: 18px 0; border-block: 1px solid var(--ah-glass-line); background: var(--ah-glass); overflow: hidden; }
.ah-marquee-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ah-marquee-track { display: flex; width: max-content; gap: 3rem; }
.ah-marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ah-marquee-item { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); opacity: .75; white-space: nowrap; }
.ah-marquee-item i { font-size: 1.3rem; color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .ah-marquee-track { animation: ah-marquee 34s linear infinite; }
  .ah-marquee:hover .ah-marquee-track { animation-play-state: paused; }
  @keyframes ah-marquee { to { transform: translateX(-50%); } }
}

/* ---------------------------------------------------------------- stats */
.ah-stats { margin-top: -34px; position: relative; z-index: 3; }
.ah-stats-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; padding: 1.4rem 1.6rem; border-radius: 22px; background: var(--ah-card); border: 1px solid var(--ah-glass-line); box-shadow: var(--shadow); }
.ah-stat { text-align: center; padding: .25rem; }
.ah-stat b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -.02em; background: var(--ah-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ah-stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------- formats */
.ah-format {
  position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--ah-card); border: 1px solid var(--ah-glass-line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ah-format:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(var(--brand-rgb), .45); }
.ah-fvis { height: 148px; display: grid; place-items: center; position: relative; overflow: hidden; }
.ah-fvis.f1 { background: linear-gradient(135deg, rgba(14, 165, 233, .18), rgba(99, 102, 241, .22)); }
.ah-fvis.f2 { background: linear-gradient(135deg, rgba(163, 230, 53, .26), rgba(14, 165, 233, .18)); }
.ah-fvis.f3 { background: linear-gradient(135deg, rgba(217, 70, 239, .2), rgba(99, 102, 241, .18)); }
.ah-fvis.f4 { background: linear-gradient(135deg, rgba(251, 146, 60, .22), rgba(217, 70, 239, .18)); }
.ah-fbody { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ah-fbadge { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; background: rgba(var(--brand-rgb), .12); color: var(--brand); margin-bottom: .6rem; }
.ah-fbody p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.ah-fbody .more { margin-top: auto; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--brand); }
.ah-fbody .more i { transition: transform .2s; display: inline-block; } .ah-format:hover .more i { transform: translateX(4px); }
/* mini visuals */
.v-wall { display: grid; grid-template-columns: repeat(4, 22px); grid-auto-rows: 22px; gap: 5px; }
.v-wall i { border-radius: 5px; background: rgba(var(--brand-rgb), .38); } .v-wall i.w2 { grid-column: span 2; } .v-wall i.h2 { grid-row: span 2; }
.v-wall i.you { background: var(--lime); box-shadow: 0 0 0 3px rgba(255, 255, 255, .8), 0 6px 14px rgba(0, 0, 0, .15); }
.v-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.v-bars i { width: 13px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #84cc16, #0ea5e9); }
.v-tasks { display: grid; gap: 7px; font-size: .74rem; font-weight: 700; }
.v-tasks span { display: flex; align-items: center; gap: .5rem; background: var(--ah-card); padding: .34rem .7rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); color: var(--ink); }
.v-tasks i { color: #16a34a; }
.v-phone { width: 62px; height: 112px; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(160deg, #fb923c, #d946ef); position: relative; box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.v-phone::before { content: ""; position: absolute; top: 5px; left: 50%; translate: -50% 0; width: 18px; height: 4px; border-radius: 4px; background: var(--ink); }
.v-phone b { position: absolute; left: 7px; right: 7px; bottom: 9px; background: #fff; border-radius: 99px; text-align: center; font-size: .5rem; padding: 2px 0; color: #111; }

/* ---------------------------------------------------------------- live Ad Wall band (always dark) */
.ah-wallband {
  color: #e8eef7; padding: 96px 0; position: relative; overflow: hidden;
  background: radial-gradient(800px 420px at 85% 0%, rgba(99, 102, 241, .35), transparent 60%), radial-gradient(700px 420px at 5% 100%, rgba(14, 165, 233, .3), transparent 60%), #070b14;
}
.ah-wallband .ah-sub { color: #9db0cb; }
.ah-wallband .ah-kicker { background: rgba(255, 255, 255, .08); color: #bde3ff; border-color: rgba(255, 255, 255, .15); }
.ah-live { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: #86efac; }
.ah-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.ah-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 118px; gap: 12px; grid-auto-flow: dense; }
@media (min-width: 992px) { .ah-mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 128px; } }
@media (max-width: 575.98px) { .ah-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; } }
.ah-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #111a2c; border: 1px solid rgba(255, 255, 255, .08); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ah-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ah-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.ah-tile:hover img { transform: scale(1.07); }
.ah-tile .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .75rem .6rem; font-size: .76rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.ah-tile .ad { position: absolute; top: 8px; right: 8px; font-size: .55rem; font-weight: 800; letter-spacing: .1em; padding: .15rem .45rem; border-radius: 5px; background: rgba(0, 0, 0, .55); color: #fff; }
.ah-tile.t-wide { grid-column: span 2; } .ah-tile.t-tall { grid-row: span 2; } .ah-tile.t-big { grid-column: span 2; grid-row: span 2; }
.ah-tile.empty { display: grid; place-items: center; text-align: center; border: 2px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03); color: #a9bdd8; font-size: .8rem; font-weight: 700; padding: .5rem; }
.ah-tile.empty i { display: block; font-size: 1.5rem; margin-bottom: .2rem; color: var(--lime); }
.ah-tile.empty:hover { border-color: var(--lime); color: #fff; }

/* ---------------------------------------------------------------- pricing */
.ah-plan { position: relative; height: 100%; display: flex; flex-direction: column; padding: 1.6rem 1.5rem; border-radius: 22px; background: var(--ah-card); border: 1px solid var(--ah-glass-line); transition: transform .25s, box-shadow .25s; }
.ah-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ah-plan.hot { border: 2px solid transparent; background: linear-gradient(var(--ah-card), var(--ah-card)) padding-box, var(--ah-grad) border-box; box-shadow: var(--shadow); }
.ah-plan .price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2.3rem; letter-spacing: -.02em; line-height: 1; }
.ah-plan .per { color: var(--muted); font-size: .85rem; }
.ah-plan ul { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: .55rem; font-size: .9rem; }
.ah-plan li i { color: #16a34a; margin-right: .5rem; }
.ah-plan .btn { margin-top: auto; }
.ah-tilepreview { display: inline-block; border-radius: 5px; background: var(--ah-grad); opacity: .85; vertical-align: -3px; margin-right: .5rem; }

/* ---------------------------------------------------------------- planner */
.ah-planner { border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--ah-card); border: 1px solid var(--ah-glass-line); box-shadow: var(--shadow); }
.ah-range { width: 100%; height: 8px; border-radius: 99px; appearance: none; -webkit-appearance: none; background: var(--ah-grad); outline: none; }
.ah-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid #6366f1; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; }
.ah-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #6366f1; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; }
.ah-result { border-radius: 20px; padding: 1.6rem; color: #fff; background: radial-gradient(500px 240px at 100% 0%, rgba(217, 70, 239, .55), transparent 60%), linear-gradient(135deg, #0369a1, #4338ca); text-align: center; }
.ah-result b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.ah-quick { border: 1px solid var(--ah-glass-line); background: var(--ah-soft); color: var(--ink); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; }
.ah-quick:hover, .ah-quick.on { border-color: var(--brand); color: var(--brand); }

/* ---------------------------------------------------------------- how it works */
.ah-track { border-radius: 24px; padding: 1.8rem; background: var(--ah-card); border: 1px solid var(--ah-glass-line); height: 100%; }
.ah-track.alt { background: linear-gradient(160deg, rgba(14, 165, 233, .1), rgba(99, 102, 241, .12)), var(--ah-card); }
.ah-step { display: flex; gap: 1rem; position: relative; padding-bottom: 1.3rem; }
.ah-step:last-child { padding-bottom: 0; }
.ah-step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: repeating-linear-gradient(180deg, rgba(var(--brand-rgb), .5) 0 5px, transparent 5px 10px); }
.ah-num { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--ah-grad); }
.ah-step h3 { font-size: 1.02rem; font-weight: 800; margin: .15rem 0 .15rem; }
.ah-step p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- why */
.ah-why { height: 100%; padding: 1.5rem; border-radius: 20px; background: var(--ah-card); border: 1px solid var(--ah-glass-line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ah-why:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(var(--brand-rgb), .4); }
.ah-why .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--ah-grad); margin-bottom: .9rem; }
.ah-why h3 { font-size: 1.05rem; font-weight: 800; }
.ah-why p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- final call to action */
.ah-final { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(2.2rem, 5vw, 4rem) 1.5rem; text-align: center; color: #fff;
  background: radial-gradient(520px 300px at 8% 0%, rgba(14, 165, 233, .6), transparent 60%), radial-gradient(520px 320px at 100% 100%, rgba(217, 70, 239, .55), transparent 60%), linear-gradient(135deg, #0b1b4a, #1e1b6b 60%, #3b1a73); }
.ah-final::before, .ah-final::after { content: ""; position: absolute; border-radius: 50%; background: rgba(163, 230, 53, .18); filter: blur(2px); }
.ah-final::before { width: 220px; height: 220px; left: -60px; bottom: -90px; } .ah-final::after { width: 140px; height: 140px; right: 8%; top: -50px; }
.ah-final > * { position: relative; z-index: 1; }
.ah-final h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.ah-final p { color: #c8d6ee; max-width: 560px; margin: 0 auto 1.5rem; }

/* ---------------------------------------------------------------- footer + misc */
.ah-foot-link { color: inherit; text-decoration: none; } .ah-foot-link:hover { color: var(--brand); }
.ah-sec[id], section[id] { scroll-margin-top: 80px; }
