/* =========================================================
   HexOverlord Miner — Open-Source Monero (XMR) CPU Miner Landing Page
   style.css
   ========================================================= */

:root {
  /* Brand palette (from spec) */
  --bg:        #0B1220;
  --primary:   #00E5A8;
  --secondary: #1E293B;
  --accent:    #4F46E5;
  --text:      #FFFFFF;

  /* Derived tones */
  --bg-2:      #0E1626;
  --muted:     #93A4BE;
  --muted-2:   #64748B;
  --line:      rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --glass:     rgba(30, 41, 59, 0.45);
  --glass-2:   rgba(20, 30, 48, 0.55);

  /* Effects */
  --shadow-soft: 0 18px 50px -22px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 16px 44px -14px rgba(0, 229, 168, 0.42);
  --shadow-accent: 0 16px 44px -16px rgba(79, 70, 229, 0.5);
  --radius:    20px;
  --radius-sm: 14px;

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease-spring); }

.gradient-text {
  background: linear-gradient(100deg, var(--primary) 0%, #6ee7ff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 2100;
  background: var(--primary); color: #04221a; font-family: var(--font-display); font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 10px; transition: top 0.25s var(--ease-spring);
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; color: #04221a; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__hex {
  width: 46px; height: 46px;
  border: 3px solid var(--line-strong);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation: spin 0.9s linear infinite;
}
.loader__text {
  font-family: var(--font-mono); letter-spacing: 0.35em; font-size: 0.8rem;
  color: var(--muted); padding-left: 0.35em;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1600; box-shadow: 0 0 12px rgba(0, 229, 168, 0.6);
}

/* ---------- Ambient background ---------- */
.bg-atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.bg-glow--1 {
  width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(0, 229, 168, 0.35), transparent 65%);
  animation: drift1 22s ease-in-out infinite;
}
.bg-glow--2 {
  width: 560px; height: 560px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.4), transparent 65%);
  animation: drift2 26s ease-in-out infinite;
}
@keyframes drift1 { 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-70px, -50px) scale(1.08); } }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
  opacity: 0.5;
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glass surface ---------- */
.glass {
  background: linear-gradient(160deg, var(--glass), var(--glass-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), transparent 40%);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  border-radius: 12px; padding: 0.7rem 1.4rem; border: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), background 0.3s ease, color 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.02rem; }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary-glow {
  background: linear-gradient(120deg, var(--primary), #19f0c0);
  color: #04221a; box-shadow: var(--shadow-glow);
}
.btn-primary-glow:hover { transform: translateY(-3px); box-shadow: 0 22px 54px -14px rgba(0, 229, 168, 0.6); color: #04221a; }
.btn-primary-glow:active { transform: translateY(-1px); }

.btn-outline-soft {
  background: rgba(255,255,255,0.03); color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-outline-soft:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary); box-shadow: 0 14px 36px -18px rgba(0,229,168,0.5); }
.btn-outline-soft:active { transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--muted); padding: 0.6rem 0.9rem; }
.btn-ghost:hover { color: var(--text); }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
  padding: 1.1rem 0; transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding: 0.6rem 0;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.8);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__logo { display: inline-grid; place-items: center; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: #ffffff; }

/* Logo mark — clear filled hex badge with a glow + hover spin */
.logo-mark {
  filter: drop-shadow(0 0 0 rgba(0, 229, 168, 0));
  animation: logoGlow 3.6s ease-in-out infinite;
  transition: transform 0.5s var(--ease-spring), filter 0.4s ease;
  transform-origin: 50% 50%;
}
.logo-mark .logo-hex { transition: filter 0.4s ease; }
.brand:hover .logo-mark { transform: rotate(120deg) scale(1.06); filter: drop-shadow(0 0 12px rgba(0, 229, 168, 0.65)); }
.brand:active .logo-mark { transform: rotate(120deg) scale(0.98); }
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(0, 229, 168, 0.25)); }
  50%      { filter: drop-shadow(0 0 11px rgba(0, 229, 168, 0.6)); }
}
@media (prefers-reduced-motion: reduce) { .logo-mark { animation: none; } }
.site-nav .nav-link {
  color: var(--muted); font-weight: 500; padding: 0.4rem 0.9rem; position: relative;
}
.site-nav .nav-link::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.1rem; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-spring);
}
.site-nav .nav-link:hover { color: var(--text); }
.site-nav .nav-link:hover::after { transform: scaleX(1); }

