/* ===== NeoX Theme — Fresh, accessible, and unique ===== */
/* Design Tokens */
:root {
  /* Light on dark emerald + coral theme */
  --nx-bg: #0b1411;           /* deep green-black */
  --nx-surface: #0f1d19;      /* base cards */
  --nx-elev: #132822;         /* elevated surfaces */
  --nx-text: #e7f5ef;         /* primary text */
  --nx-muted: #9ec7b6;        /* secondary text */
  --nx-primary: #ff7a66;      /* coral accents */
  --nx-primary-600: #ff5e46;
  --nx-secondary: #2cc5a7;    /* emerald accent */
  --nx-line: rgba(231, 245, 239, 0.14);
  --nx-shadow: 0 10px 30px rgba(0,0,0,0.35);
  --nx-radius: 14px;
  --nx-grad-cta: linear-gradient(135deg, #ff7a66 0%, #2cc5a7 100%);
  --nx-grad-hero: radial-gradient(1200px 600px at 10% -10%, rgba(44,197,167,0.14), transparent 60%),
                  radial-gradient(800px 500px at 90% 10%, rgba(255,122,102,0.12), transparent 60%),
                  #0b1411;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background: var(--nx-grad-hero);
  color: var(--nx-text);
  line-height: 1.65;
  font-size: 16px;
}

/* Focus visibility */
:where(a, button, [tabindex], [role="button"]):focus-visible {
  outline: 3px solid var(--nx-secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.nx-skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
  background: var(--nx-elev); color: var(--nx-text); padding: .75rem 1rem; border-radius: 10px; z-index: 999;
}
.nx-skip:focus { left: 16px; top: 16px; width: auto; height: auto; }

/* Shell (container) */
.nx-shell { width: min(1200px, 92%); margin-inline: auto; }

/* Typography */
.nx-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.4rem);
  letter-spacing: -0.02em;
}

.nx-h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  margin-bottom: .7rem;
}

.nx-subtitle { color: var(--nx-muted); font-size: 1.05rem; }
.nx-lead { color: var(--nx-muted); font-size: 1.05rem; margin-bottom: 1.4rem; }

