/* ============================================================
   SMILEEZ WEBSITE — PRODUCTION CSS
   Color system:
   --coral:     #FF6B35  (primary CTA, gradient start)
   --pink:      #FF4081  (gradient end, accent)
   --charcoal:  #1A1A2E  (dark text)
   --dark-bg:   #0F0F1A  (dark sections)
   --warm-bg:   #FAFAF8  (light background)
   --peach:     #FFE4D6  (light accent)
   --mid-gray:  #6B7280  (body text)
   --light-gray:#F3F4F6  (card backgrounds)
============================================================ */

:root {
  --coral:    #FF6B35;
  --pink:     #FF4081;
  --charcoal: #1A1A2E;
  --dark-bg:  #0F0F1A;
  --warm-bg:  #FAFAF8;
  --peach:    #FFE4D6;
  --mid-gray: #6B7280;
  --light:    #F3F4F6;
  --white:    #FFFFFF;
  --gradient: linear-gradient(135deg, var(--coral), var(--pink));
  --font:     'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --radius:   16px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 12px 48px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--warm-bg);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #fff;
  padding: 12px 24px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--charcoal);
  padding: 12px 24px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid rgba(26,26,46,.2); cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.btn-outline:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-1px); }
.btn-outline.btn-lg { padding: 14px 32px; font-size: 1rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--charcoal);
  padding: 10px 20px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: background .2s;
}
.btn-ghost:hover { background: var(--light); }

.btn-white {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--charcoal);
  padding: 16px 32px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION TAGS ── */
.section-tag {
  display: inline-flex; align-items: center;
  background: var(--peach); color: var(--coral);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}
.solution-tag {
  display: inline-flex; background: rgba(255,107,53,.12);
  color: var(--coral); padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}

/* ── SECTION TITLES ── */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.section-title.center { text-align: center; }
.section-sub { color: var(--mid-gray); font-size: 1.05rem; max-width: 680px; margin-bottom: 48px; }
.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 72px; gap: 32px;
}
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }
.logo-s { color: var(--coral); }
.logo-rest { color: var(--charcoal); }
.nav-links {
  display: flex; list-style: none; gap: 4px; flex: 1;
}
.nav-links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--mid-gray);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--charcoal); background: var(--light); }
.nav-ctas { display: flex; gap: 8px; align-items: center; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 24px; background: var(--warm-bg);
  border-top: 1px solid var(--light);
}
.mobile-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.mobile-menu a:hover { background: var(--light); }
.mobile-menu .btn-primary { margin-top: 8px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,107,53,.12), transparent),
              radial-gradient(ellipse 60% 50% at 80% 70%, rgba(255,64,129,.1), transparent);
  pointer-events: none;
}
.hero-content {
  flex: 1; max-width: 560px; position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: var(--peach); color: var(--coral);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.03em; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--mid-gray);
  line-height: 1.7; margin-bottom: 36px; max-width: 500px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 24px; align-items: center;
  padding: 20px 24px;
  background: rgba(255,255,255,.8);
  border-radius: 16px; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,107,53,.15);
}
.stat { display: flex; flex-direction: column; }
.stat-n { font-size: 1.5rem; font-weight: 900; color: var(--charcoal); }
.stat-l { font-size: 0.75rem; color: var(--mid-gray); font-weight: 500; }
.stat-div { width: 1px; height: 40px; background: rgba(0,0,0,.1); }

