/* ============================================================
   SpinBetter DE – Main Stylesheet
   Domain: de-spinbetterlive.com
   ============================================================ */

:root {
  --bg:     #071410;
  --bg2:    #0c1e18;
  --bg3:    #102820;
  --card:   #0e2018;
  --border: #1a382a;
  --green:  #22c55e;
  --lime:   #bef264;
  --purple: #a855f7;
  --text:   #d1fae5;
  --muted:  #6ee7b7;
  --font:   'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --transition: .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lime); }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; }

/* ── Anchor Links ── */
.anchor-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}
.anchor-link:hover { color: var(--lime); }

/* ── Typography ── */
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; color: #fff; margin-bottom: 1rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; color: var(--lime); margin: 2.5rem 0 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); font-weight: 600; color: var(--muted); margin: 1.8rem 0 .7rem; }
h4 { font-size: 1rem; font-weight: 600; color: var(--muted); margin: 1.2rem 0 .5rem; }
p  { margin-bottom: 1rem; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section   { padding: 3rem 0; }
.section--alt { background: var(--bg2); }

/* ── Header ── */
.site-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--lime);
  text-decoration: none;
}
.logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.logo span { color: #fff; }

.header-actions { display: flex; gap: .6rem; align-items: center; }

/* Burger */
.burger-toggle { display: none; }
.burger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .55rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.btn--lime   { background: var(--lime); color: #071410; text-transform: uppercase; }
.btn--lime:hover { background: #d9f99d; color: #071410; }
.btn--purple { background: var(--purple); color: #fff; }
.btn--purple:hover { background: #9333ea; color: #fff; }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn--outline:hover { background: var(--green); color: var(--bg); }
.btn--big { padding: .75rem 2rem; font-size: 1rem; border-radius: 8px; }

/* ── Navigation ── */
.header-nav {
  background: var(--bg3);
  border-top: 1px solid var(--border);
}
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
}
.nav-list li { flex-shrink: 0; }
.nav-list a {
  display: block;
  padding: .7rem 1.2rem;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ── Hero ── */
.hero {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg3) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-content { order: 1; }
.hero-banner  { order: 2; }
.hero-banner img { border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.6); width: 100%; }
.hero-tagline {
  font-size: .85rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .75rem;
}
.hero h1 { color: #fff; }
.hero p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--green); transform: translateY(-3px); }
.card h3 { margin-top: 0; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
thead tr { background: var(--bg3); }
thead th {
  padding: .75rem 1rem;
  text-align: left;
  color: var(--lime);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
}
tbody tr:nth-child(even) { background: var(--bg2); }
tbody tr:nth-child(odd)  { background: var(--card); }
tbody td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }

/* ── Banners ── */
.banner-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.banner-pair img { border-radius: var(--radius); width: 100%; }
.banner-single img { border-radius: var(--radius); max-width: 100%; margin: 2rem 0; }

/* ── Steps ── */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--bg);
  font-weight: 800;
  border-radius: 50%;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ── FAQ accordion (CSS-only checkbox hack) ── */
.faq { margin: 2rem 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-toggle { display: none; }
.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  gap: 1rem;
}
.faq-label::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-toggle:checked + .faq-label { color: var(--lime); }
.faq-toggle:checked + .faq-label::after { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-toggle:checked ~ .faq-body { max-height: 600px; }
.faq-body p { padding-bottom: 1rem; color: var(--muted); }

/* ── Highlight box ── */
.highlight-box {
  background: var(--bg3);
  border-left: 4px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box h4 { color: var(--lime); margin-top: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand { }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .875rem; }
.footer-col h4 { color: var(--lime); margin-bottom: .75rem; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { color: var(--muted); font-size: .875rem; }
.footer-col ul a:hover { color: var(--lime); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.5rem 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--muted);
}
.footer-disclaimer {
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 0 16px;
  font-size: .75rem;
  color: #4a7a62;
  line-height: 1.5;
}

/* ── Page sections ── */
.page-intro { margin-bottom: 2rem; }
.page-intro p { font-size: 1.1rem; color: var(--muted); }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--bg3), #143324);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-band h2 { margin-top: 0; }
.cta-band p  { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: .75rem 0;
  font-size: .85rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { margin: 0 .4rem; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-banner { order: 1; }
  .hero-content { order: 2; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .banner-pair { grid-template-columns: 1fr; }

  .burger-label { display: flex; }

  .header-nav {
    display: none;
  }
  .burger-toggle:checked ~ .header-nav {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    padding: .5rem 0;
  }
  .nav-list a { padding: .6rem 1rem; border-bottom: none; border-left: 3px solid transparent; }
  .nav-list a.active, .nav-list a:hover { border-left-color: var(--lime); }

  .card-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 1.5rem 1rem; }

  table { font-size: .8rem; }
  thead th, tbody td { padding: .5rem .65rem; }
}
