/* ===========================
   DICE NODES — Global Styles
   =========================== */

:root {
  --bg: #000000;
  --bg-alt: #0d0d0d;
  --surface: #141414;
  --border: #2a2a2a;
  --accent: #FFF533;
  --accent-dim: rgba(255, 245, 51, 0.1);
  --accent-glow: rgba(255, 245, 51, 0.3);
  --text: #f0f0f0;
  --muted: #777777;
  --tag-bg: rgba(255, 245, 51, 0.1);
  --tag-color: #FFF533;
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --max-width: 1100px;
}

*, *::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.6;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   LAYOUT
   =========================== */

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

.section {
  padding: 32px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* ===========================
   NAV
   =========================== */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.split-visual {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.brand-img {
  height: auto;
  width: 250%;
  max-width: none;
  opacity: 0.35;
  filter: invert(1) brightness(0.6);
  display: block;
  margin-left: auto;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #FFF533;
  color: #000000;
}

.btn-primary:hover {
  background: #ffe800;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 245, 51, 0.4);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-dim);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ===========================
   TAG
   =========================== */

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--tag-color);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.tag.center {
  display: block;
  text-align: center;
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  padding: 48px 0 48px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.accent {
  color: var(--accent);
}

.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===========================
   SPLIT SECTION
   =========================== */

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

.split-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: left;
}

.split-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
  text-align: left;
}

.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0.6;
}

.hex {
  font-size: 3.5rem;
  text-align: center;
  color: var(--border);
  line-height: 1;
}

.accent-hex {
  color: var(--accent);
  opacity: 0.7;
}

/* ===========================
   CARDS
   =========================== */

h2.center {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.2;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, opacity 0.5s, translate 0.5s;
  opacity: 0;
  translate: 0 48px;
}

.card.visible {
  opacity: 1;
  translate: 0 0;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.card-stat {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.card-icon-glow {
  width: 56px;
  height: 56px;
  background: rgba(255,245,51,0.06);
  border: 1px solid rgba(255,245,51,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s, box-shadow 0.2s;
}

.card:hover .card-icon-glow {
  background: rgba(255,245,51,0.1);
  box-shadow: 0 0 24px rgba(255,245,51,0.15);
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.card-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.card-link:hover {
  text-decoration: underline;
}

/* ===========================
   SIGN UP
   =========================== */

.center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-text {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.signup-box {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 700px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  min-width: 140px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.qr-inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.qr-inner p.small {
  font-size: 0.75rem;
  margin-top: 4px;
}

.signup-text {
  flex: 1;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.link-placeholder {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}

/* ===========================
   CONTACT
   =========================== */

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===========================
   SAVINGS TEASER
   =========================== */

.savings-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.savings-teaser-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.savings-teaser-boxes {
  display: flex;
  gap: 12px;
}

.teaser-box {
  flex: 1;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.teaser-box.theirs {
  background: #0d0d0d;
  border: 1px solid #1f1f1f;
}

.teaser-box.ours {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
}

.teaser-box-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.teaser-box.theirs .teaser-box-label { color: #555; }
.teaser-box.ours .teaser-box-label { color: #888; }

.teaser-box-amount {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.teaser-box.theirs .teaser-box-amount { color: #777; }
.teaser-box.ours .teaser-box-amount { color: var(--accent); }

.teaser-box-per {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
}

.teaser-savings {
  background: var(--accent);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.teaser-savings-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 4px;
}

.teaser-savings-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.04em;
}

.teaser-savings-amount span {
  font-size: 1rem;
  font-weight: 600;
}

.teaser-savings-period {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.45);
  margin-top: 2px;
}

.teaser-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
}

/* ===========================
   FOOTER
   =========================== */

footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* ===========================
   UTILITIES
   =========================== */

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-visual {
    display: none;
  }

  .signup-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .savings-teaser {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .teaser-box-amount { font-size: 1.8rem; }
  .teaser-savings-amount { font-size: 2rem; }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
