/* RAVI ADDER OFFICIAL — public site
   Palette taken from the logo: navy plate, silver R, blue A, blue spark dots.
   Dark is the default because the brand mark is dark; light is a full
   re-theme, not an inversion. Every colour is a token so a page never
   hard-codes one. */

@font-face {
  font-family: "InterVar";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #2f6bff;
  --blue-2: #4f9cff;
  --cyan: #38bdf8;
  --violet: #7c5cff;
  --ok: #22c55e;
  --warn: #f5a524;

  --bg: #070d1c;
  --bg-2: #0b1530;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #e8eefc;
  --muted: #9aa8c7;
  --heading: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --glow: 0 0 60px rgba(47, 107, 255, .35);
  --radius: 18px;
  --maxw: 1180px;
  --nav-h: 68px;
}

:root[data-theme="light"] {
  --bg: #f4f7fe;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, .86);
  --surface-2: #eef3fd;
  --line: rgba(12, 31, 74, .10);
  --line-2: rgba(12, 31, 74, .16);
  --text: #16203c;
  --muted: #55648a;
  --heading: #0a1733;
  /* a blue-tinted shadow instead of grey: the cards read as lifted rather
     than smudged, which is what made the light theme look flat */
  --shadow: 0 18px 44px rgba(23, 49, 110, .13);
  --glow: 0 0 60px rgba(47, 107, 255, .20);
}

* { box-sizing: border-box; }

/* Grid and flex children default to min-width:auto, so a long number or an
   unbreakable word makes the track wider than the screen — on a 414px phone
   that pushed the whole page sideways and overflow-x:hidden then clipped the
   right edge off every section. */
.hero-grid > *, .split > *, .grid > *, .stats > *, .steps > *,
.svc-list > *, .foot-grid > *, .flist > *, .nav .wrap > * { min-width: 0; }

/* Icons are emoji; name the emoji fonts explicitly so Windows and Android
   pick a colour face instead of falling back to a blank glyph box. */
.card-ico, .flist .fi, .svc-item i, .eyebrow b {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
               "Android Emoji", "EmojiSymbols", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 "InterVar", "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The page sits on a single fixed backdrop: two coloured orbs and a grid.
   Fixed rather than per-section so scrolling does not repaint gradients. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 12% -10%, rgba(47, 107, 255, .22), transparent 60%),
    radial-gradient(50vw 50vw at 92% 8%, rgba(124, 92, 255, .16), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 75%);
}
:root[data-theme="light"] body::after { opacity: .7; }

/* Slow aurora behind the hero. Transform-only animation, so it runs on the
   compositor and costs nothing on scroll. */
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; display: block; border-radius: 50%; filter: blur(70px); opacity: .55;
  will-change: transform;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -6vw; top: -8vw;
  background: radial-gradient(circle, rgba(47,107,255,.55), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -4vw; top: -4vw;
  background: radial-gradient(circle, rgba(124,92,255,.42), transparent 65%); animation: drift2 27s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 42%; top: 24vw;
  background: radial-gradient(circle, rgba(56,189,248,.34), transparent 65%); animation: drift3 31s ease-in-out infinite; }
:root[data-theme="light"] .aurora i { opacity: .40; }
@keyframes drift1 { 0%,100% { transform: none; } 50% { transform: translate3d(6vw, 4vw, 0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: none; } 50% { transform: translate3d(-5vw, 6vw, 0) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: none; } 50% { transform: translate3d(-4vw, -5vw, 0) scale(1.15); } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--muted); }

.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.center { text-align: center; }
.lead { font-size: clamp(1rem, 2.2vw, 1.18rem); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow b { color: var(--blue-2); font-weight: 700; }

/* a hairline above each section heading block, so sections read as chapters */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 0 0 clamp(34px, 5vw, 56px); }

.grad {
  background: linear-gradient(100deg, var(--blue-2), var(--cyan) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 18px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--heading); letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px rgba(47, 107, 255, .35); }
.brand span { font-size: 1.02rem; }
.brand small { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--muted); font-weight: 600; }

.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a {
  padding: 9px 13px; border-radius: 10px; font-size: .93rem; font-weight: 500;
  color: var(--muted); transition: color .18s, background .18s;
}
.menu a:hover { color: var(--heading); background: var(--surface-2); }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); cursor: pointer; transition: transform .18s, border-color .18s;
}
.icon-btn:hover { transform: translateY(-1px); border-color: var(--line-2); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-dark-only { display: none; }
:root[data-theme="light"] .theme-dark-only { display: block; }
:root[data-theme="light"] .theme-light-only { display: none; }

.burger { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 13px; border: 1px solid transparent;
  font-weight: 700; font-size: .96rem; cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(120deg, var(--blue), var(--blue-2));
  color: #fff; box-shadow: 0 12px 30px rgba(47, 107, 255, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(47, 107, 255, .5); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); transition: left .55s ease;
}
.btn-primary:hover::after { left: 120%; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--heading); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue-2); }
.btn-sm { padding: 10px 16px; font-size: .88rem; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 92px)); padding-bottom: clamp(40px, 7vw, 80px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-bottom: .35em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .88rem; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 197, 94, .16); }

