/* ═══════════════════════════════════════════
   REWARDSHIFT.COM — SHARED STYLES
   Minimal luxury · Dark editorial · Brand-first
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Mono:wght@300;400;500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg:        #0e0e0e;
  --bg2:       #141414;
  --bg3:       #1a1a1a;
  --card:      #161616;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(198,167,94,0.22);
  --text:      #F2EFEA;
  --muted:     rgba(242,239,234,0.55);
  --dim:       rgba(242,239,234,0.28);
  --gold:      #C6A75E;
  --gold2:     #d4b96a;
  --gold-dim:  rgba(198,167,94,0.1);
  --slate:     #2E3A46;
  --stab:      #e05c5c;
  --build:     #4a9fd4;
  --auto:      #4caf82;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono:    'DM Mono', monospace;
  --font-body:    'Outfit', sans-serif;
  --nav-h:     68px;
  --max-w:     1120px;
  --radius:    10px;
  --ease:      cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  padding: 0 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled {
  background: rgba(14,14,14,0.94);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  letter-spacing: .01em;
}
.nav-logo-word span { color: var(--gold); }
.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-links a.coming-soon {
  color: var(--dim);
  cursor: default;
}
.nav-links a.coming-soon::after {
  content: 'soon';
  font-size: .5rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin-left: 5px;
  vertical-align: super;
}
.nav-cta {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all .25s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 98;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 22px; right: 32px;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  padding: 4px;
}

/* ── LAYOUT ── */
.page { padding-top: var(--nav-h); }
.section { padding: 100px 40px; }
.section-sm { padding: 64px 40px; }
.section-lg { padding: 130px 40px; }
.container { max-width: var(--max-w); margin: 0 auto; }

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: '◆'; font-size: .46rem; }
.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--text);
}
.h-display em { font-style: italic; color: var(--gold); }
.h-section {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}
.h-section em { font-style: italic; color: var(--gold); }
.h-card {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.body-lg { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 580px; }
.body-md { font-size: .93rem; color: var(--muted); line-height: 1.72; }
.body-sm { font-size: .82rem; color: var(--dim); line-height: 1.65; }
.gold-line { width: 40px; height: 1px; background: var(--gold); opacity: .5; margin: 22px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 6px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--bg); border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold2); border-color: var(--gold2); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--border2); }
.btn-ghost:hover { background: var(--gold-dim); }
.btn-lg { padding: 16px 36px; font-size: .78rem; }
.btn-sm { padding: 9px 18px; font-size: .65rem; }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .25s;
}
.card:hover { border-color: rgba(198,167,94,0.22); }
.card-gold { border-top: 2px solid var(--gold); }

/* ── TOOL CARD ── */
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.tool-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.tool-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.tool-card:hover::after { opacity: 1; }
.tool-status {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tool-status.live { color: var(--auto); }
.tool-status.planned { color: var(--dim); }

/* ── PHASE BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.badge-stab { background: rgba(224,92,92,.1); color: var(--stab); border: 1px solid rgba(224,92,92,.22); }
.badge-build { background: rgba(74,159,212,.1); color: var(--build); border: 1px solid rgba(74,159,212,.22); }
.badge-auto { background: rgba(76,175,130,.1); color: var(--auto); border: 1px solid rgba(76,175,130,.22); }
.badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--border2); }

/* ── PHASE ACCENT BORDERS ── */
.accent-stab { border-left: 2px solid var(--stab); padding-left: 20px; }
.accent-build { border-left: 2px solid var(--build); padding-left: 20px; }
.accent-auto { border-left: 2px solid var(--auto); padding-left: 20px; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 40px 80px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 65% 35%, rgba(198,167,94,0.055) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 75%, rgba(46,58,70,0.45) 0%, transparent 65%);
  pointer-events: none;
}

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color .25s;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--dim); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ── HR ── */
.hr { border: none; border-top: 1px solid var(--border); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── NUMBER STAT ── */
.stat-number { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 8px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 40px 36px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-brand-desc { font-size: .84rem; color: var(--dim); line-height: 1.7; max-width: 230px; }
.footer-col-title { font-family: var(--font-mono); font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .84rem; color: var(--dim); transition: color .22s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; color: var(--dim); }
.footer-tagline { font-family: var(--font-display); font-size: .9rem; font-style: italic; color: var(--dim); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .section { padding: 72px 24px; }
  .section-sm { padding: 48px 24px; }
  .section-lg { padding: 90px 24px; }
  .hero { padding: 90px 24px 64px; }
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer { padding: 48px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .h-display { font-size: 2.5rem; }
  .btn-lg { padding: 14px 24px; }
}
