/* ================================================================
   PerkFound — Premium Credit Card Perk Tracker
   Production-quality landing page — Dark Navy Edition
   ================================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Color palette */
  --bg:        #0A1628;
  --surface:   #111D2E;
  --surface-2: #152238;
  --border:    rgba(255, 255, 255, 0.07);
  --border-2:  rgba(255, 255, 255, 0.04);

  --gold:      #D4A853;
  --gold-dim:  #B88D3E;
  --gold-soft: rgba(212, 168, 83, 0.12);

  --text-1:    #E8E2D6;
  --text-2:    #8A9BB5;
  --text-3:    rgba(232, 226, 214, 0.4);

  --green:     #48BB78;
  --red:       #F56565;
  --pink:      #ED64A6;

  /* Issuer accents */
  --amex:    #006FCF;
  --chase:   #124191;
  --capone:  #D03027;
  --citi:    #003B70;

  /* Type */
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;

  /* Spacing (4px grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  28px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Section padding */
  --section-y: clamp(80px, 10vw, 140px);

  /* Container */
  --container-w: 1200px;
  --container-narrow: 840px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 400;
  color: var(--text-1);
}

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

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

strong {
  font-weight: 600;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

ul { list-style: none; }

/* ── UTILITIES ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-y) var(--sp-6);
  position: relative;
}

/* ── SCROLL REVEAL ──────────────────────────────────────────────── */
/* Using opacity + clip-path (NO translateY per spec) */
.reveal {
  opacity: 0;
  clip-path: inset(0 0 8px 0);
  transition:
    opacity 0.7s var(--ease),
    clip-path 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.reveal-fade.visible {
  opacity: 1;
}

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── SECTION HEADER ─────────────────────────────────────────────── */
.section__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto var(--sp-16);
}

.section__title {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  color: var(--text-1);
}

.section__subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
}

/* ── EYEBROW ────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--r-sm);
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
  min-height: 44px;
  padding: 0 var(--sp-6);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn--gold {
  background: var(--gold);
  color: var(--bg);
}

.btn--gold:hover {
  background: #E0B86A;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.28);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 var(--sp-6);
  transition:
    background 400ms var(--ease),
    backdrop-filter 400ms var(--ease),
    box-shadow 400ms var(--ease);
}

.nav.scrolled {
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-1);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 180ms var(--ease);
  letter-spacing: 0.01em;
  padding: var(--sp-2) 0;
}

.nav__link:hover {
  color: var(--text-1);
}

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: var(--r-sm);
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav__cta:hover {
  background: #E0B86A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.25);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--sp-2);
  z-index: 10;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 200ms;
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 144px var(--sp-6) 0;
  background: var(--bg);
  overflow: hidden;
}

/* Subtle grid pattern */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Gold radial glow */
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-bottom: var(--sp-20);
}

/* Left: content */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* "Coming Soon to iOS" pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(212,168,83,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: var(--sp-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(42px, 5.5vw, 72px);
  color: var(--text-1);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.025em;
  line-height: 1.04;
}

/* Italic variant for the hero tagline */
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-2);
  max-width: 500px;
  margin-bottom: var(--sp-10);
  line-height: 1.7;
}

/* Email form */
.hero__form-wrap {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 5px;
  width: 100%;
  max-width: 480px;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.hero__form-wrap:focus-within {
  border-color: rgba(212,168,83,0.5);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.1);
}

.hero__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
}

.hero__input::placeholder {
  color: var(--text-3);
}

.hero__submit {
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.hero__submit:hover {
  background: #E0B86A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,168,83,0.25);
}

.hero__form-note {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--text-2);
  margin-top: var(--sp-3);
}

/* Success state */
.hero__success {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 16px 20px;
  background: rgba(72,187,120,0.1);
  border: 1px solid rgba(72,187,120,0.2);
  border-radius: var(--r-md);
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  max-width: 480px;
}

.hero__success[hidden] { display: none !important; }

/* ── PHONE MOCKUP ────────────────────────────────────────────────── */
.hero__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  position: relative;
  z-index: 2;
}

.phone-frame__shell {
  width: 290px;
  background: #0D1520;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 100px rgba(212,168,83,0.06);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform 600ms var(--ease);
}

.phone-frame__shell:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.phone-frame__notch {
  width: 100px;
  height: 26px;
  background: #0D1520;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  top: -1px;
  z-index: 2;
}

.phone-frame__screen {
  background: #08101C;
  border-radius: 32px;
  padding: 16px 14px;
  min-height: 500px;
  overflow: hidden;
}

/* App UI inside screen */
.app__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-5);
}

.app__greeting-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.app__greeting-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 1px;
}

.app__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1.5px solid rgba(212,168,83,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

.app__summary {
  background: rgba(212,168,83,0.06);
  border: 1px solid rgba(212,168,83,0.12);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: var(--sp-3);
}

.app__summary-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.app__summary-amount {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.app__summary-bar {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--sp-2);
}

.app__summary-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #E8C97A);
  border-radius: 3px;
  transition: width 1.4s var(--ease);
}