/* Custom hamburger */
.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon-custom { display: grid; gap: 5px; width: 26px; }
.navbar-toggler-icon-custom span { height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease-spring), opacity 0.3s; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.8rem; padding: 1rem; border-radius: var(--radius-sm);
    background: rgba(14, 22, 38, 0.95); border: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .site-nav .nav-link::after { display: none; }
  .navbar-nav .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); padding: 0.35rem 0.8rem; border-radius: 100px;
  background: rgba(0, 229, 168, 0.08); border: 1px solid rgba(0, 229, 168, 0.22);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.section { padding: 6.5rem 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 3.2rem; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 1rem 0 0.8rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 11rem 0 5rem; }
.hero__copy { max-width: 560px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; margin: 1.4rem 0 1.2rem; }
.hero__sub { color: var(--muted); font-size: 1.15rem; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1rem; }
.hero__note { color: var(--muted-2); font-size: 0.82rem; line-height: 1.5; max-width: 500px; margin: 0 0 1.6rem; }
.hero__note i { color: var(--primary); }

.hero__trust { display: flex; align-items: center; gap: 0.9rem; }
.hero__trust p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.hero__trust strong { color: var(--text); }
.trust-avatars { display: flex; }
.trust-avatars img {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -10px; object-fit: cover;
}
.trust-avatars img:first-child { margin-left: 0; }

/* Hero visual */
.hero__visual { position: relative; padding: 1rem; }
.console { padding: 0; overflow: hidden; max-width: 460px; margin-left: auto; }
.console__head {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.console__dots { display: flex; gap: 6px; }
.console__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--muted-2); }
.console__dots span:nth-child(1){ background:#ff5f57; } .console__dots span:nth-child(2){ background:#febc2e; } .console__dots span:nth-child(3){ background:#28c840; }
.console__title { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.console__badge {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0,229,168,0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0,229,168,0); } 100% { box-shadow: 0 0 0 0 rgba(0,229,168,0); } }

.console__body { padding: 1.3rem; display: grid; gap: 1.1rem; }
.console__row { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
.console__row .mono { color: var(--text); }
.console__meter-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.45rem; }
.console__meter-label .mono { color: var(--primary); }
.bar { height: 8px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; box-shadow: 0 0 14px rgba(0,229,168,0.5); animation: barpulse 3s ease-in-out infinite; }
@keyframes barpulse { 50% { opacity: 0.75; } }

.console__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.stat-chip { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.6rem; text-align: center; }
.stat-chip__k { display: block; color: var(--text); font-size: 1.05rem; font-weight: 700; }
.stat-chip__l { display: block; color: var(--muted-2); font-size: 0.68rem; margin-top: 0.2rem; }

.console__spark svg { width: 100%; height: 48px; }
.spark { fill: none; stroke: var(--primary); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(0,229,168,0.6)); stroke-linecap: round; stroke-linejoin: round; }

