/* ============================================================
   Betreels Affiliates - modern theme
   Brand palette drawn from the logo:
   deep royal blue #03448F · azure #00A0FF · cyan #08A8C5 · navy #002A68
   ============================================================ */

:root {
  --navy-950: #001230;
  --navy-900: #00224d;
  --navy-800: #002a68;
  --blue-700: #03448f;
  --blue-600: #0246a8;
  --azure: #00a0ff;
  --cyan: #08a8c5;
  --cyan-bright: #00d8e8;
  --gold: #f5b942;
  --ink: #122a44;
  --muted: #51677f;
  --bg: #f2f7fc;
  --card: #ffffff;
  --line: #dbe7f3;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(2, 34, 77, .08);
  --shadow-md: 0 12px 32px rgba(2, 34, 77, .12);
  --shadow-lg: 0 24px 60px rgba(0, 18, 48, .28);
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--azure); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-900); font-weight: 800; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }

.center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
}

.section-title + .lead,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 820px;
}
.center .lead { margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.btn-cta {
  background: linear-gradient(92deg, var(--azure), var(--cyan));
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 160, 255, .38);
}
.btn-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 160, 255, .5);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .45);
  padding: 11px 28px;
}
.btn-ghost:hover { color: #fff; border-color: var(--cyan-bright); background: rgba(255, 255, 255, .08); }

.btn-outline {
  background: #fff;
  color: var(--blue-700);
  border: 2px solid var(--blue-700);
  padding: 11px 28px;
}
.btn-outline:hover { background: var(--blue-700); color: #fff; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 18, 48, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 10, 30, .45); }

.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, .82);
  font-weight: 600;
  font-size: .92rem;
  padding: 9px 13px;
  border-radius: 9px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a.active { color: var(--cyan-bright); background: rgba(8, 168, 197, .14); }

.nav-cta { margin-left: 10px; display: flex; align-items: center; gap: 12px; }
.nav-menu { display: flex; align-items: center; }
.nav-login {
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  font-size: .92rem;
}
.nav-login:hover { color: var(--cyan-bright); }
.nav-signup {
  background: linear-gradient(92deg, var(--azure), var(--cyan));
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 160, 255, .35);
}
.nav-signup:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 9px 24px rgba(0, 160, 255, .5); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2.5px;
  border-radius: 3px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { top: 19px; left: 10px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero slider ---------------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(0, 160, 255, .28), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(8, 168, 197, .22), transparent 60%),
    linear-gradient(130deg, var(--navy-950) 0%, var(--blue-700) 72%, #06527f 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-slides { display: grid; }

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity .7s ease, transform .7s ease, visibility .7s;
  z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: none; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 36px;
  min-height: 620px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero-eyebrow {
  color: var(--cyan-bright);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 16px;
}

.hero-content h1,
.hero-content h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0, 20, 60, .45);
}

.hero-logo {
  display: block;
  width: min(400px, 78%);
  margin: 6px 0 18px;
  filter: drop-shadow(0 14px 30px rgba(0, 10, 30, .5));
}

.hero-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 1.12rem;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 24px 44px rgba(0, 10, 30, .45)); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(0, 18, 48, .45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: rgba(0, 160, 255, .35); border-color: var(--azure); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-arrow svg { width: 18px; height: 18px; }

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-dots .dot.active { background: var(--cyan-bright); transform: scale(1.25); }

/* ---------------- Feature cards ---------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 38px 30px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 160, 255, .14), rgba(8, 168, 197, .18));
}
.feature-icon svg { width: 38px; height: 38px; }

.feature-card h2 { font-size: 1.3rem; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: .97rem; text-align: left; }
.feature-card a { font-weight: 600; }

/* ---------------- CTA band ---------------- */

.cta-band {
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(0, 216, 232, .25), transparent 60%),
    linear-gradient(110deg, var(--blue-700), var(--navy-800));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 860px; margin: 0 auto 14px; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 680px; margin: 0 auto 30px; }

/* ---------------- Providers wall ---------------- */

.providers { background: var(--bg); }

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.provider-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.provider-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.provider-card img { max-height: 58px; max-width: 100%; object-fit: contain; }

.providers-more { text-align: center; margin-top: 36px; }

/* ---------------- Modal ---------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 18, 48, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  background: #fff;
  border-radius: 18px;
  max-width: 780px;
  width: 100%;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.modal-head h3 { font-size: 1.2rem; }

.modal-close {
  background: transparent;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.modal-close:hover { color: var(--navy-900); background: var(--bg); }

.modal-body {
  padding: 24px 28px 30px;
  overflow-y: auto;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list li {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-weight: 600;
  font-size: .88rem;
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------------- Page hero (subpages) ---------------- */

.page-hero {
  background:
    radial-gradient(700px 340px at 88% -20%, rgba(0, 160, 255, .3), transparent 60%),
    linear-gradient(125deg, var(--navy-950) 0%, var(--blue-700) 80%);
  color: #fff;
  text-align: center;
  padding: 74px 0 66px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 12px; }