.app__summary-meta {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* Card rows in app */
.app__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: var(--sp-2);
}

.app__card--amex {
  border-left: 3px solid var(--amex);
}

.app__card--chase {
  border-left: 3px solid var(--chase);
}

.app__card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-2);
}

.app__card-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.app__card-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

.app__card-val span {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

.app__card-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--sp-3);
}

.app__card-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.4s var(--ease);
}

.app__card-fill--amex  { background: var(--amex); }
.app__card-fill--chase { background: var(--chase); }

/* Perk rows */
.app__perks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app__perk {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
}

.app__perk-icon {
  font-size: 13px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.app__perk-name {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  flex: 1;
}

.app__perk-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.app__perk-badge--secured {
  color: var(--green);
  background: rgba(72,187,120,0.12);
}

.app__perk-badge--expiring {
  color: #F6AD55;
  background: rgba(246,173,85,0.12);
}

.app__perk-badge--unused {
  color: var(--red);
  background: rgba(245,101,101,0.12);
}

/* Phone glow beneath */
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(212,168,83,0.18) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ── STATS BAR ──────────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 1;
  padding: 0 var(--sp-6) var(--sp-16);
}

.stats-bar__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-12);
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  min-width: 120px;
  text-align: center;
}

.stats-bar__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 40px);
  color: var(--gold);
  line-height: 1;
  font-feature-settings: "tnum";
}

.stats-bar__num--dollar::before { content: '$'; }
.stats-bar__num--dollar::after  { content: '+'; }

.stats-bar__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.stats-bar__sep {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ================================================================
   PROBLEM
   ================================================================ */
.problem.section {
  background: var(--bg);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.problem__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  transition:
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.problem__card:hover {
  border-color: rgba(212,168,83,0.2);
  transform: translateY(-3px);
}

.problem__card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border: 1px solid rgba(212,168,83,0.15);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-6);
  flex-shrink: 0;
}

.problem__card-title {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
  color: var(--text-1);
}

.problem__card-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ================================================================
   FEATURES
   ================================================================ */
.features.section {
  background: var(--surface);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.feature {
  display: flex;
  gap: var(--sp-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition:
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.feature:hover {
  border-color: rgba(212,168,83,0.2);
  transform: translateY(-3px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  color: var(--text-2);
  margin-top: 2px;
}

.feature__body {
  flex: 1;
}

.feature__title {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
  color: var(--text-1);
}

.feature__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.feature__badge {
  display: inline-flex;
  margin-top: var(--sp-4);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(72,187,120,0.1);
  border: 1px solid rgba(72,187,120,0.15);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how.section {
  background: var(--bg);
}

.how__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(212,168,83,0.04), transparent 70%);
  pointer-events: none;
}

.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.how__step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 var(--sp-8);
}

.how__connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 64px;
  opacity: 0.35;
}

.how__step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(212,168,83,0.12);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.how__step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border: 1px solid rgba(212,168,83,0.14);
  border-radius: 24px;
  margin: 0 auto var(--sp-6);
}

.how__step-title {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
  color: var(--text-1);
}

.how__step-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ================================================================
   CARDS WE TRACK
   ================================================================ */
.cards.section {
  background: var(--surface);
}

.cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.card-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
  position: relative;
  overflow: hidden;
  transition:
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.card-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(212,168,83,0.25);
}

/* Issuer left border accent */
.card-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.card-tile--amex::before   { background: var(--amex); }
.card-tile--chase::before  { background: var(--chase); }
.card-tile--capone::before { background: var(--capone); }
.card-tile--citi::before   { background: var(--citi); }

.card-tile__issuer {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--sp-1);
  padding-left: var(--sp-3);
}

.card-tile__name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-3);
}

.card-tile__stats {
  display: flex;
  gap: var(--sp-6);
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.card-tile__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-tile__num {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.card-tile__stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
}

.card-tile__fee {
  font-size: 12px;
  color: var(--text-2);
  padding: var(--sp-4) 0 0 var(--sp-3);
  border-top: 1px solid var(--border-2);
}

.cards__more {
  text-align: center;
}

.cards__more-text {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--text-2);
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing.section {
  background: var(--bg);
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}

.pricing__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-10);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing__card--featured {
  background: var(--surface-2);
  border-color: rgba(212,168,83,0.2);
  box-shadow:
    0 0 0 1px rgba(212,168,83,0.08),
    0 24px 60px rgba(0,0,0,0.3);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing__card-top {
  margin-bottom: var(--sp-8);
}

.pricing__plan {
  font-size: 30px;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
  color: var(--text-1);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}

.pricing__amount {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--text-1);
}

.pricing__amount--gold {
  color: var(--gold);
}

.pricing__period {
  font-size: 16px;
  color: var(--text-2);
}

.pricing__annual {
  font-size: 14px;
  color: var(--text-2);
  margin-top: var(--sp-2);
}

