/* Amra site theme, loaded after each page's own styles. Keeps the site's
   navy, blue and amber (the hero is untouched) and layers on finer detail:
   a slow colour aurora behind the hero, glass pills, a frosted nav, tighter
   section headlines, and cards that lift with a blue glow. */
:root {
  --display: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  --sh-xs: 0 1px 2px rgba(14, 26, 43, 0.05);
  --sh-card: 0 1px 3px rgba(14, 26, 43, 0.05), 0 0 0 1px rgba(14, 26, 43, 0.03);
  --sh-glow: 0 0 0 1px rgba(24, 139, 246, 0.22), 0 28px 64px -24px rgba(24, 139, 246, 0.4);
}

body { font-optical-sizing: auto; }
::selection { background: rgba(24, 139, 246, 0.22); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Nav: the site's navy as frosted glass. */
nav {
  background: rgba(8, 12, 22, 0.66) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Hero: a slow aurora of brand blue, violet and amber drifting behind the
   copy, on top of the original navy gradient and dot grid. */
.hero { overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: -25% -15% -10% -15%;
  pointer-events: none;
  background:
    radial-gradient(38% 48% at 22% 28%, rgba(24, 139, 246, 0.30), transparent 70%),
    radial-gradient(34% 44% at 78% 18%, rgba(139, 92, 246, 0.24), transparent 70%),
    radial-gradient(30% 40% at 62% 86%, rgba(245, 185, 21, 0.14), transparent 70%),
    radial-gradient(26% 36% at 8% 90%, rgba(22, 201, 122, 0.10), transparent 70%);
  filter: blur(24px);
  animation: amra-aurora 22s ease-in-out infinite alternate;
}
.hero .wrap { position: relative; z-index: 1; }
@keyframes amra-aurora {
  0% { transform: translate3d(-3%, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -3%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.02); }
}
.hero-pill {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.mock-card { outline: 1px solid rgba(255, 255, 255, 0.5); outline-offset: -1px; }

/* Buttons: keep the glow, add a glassy top highlight. */
.btn-primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 30px -6px var(--blue-glow);
}
.btn-amber {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 30px -8px rgba(245, 185, 21, 0.5);
}
.btn-ghost-d {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Eyebrows: small pills tinted with the brand blue (glass on dark bands). */
.eyebrow {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--blue);
  background: rgba(24, 139, 246, 0.07);
  border: 1px solid rgba(24, 139, 246, 0.2);
  padding: 5px 13px 5px 11px;
  border-radius: 100px;
}
:is(.videosec, .results, .cta, .why-card, footer, .col.amra) .eyebrow {
  color: #9ed0ff;
  background: rgba(24, 139, 246, 0.12);
  border-color: rgba(24, 139, 246, 0.3);
}

/* Section headlines: Inter display, tight; accent words keep the serif
   italic in brand blue. */
.sec-head h2 {
  font-family: var(--display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.06 !important;
  font-size: clamp(32px, 4.2vw, 50px) !important;
}
.sec-head h2 :is(em, i) {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.problem .big {
  font-family: var(--display) !important;
  font-weight: 600 !important;
  font-size: clamp(26px, 3.4vw, 42px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.032em !important;
}
.problem .big :is(em, i) {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Cards: crisp edge at rest, lift with a blue glow on hover. */
.card, .col:not(.amra), .fitem, .roi-card { box-shadow: var(--sh-card); }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-glow); border-color: transparent; }
.card .ic { box-shadow: inset 0 0 0 1px rgba(24, 139, 246, 0.14); }
.step { border: 1px solid rgba(24, 139, 246, 0.08); }
.step:hover { box-shadow: var(--sh-glow); }

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

/* Contrast: small text meets WCAG AA (4.5:1) without changing the palette's feel. */
:root { --ink3: #5f6f82; --red-cost: #d93a3a; }
.btn-primary, .prev-tab.active { background: #1273d9; }
.btn-primary:hover { background: var(--blue-d); }
.eyebrow, .feat-pills span, .plan .tier { color: var(--blue-d); }
.plan-note a { color: var(--blue-d) !important; }
.soon { color: #9a5b0e; }

/* Article pages' solid top bar sits on white, where the frosted nav reads grey. */
nav.topbar { background: #0F1D2E !important; }
