/* =========================================================
   Codegnito — single stylesheet
   Tokens → base → layout → components → sections → utilities
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color — black & gold */
  --bg: #07070a;
  --bg-2: #0b0b0f;
  --surface: #101015;
  --surface-2: #16161c;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(232, 184, 106, 0.22);
  --text: #f5f1e8;
  --text-muted: #b4ad9e;
  --text-dim: #7a7466;

  /* Gold scale */
  --gold: #e8b86a;
  --gold-2: #f3d28e;
  --gold-3: #c89348;
  --gold-deep: #8a6328;
  --accent-1: var(--gold-3);
  --accent-2: var(--gold-2);
  --accent-grad: linear-gradient(135deg, var(--gold-3) 0%, var(--gold) 50%, var(--gold-2) 100%);
  --accent-soft: rgba(232, 184, 106, 0.12);

  --whatsapp: #25d366;
  --whatsapp-2: #128c7e;

  /* Type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 18px 50px -12px rgba(232, 184, 106, 0.35);

  /* Layout — the content column grows fluidly on large / ultra-wide
     screens (stays 1180px on viewports up to ~1600px). */
  --container: clamp(1180px, 74vw, 1480px);
  --nav-h: 68px;
}

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

/* Fluid root font-size: ~16px on a laptop, scaling up to 19px on big
   monitors — so everything sized in rem (body text, headings, buttons,
   spacing-in-rem) breathes on larger screens. Never drops below 16px. */
html { font-size: clamp(16px, 13px + 0.23vw, 19px); }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Subtle ambient gradient, fully static */
  background-image:
    radial-gradient(900px 600px at 95% 8%, rgba(232, 184, 106, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 90%, rgba(200, 147, 72, 0.07), transparent 55%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--s-4);
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 var(--s-4); color: var(--text-muted); }

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

::selection { background: rgba(232, 184, 106, 0.35); color: #0a0a0f; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

main > section {
  padding: var(--s-7) 0;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.section-head .eyebrow { margin: 0 0 var(--s-3); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font: 600 0.95rem/1 var(--font-sans);
  padding: 14px 22px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease,
              background 160ms ease, border-color 160ms ease, color 160ms ease,
              filter 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-primary {
  background: var(--accent-grad);
  color: #1a1408;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: 0 24px 50px -8px rgba(232, 184, 106, 0.75),
              0 0 0 3px rgba(232, 184, 106, 0.18);
  color: #1a1408;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: rgba(232, 184, 106, 0.45);
}
.btn-outline-gold:hover {
  background: rgba(232, 184, 106, 0.08);
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(232, 184, 106, 0.10);
  border-color: var(--gold);
  color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(232, 184, 106, 0.14);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06150b;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { background: #2bdf72; color: #06150b; }

.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }

/* ---------- Glass card ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

/* ---------- Nav (floating centered pill) ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none; /* let the inner pill catch events only */
  padding: 0 var(--s-4);
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: 56px;
  padding: 6px 10px 6px 18px;
  border-radius: var(--r-full);
  background: rgba(12, 11, 9, 0.78);
  border: 1px solid rgba(232, 184, 106, 0.16);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 50px -20px rgba(0,0,0,0.7),
    0 6px 18px -8px rgba(232, 184, 106, 0.18);
  max-width: min(1080px, calc(100vw - 32px));
  width: max-content;
}
/* Spacer so fixed nav doesn't overlap content below */
body { padding-top: calc(var(--nav-h) + 16px); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-logo {
  /* Wordmark — fixed height, aspect-preserving width, capped so a giant
     logo can't dominate the nav. */
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(232, 184, 106, 0.3));
}
/* legacy "W" mark fallback — kept in case any markup still uses it */
.brand .mono {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-grad);
  color: #1a1408;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 6px 18px -4px rgba(232, 184, 106, 0.55);
}
.nav-links {
  display: none;
  gap: var(--s-6);
  margin-left: var(--s-6);
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--r-full);
  transition: color 160ms ease, background 160ms ease;
}
.nav-links a:hover { color: var(--gold-2); background: rgba(232, 184, 106, 0.10); }
.nav-cta { margin-left: auto; display: none; }
.nav-toggle {
  margin-left: auto;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 42px; height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }

@media (min-width: 880px) {
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

#mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(13, 13, 22, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 49;
}
#mobile-nav[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--s-4) var(--s-5) var(--s-6);
  display: grid;
  gap: 4px;
}
#mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
}
#mobile-nav a:hover { background: rgba(255,255,255,0.04); }
#mobile-nav .mobile-cta { margin-top: var(--s-3); }

