/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* brand palette */
  --clr-primary: #6d28d9;
  --clr-primary-light: #8b5cf6;
  --clr-primary-dark: #5b21b6;
  --clr-accent: #f59e0b;
  --clr-accent-light: #fbbf24;

  /* neutrals */
  --clr-bg: #fafafa;
  --clr-surface: #ffffff;
  --clr-text: #1e1e2f;
  --clr-text-muted: #6b7280;
  --clr-border: #e5e7eb;

  /* misc */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.10);
  --transition: .25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight {
  background: linear-gradient(120deg, var(--clr-primary-light), var(--clr-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(109,40,217,.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm { font-size: .85rem; padding: 8px 20px; }
.btn-lg { font-size: 1rem; padding: 14px 32px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(109,40,217,.35);
}

.btn-outline {
  border-color: var(--clr-border);
  color: var(--clr-text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(109,40,217,.06);
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover {
  border-color: var(--clr-primary);
  background: rgba(109,40,217,.1);
}
.lang-flag { font-size: 1.1rem; line-height: 1; }

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 12px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  width: 55px;
}

.logo-icon { font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--clr-primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(170deg, #f5f0ff 0%, var(--clr-bg) 60%);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 540px;
}

.badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(109,40,217,.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.store-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.store-badge {
  height: 42px;
  border-radius: 8px;
}
.disabled-badge {
  opacity: .4;
  filter: grayscale(.6);
  pointer-events: none;
}

/* phone mockup */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--clr-text);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(109,40,217,.15);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f9fafb;
  border-radius: 26px;
  padding: 24px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}
.mock-greeting { font-size: .75rem; color: var(--clr-text-muted); }
.mock-title { font-size: 1.05rem; font-weight: 700; }

.mock-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-store {
  font-size: .65rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mock-item { font-size: .85rem; font-weight: 600; }
.mock-prices { display: flex; gap: 8px; align-items: center; }
.mock-old-price {
  font-size: .75rem;
  text-decoration: line-through;
  color: var(--clr-text-muted);
}
.mock-new-price {
  font-size: .95rem;
  font-weight: 700;
  color: #16a34a;
}
.mock-savings {
  font-size: .65rem;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  padding: 2px 8px;
  border-radius: 999px;
  align-self: flex-start;
}

.hero-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
}
.social-proof .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.proof-text { font-size: .95rem; color: var(--clr-text-muted); }
.avatars { display: flex; align-items: center; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  border: 2px solid #fff;
}
.avatar:first-child { margin-left: 0; }
.avatar-more {
  font-size: .8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-left: 8px;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-primary-light);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .92rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--clr-bg) 0%, #f0e9ff 100%);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: .92rem;
  color: var(--clr-text-muted);
}

.step-arrow {
  font-size: 1.6rem;
  color: var(--clr-primary-light);
  margin-top: 14px;
  font-weight: 700;
}

/* ===== CTA SECTION ===== */
.notify {
  padding: 100px 0;
  background: linear-gradient(170deg, #f5f0ff 0%, #fefce8 100%);
  text-align: center;
}

.notify-container { max-width: 600px; }

.notify h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.notify p {
  color: var(--clr-text-muted);
  margin-bottom: 28px;
}

.notify .btn {
  margin-bottom: 16px;
}

.form-note {
  font-size: .8rem;
  color: var(--clr-text-muted);
  margin-top: 0;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 0;
  background: var(--clr-text);
  color: #d1d5db;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { max-width: 280px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: .9rem;
  color: #9ca3af;
  transition: var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; }

.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--clr-primary);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { flex-direction: column; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .store-badges { justify-content: center; }
  .step-arrow { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  /* Hide the lang toggle inside nav-links on mobile (we show the mobile one instead) */
  .nav-links .lang-toggle { display: none; }
  .nav-right-mobile { display: flex; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 32px; }
  .phone-mockup { width: 240px; height: 480px; }
}

