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

:root {
  --black: #0A0A0A;
  --orange: #FF4D00;
  --orange-dim: rgba(255, 77, 0, 0.12);
  --orange-glow: rgba(255, 77, 0, 0.25);
  --white: #FFFFFF;
  --grey-100: #F5F5F5;
  --grey-200: #E5E5E5;
  --grey-400: #A0A0A0;
  --grey-600: #555555;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1100px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 12px 20px;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--grey-400);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: 0 0 0 0 var(--orange-glow);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px var(--orange-glow);
  opacity: 0.92;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 77, 0, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 77, 0, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* subtle grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-400);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  max-width: 820px;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--grey-400);
  max-width: 560px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--grey-600);
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
}

/* ── PHONE MOCKUP ── */
.hero-preview {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  background: #111;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.8),
    0 0 80px rgba(255, 77, 0, 0.1);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 510px;
  position: relative;
  overflow: hidden;
}

.phone-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 16px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.phone-logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.phone-filters {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 14px;
}

.phone-filters::-webkit-scrollbar { display: none; }

.filter-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 500;
  color: var(--grey-400);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── PHONE VIEWS ── */
.phone-view {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 0 10px 6px;
}

.phone-view::-webkit-scrollbar { display: none; }
.phone-view.active { display: block; }

/* ── DEAL GRID CARDS ── */
.deals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dgc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s;
}

.dgc:active { transform: scale(0.97); }

.dgc-img {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.dgc-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: var(--orange);
  color: white;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.dgc-bm {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 5px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s, background 0.15s;
}

.dgc-bm.bookmarked {
  color: var(--orange);
  background: rgba(255,77,0,0.18);
}

.dgc-info {
  padding: 7px 8px 9px;
}

.dgc-store {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 2px 5px;
  display: inline-block;
  margin-bottom: 4px;
}

.woolworths { background: #1a3a2a; color: #4ade80; }
.picknpay  { background: #1a1a3a; color: #818cf8; }
.checkers  { background: #2a1a1a; color: #f87171; }
.spar      { background: #2a1f0a; color: #fbbf24; }

.dgc-name {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dgc-prices {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.dgc-now {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
}

.dgc-was {
  font-size: 9px;
  color: var(--grey-600);
  text-decoration: line-through;
}

/* ── BOOKMARKS EMPTY ── */
.bm-empty {
  text-align: center;
  color: var(--grey-600);
  font-size: 10px;
  line-height: 1.6;
  padding: 28px 16px;
}

/* ── ACCOUNT VIEW ── */
.account-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 4px;
}

.account-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.account-name {
  font-size: 13px;
  font-weight: 700;
}

.account-sub {
  font-size: 10px;
  color: var(--grey-400);
}

.account-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 14px 0 10px;
}

.account-row {
  font-size: 11px;
  color: var(--grey-400);
  display: flex;
  gap: 6px;
}

.account-row strong { color: var(--white); }

/* ── DETAIL OVERLAY ── */
.phone-detail {
  position: absolute;
  inset: 0;
  background: #0f0f0f;
  display: none;
  flex-direction: column;
  z-index: 20;
}

.phone-detail.active { display: flex; }

.detail-topbar {
  padding: 12px 12px 0;
  flex-shrink: 0;
}

.detail-back {
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
}

.detail-img-area {
  width: 100%;
  flex: 0 0 160px;
  margin-top: 10px;
}

.detail-body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.detail-store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-store {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
}

.detail-bm {
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s, background 0.15s;
}

.detail-bm.bookmarked {
  color: var(--orange);
  background: rgba(255,77,0,0.15);
}

.detail-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.detail-prices {
  display: flex;
  align-items: center;
  gap: 7px;
}

.detail-now {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}

.detail-was {
  font-size: 12px;
  color: var(--grey-600);
  text-decoration: line-through;
}

.detail-badge {
  background: var(--orange-dim);
  color: var(--orange);
  border-radius: 100px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
}

.detail-cta {
  margin-top: auto;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s;
}

.detail-cta:hover { opacity: 0.88; }

/* ── BOTTOM NAV ── */
.phone-bottom-nav {
  flex-shrink: 0;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 8px 0 10px;
}

.pnav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.28);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 8px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}

.pnav-tab.active { color: var(--orange); }

/* ── RETAILERS STRIP ── */
.retailers-strip {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  text-align: center;
}

.strip-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.retailers-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.retailer-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-400);
}

.woolworths-logo { color: #4ade80; }
.pnp-logo       { color: #818cf8; }
.checkers-logo  { color: #f87171; }
.spar-logo      { color: #fbbf24; }

.divider {
  color: rgba(255,255,255,0.15);
  font-size: 18px;
}

/* ── SECTIONS SHARED ── */
.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--grey-400);
  max-width: 540px;
  margin: 0 auto 64px;
  line-height: 1.6;
}

/* ── FEATURES ── */
.features {
  background: rgba(255,255,255,0.015);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 77, 0, 0.3);
  background: rgba(255, 77, 0, 0.04);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.step {
  flex: 1;
  max-width: 280px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.6;
}

.step-arrow {
  font-size: 22px;
  color: var(--grey-600);
  padding-top: 44px;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq { background: rgba(255,255,255,0.015); }

.faq-inner { text-align: left; }
.faq-inner .section-title,
.faq-inner .section-eyebrow { text-align: left; }

.faq-list {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.3px;
  transition: color 0.2s;
}

.faq-item summary:hover { color: var(--orange); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--grey-400);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 640px;
}

/* ── WAITLIST ── */
.waitlist {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255, 77, 0, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.waitlist-inner h2 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.waitlist-inner p {
  font-size: 18px;
  color: var(--grey-400);
  margin-bottom: 36px;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 16px;
}

.waitlist-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-form input::placeholder { color: var(--grey-600); }

.waitlist-form input:focus {
  border-color: var(--orange);
}

.waitlist-note {
  font-size: 13px;
  color: var(--grey-600);
  min-height: 20px;
}

.waitlist-note.success { color: #4ade80; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-right: auto;
}

.footer-links a {
  color: var(--grey-600);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 13px;
  color: var(--grey-600);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav: show links, hide CTA button */
  .nav-cta { display: none; }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }

  /* Reduce section vertical padding on mobile */
  .section-inner {
    padding: 60px 20px;
  }

  .hero-headline { letter-spacing: -2px; }

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

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

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .step { max-width: 100%; width: 100%; }

  /* Reduce waitlist section padding */
  .waitlist {
    padding: 60px 20px;
  }

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

  .footer-links { margin-right: 0; }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form input,
  .waitlist-form .btn { width: 100%; border-radius: var(--radius-md); }
}

@media (max-width: 480px) {
  .phone-mockup { width: 100%; max-width: 300px; }

  /* Extra tight nav on very small screens */
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 11px; }
}