.page-hero h2 { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 1.15rem; max-width: 780px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--cyan-bright); }

/* ---------------- Split feature (about / brands) ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.split-art { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.split-art svg { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 20px 40px rgba(2, 34, 77, .16)); }

.site-screenshot {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.split-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }
.split-copy p { color: var(--muted); margin-bottom: 14px; }

.about-flow { display: grid; gap: 34px; }
.about-block p { color: var(--muted); text-align: justify; margin-bottom: 16px; }
.about-block p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.about-stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card .num {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(92deg, var(--azure), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card .lbl { display: block; color: var(--muted); font-size: .92rem; margin-top: 6px; }

.bonus-chips { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 26px; }
.bonus-chip {
  background: linear-gradient(110deg, rgba(0, 160, 255, .12), rgba(8, 168, 197, .14));
  border: 1.5px solid rgba(0, 160, 255, .4);
  color: var(--blue-700);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: .95rem;
}

/* ---------------- Pricing / commission ---------------- */

.pricing-wrap { max-width: 640px; margin: 48px auto 0; }

.price-card {
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.price-head {
  background: linear-gradient(120deg, var(--blue-700), var(--navy-800));
  color: #fff;
  text-align: center;
  padding: 34px 24px;
}
.price-head h2 { color: #fff; font-size: 1.25rem; letter-spacing: .1em; text-transform: uppercase; }
.price-head .price-range {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(92deg, var(--cyan-bright), var(--azure));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-top: 6px;
}
.price-head .price-note { color: rgba(255, 255, 255, .75); font-size: .9rem; margin-top: 6px; }

.price-tiers { list-style: none; padding: 10px 34px; }
.price-tiers li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: .98rem;
}
.price-tiers li:last-child { border-bottom: 0; }
.price-tiers strong { color: var(--ink); font-weight: 700; }
.price-tiers .pct {
  font-weight: 800;
  color: var(--blue-600);
  background: rgba(0, 160, 255, .1);
  padding: 4px 14px;
  border-radius: 999px;
}

.price-perk {
  text-align: center;
  color: var(--cyan);
  font-weight: 700;
  padding: 0 24px 22px;
  letter-spacing: .06em;
}

.pricing-note { text-align: center; color: var(--muted); margin-top: 26px; font-size: .95rem; }

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 28px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .feature-icon { margin-bottom: 16px; }
.contact-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .95rem; }
.contact-card .value { color: var(--blue-600); font-weight: 700; word-break: break-word; }

/* ---------------- Terms ---------------- */

