/* ============================================================
   ENTERFORME — Landing Page Styles
   Dark, minimal, institutional. Apple / Stripe / Linear inspired.
   ============================================================ */

:root {
  --bg: #06070a;
  --bg-elevated: #0c0e13;
  --bg-card: #101319;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f3f5;
  --text-muted: #9ea3ad;
  --text-faint: #676c78;
  --gold: #cba465;
  --gold-soft: rgba(203, 164, 101, 0.14);
  --green: #6fae8f;
  --red: #b06b64;
  --heading: "Barlow Condensed", "Archivo Narrow", "Inter Tight", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 7, 10, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(6, 7, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
}
.nav__logo {
  height: 40px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__cta:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 32px 100px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(203,164,101,0.10), transparent 60%),
    linear-gradient(180deg, #0a0b0f 0%, #06070a 55%, #050608 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 10%, transparent 75%);
  animation: driftGrid 40s linear infinite;
}
@keyframes driftGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 128px, 64px 128px; }
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(203,164,101,0.16) 0%, transparent 65%);
  filter: blur(10px);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  font-weight: 500;
}
.hero__headline {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0 0 26px;
  color: #fff;
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn__icon { width: 18px; height: 18px; }
.btn--primary {
  background: #fff;
  color: #0a0b0f;
}
.btn--primary:hover { transform: translateY(-2px); background: #eee; }
.btn--secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--secondary:hover { transform: translateY(-2px); border-color: var(--text-muted); }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--text-muted);
  animation: scrollDot 2.2s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}

/* ---------- Full-width statement ---------- */
.statement {
  padding: 140px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.statement p {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0.003em;
}

/* ---------- Generic section ---------- */
.section { padding: 130px 0; }
.section__title {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(26px, 3.2vw, 38px);
  text-align: center;
  margin: 0 0 64px;
  color: #fff;
}

/* ---------- Problem ---------- */
.problem { text-align: center; }
.stat {
  font-family: var(--heading);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 42px);
  margin: 0 0 56px;
  color: var(--text-muted);
}
.stat__accent { color: var(--gold); font-weight: 500; }
.problem__body p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 20px;
  font-weight: 300;
}
.problem__lede {
  font-size: 22px !important;
  color: #fff !important;
  font-weight: 400 !important;
}

/* ---------- Fit section ---------- */
.fit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.fit__col {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  background: var(--bg-card);
}
.fit__col h3 {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 22px;
  margin: 0 0 26px;
}
.fit__col--yes h3 { color: var(--green); }
.fit__col--no h3 { color: var(--red); }
.fit__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fit__col li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 26px;
  position: relative;
}
.fit__col--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}
.fit__col--no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
}
@media (max-width: 720px) {
  .fit__grid { grid-template-columns: 1fr; }
}

/* ---------- Performance: featured Gold M5 card ---------- */
.perf-table__badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0b0f;
  background: var(--gold);
  border-radius: 100px;
  padding: 3px 9px;
  vertical-align: middle;
}
.featured-card {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--gold-soft), var(--bg-card) 60%);
  padding: 40px clamp(20px, 5vw, 48px);
  margin-bottom: 56px;
}
.featured-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.featured-card__title {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 22px;
  color: #fff;
  margin: 0;
}
.featured-card__return {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.featured-card__return-value {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 76px);
  color: var(--gold);
  line-height: 1;
}
.featured-card__return-label {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
}
.featured-card__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.featured-card__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.featured-card__stat-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.featured-card__stat-value {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .featured-card__stats { grid-template-columns: repeat(2, 1fr); }
}

.additional-title {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--text-faint);
  text-align: center;
  margin: 0 0 24px;
}

/* ---------- Performance: additional systems (desktop table) ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
}
.perf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.perf-table th, .perf-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}
.perf-table thead th {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.perf-table tbody td {
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.perf-table tbody td:first-child { color: var(--text); font-weight: 500; }
.perf-table tbody tr:last-child td { border-bottom: none; }
.perf-table tbody td:nth-child(4) { color: var(--gold); font-weight: 600; }

/* ---------- Performance: additional systems (mobile stacked cards) ---------- */
.perf-cards { display: none; }
.perf-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 20px 22px;
}
.perf-card + .perf-card { margin-top: 14px; }
.perf-card__title {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
}
.perf-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.perf-card__row span:first-child { color: var(--text-faint); }
.perf-card__row span:last-child {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.perf-card__accent { color: var(--gold) !important; font-weight: 600 !important; }

@media (max-width: 700px) {
  .table-wrap { display: none; }
  .perf-cards { display: block; }
}

.disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  max-width: 640px;
  margin: 24px auto 0;
  line-height: 1.6;
}

/* ---------- Why traders switch ---------- */
.switch__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.switch__card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.switch__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.switch__from {
  font-size: 15px;
  color: var(--text-faint);
  text-decoration: line-through;
}
.switch__arrow {
  color: var(--gold);
  font-size: 18px;
}
.switch__to {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 20px;
  color: #fff;
}
@media (max-width: 860px) {
  .switch__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mascot ---------- */
.mascot {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.mascot__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(203,164,101,0.12), transparent 70%);
}
.mascot__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mascot__img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
}
.mascot__caption {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  padding: 26px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
  transition: transform 0.3s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a p {
  padding: 0 4px 26px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 100px 0 40px;
  text-align: center;
  background: var(--bg-elevated);
}
.footer__logo {
  height: 44px;
  width: auto;
  margin: 0 auto 36px;
}
.footer__statement {
  font-family: var(--heading);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 600;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.5;
}
.footer__ctas { margin-bottom: 70px; }
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .section { padding: 90px 0; }
  .statement { padding: 90px 22px; }
  .hero { padding: 120px 22px 80px; }
  .btn { width: 100%; justify-content: center; }
  .hero__ctas { width: 100%; }
}