/* Buttons */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.4rem; border: 0; border-radius: 12px; font-weight: 700; cursor: pointer;
  color: var(--nx-text); text-decoration: none; background: var(--nx-elev);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.nx-btn--primary { background: var(--nx-grad-cta); color: #0b1411; }
.nx-btn--ghost { background: transparent; border: 1px solid var(--nx-line); }
.nx-btn:hover { transform: translateY(-2px); box-shadow: var(--nx-shadow); }
.nx-btn:active { transform: translateY(0); filter: brightness(.95); }

/* Badges & pills */
.nx-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: var(--nx-elev); border: 1px solid var(--nx-line); font-weight: 700; font-size: .86rem; }
.nx-badge--age { background: var(--nx-primary); color: #0b1411; border: 0; }

.nx-pill { display: inline-block; padding: .35rem .65rem; border-radius: 8px; background: #0f2621; color: #a1e7d6; font-size: .85rem; font-weight: 700; }
.nx-pill--alt { background: #291512; color: #ffc0b6; }

/* Date */
.nx-date { color: var(--nx-muted); font-size: .92rem; }

/* Hero */
.nx-hero { padding: 3.5rem 0 2rem; }
.nx-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
@media (max-width: 960px) { .nx-hero__grid { grid-template-columns: 1fr; } }
.nx-hero__meta { display: flex; align-items: center; gap: .8rem; margin-bottom: .25rem; }
.nx-hero__content .nx-title { margin: .3rem 0 .6rem; }
.nx-pros { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.nx-pros__item { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 999px; padding: .5rem 1rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; }

/* Spotlight card (hero aside) */
.nx-spotlight { position: relative; overflow: hidden; background: var(--nx-elev); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 1.2rem; box-shadow: var(--nx-shadow); display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.nx-spotlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,122,102,.06), rgba(44,197,167,.06)); pointer-events: none; }
.nx-spotlight__brand { width: 140px; height: 64px; display: grid; place-items: center; background: var(--nx-surface); border-radius: 10px; border: 1px solid var(--nx-line); }
.nx-spotlight__info { display: grid; gap: .6rem; align-content: start; }
.nx-spotlight__note { color: var(--nx-secondary); font-weight: 700; }
.nx-spotlight__bonus { margin: 0; }
.nx-spotlight__disclaimer { color: var(--nx-muted); font-size: .86rem; margin: 0; }

/* Score gauge */
.nx-score { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--nx-surface); display: grid; place-items: center; }
.nx-score__gauge { position: absolute; inset: -2px; border-radius: 50%; background: conic-gradient(var(--nx-primary) 0 var(--nx-score, 90%), rgba(255,255,255,.1) var(--nx-score, 90%) 100%); mask: radial-gradient(circle 22px at 50% 50%, transparent 60%, #000 61%); }
.nx-score__value { font-weight: 800; font-size: .95rem; color: var(--nx-text); }
.nx-score--sm { width: 48px; height: 48px; }
.nx-score--sm .nx-score__gauge { mask: radial-gradient(circle 18px at 50% 50%, transparent 60%, #000 61%); }

/* Cards rail */
.nx-cards { padding: 1rem 0 0; }
.nx-cards__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: 1rem; overflow-x: auto; padding: .4rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.nx-cards__track > * { scroll-snap-align: start; }

.nx-card { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 1rem; display: grid; gap: .8rem; transition: transform .2s ease, box-shadow .2s ease; }
.nx-card:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.nx-card__head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.nx-card__logo { width: 120px; height: auto; display: block; }
.nx-card__body { display: grid; gap: .55rem; }
.nx-card__bonus { margin: 0; font-weight: 600; }
.nx-card__legal { margin: 0; color: var(--nx-muted); font-size: .86rem; }

/* Info grid */
.nx-section { padding: 2.8rem 0; }
.nx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.nx-feature { background: var(--nx-elev); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 1.1rem; transition: transform .2s ease, box-shadow .2s ease; }
.nx-feature:hover { transform: scale(1.02); box-shadow: var(--nx-shadow); }
.nx-feature__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #0b201b; color: var(--nx-secondary); margin-bottom: .7rem; }
.nx-feature__title { font-weight: 800; margin-bottom: .4rem; }
.nx-feature__text { color: var(--nx-muted); }

.nx-list { list-style: none; display: grid; gap: .6rem; margin: 1rem 0; }
.nx-list i { color: var(--nx-secondary); margin-right: .5rem; }

/* Accordion */
.nx-faq { padding: 1.6rem 0 3rem; }
.nx-accordion { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); margin: .75rem 0; overflow: hidden; }
.nx-accordion__header { width: 100%; padding: 1rem; background: transparent; color: var(--nx-text); font-weight: 700; display: flex; align-items: center; justify-content: space-between; cursor: pointer; border: none; font-size: 1rem; }
.nx-accordion__icon { transition: transform .25s ease; color: var(--nx-primary); }
.nx-accordion.is-open .nx-accordion__icon { transform: rotate(180deg); }
.nx-accordion__content { padding: 0 1rem; color: var(--nx-muted); max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }

/* Footer */
.nx-footer { padding: 2.4rem 0; background: var(--nx-elev); border-top: 1px solid var(--nx-line); }
.nx-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.2rem; }
@media (max-width: 960px) { .nx-footer__grid { grid-template-columns: 1fr; text-align: center; } }

.nx-brand { font-family: 'Outfit', system-ui, sans-serif; font-weight: 800; font-size: 1.3rem; }
.nx-footnote { color: var(--nx-text); font-size: .92rem; }
.nx-footnote--muted { color: var(--nx-muted); }

.nx-footer__heading { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: .6rem; }
.nx-footer__links { list-style: none; display: grid; gap: .5rem; }
.nx-footer__link { color: var(--nx-text); text-decoration: none; padding: .4rem; border-radius: 8px; transition: background .2s ease; }
.nx-footer__link:hover { background: var(--nx-surface); }

.nx-trust { padding: 1.4rem 0; }
.nx-trust__title { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: .7rem; }
.nx-trust__row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.nx-trust__item { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: 10px; padding: .55rem; display: flex; align-items: center; justify-content: center; min-width: 74px; height: 54px; transition: transform .2s ease, box-shadow .2s ease; }
.nx-trust__item:hover { transform: scale(1.05); box-shadow: var(--nx-shadow); }
.nx-trust__item img { max-height: 36px; width: auto; }

/* Utilities */
.nx-mt-3 { margin-top: 2rem; }

/* Responsive alignment tweaks */
@media (max-width: 768px) {
  .nx-hero, .nx-section, .nx-faq, .nx-footer { text-align: center; }
  .nx-hero { padding: 2.4rem 0 1.2rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
