/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --purple: #C454F2;
  --pink:   #FF44A0;
  --grad:   linear-gradient(135deg, #C454F2 0%, #FF44A0 100%);
  --dark:   #1A1C1E;
  --mid:    #4B4F56;
  --muted:  #8E9196;
  --bg:     #F9F9FB;
  --white:  #FFFFFF;
  --card:   #FFFFFF;
  --border: #ECEEF2;
  --green:  #10B981;
  --radius: 20px;
  --shadow: 0 8px 40px rgba(196,84,242,0.10);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Utility ─────────────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(196,84,242,0.09);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 24px rgba(196,84,242,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(196,84,242,0.40); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); background: rgba(196,84,242,0.05); }

/* ─── Navbar ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon img { width: 38px; height: 38px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ─── Hero ────────────────────────────────────────────────── */
#hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #fdf4ff 50%, #fff0f9 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.blob-1 { width: 500px; height: 500px; background: #C454F2; top: -180px; right: -100px; }
.blob-2 { width: 300px; height: 300px; background: #FF44A0; bottom: -80px; left: -60px; }
.hero-grid {
  display: flex;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}
.hero-text {
  width: 85%;
}
.hero-text h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--dark) !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px;
}
.hero-tagline strong {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -20px;
  position: relative;
}
.phone-wrap {
  position: relative;
  display: flex;
  gap: -10px;
}
.phone {
  width: 220px;
  height: 440px;
  background: var(--white);
  border-radius: 38px;
  box-shadow: 0 30px 80px rgba(196,84,242,0.2), 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  position: relative;
  border: 8px solid var(--white);
  outline: 1px solid rgba(196,84,242,0.15);
  flex-shrink: 0;
}
.phone-2 {
  margin-left: -40px;
  margin-top: 40px;
  z-index: -1;
  opacity: 0.7;
  transform: scale(0.92);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #fdf4ff 0%, #fff0f9 100%);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.ps-title { font-size: 14px; font-weight: 800; color: var(--dark); }
.ps-loc { font-size: 10px; color: var(--purple); font-weight: 600; display: flex; align-items: center; gap: 3px; }
.ps-search {
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ps-cats {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.ps-cat {
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ps-cat.active { background: var(--grad); color: #fff; }
.ps-store-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.ps-store-img {
  height: 72px;
  background: linear-gradient(135deg, #C454F2 0%, #FF44A0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.ps-store-info { padding: 8px 10px; }
.ps-store-name { font-size: 11px; font-weight: 800; color: var(--dark); }
.ps-store-meta { font-size: 9px; color: var(--muted); margin-top: 2px; }
.ps-store-badge {
  display: inline-block;
  background: rgba(16,185,129,0.1);
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

/* ─── Marquee ─────────────────────────────────────────────── */
.marquee-section {
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--grad);
  border-radius: 50%;
  background: var(--purple);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Features – Customers ────────────────────────────────── */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(196,84,242,0.15); }
.feat-card:hover::before { opacity: 1; }
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(196,84,242,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feat-icon svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ─── How It Works ────────────────────────────────────────── */
#how-it-works { background: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, #C454F2, #FF44A0);
  opacity: 0.2;
}
.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(196,84,242,0.3);
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ─── Merchant Section ────────────────────────────────────── */
#merchants {
  background: linear-gradient(160deg, #1A1C1E 0%, #2D1B3D 100%);
  color: #fff;
}
#merchants .section-tag { background: rgba(196,84,242,0.2); color: #e2a0ff; }
#merchants .section-header h2 { color: #fff; }
#merchants .section-header p { color: rgba(255,255,255,0.6); }
.merchant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.merchant-features { display: flex; flex-direction: column; gap: 24px; }
.merchant-feat {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mf-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(196,84,242,0.15);
  border: 1px solid rgba(196,84,242,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mf-icon svg { width: 22px; height: 22px; }
.merchant-feat h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.merchant-feat p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.merchant-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dashboard-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
}
.dc-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.dc-value { font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dc-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.dc-row { display: flex; gap: 12px; }
.dc-row .dashboard-card { flex: 1; }
.order-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  font-size: 12px;
}
.order-num { color: rgba(255,255,255,0.7); font-weight: 600; }
.order-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.badge-pending { background: rgba(245,158,11,0.2); color: #F59E0B; }
.badge-preparing { background: rgba(196,84,242,0.2); color: #C454F2; }
.badge-ready { background: rgba(16,185,129,0.2); color: #10B981; }

/* ─── AI Features ─────────────────────────────────────────── */
#ai-features { background: var(--bg); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ai-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.ai-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(196,84,242,0.2); }
.ai-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(196,84,242,0.3);
}
.ai-icon-wrap svg { width: 30px; height: 30px; color: #fff; }
.ai-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.ai-card p { font-size: 14px; color: var(--mid); line-height: 1.65; }
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16,185,129,0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 14px;
}

/* ─── Download CTA ────────────────────────────────────────── */
#download {
  background: linear-gradient(135deg, #C454F2 0%, #FF44A0 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#download::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -200px; right: -100px;
}
#download::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -150px; left: -80px;
}
#download .container { position: relative; z-index: 1; }
#download h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
#download p { font-size: 18px; opacity: 0.85; margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.2s;
  min-width: 180px;
  position: relative;
}
.store-badge:hover { background: rgba(255,255,255,0.22); }
.badge-icon { width: 32px; height: 32px; flex-shrink: 0; }
.badge-text .badge-sub { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-text .badge-main { font-size: 18px; font-weight: 700; line-height: 1.2; }
.badge-coming {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.merchant-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.merchant-cta-link:hover { opacity: 0.75; }

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--purple); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; font-size: 13px; }
.footer-bottom-links a:hover { color: var(--purple); }

/* ─── Hero stat divider (desktop only) ───────────────────── */
.hero-stat-divider {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet nav — prevent overflow before hamburger kicks in */
@media (max-width: 900px) {
  .nav-cta .btn-outline { display: none; }
  .nav-links { gap: 20px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  #hero { padding: 100px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-text { text-align: center; width: auto; }
  .hero-text h1 { font-size: 38px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-text .section-tag { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .hero-stat { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
  .hero-stat:first-child { border-top: none; padding-top: 0; margin-top: 0; }
  .hero-stat-divider { border-left: none; padding-left: 0; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .merchant-grid { grid-template-columns: 1fr; gap: 32px; }
  .ai-grid { grid-template-columns: 1fr; }
  #download { padding: 72px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero */
  #hero { padding: 88px 0 48px; }
  .hero-text h1 { font-size: 32px; letter-spacing: -0.5px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 280px; }
  .hero-stat strong { font-size: 20px; }

  /* Sections */
  .steps-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .merchant-grid { gap: 24px; }

  /* AI cards — stack icon above text */
  .ai-card { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .ai-icon-wrap { width: 52px; height: 52px; }

  /* Download */
  #download { padding: 56px 0; }
  .store-badge { min-width: 0; flex: 1; }
}

/* ─── Mobile nav ──────────────────────────────────────────── */
#mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,28,30,0.96);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-nav.open { transform: translateY(0); }
#mobile-nav a {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
#mobile-nav a:hover { color: var(--purple); }
#mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
}

/* ─── Scroll animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Privacy Policy Page ───────────────────────────── */

.policy-hero {
  padding: 120px 0 60px;
  background: linear-gradient(160deg, #fff 0%, #fdf4ff 50%, #fff0f9 100%);
  position: relative;
  overflow: hidden;
}
.policy-hero .hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; pointer-events: none; }
.policy-hero .blob-1 { width: 400px; height: 400px; background: #C454F2; top: -150px; right: -80px; }
.policy-hero .blob-2 { width: 250px; height: 250px; background: #FF44A0; bottom: -60px; left: -40px; }
.policy-hero-inner { position: relative; z-index: 1; }
.policy-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 12px; }
.policy-hero p { font-size: 16px; color: var(--muted); font-weight: 500; }

.policy-body {
  padding: 60px 0 80px;
  background: #fff;
}
.policy-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.policy-toc {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
}
.policy-toc h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 14px;
}
.policy-toc ul { list-style: none; }
.policy-toc ul li { margin-bottom: 10px; }
.policy-toc ul li a {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  transition: color 0.2s;
  display: block;
}
.policy-toc ul li a:hover { color: var(--purple); }

.policy-content { flex: 1; min-width: 0; }
.policy-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.policy-section:last-child { border-bottom: none; margin-bottom: 0; }
.policy-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-section h2 .sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.policy-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 8px;
}
.policy-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 10px;
}
.policy-section ul {
  margin: 8px 0 10px 0;
  padding-left: 0;
  list-style: none;
}
.policy-section ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}
.policy-highlight {
  background: rgba(196,84,242,0.06);
  border-left: 3px solid var(--purple);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 16px 0;
}
.policy-highlight p { margin: 0; }

.contact-card {
  background: linear-gradient(135deg, #1A1C1E, #2D1B3D);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  margin-top: 8px;
}
.contact-card p { color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: #e2a0ff; text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card strong { color: #fff; }

@media (max-width: 768px) {
  .policy-layout { flex-direction: column; gap: 32px; }
  .policy-toc { width: 100%; position: static; }
  .policy-toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .policy-toc ul li { margin-bottom: 0; }
  .policy-toc ul li a {
    background: rgba(196,84,242,0.08);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* ── Store Redirect Page ───────────────────────────── */

.store-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', 'Segoe UI', Roboto, sans-serif;
  background: #f9fafb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-page .store-container {
  text-align: center;
  padding: 40px 24px;
  max-width: 400px;
  width: 100%;
}

.store-page .store-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #C454F2, #FF44A0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(196, 84, 242, 0.3);
}

.store-page .store-logo span {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.store-page .store-name {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.store-page .store-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.5;
}

.store-page .loading-text {
  color: #9ca3af;
  font-size: 14px;
}

.store-page .download-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.store-page .store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  max-width: 300px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-page .store-btn:active {
  transform: scale(0.97);
}

.store-page .store-btn-primary {
  background: linear-gradient(135deg, #C454F2, #FF44A0);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 84, 242, 0.3);
}

.store-page .store-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(196, 84, 242, 0.4);
}

.store-page .store-btn-outline {
  background: #fff;
  color: #1f2937;
  border: 1.5px solid #e5e7eb;
}

.store-page .store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.store-page .store-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 13px;
  margin: 4px 0;
  width: 100%;
  max-width: 300px;
}

.store-page .store-divider::before,
.store-page .store-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.store-page .store-footer {
  margin-top: 40px;
  font-size: 13px;
  color: #9ca3af;
}

.store-page .store-footer a {
  color: #6b7280;
  text-decoration: none;
}

.store-page .error-state {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.store-page .redirect-msg {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