.terms-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 52px clamp(24px, 6vw, 70px);
  max-width: 1000px;
  margin: 48px auto 0;
}
.terms-body h2 {
  font-size: 1.35rem;
  color: var(--blue-700);
  margin: 38px 0 12px;
  padding-top: 6px;
}
.terms-body h2:first-child { margin-top: 0; }
.terms-body h3 { font-size: 1.12rem; color: var(--navy-800); margin: 26px 0 10px; }
.terms-body p { color: #33475e; margin-bottom: 14px; }
.terms-body ul { margin: 0 0 16px 22px; color: #33475e; }
.terms-body li { margin-bottom: 8px; }

.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.terms-table th {
  background: linear-gradient(110deg, var(--blue-700), var(--navy-800));
  color: #fff;
  text-align: left;
  padding: 14px 20px;
  font-size: .92rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.terms-table td { padding: 13px 20px; border-bottom: 1px solid var(--line); color: #33475e; }
.terms-table tr:nth-child(even) td { background: var(--bg); }

/* ---------------- Testimonials ---------------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.t-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.t-logo {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
  padding: 12px;
  border-bottom: 1px dashed var(--line);
}

.t-quote {
  color: #33475e;
  font-size: .95rem;
  font-style: italic;
  flex: 1;
}
.t-quote::before { content: "\201C"; }
.t-quote::after { content: "\201D"; }

.t-author { margin-top: 16px; font-weight: 700; font-size: .9rem; }
.t-author a { color: var(--blue-600); }
.t-author a:hover { color: var(--azure); }

/* Text logos (used in place of missing testimonial images) */
.tlogo { font-weight: 800; color: var(--blue-700); letter-spacing: .01em; line-height: 1.3; }
.tlogo .ac-azure { color: var(--azure); }
.tlogo .ac-cyan { color: var(--cyan); }
.tlogo .ac-gold { color: var(--gold); }
.tlogo .ac-navy { color: var(--navy-800); }
.tlogo-serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.tlogo-caps { text-transform: uppercase; letter-spacing: .14em; font-size: .92em; }
.tlogo-light { font-weight: 300; letter-spacing: .06em; }
.tlogo-pill {
  background: linear-gradient(92deg, var(--blue-700), var(--navy-800));
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.tlogo-pill .ac-azure, .tlogo-pill .ac-cyan, .tlogo-pill .ac-gold { color: var(--cyan-bright); }
.tlogo-outline {
  color: var(--blue-700);
  border: 2px solid var(--blue-700);
  padding: 8px 18px;
  border-radius: 12px;
}
.tlogo-mono { font-family: "Cascadia Code", Consolas, "Courier New", monospace; font-weight: 600; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .78);
  padding: 58px 0 30px;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255, 255, 255, .62); font-size: .9rem; }
.footer-brand a { color: var(--cyan-bright); font-weight: 600; }

.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-weight: 500; }
.footer-links a:hover { color: var(--cyan-bright); }

.footer-license {
  padding: 26px 0 8px;
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
  line-height: 1.8;
}
.footer-license a { color: var(--cyan-bright); }

.footer-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  margin-top: 14px;
}
.footer-badge img { height: 44px; width: auto; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: .86rem;
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.footer-bottom a { color: rgba(255, 255, 255, .68); }
.footer-bottom a:hover { color: var(--cyan-bright); }

/* ---------------- Reveal animations ---------------- */
/* Content stays visible when JS is unavailable or fails; the inline
   head script adds the "js" class before first paint. */

.reveal {
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}
html.js .reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------------- SVG animation keyframes ---------------- */

/* Slot reels (hero slide 1) */
@keyframes reelSpin { to { transform: translateY(-600px); } }
.reel-spin { animation: reelSpin var(--dur, 2.4s) linear infinite; }

@keyframes marqueePulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.marquee-light { animation: marqueePulse var(--t, 1.4s) ease-in-out infinite; }

@keyframes paylinePulse { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
.payline { animation: paylinePulse 1.6s ease-in-out infinite; }

@keyframes winPop {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.12); opacity: 1; }
}
.win-tag { animation: winPop 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes sparkleTwinkle {
  0%, 100% { opacity: .15; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.15); }
}
.sparkle { animation: sparkleTwinkle var(--t, 2.2s) ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-y { animation: floatY var(--t, 5s) ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* Growth chart (hero slide 2) */
@keyframes barGrow {
  0% { transform: scaleY(0); }
  55% { transform: scaleY(1); }
  100% { transform: scaleY(1); }
}
.bar-grow {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: barGrow 4.2s cubic-bezier(.3, .7, .3, 1) infinite;
}

@keyframes lineDraw {
  0% { stroke-dashoffset: 1; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.line-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lineDraw 4.2s ease-out infinite;
}

@keyframes arrowNudge {
  0%, 55%, 100% { transform: translate(0, 0); opacity: .5; }
  70% { transform: translate(5px, -5px); opacity: 1; }
  85% { transform: translate(2px, -2px); opacity: .9; }
}
.trend-arrow { animation: arrowNudge 4.2s ease infinite; transform-box: fill-box; transform-origin: center; }

@keyframes coinRise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: .9; }
  100% { transform: translateY(-110px); opacity: 0; }
}
.coin-rise { animation: coinRise var(--t, 3.6s) ease-out infinite; transform-box: fill-box; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.badge-pulse { animation: badgePulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* About dashboard */
@keyframes areaFade {
  0%, 12% { opacity: 0; }
  40%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
.area-fade { animation: areaFade 6s ease infinite; }

@keyframes dotPing {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 7; opacity: .75; }
}
.ping-dot { animation: dotPing 2.2s ease-in-out infinite; }

@keyframes chipIn {
  0%, 8% { opacity: 0; transform: translateY(14px); }
  22%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}
.stat-chip { animation: chipIn 6s ease infinite; transform-box: fill-box; }

/* Brands device */
@keyframes miniSpin { to { transform: translateY(-240px); } }
.mini-reel { animation: miniSpin var(--dur, 2.2s) linear infinite; }

@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live-dot { animation: blinkDot 1.2s ease-in-out infinite; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}
.chip-float { animation: chipFloat var(--t, 4.5s) ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes scoreFlip {
  0%, 40%, 100% { opacity: 1; }
  50%, 60% { opacity: .4; }
}
.score-flip { animation: scoreFlip 3s ease infinite; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 84px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 400px; }
  .hero-content { text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0, 18, 48, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 24px 26px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { display: block; padding: 12px 14px; font-size: 1rem; }
  .nav-cta { margin: 14px 0 0; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-signup { text-align: center; }
  .nav-login { text-align: center; padding: 10px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .hero-arrow { display: none; }
  .terms-body { padding: 34px 22px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, html.js .reveal { transition: none; }
  .reel-spin, .marquee-light, .payline, .win-tag, .sparkle, .float-y,
  .bar-grow, .line-draw, .trend-arrow, .coin-rise, .badge-pulse,
  .area-fade, .ping-dot, .stat-chip, .mini-reel, .live-dot,
  .chip-float, .score-flip, .btn, .feature-card, .t-card {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html.js .reveal { opacity: 1; transform: none; }
}