/* live panel mock — shows the product, not a stock photo */
.mock {
  border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
  box-shadow: var(--shadow); overflow: hidden; backdrop-filter: blur(8px);
}
.mock-top { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-top b { margin-left: 8px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.mock-row small { display: block; margin-bottom: 3px; color: var(--muted); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.mock-row b { font-size: clamp(1.15rem, 4.5vw, 1.5rem); color: var(--heading); font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); width: 0; transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.chip-live { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; color: var(--ok); }
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

/* ---------- marquee ---------- */
.marq { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-row { display: flex; gap: 42px; width: max-content; animation: slide 38s linear infinite; }
.marq span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.marq b { color: var(--blue-2); }
@keyframes slide { to { transform: translateX(-50%); } }
.marq:hover .marq-row { animation-play-state: paused; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(14px, 4vw, 22px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.stat b { display: block; font-size: clamp(1.15rem, 5.2vw, 2.3rem); color: var(--heading); font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; letter-spacing: -.02em; }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 680px) and (max-width: 979px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative; padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(79, 156, 255, .16), transparent 42%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; font-size: 22px;
  background: linear-gradient(135deg, rgba(47, 107, 255, .22), rgba(56, 189, 248, .14));
  border: 1px solid var(--line-2);
}

/* service card gets a top accent that fills on hover */
.card-svc::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .4s ease;
}
.card-svc:hover::after { width: 100%; }
.card-svc ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.card-svc li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.card-svc li::before { content: "✓"; color: var(--blue-2); font-weight: 800; flex: none; }

/* ---------- pricing ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: all .2s;
}
.tab:hover { color: var(--heading); border-color: var(--line-2); }
.tab[aria-selected="true"] { background: linear-gradient(120deg, var(--blue), var(--blue-2)); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(47, 107, 255, .32); }

.plan { display: flex; flex-direction: column; }
.plan-name { font-size: 1.05rem; font-weight: 800; color: var(--heading); padding-right: 86px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.plan-price b { font-size: 2.1rem; font-weight: 800; color: var(--heading); letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-size: .86rem; }
.plan ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 9px; font-size: .93rem; color: var(--muted); }
.plan li b { color: var(--text); font-weight: 700; }
.plan li::before { content: "▸"; color: var(--blue-2); flex: none; }
.plan .btn { margin-top: auto; }
.plan-pop { border-color: color-mix(in srgb, var(--blue) 55%, transparent); box-shadow: var(--glow); }
.ribbon {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(120deg, var(--blue), var(--cyan)); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(47, 107, 255, .4);
}

/* ---------- feature list / panel section ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 54px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.flist li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.flist .fi {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(135deg, rgba(47, 107, 255, .2), rgba(124, 92, 255, .12));
  border: 1px solid var(--line-2);
}
.flist b { display: block; color: var(--heading); margin-bottom: 2px; }
.flist span { color: var(--muted); font-size: .93rem; }

/* ---------- other services ---------- */
.svc-list { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc-item {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--surface);
  font-size: .93rem; transition: border-color .2s, transform .2s;
}
.svc-item:hover { border-color: var(--blue-2); transform: translateX(3px); }
.svc-item i { font-style: normal; font-size: 17px; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(120deg, var(--blue), var(--blue-2)); color: #fff; font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--heading);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }

/* ---------- cta ---------- */
.cta {
  border-radius: 26px; padding: clamp(34px, 6vw, 64px); text-align: center;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(47, 107, 255, .22), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}

/* breadcrumb on deep pages — helps people and gives Google the hierarchy */
.crumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue-2); }
.crumb b { color: var(--text); font-weight: 600; }
.crumb span { opacity: .5; }

/* a link in the services grid must look clickable */
a.svc-item { cursor: pointer; }
a.svc-item:hover span { color: var(--heading); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 54px 0 34px; margin-top: 30px; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid.foot-5 { grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; } }
@media (min-width: 760px) and (max-width: 999px) { .foot-grid.foot-5 { grid-template-columns: repeat(3, 1fr); } }
.foot h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--muted); font-size: .93rem; }
.foot a:hover { color: var(--blue-2); }
.foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .85rem; }

/* floating contact button */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: #fff;
  background: linear-gradient(120deg, #229ED9, #2f6bff);
  box-shadow: 0 14px 34px rgba(34, 158, 217, .42);
  transition: transform .2s;
}
.fab:hover { transform: translateY(-3px) scale(1.02); }
.fab svg { width: 19px; height: 19px; }

/* ---------- scroll reveal ----------
   Hidden ONLY when JavaScript is running. Without the .js class the content
   is plain visible HTML: a blocked or slow script must never leave the page
   looking empty, which is exactly what a headless render showed it doing. */
.rv { opacity: 1; transform: none; }
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
html.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .marq-row { animation: none; }
  .btn-primary::after { display: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .chip-live::before { animation: none; }
  .bar i { transition: none; }
}

/* ---------- mobile nav ---------- */
@media (max-width: 900px) {
  .burger { display: grid; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 16px 22px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .menu.open { transform: none; }
  .menu a { padding: 13px 12px; font-size: 1rem; border-radius: 12px; }
  .menu .btn { margin-top: 10px; }
}