/* ---------- Reveal (one-shot only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease, transform 600ms ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--s-4);
  padding-bottom: var(--s-7);
}
.hero-grid {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  margin-top: var(--s-4);
}
.hero h1 .accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--s-6);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.trust {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: var(--s-6) 0 0;
}
.trust .dot { color: var(--gold-2); opacity: 0.8; }
@media (max-width: 560px) {
  .trust { flex-wrap: wrap; white-space: normal; }
}

/* Hero mockup — purely static */
.mock {
  position: relative;
  padding: 10px;
  border-radius: var(--r-2xl);
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(232, 184, 106, 0.20), transparent 60%),
    radial-gradient(120% 100% at 0% 100%, rgba(200, 147, 72, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  margin: 0;
  overflow: hidden;
}

/* Image wrapper so we can layer a scan-line above the wipe */
.mock-frame {
  position: relative;
  border-radius: calc(var(--r-2xl) - 10px);
  overflow: hidden;
  border: 1px solid rgba(232, 184, 106, 0.18);
}
.mock-frame::after {
  /* Glowing horizontal scan line that rides the wipe edge */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 184, 106, 0.0) 10%,
    rgba(243, 210, 142, 0.95) 50%,
    rgba(232, 184, 106, 0.0) 90%,
    transparent 100%);
  box-shadow: 0 0 18px 4px rgba(232, 184, 106, 0.55);
  transform: translateY(0);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.mock-shot {
  display: block;
  width: 100%;
  height: auto;
  /* Start fully hidden, top edge ready */
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
}

/* When the mock enters the viewport, perform the top-to-bottom "writing" reveal */
@media (prefers-reduced-motion: no-preference) {
  .mock.is-visible .mock-shot {
    animation: mock-wipe 2200ms cubic-bezier(0.22, 0.61, 0.36, 1) 200ms forwards;
  }
  .mock.is-visible .mock-frame::after {
    animation: mock-scan 2200ms cubic-bezier(0.22, 0.61, 0.36, 1) 200ms forwards;
  }
}

/* Reduced-motion or no-IO fallback: just show the image */
.mock-shot { /* default fully visible if no animation runs */ }
.mock:not(.is-visible) .mock-shot { /* hidden until reveal triggers */ }

@media (prefers-reduced-motion: reduce) {
  .mock-shot { clip-path: none; -webkit-clip-path: none; }
}

