:root {
  --color-background: #f2f2f7;
  --color-surface: #ffffff;
  --color-foreground: #000000;
  --color-card: #ffffff;
  --color-card-foreground: #000000;
  --color-primary: #006eeb;
  --color-primary-foreground: #ffffff;
  --color-secondary: #2db9e3;
  --color-muted: #e4e4e7;
  --color-muted-foreground: #646473;
  --color-accent: #ff2854;
  --color-border: #dcdce1;
  --max-width: 1200px;
  --border-radius: 16px;
  --shadow-subtle: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-medium: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-large: 0 20px 48px rgba(0,0,0,0.14);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================
   NAVBAR
===================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--color-foreground);
}

.logo {
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--color-muted-foreground);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--color-primary);
  color: white;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta:hover {
  background: #005bc4;
  transform: translateY(-1px);
}


/* =====================
   HERO
===================== */

.hero {
  padding: 40px 0 60px;
  background: var(--color-surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background: #eef5ff;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(135deg, #006eeb, #2db9e3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-muted-foreground);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
  max-width: fit-content;
}

.btn-primary:hover {
  background: #005bc4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  border: 1px solid var(--color-border);
  padding: 13px 24px;
  border-radius: 12px;
  color: var(--color-foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--color-muted);
  transform: translateY(-2px);
}

.trust {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0,110,235,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.mockup-img {
  width: 100%;
  max-width: 380px;
  max-height: 520px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.13));
  animation: float 6s ease-in-out infinite;
}

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

/* =====================
   STATS BAR
===================== */

.stats {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat-item {
  padding: 0 24px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--color-muted-foreground);
  font-size: 0.95rem;
}


/* =====================
   PROBLEM
===================== */

.problem-section {
  padding: 100px 0;
}

.problem {
  text-align: center;
  max-width: 680px;
  margin: auto;
}

.problem h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.problem p {
  font-size: 1.1rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}


/* =====================
   FEATURES
===================== */

.features {
  padding: 100px 0;
  background: var(--color-background);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.features-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted-foreground);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon--primary {
  background: #eef5ff;
  color: var(--color-primary);
}

.feature-icon--accent {
  background: #fff0f3;
  color: var(--color-accent);
}

.feature-icon--dark {
  background: #0a0a0a;
  color: white;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}


/* =====================
   HOW IT WORKS
===================== */

.how {
  padding: 100px 0;
  background: var(--color-surface);
}

.how h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.66%;
  right: 16.66%;
  height: 0;
  border-top: 2px dashed var(--color-border);
  pointer-events: none;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step p {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}


/* =====================
   SHOP OWNERS
===================== */

.shop-owners {
  padding: 100px 0;
  background: var(--color-background);
}

.shop-card {
  background: var(--color-surface);
  border-radius: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-medium);
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-content-centered {
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.shop-icon-wrapper {
  width: 88px;
  height: 88px;
  background: #eef5ff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.shop-content-centered h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.shop-content-centered p {
  color: var(--color-muted-foreground);
  font-size: 1.15rem;
  line-height: 1.6;
}


/* =====================
   DOWNLOAD / CTA
===================== */

.download {
  padding: 120px 0;
  background: white;
}

.download-premium-card {
  background: #0a0a0a;
  border-radius: 40px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}

.download-premium-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 110, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.download-text-side {
  position: relative;
  z-index: 1;
}

.download-text-side h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.download-text-side p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 440px;
}

.store-badges {
  display: flex;
  gap: 20px;
}

.store-badge-premium {
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.store-badge-premium:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.store-badge-premium img {
  height: 52px;
  display: block;
}

.qr-side {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.qr-container-premium {
  background: white;
  padding: 32px;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-container-premium span {
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
}


/* =====================
   FOOTER
===================== */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  color: var(--color-muted-foreground);
  font-size: 0.9rem;
}

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

.footer-links a {
  color: var(--color-muted-foreground);
  font-size: 0.9rem;
  transition: var(--transition);
}

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


/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .trust {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .shop-card {
    padding: 60px 24px;
  }

  .download-premium-card {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    gap: 48px;
    text-align: center;
  }

  .download-text-side p {
    margin: 0 auto 36px;
  }

  .store-badges {
    justify-content: center;
  }

  .qr-side {
    justify-content: center;
  }
}

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

  .hero-title {
    font-size: 2.75rem;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .download-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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