.pricing__savings {
  color: var(--gold);
  font-weight: 600;
}

.pricing__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  flex: 1;
}

.pricing__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 15px;
  color: var(--text-2);
}

.pricing__item--gold {
  color: var(--text-1);
}

.pricing__cta {
  display: block;
  text-align: center;
  padding: 15px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  min-height: 52px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.pricing__cta--gold {
  background: var(--gold);
  color: var(--bg);
}

.pricing__cta--gold:hover {
  background: #E0B86A;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.28);
}

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

.pricing__cta--outline:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq.section {
  background: var(--surface);
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  border: none;
  padding: var(--sp-6) 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--text-1);
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  transition: color 180ms var(--ease);
}

.faq__q:hover {
  color: var(--gold);
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--text-2);
  transition: transform 300ms var(--ease), color 180ms;
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 400ms var(--ease);
}

.faq__item.active .faq__a {
  max-height: 320px;
}

.faq__a p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  padding-bottom: var(--sp-6);
}

/* ================================================================
   WAITLIST CTA
   ================================================================ */
.cta.section {
  background: var(--bg);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 30% 50%, rgba(212,168,83,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 50%, rgba(17,29,46,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}

.cta__title {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-1);
  margin-bottom: var(--sp-5);
}

.cta__title em {
  font-style: italic;
  color: var(--gold);
}

.cta__subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.cta__form .hero__form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.cta__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 16px 20px;
  background: rgba(72,187,120,0.1);
  border: 1px solid rgba(72,187,120,0.2);
  border-radius: var(--r-md);
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  max-width: 400px;
  margin: 0 auto;
}

.cta__success[hidden] { display: none !important; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--sp-16) var(--sp-6) var(--sp-8);
}

.footer .container {
  /* no extra padding needed */
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-16);
  margin-bottom: var(--sp-12);
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-2);
  margin-top: var(--sp-4);
  line-height: 1.6;
}

.footer__contact {
  display: inline-block;
  font-size: 13px;
  color: var(--text-2);
  margin-top: var(--sp-3);
  transition: color 180ms;
}

.footer__contact:hover {
  color: var(--gold);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-10);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--sp-4);
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--sp-3);
  transition: color 180ms var(--ease);
}

.footer__link:hover {
  color: var(--text-1);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-2);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer__social {
  display: flex;
  gap: var(--sp-4);
}

.footer__social-link {
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  transition: color 180ms var(--ease), background 180ms;
}

.footer__social-link:hover {
  color: var(--gold);
  background: var(--gold-soft);
}

/* ================================================================
   RESPONSIVE — TABLET (1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    text-align: center;
    padding-bottom: var(--sp-16);
  }

  .hero__content {
    align-items: center;
    order: 1;
  }

  .hero__mockup {
    order: 0;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-frame__shell {
    transform: none;
    width: 260px;
  }

  .phone-frame__shell:hover {
    transform: none;
  }

  .phone-frame__screen {
    min-height: 460px;
  }

  .stats-bar__inner {
    flex-wrap: wrap;
    gap: var(--sp-6);
    padding: var(--sp-6) var(--sp-8);
  }

  .stats-bar__sep { display: none; }

  .stats-bar__item {
    min-width: calc(50% - 16px);
    flex: 1 0 calc(50% - 16px);
  }

  .problem__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-12);
  }

  .how__connector { display: none; }

  .how__step {
    max-width: 400px;
    padding: 0;
  }

  .cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
}

/* ================================================================
   RESPONSIVE — MOBILE (768px)
   ================================================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 38, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    z-index: 5;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links .nav__link {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-1);
  }

  .nav__cta { display: none; }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding-top: 110px;
  }

  .hero__form-wrap {
    flex-direction: column;
  }

  .hero__submit {
    width: 100%;
    text-align: center;
  }

  .cards__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto var(--sp-8);
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ================================================================ */
@media (max-width: 480px) {
  .stats-bar__inner {
    padding: var(--sp-5);
    gap: var(--sp-4);
  }

  .stats-bar__num {
    font-size: 28px;
  }

  .stats-bar__item {
    flex: 1 0 calc(50% - 10px);
    min-width: 0;
  }

  .hero__form-wrap {
    max-width: 100%;
  }

  .problem__card,
  .feature {
    padding: var(--sp-7) var(--sp-6);
  }

  .pricing__card {
    padding: var(--sp-10) var(--sp-7);
  }

  .phone-frame__shell {
    width: 240px;
  }

  .phone-frame__screen {
    padding: 12px;
    min-height: 420px;
  }

  .app__summary-amount {
    font-size: 24px;
  }
}

/* ================================================================
   ACCESSIBILITY — Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade {
    transition: opacity 0.3s;
    clip-path: none !important;
  }

  .hero__badge-dot {
    animation: none;
  }

  .phone-frame__shell,
  .phone-frame__shell:hover {
    transform: none;
    transition: none;
  }

  .app__summary-fill,
  .app__card-fill {
    transition: none;
  }
}