/* Floating crypto icons */
.floaty {
  position: absolute; z-index: 3; display: grid; place-items: center;
  border-radius: 18px; color: #04221a; font-size: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.floaty--btc { width: 64px; height: 64px; top: -12px; left: -6px; background: linear-gradient(135deg, #f7931a, #ffb74d); color: #2a1500; animation: float 6s ease-in-out infinite; }
.floaty--eth { width: 56px; height: 56px; bottom: 24px; left: -22px; background: linear-gradient(135deg, #627eea, #8aa0ff); color: #0a1230; animation: float 7s ease-in-out infinite 0.6s; }
.floaty--coin { width: 50px; height: 50px; top: 18px; right: -14px; background: linear-gradient(135deg, var(--primary), #19f0c0); color: #04221a; font-size: 1.3rem; animation: float 5.4s ease-in-out infinite 1.1s; }
@keyframes float { 50% { transform: translateY(-16px); } }

/* Logo marquee */
.logo-marquee { margin-top: 4.5rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-marquee__track { display: flex; gap: 3.2rem; width: max-content; animation: marquee 28s linear infinite; }
.logo-marquee__track span { font-family: var(--font-display); font-weight: 600; color: var(--muted-2); font-size: 1.15rem; white-space: nowrap; }
.logo-marquee__track span i { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature cards ---------- */
.feature { padding: 1.8rem; height: 100%; transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(0,229,168,0.4); box-shadow: 0 26px 60px -28px rgba(0,229,168,0.4); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(0,229,168,0.18), rgba(79,70,229,0.18));
  border: 1px solid var(--line-strong); color: var(--primary); margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease-spring);
}
.feature:hover .feature__icon { transform: scale(1.08) rotate(-4deg); }
.feature h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Plans ---------- */
.plan { padding: 2rem 1.8rem; height: 100%; display: flex; flex-direction: column; transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan__name { font-size: 1.35rem; margin: 0 0 0.3rem; }
.plan__desc { color: var(--muted); font-size: 0.92rem; min-height: 2.6em; }
.plan__price { display: flex; align-items: flex-end; gap: 0.15rem; margin: 1rem 0 1.3rem; }
.plan__cur { font-size: 1.4rem; color: var(--muted); font-family: var(--font-mono); padding-bottom: 0.5rem; }
.plan__amt { font-size: 3.2rem; font-weight: 700; line-height: 1; }
.plan__per { color: var(--muted); padding-bottom: 0.5rem; }
.plan__list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.7rem; flex: 1; }
.plan__list li { display: flex; align-items: center; gap: 0.6rem; color: #c7d3e6; font-size: 0.95rem; }
.plan__list i { color: var(--primary); background: rgba(0,229,168,0.12); border-radius: 50%; padding: 0.12rem; font-size: 0.9rem; }

.plan--featured {
  border-color: rgba(0, 229, 168, 0.5);
  background: linear-gradient(160deg, rgba(0,229,168,0.1), var(--glass-2));
  box-shadow: var(--shadow-glow);
  transform: translateY(-10px) scale(1.02);
}
.plan--featured:hover { transform: translateY(-16px) scale(1.02); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--primary), #19f0c0); color: #04221a;
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.03em;
  padding: 0.35rem 0.9rem; border-radius: 100px; box-shadow: var(--shadow-glow); white-space: nowrap;
}
@media (max-width: 991.98px) { .plan--featured, .plan--featured:hover { transform: none; } }

/* ---------- Stats ---------- */
.section--stats { padding-top: 3rem; }
.stat { padding: 1.8rem 1rem; height: 100%; transition: transform 0.4s var(--ease-spring), border-color 0.4s; }
.stat:hover { transform: translateY(-5px); border-color: rgba(79,70,229,0.45); }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--text); }
.stat__plus { color: var(--primary); }
.stat__label { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; font-family: var(--font-body); }

/* ---------- How it works / timeline ---------- */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  display: none;
}
@media (min-width: 992px) { .timeline::before { display: block; } }
.step { padding: 2rem 1.6rem; height: 100%; text-align: center; transition: transform 0.4s var(--ease-spring), border-color 0.4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(0,229,168,0.4); }
.step__num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; }
.step__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin: 0.8rem auto 1rem;
  font-size: 1.6rem; color: var(--primary);
  background: linear-gradient(135deg, rgba(0,229,168,0.16), rgba(79,70,229,0.16));
  border: 1px solid var(--line-strong);
}
.step h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.quote { padding: 1.8rem; height: 100%; transition: transform 0.4s var(--ease-spring), border-color 0.4s; }
.quote:hover { transform: translateY(-6px); border-color: rgba(0,229,168,0.35); }
.quote__stars { color: #ffce4f; display: flex; gap: 0.15rem; margin-bottom: 0.9rem; }
.quote p { color: #d4deec; font-size: 1.02rem; margin: 0 0 1.4rem; }
.quote__person { display: flex; align-items: center; gap: 0.8rem; }
.quote__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-strong); }
.quote__person strong { display: block; font-family: var(--font-display); }
.quote__person span { color: var(--muted-2); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm) !important;
  margin-bottom: 0.9rem; overflow: hidden;
}
.faq-accordion .accordion-button {
  background: var(--glass-2); color: var(--text); font-family: var(--font-display); font-weight: 600;
  font-size: 1.06rem; padding: 1.15rem 1.3rem; box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--primary); background: rgba(0,229,168,0.06); }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--primary); }