@keyframes mock-wipe {
  0%   { clip-path: inset(0 0 100% 0); -webkit-clip-path: inset(0 0 100% 0); }
  100% { clip-path: inset(0 0 0%   0); -webkit-clip-path: inset(0 0 0%   0); }
}
@keyframes mock-scan {
  0%   { transform: translateY(0);       opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { transform: translateY(var(--mock-h, 720px)); opacity: 0; }
}
.mock-heading {
  margin: 0 4px 14px;
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-align: center;
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(232, 184, 106, 0.18);
}
.mock-bg {
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) ,
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
    #0a0a13;
  border: 1px solid var(--line);
  height: 360px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end;
  padding: var(--s-5);
}
.mock-bg::before {
  content: "screen-share preview · interviewer's view";
  position: absolute;
  top: 14px; left: 16px;
  font: 500 0.75rem/1 var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mock-bg::after {
  content: "codegnito overlay is hidden here";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font: 500 0.85rem/1 var(--font-mono);
  color: var(--text-dim);
  border: 1px dashed rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 10px;
}

/* The overlay card */
.overlay {
  position: absolute;
  right: var(--s-5);
  bottom: var(--s-5);
  width: min(420px, calc(100% - var(--s-7)));
  background: linear-gradient(180deg, rgba(20,18,12,0.94), rgba(10,9,7,0.94));
  border: 1px solid rgba(232, 184, 106, 0.22);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.75),
              0 0 0 1px rgba(232, 184, 106, 0.14) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.overlay-head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font: 600 0.78rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.overlay-head .pin {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-grad);
}
.overlay-head .pill {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(232, 184, 106, 0.12);
  color: var(--gold);
  border: 1px solid rgba(232, 184, 106, 0.32);
  text-transform: none;
  letter-spacing: 0;
}
.overlay-body { padding: 14px; }
.overlay-q {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 var(--s-3);
}
.overlay-code {
  margin: 0;
  font: 500 0.82rem/1.55 var(--font-mono);
  background: #0a0a13;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: #e6e6f3;
  overflow-x: auto;
  white-space: pre;
}
.overlay-code .k  { color: var(--gold-2); }
.overlay-code .fn { color: #f3d28e; }
.overlay-code .s  { color: #d3b787; }
.overlay-code .c  { color: #6f6857; font-style: italic; }
.overlay-foot {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  flex-wrap: wrap;
}
.kbd {
  font: 600 0.7rem/1 var(--font-mono);
  padding: 5px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(360px, 1fr) minmax(0, 1.4fr);
    gap: var(--s-8);
  }
}

/* ---------- Compatibility strip ---------- */
.compat { padding-top: var(--s-7); padding-bottom: var(--s-7); }
.compat-inner {
  padding: var(--s-7) var(--s-6);
  display: grid;
  gap: var(--s-6);
}
.compat-head { text-align: center; max-width: 720px; margin: 0 auto; }
.compat-head h2 { margin: 0 0 var(--s-3); font-size: clamp(1.5rem, 3vw, 2rem); }
.compat-head p { margin: 0; color: var(--text-muted); }
.compat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid rgba(232, 184, 106, 0.32);
  border-radius: var(--r-full);
  background: rgba(232, 184, 106, 0.06);
  margin-bottom: var(--s-4);
}
.compat-eyebrow .ping {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 184, 106, 0.18);
}
.compat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .compat-grid { grid-template-columns: repeat(5, 1fr); } }

.compat-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: var(--s-4) 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.015);
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.compat-app:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(232, 184, 106, 0.6);
  background: rgba(232, 184, 106, 0.08);
  box-shadow:
    0 18px 40px -16px rgba(232, 184, 106, 0.5),
    0 0 0 1px rgba(232, 184, 106, 0.35);
}
.compat-app:hover .compat-logo {
  box-shadow: 0 0 22px -2px rgba(232, 184, 106, 0.55), 0 6px 14px -8px rgba(0,0,0,0.5);
  transform: scale(1.05);
}
.compat-logo {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,0.5);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.compat-logo svg { display: block; }
.compat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.compat-status {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dot-ok {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6bd58a;
  box-shadow: 0 0 0 3px rgba(107, 213, 138, 0.18);
}
.compat-footnote {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Hero pillar boxes ---------- */
.trust-row {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s-5);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-full);
  background: linear-gradient(180deg, rgba(232,184,106,0.10), rgba(232,184,106,0.04));
  border: 1px solid rgba(232, 184, 106, 0.35);
  box-shadow: 0 8px 24px -12px rgba(232, 184, 106, 0.55),
              inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-badge .stars {
  display: inline-flex;
  gap: 2px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(232, 184, 106, 0.14);
  color: var(--gold-2);
}
.trust-badge .stars svg { display: block; filter: drop-shadow(0 0 4px rgba(232,184,106,0.45)); }
.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.trust-badge-text strong { color: var(--gold-2); font-weight: 700; }

.pillars {
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  padding: var(--s-5);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 184, 106, 0.6);
  background: linear-gradient(180deg, rgba(232,184,106,0.12), rgba(232,184,106,0.04));
  box-shadow:
    0 22px 50px -18px rgba(232, 184, 106, 0.45),
    0 0 0 1px rgba(232, 184, 106, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.pillar:hover .pillar-icon {
  background: rgba(232, 184, 106, 0.22);
  border-color: rgba(232, 184, 106, 0.65);
  color: var(--gold-2);
  box-shadow: 0 0 24px -4px rgba(232, 184, 106, 0.6);
}
.pillar-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 184, 106, 0.28);
  color: var(--gold);
  display: grid; place-items: center;
}
.pillar h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.pillar p  { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.features-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
.feature {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 184, 106, 0.55);
  background: linear-gradient(180deg, rgba(232,184,106,0.10), rgba(232,184,106,0.03));
  box-shadow:
    0 22px 50px -18px rgba(232, 184, 106, 0.42),
    0 0 0 1px rgba(232, 184, 106, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.feature:hover .badge {
  background: rgba(232, 184, 106, 0.22);
  border-color: rgba(232, 184, 106, 0.6);
  color: var(--gold-2);
  box-shadow: 0 0 22px -4px rgba(232, 184, 106, 0.55);
}
.feature .badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 184, 106, 0.28);
  display: grid; place-items: center;
  color: var(--gold);
}
.feature h3 { margin: 0; }
.feature p { margin: 0; font-size: 0.95rem; }