/* ── HERO PHONES ── */
.hero-phones {
  display: flex; gap: 20px; position: relative; z-index: 2;
  margin-left: 60px; flex-shrink: 0;
}
.phone {
  width: 220px; background: var(--charcoal);
  border-radius: 32px; padding: 12px;
  box-shadow: var(--shadow-lg);
  transform-origin: center;
}
.phone-left { transform: rotate(-3deg) translateY(20px); }
.phone-right { transform: rotate(3deg); }
.phone-screen {
  background: linear-gradient(160deg, #1e1e3f, #2d1b69);
  border-radius: 22px; padding: 20px; min-height: 380px;
  position: relative; overflow: hidden;
}
.phone-header { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.ph-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.ph-avatar.merchant { background: linear-gradient(135deg, #667eea, #764ba2); }
.ph-name { color: #fff; font-weight: 700; font-size: 0.85rem; }
.ph-sub { color: rgba(255,255,255,.5); font-size: 0.7rem; }
.ph-balance {
  font-size: 2.2rem; font-weight: 900; color: #fff;
  margin-bottom: 16px;
}
.ph-balance span { font-size: 1.2rem; color: rgba(255,255,255,.6); }
.ph-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.ph-action {
  flex: 1; background: rgba(255,255,255,.1); border-radius: 10px;
  padding: 8px 4px; text-align: center; color: rgba(255,255,255,.8);
  font-size: 0.7rem; font-weight: 600; display: flex;
  flex-direction: column; gap: 4px;
}
.ph-welcome { color: rgba(255,255,255,.8); font-size: 0.8rem; margin-bottom: 8px; }
.ph-amount { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.ph-label { color: rgba(255,255,255,.5); font-size: 0.65rem; margin-bottom: 8px; }
.ph-badge {
  display: inline-flex; background: rgba(52,211,153,.2); color: #34d399;
  padding: 3px 8px; border-radius: 20px; font-size: 0.65rem; font-weight: 700; margin-bottom: 10px;
}
.ph-stat-row { color: #fff; }
.ph-stat-row span { font-size: 1.4rem; font-weight: 900; display: block; }
.ph-stat-row small { font-size: 0.65rem; color: rgba(255,255,255,.5); }

/* Floating labels */
.ph-float {
  position: absolute; background: rgba(255,255,255,.95);
  border-radius: 20px; padding: 6px 12px;
  font-size: 0.65rem; font-weight: 600; color: var(--charcoal);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  white-space: nowrap;
}
.f1  { bottom: 110px; left: -80px; animation: float 3s ease-in-out infinite; }
.f2  { top: 30px; left: -90px; animation: float 3s ease-in-out .5s infinite; }
.f3  { bottom: 60px; left: -85px; animation: float 3s ease-in-out 1s infinite; }
.f4  { bottom: 20px; right: -20px; animation: float 3s ease-in-out 1.5s infinite; }
.fr1 { top: 30px; right: -100px; animation: float 3s ease-in-out .3s infinite; }
.fr2 { top: 100px; right: -100px; animation: float 3s ease-in-out .8s infinite; }
.fr3 { bottom: 60px; right: -90px; animation: float 3s ease-in-out 1.3s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── BRANDS ── */
.brands { padding: 40px 0; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); background: #fff; }
.brands-label { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--mid-gray); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.brands-scroll { overflow: hidden; }
.brands-track {
  display: flex; gap: 48px; width: max-content;
  animation: scroll 20s linear infinite;
}
.brands-track span { font-weight: 700; font-size: 1rem; color: rgba(26,26,46,.35); white-space: nowrap; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── WHAT SECTION ── */
.what { padding: 100px 0; }
.problems-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 64px;
}
.problem-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}
.problem-icon { font-size: 1.8rem; margin-bottom: 12px; }
.problem-card h4 { font-weight: 700; margin-bottom: 8px; }
.problem-card p { color: var(--mid-gray); font-size: 0.9rem; }

.solution-block {
  background: var(--dark-bg); border-radius: 24px;
  padding: 60px; text-align: center; color: #fff;
}
.solution-block h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 20px;
}
.solution-block p { color: rgba(255,255,255,.65); max-width: 580px; margin: 0 auto 40px; }
.journey {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.journey-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.j-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.journey-step span { font-size: 0.75rem; color: rgba(255,255,255,.7); font-weight: 600; }
.j-arrow { color: rgba(255,255,255,.3); font-size: 1.2rem; }

/* ── HOW IT WORKS ── */
.how { padding: 100px 0; background: #fff; }
.how-tabs {
  display: flex; gap: 8px; margin-bottom: 48px;
  background: var(--light); padding: 6px; border-radius: 50px;
  width: fit-content;
}
.how-tab {
  padding: 10px 28px; border-radius: 50px; border: none;
  font-family: var(--font); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; background: transparent; color: var(--mid-gray);
  transition: all .2s;
}
.how-tab.active { background: var(--gradient); color: #fff; }
.how-content.hidden { display: none; }
.how-steps { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.how-step { display: flex; gap: 24px; align-items: flex-start; }
.step-num {
  font-size: 2.5rem; font-weight: 900; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  min-width: 60px;
}
.step-body h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.step-body p { color: var(--mid-gray); }

/* ── CUSTOMERS ── */
.customers { padding: 100px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.feature-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.fi-icon {
  font-size: 1.4rem; min-width: 44px; height: 44px;
  background: var(--peach); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.feature-item h5 { font-weight: 700; margin-bottom: 4px; }
.feature-item p { color: var(--mid-gray); font-size: 0.9rem; }

/* App mockup */
.app-mockup {
  background: #fff; border-radius: 24px;
  border: 1px solid rgba(0,0,0,.08); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--light);
  font-weight: 700; font-size: 0.95rem;
}
.mock-notif { font-size: 1.2rem; }
.mock-balance-card {
  margin: 16px; border-radius: 16px; padding: 20px;
  background: var(--gradient); color: #fff;
}
.mb-label { font-size: 0.75rem; opacity: .85; margin-bottom: 4px; }
.mb-amount { font-size: 2rem; font-weight: 900; margin-bottom: 4px; }
.mb-sub { font-size: 0.8rem; opacity: .75; margin-bottom: 8px; }
.mb-lifetime { font-size: 0.72rem; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 20px; display: inline-block; }
.mock-section-title { padding: 12px 20px 8px; font-size: 0.8rem; font-weight: 700; color: var(--mid-gray); text-transform: uppercase; letter-spacing: .06em; }
.mock-txn { display: flex; gap: 12px; padding: 12px 20px; align-items: center; border-bottom: 1px solid var(--light); }
.txn-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; }
.txn-icon.ci { background: rgba(52,211,153,.15); color: #059669; }
.txn-icon.co { background: rgba(255,107,53,.12); color: var(--coral); }
.txn-body { flex: 1; }
.txn-body span { font-weight: 600; font-size: 0.85rem; display: block; }
.txn-body small { color: var(--mid-gray); font-size: 0.75rem; }
.txn-coins { font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.txn-coins.plus { color: #059669; }
.txn-coins.minus { color: var(--coral); }
.mock-deal { display: flex; gap: 12px; padding: 12px 20px; align-items: center; }
.deal-badge { background: var(--gradient); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
.mock-deal strong { font-size: 0.85rem; display: block; }
.mock-deal small { color: var(--mid-gray); font-size: 0.75rem; }
.deal-claim { margin-left: auto; background: var(--gradient); color: #fff; border: none; padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 0.75rem; cursor: pointer; }

/* ── MERCHANTS ── */
.merchants { padding: 100px 0; background: var(--dark-bg); color: #fff; }
.merchants .section-tag { background: rgba(255,107,53,.2); }
.merchants .section-sub { color: rgba(255,255,255,.65); }
.merchant-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px;
}
.mf-card {
  background: rgba(255,255,255,.06); border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.mf-card:hover { background: rgba(255,255,255,.1); }
.mf-icon { font-size: 2rem; margin-bottom: 12px; }
.mf-card h4 { font-weight: 700; margin-bottom: 8px; color: #fff; }
.mf-card p { color: rgba(255,255,255,.6); font-size: 0.9rem; }

/* Dashboard preview */
.dashboard-preview {
  background: rgba(255,255,255,.06); border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1); overflow: hidden;
  margin-bottom: 40px;
}
.dp-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
}
.dp-tabs { display: flex; gap: 4px; }
.dp-tab { padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,.5); cursor: pointer; }
.dp-tab.active { background: rgba(255,107,53,.2); color: var(--coral); }
.dp-body { padding: 24px; }
.dp-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.dp-stat { background: rgba(255,255,255,.05); border-radius: 12px; padding: 16px; }
.dp-stat-label { font-size: 0.72rem; color: rgba(255,255,255,.5); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.dp-stat-value { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.dp-stat-change { font-size: 0.72rem; color: rgba(255,255,255,.5); }
.dp-stat-change.up { color: #34d399; }
.dp-chart-label { font-size: 0.8rem; color: rgba(255,255,255,.5); margin-bottom: 12px; font-weight: 600; }
.chart-bars { display: flex; gap: 8px; align-items: flex-end; height: 100px; }
.bar { flex: 1; background: rgba(255,107,53,.4); border-radius: 4px 4px 0 0; transition: background .2s; }
.bar:hover, .bar.active { background: var(--coral); }
.merchant-cta { display: flex; gap: 12px; justify-content: center; }
.merchant-cta .btn-outline { border-color: rgba(255,255,255,.3); color: #fff; }
.merchant-cta .btn-outline:hover { border-color: var(--coral); color: var(--coral); }

/* ── PARTNERS ── */
.partners { padding: 100px 0; background: #fff; }
.partner-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.pf-item h5 { font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.pf-item p { color: var(--mid-gray); font-size: 0.9rem; }

/* API card */
.api-card {
  background: var(--charcoal); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.api-header {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 20px; background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.api-dot { width: 10px; height: 10px; border-radius: 50%; }
.api-dot.green { background: #34d399; }
.api-dot.yellow { background: #fbbf24; }
.api-dot.red { background: #f87171; }
.api-title { color: rgba(255,255,255,.5); font-size: 0.8rem; margin-left: 8px; font-weight: 600; }
.api-code { padding: 24px; font-family: 'Courier New', monospace; font-size: 0.85rem; }
.code-line { margin-bottom: 6px; }
.code-method { color: #fbbf24; font-weight: 700; }
.code-path { color: #67e8f9; }
.code-key { color: #a78bfa; }
.code-val { color: #34d399; }
.code-num { color: #fb923c; }
.code-resp { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }

/* ── REWARDS ── */
.rewards { padding: 100px 0; background: var(--warm-bg); }
.rewards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reward-card {
  border-radius: var(--radius); padding: 28px 20px;
  border: 1px solid rgba(0,0,0,.06); text-align: center;
}
.rc-coins    { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.rc-cashback { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.rc-gift     { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.rc-voucher  { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.rc-deals    { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.rc-emoji { font-size: 2rem; margin-bottom: 12px; }
.reward-card h4 { font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.reward-card p { font-size: 0.8rem; color: var(--mid-gray); margin-bottom: 12px; }
.rc-rate { font-size: 0.75rem; font-weight: 700; color: var(--charcoal); background: rgba(255,255,255,.6); padding: 4px 10px; border-radius: 20px; display: inline-block; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 100px 0; background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--light); border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(0,0,0,.06);
}
.testi-card.featured { background: var(--gradient); color: #fff; transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.testi-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; }
.testi-card p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.testi-card.featured p { color: rgba(255,255,255,.9); }
.testi-author { display: flex; gap: 12px; align-items: center; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.testi-card.featured .testi-avatar { background: rgba(255,255,255,.3); }
.testi-author strong { font-size: 0.9rem; display: block; }
.testi-author small { font-size: 0.8rem; color: var(--mid-gray); }
.testi-card.featured small { color: rgba(255,255,255,.75); }

/* ── STATS ── */
.stats { padding: 80px 0; background: var(--dark-bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stats-l { color: rgba(255,255,255,.6); font-size: 0.9rem; margin-top: 6px; font-weight: 500; }

/* ── TRUST ── */
.trust { padding: 100px 0; background: var(--warm-bg); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--radius); border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow); }
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-item h5 { font-weight: 700; margin-bottom: 8px; }
.trust-item p { color: var(--mid-gray); font-size: 0.85rem; }

/* ── PRICING ── */
.pricing { padding: 100px 0; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 72px; align-items: start; }
.pricing-card {
  border-radius: 20px; padding: 36px; border: 1px solid rgba(0,0,0,.08);
  position: relative;
}
.pricing-card.featured {
  background: var(--dark-bg); color: #fff;
  border-color: transparent; transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  padding: 4px 16px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.plan-price { font-size: 2.2rem; font-weight: 900; margin-bottom: 4px; line-height: 1; }
.plan-price span { font-size: 0.9rem; font-weight: 400; color: var(--mid-gray); }
.pricing-card.featured .plan-price span { color: rgba(255,255,255,.6); }
.plan-desc { font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 24px; }
.pricing-card.featured .plan-desc { color: rgba(255,255,255,.6); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { font-size: 0.875rem; color: var(--mid-gray); }
.plan-features li.no { opacity: .4; }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,.8); }

/* FAQ */
.faq h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-radius: 12px; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: var(--light);
  font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.faq-q:hover { background: rgba(255,107,53,.08); }
.faq-q span { font-size: 1.2rem; color: var(--mid-gray); transition: transform .2s; }
.faq-item.open .faq-q { background: rgba(255,107,53,.08); }
.faq-item.open .faq-q span { transform: rotate(45deg); color: var(--coral); }
.faq-a {
  display: none; padding: 0 24px;
  background: rgba(255,107,53,.04);
  color: var(--mid-gray); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-a { display: block; padding: 16px 24px; }

/* ── ABOUT ── */
.about { padding: 100px 0; }
.about p { color: var(--mid-gray); margin-bottom: 16px; }
.mission-stats { display: flex; gap: 32px; margin-top: 32px; }
.ms-item { display: flex; flex-direction: column; }
.ms-item strong { font-size: 1.4rem; font-weight: 900; color: var(--charcoal); }
.ms-item span { font-size: 0.8rem; color: var(--mid-gray); }
.values-list { display: flex; flex-direction: column; gap: 20px; }
.value-item h5 { font-weight: 700; margin-bottom: 6px; }
.value-item p { color: var(--mid-gray); font-size: 0.9rem; }

/* ── FINAL CTA ── */
.final-cta { padding: 80px 0; background: var(--dark-bg); }
.cta-block { text-align: center; }
.cta-block h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.cta-block p { color: rgba(255,255,255,.65); margin-bottom: 36px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { padding: 72px 0 0; background: var(--charcoal); color: rgba(255,255,255,.8); }
.footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 80px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color: #fff; margin-bottom: 12px; font-size: 1.4rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a { font-size: 0.8rem; color: rgba(255,255,255,.5); font-weight: 600; transition: color .2s; }
.social-links a:hover { color: var(--coral); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-col h6 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.fl-col a { font-size: 0.875rem; color: rgba(255,255,255,.65); transition: color .2s; }
.fl-col a:hover { color: var(--coral); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 0.8rem; color: rgba(255,255,255,.35);
}
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: rgba(255,255,255,.35); transition: color .2s; }
.legal-links a:hover { color: rgba(255,255,255,.7); }

/* ── RESPONSIVE — Mobile First ── */

/* ── 1024px — Tablet Landscape ── */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 60px;
    gap: 48px;
    min-height: auto;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-phones { margin-left: 0; justify-content: center; }
  .phone { width: 180px; }
  .ph-float { display: none; }

  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .rewards-grid   { grid-template-columns: repeat(3, 1fr); }
  .two-col        { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse { direction: ltr; }
  .merchant-features { grid-template-columns: repeat(2, 1fr); }
  .dp-stat-row    { grid-template-columns: repeat(2, 1fr); }
  .testi-grid     { grid-template-columns: 1fr 1fr; }
  .testi-card.featured { transform: none; }
  .trust-grid     { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 72px; }
  .pricing-card.featured { transform: none; }
  .footer-top     { grid-template-columns: 1fr; gap: 40px; }
  .footer-links   { grid-template-columns: repeat(4, 1fr); }
  .how-steps      { max-width: 100%; }
  .solution-block { padding: 48px 32px; }
}

/* ── 768px — Tablet Portrait ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  /* Hero */
  .hero { padding: 88px 20px 48px; gap: 40px; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats {
    flex-wrap: wrap; gap: 16px;
    padding: 16px;
  }
  .stat-n { font-size: 1.3rem; }
  .hero-phones { display: none; }

  /* Brands */
  .brands { padding: 28px 0; }

  /* Sections */
  .what, .how, .customers, .merchants,
  .partners, .rewards, .testimonials,
  .trust, .pricing, .about { padding: 64px 0; }

  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .section-sub { font-size: 0.95rem; }

  /* Problems */
  .problems-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .problem-card { padding: 20px; }

  /* Solution */
  .solution-block { padding: 32px 20px; }
  .solution-block h3 { font-size: clamp(1.4rem, 4vw, 1.8rem); }
  .journey { gap: 6px; }
  .j-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .journey-step span { font-size: 0.65rem; }
  .j-arrow { font-size: 0.9rem; }

  /* How */
  .how-tabs { flex-wrap: wrap; width: 100%; }
  .how-tab { flex: 1; text-align: center; padding: 10px 12px; font-size: 0.85rem; }
  .how-steps { max-width: 100%; }
  .how-step { gap: 16px; }
  .step-num { font-size: 2rem; min-width: 48px; }

  /* Customers */
  .feature-list { gap: 16px; }
  .app-mockup { max-width: 380px; margin: 0 auto; }

  /* Merchants */
  .merchant-features { grid-template-columns: 1fr; gap: 12px; }
  .mf-card { padding: 20px; }
  .dp-stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dp-stat-value { font-size: 1.1rem; }
  .chart-bars { height: 70px; gap: 4px; }
  .dp-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dp-tabs { flex-wrap: wrap; gap: 4px; }
  .merchant-cta { flex-direction: column; align-items: center; gap: 10px; }
  .merchant-cta .btn-primary,
  .merchant-cta .btn-outline { width: 100%; max-width: 280px; justify-content: center; }

  /* Partners */
  .api-code { padding: 16px; font-size: 0.78rem; }

  /* Rewards */
  .rewards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reward-card { padding: 20px 16px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi-card.featured { transform: none; }

  /* Stats */
  .stats { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { padding: 24px 16px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
  .pricing-card.featured { transform: none; }
  .pricing-card { padding: 28px; }
  .faq h3 { font-size: 1.4rem; }
  .faq-q { font-size: 0.9rem; padding: 16px 18px; }

  /* About */
  .mission-stats { gap: 20px; flex-wrap: wrap; }

  /* Final CTA */
  .final-cta { padding: 56px 0; }
  .cta-block h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .cta-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-white { width: 100%; max-width: 280px; justify-content: center; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px 0; }
  .legal-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ── 480px — Mobile ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 80px 16px 40px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 12px; padding: 14px 16px; }
  .stat-n { font-size: 1.2rem; }
  .stat-l { font-size: 0.7rem; }
  .stat-div { display: none; }

  /* Problems */
  .problems-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 18px; }

  /* Solution */
  .journey { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .journey-step { min-width: 60px; }
  .j-arrow { display: none; }

  /* How */
  .how-tab { padding: 8px 10px; font-size: 0.8rem; }
  .step-num { font-size: 1.6rem; min-width: 40px; }
  .step-body h4 { font-size: 0.95rem; }
  .step-body p { font-size: 0.85rem; }

  /* Customers */
  .fi-icon { min-width: 38px; height: 38px; font-size: 1.2rem; }
  .feature-item h5 { font-size: 0.9rem; }
  .app-mockup { max-width: 100%; }
  .mock-header { padding: 12px 16px; font-size: 0.85rem; }
  .mb-amount { font-size: 1.6rem; }

  /* Merchants */
  .dp-stat-row { grid-template-columns: 1fr; }
  .dp-stat { padding: 12px; }
  .dp-stat-value { font-size: 1.2rem; }
  .dp-tab { font-size: 0.72rem; padding: 4px 10px; }

  /* Rewards */
  .rewards-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-n { font-size: 1.8rem; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .plan-price { font-size: 1.8rem; }

  /* Footer */
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fl-col h6 { font-size: 0.7rem; }
  .fl-col a { font-size: 0.8rem; }
  .footer-brand p { font-size: 0.8rem; }

  /* Section spacing */
  .what, .how, .customers, .merchants,
  .partners, .rewards, .testimonials,
  .trust, .pricing, .about { padding: 48px 0; }

  /* Buttons full width */
  .col-text .btn-primary { width: 100%; text-align: center; justify-content: center; }

  /* Section title */
  .section-title { font-size: 1.6rem; margin-bottom: 14px; }
  .section-sub { font-size: 0.88rem; margin-bottom: 32px; }
  .section-tag { font-size: 0.72rem; padding: 5px 12px; margin-bottom: 14px; }

  /* Mission stats */
  .mission-stats { gap: 16px; }
  .ms-item strong { font-size: 1.2rem; }

  /* API card */
  .api-code { font-size: 0.72rem; overflow-x: auto; }
  .code-line { white-space: nowrap; }
}

/* ── 360px — Small Mobile ── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.8rem; }
  .nav-inner { padding: 0 14px; }
  .logo { font-size: 1.3rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .how-tabs { gap: 4px; }
  .how-tab { font-size: 0.75rem; padding: 8px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ph-float { animation: none; }
  .brands-track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ── Touch & accessibility fixes ── */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices — larger tap targets */
  .btn-primary, .btn-outline, .btn-ghost, .btn-white {
    min-height: 48px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .how-tab { min-height: 44px; }
  .faq-q { min-height: 52px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; }
  .deal-claim { min-height: 36px; min-width: 64px; }

  /* Remove hover effects on touch */
  .mf-card:hover { background: rgba(255,255,255,.06); }
  .btn-primary:hover { transform: none; opacity: 1; }
  .btn-outline:hover { transform: none; }
}

/* ── Safe area for notched phones ── */
@supports (padding: max(0px)) {
  .nav-inner {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  .footer-bottom {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ── Hamburger right-align fix ── */
.hamburger { margin-left: auto; }

/* ── Logo responsive fix ── */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.logo-s    { color: var(--coral); }
.logo-rest { color: var(--charcoal); }

/* Footer logo white */
.footer .logo-rest { color: #fff; }
.footer .logo-s    { color: var(--coral); }

/* Mobile — keep full logo visible */
@media (max-width: 480px) {
  .logo-text { font-size: 1.25rem; }
  .logo-icon { width: 30px; height: 30px; font-size: 1rem; border-radius: 8px; }
}

@media (max-width: 360px) {
  .logo-text { font-size: 1.1rem; }
}

/* ── Logo image responsive ── */
.logo-img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Footer — if logo needs white version */
.logo-img-white {
  filter: brightness(0) invert(1);
}

/* Hide text if logo image already contains the name */
/* .logo-text { display: none; } */

@media (max-width: 768px) {
  .logo-img {
    height: 30px;
    max-width: 110px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 26px;
    max-width: 90px;
  }
}

@media (max-width: 360px) {
  .logo-img {
    height: 22px;
    max-width: 80px;
  }
}