.faq-accordion .accordion-button::after {
  filter: invert(70%) sepia(40%) saturate(900%) hue-rotate(110deg);
}
.faq-accordion .accordion-body { color: var(--muted); background: rgba(11,18,32,0.4); padding: 0 1.3rem 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band__inner {
  text-align: center; padding: 3.5rem 2rem;
  background: linear-gradient(160deg, rgba(0,229,168,0.12), rgba(79,70,229,0.16));
  border-color: rgba(0,229,168,0.3);
  overflow: hidden;
}
.cta-band__inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 0.8rem; }
.cta-band__inner p { color: var(--muted); margin: 0 0 1.8rem; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: linear-gradient(180deg, transparent, rgba(14,22,38,0.6)); }
.brand--footer { margin-bottom: 1rem; }
.footer__about { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer__h { font-size: 0.95rem; font-family: var(--font-display); margin-bottom: 1rem; color: var(--text); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer__links a { color: var(--muted); font-size: 0.92rem; }
.footer__links a:hover { color: var(--primary); padding-left: 4px; }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--muted); font-size: 1.1rem;
  transition: transform 0.3s var(--ease-spring), color 0.3s, border-color 0.3s;
}
.footer__social a:hover { transform: translateY(-4px); color: var(--primary); border-color: var(--primary); }

.newsletter { margin-top: 1.4rem; }
.newsletter__label { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; display: block; }
.newsletter__row { display: flex; gap: 0.5rem; }
.newsletter .form-control {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--text); border-radius: 11px;
}
.newsletter .form-control::placeholder { color: var(--muted-2); }
.newsletter .form-control:focus { background: rgba(255,255,255,0.06); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,168,0.15); color: var(--text); }
.newsletter__msg { font-size: 0.85rem; margin: 0.6rem 0 0; min-height: 1.2em; }
.newsletter__msg.ok { color: var(--primary); }
.newsletter__msg.err { color: #ff7a7a; }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem;
}
.footer__bottom p { color: var(--muted-2); font-size: 0.85rem; margin: 0; }
.footer__disclaimer { max-width: 480px; text-align: right; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1400;
  width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(14,22,38,0.85); color: var(--primary); font-size: 1.2rem;
  backdrop-filter: blur(10px); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.35s var(--ease-spring), transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: var(--shadow-glow); transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero { padding-top: 8.5rem; text-align: center; }
  .hero__copy { margin: 0 auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .console { margin: 2rem auto 0; }
  .footer__disclaimer { text-align: left; }
  .footer__bottom { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  .section { padding: 4.5rem 0; }
  .console__grid { grid-template-columns: 1fr; }
  .newsletter__row { flex-direction: column; }
  .newsletter .btn { width: 100%; }
}