@media (min-width: 640px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: var(--s-3);
  position: relative;
}
.step {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  padding: var(--s-5) var(--s-4);
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 184, 106, 0.55);
  background: linear-gradient(180deg, rgba(232,184,106,0.08), rgba(232,184,106,0.02));
  box-shadow:
    0 22px 50px -18px rgba(232, 184, 106, 0.45),
    0 0 0 1px rgba(232, 184, 106, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.step-num {
  font: 800 0.85rem/1 var(--font-mono);
  color: var(--gold-2);
  letter-spacing: 0.08em;
  margin-bottom: var(--s-3);
  opacity: 0.95;
}
.step h3 { margin: 0 0 var(--s-2); font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

.step-arrow {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.7;
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }
}

/* ---------- Hotkeys block ---------- */
.hotkeys-block {
  margin-top: var(--s-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}
.hotkeys-head { text-align: center; max-width: 640px; }
.hotkeys-head h3 {
  margin: 0 0 var(--s-2);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.01em;
}
.hotkeys-head p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

.hotkeys-grid {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: var(--s-2);
  width: 100%;
  max-width: none;
}
.hotkey {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px;
  align-items: flex-start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.hotkey:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 184, 106, 0.55);
  background: linear-gradient(180deg, rgba(232,184,106,0.08), rgba(232,184,106,0.02));
  box-shadow:
    0 18px 40px -16px rgba(232, 184, 106, 0.45),
    0 0 0 1px rgba(232, 184, 106, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.kbd-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.kbd-row span {
  color: var(--text-dim);
  font: 600 0.85rem/1 var(--font-mono);
}
.hotkey kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 4px 7px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(232, 184, 106, 0.35);
  border-radius: 6px;
  font: 600 0.78rem/1 var(--font-mono);
  color: var(--gold-2);
  box-shadow:
    inset 0 -2px 0 rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
  letter-spacing: 0.02em;
}
.hotkey-label {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  margin-top: auto;
}
.kbd-arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
}
.hotkeys-more {
  margin: var(--s-2) 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.hotkeys-more strong { color: var(--gold-2); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 106, 0.55);
  background: linear-gradient(180deg, rgba(232,184,106,0.07), rgba(232,184,106,0.02));
  box-shadow:
    0 28px 60px -18px rgba(232, 184, 106, 0.45),
    0 0 0 1px rgba(232, 184, 106, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.plan.featured {
  border-color: rgba(232, 184, 106, 0.45);
  box-shadow: 0 28px 60px -20px rgba(232, 184, 106, 0.32), var(--shadow-md);
}
.plan .ribbon {
  position: absolute;
  top: -14px; right: 20px;
  font: 700 0.7rem/1 var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--r-full);
  background: var(--accent-grad);
  color: #1a1408;
  box-shadow: var(--shadow-glow);
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.plan-icon {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 184, 106, 0.32);
  color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.plan-icon-pro {
  background: var(--accent-grad);
  color: #1a1408;
  border-color: rgba(232, 184, 106, 0.65);
  box-shadow: 0 8px 22px -8px rgba(232, 184, 106, 0.6);
}
.plan-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}
.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}
.plan ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.plan li .check {
  flex: 0 0 18px;
  margin-top: 2px;
  color: var(--gold);
}
.plan li.muted .check { color: var(--text-dim); }
.plan .btn { margin-top: auto; }

@media (min-width: 760px) {
  .pricing { grid-template-columns: 1fr 1fr; }
}

/* ---------- WhatsApp band ---------- */
.wa-band {
  border-radius: var(--r-full);
  padding: 14px 22px;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(255,255,255,0.15), transparent 60%),
    linear-gradient(135deg, var(--whatsapp-2) 0%, var(--whatsapp) 100%);
  color: #052012;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  box-shadow: 0 18px 40px -18px rgba(18, 140, 126, 0.55);
}
.wa-band h2 {
  color: #052012;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wa-band p {
  color: rgba(5, 32, 18, 0.78);
  margin: 0;
  font-size: 0.85rem;
}
.wa-band > div {
  flex: 1 1 auto;
  min-width: 220px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.wa-band .btn-whatsapp {
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: 0.88rem;
  background: #052012;
  color: #d6fbe2;
  box-shadow: none;
  border: 1px solid rgba(5, 32, 18, 0.6);
}
.wa-band .btn-whatsapp:hover { background: #0a3a22; color: #d6fbe2; }
@media (max-width: 560px) {
  .wa-band {
    border-radius: var(--r-2xl);
    padding: 18px 20px;
  }
  .wa-band .btn-whatsapp { width: 100%; justify-content: center; }
}

/* Compress space between pricing and the WA band */
#pricing { padding-bottom: var(--s-5); }
#activate { padding-top: var(--s-4); padding-bottom: var(--s-7); }

/* ---------- Download ---------- */
.download-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: var(--s-5) var(--s-5);
  display: grid;
  gap: var(--s-3);
  justify-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(232, 184, 106, 0.18), transparent 60%),
    linear-gradient(180deg, #0e0c08 0%, #07060a 100%);
  border: 1px solid rgba(232, 184, 106, 0.35);
  box-shadow: var(--shadow-lg), 0 0 80px -20px rgba(232, 184, 106, 0.25) inset;
}
.win-badge {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 184, 106, 0.28);
  display: grid; place-items: center;
  color: var(--gold);
}
.win-badge svg { width: 26px; height: 26px; }
.os-chips {
  margin-top: var(--s-3);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.chip {
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: var(--r-full);
  border: 1px dashed var(--line-strong);
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}
.coming-soon {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- Reviews ---------- */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-track {
  list-style: none;
  margin: 0;
  padding: 8px 4px 16px;
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc(33.333% - var(--s-4) * 2 / 3);
  scroll-snap-align: start;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
@media (max-width: 1023px) {
  .review-card { flex: 0 0 calc(50% - var(--s-4) / 2); }
}
@media (max-width: 639px) {
  .review-card { flex: 0 0 88%; }
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 184, 106, 0.5);
  background: linear-gradient(180deg, rgba(232,184,106,0.08), rgba(232,184,106,0.02));
  box-shadow:
    0 22px 50px -18px rgba(232, 184, 106, 0.4),
    0 0 0 1px rgba(232, 184, 106, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.rev-arrow {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 106, 0.35);
  background: rgba(232, 184, 106, 0.06);
  color: var(--gold);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease, opacity 160ms ease;
}
.rev-arrow:hover {
  background: rgba(232, 184, 106, 0.16);
  border-color: var(--gold);
  color: var(--gold-2);
  transform: scale(1.06);
}
.rev-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}
@media (max-width: 720px) {
  .rev-arrow { display: none; }
}

.rev-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.rev-dots button {
  appearance: none;
  border: none;
  background: rgba(232, 184, 106, 0.25);
  width: 6px; height: 6px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease, width 160ms ease;
}
.rev-dots button[aria-current="true"] {
  background: var(--gold);
  width: 22px;
  border-radius: 999px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 700 0.78rem/1 var(--font-sans);
  letter-spacing: 0.05em;
  color: #1a1408;
  background: var(--accent-grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.avatar[data-color="2"] { background: linear-gradient(135deg, #4a5568 0%, #c89348 100%); color: #fff; }
.avatar[data-color="3"] { background: linear-gradient(135deg, #c89348 0%, #6a3d8c 100%); color: #fff; }
.avatar[data-color="4"] { background: linear-gradient(135deg, #2a4f7c 0%, #e8b86a 100%); color: #fff; }
.avatar[data-color="5"] { background: linear-gradient(135deg, #1f8a5b 0%, #f3d28e 100%); color: #1a1408; }
.avatar[data-color="6"] { background: linear-gradient(135deg, #9a2b2b 0%, #e8b86a 100%); color: #fff; }
.review-meta { line-height: 1.25; }
.review-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.review-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.review-role span { color: var(--gold-2); font-weight: 600; }
.review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold-2);
}
.review-stars svg { display: block; filter: drop-shadow(0 0 4px rgba(232,184,106,0.4)); }
.review-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: var(--s-3);
}
.faq details {
  padding: var(--s-4) var(--s-5);
  transition: background 160ms ease, border-color 160ms ease;
}
.faq details[open] {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-color: var(--line-strong);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  padding: 6px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font: 400 1.4rem/1 var(--font-sans);
  color: var(--text-muted);
  transition: transform 180ms ease, color 160ms ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after {
  content: "−";
  color: var(--gold);
}
.faq details > div {
  padding-top: var(--s-3);
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}
.faq details > div p { margin: 0; }

/* ---------- End CTA ---------- */
.end-cta {
  border-radius: var(--r-2xl);
  padding: var(--s-9) var(--s-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(232, 184, 106, 0.18), transparent 60%),
    linear-gradient(180deg, #0e0c08 0%, #07060a 100%);
  color: var(--text);
  border: 1px solid rgba(232, 184, 106, 0.35);
  box-shadow: var(--shadow-lg), 0 0 80px -20px rgba(232, 184, 106, 0.25) inset;
}
.end-cta h2 { color: var(--text); margin: 0 0 var(--s-3); }
.end-cta h2 .accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.end-cta p { color: var(--text-muted); margin: 0 0 var(--s-5); font-size: 1.05rem; }
.end-cta .btn-primary { background: var(--accent-grad); color: #1a1408; }
.end-cta .btn-primary:hover { color: #1a1408; }

/* ---------- Footer ---------- */
/* ---------- Footer ---------- */
.footer-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.footer-social a:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(232, 184, 106, 0.45);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.5);
}
.footer-social .soc-x { background: #000; border-color: rgba(255,255,255,0.18); }
.footer-social .soc-instagram { background: transparent; border-color: transparent; }
.footer-social .soc-instagram svg { border-radius: 9px; overflow: hidden; }

.footer-disclaimer {
  margin: 0;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}
.footer-disclaimer strong {
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: var(--s-7) 0;
  margin-top: var(--s-8);
}
.footer-inner {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer .brand { color: var(--text); }
.footer .brand .tag {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.85rem;
  margin-left: 8px;
}
.footer-links {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: #fff; }
.copy { text-align: left; }

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-6);
  }
  .footer-links { justify-content: center; }
  .copy { text-align: right; }
}
@media (max-width: 759px) {
  .footer-social { justify-content: center; flex-wrap: wrap; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Large / ultra-wide screens ---------- */
/* The fluid root font-size + fluid --container already do most of the
   scaling; these just give big monitors a little more vertical breathing
   room and let centred headings use the extra width. */
@media (min-width: 1600px) {
  :root { --nav-h: 74px; }
  main > section { padding: var(--s-8) 0; }
  .hero { padding-bottom: var(--s-8); }
  .section-head,
  .compat-head { max-width: 820px; }
  .hotkeys-head { max-width: 720px; }
  .hero-grid { gap: clamp(var(--s-8), 5vw, 96px); }
}
@media (min-width: 2100px) {
  main > section { padding: var(--s-9) 0; }
}
