/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design tokens ── */
:root {
  --bg:          #0b1518;
  --surface:     #111e24;
  --border:      rgba(85,130,139,0.25);
  --accent:      #87bba2;
  --accent-2:    #C9E4CA;
  --teal:        #55828B;
  --text:        #f0f7f4;
  --muted:       #7a9e95;

  --grad:        linear-gradient(120deg, #55828B, #87bba2, #C9E4CA);
  --grad-btn:    linear-gradient(120deg, #55828B 0%, #87bba2 100%);

  --radius:      16px;
  --max:         1200px;
  --nav-h:       70px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Background canvas + aurora ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
}
.aurora-1 {
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(54,73,88,0.55) 0%, transparent 65%);
  top: -25vh; left: -25vw;
  animation: aur1 28s ease-in-out infinite;
}
.aurora-2 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(85,130,139,0.22) 0%, transparent 65%);
  top: 25vh; right: -12vw;
  animation: aur2 22s ease-in-out infinite;
}
.aurora-3 {
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(135,187,162,0.12) 0%, transparent 65%);
  bottom: -15vh; left: 15vw;
  animation: aur3 32s ease-in-out infinite;
}
@keyframes aur1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(6vw,10vh) scale(1.08); }
  66%  { transform: translate(-5vw,5vh) scale(0.93); }
}
@keyframes aur2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-8vw,12vh) scale(1.12); }
}
@keyframes aur3 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%  { transform: translate(5vw,-8vh) scale(1.06); }
  80%  { transform: translate(-4vw,5vh) scale(0.94); }
}

/* lift all page content above the canvas layer */
header, main, footer { position: relative; z-index: 1; }
header { z-index: 100; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.82; transform: translateY(-1px); }
.btn-primary { background: var(--grad-btn); color: #0b1518; }
.btn-ghost   { border: 1.5px solid var(--border); color: var(--text); }

/* ── Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(11,21,24,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo img { height: 38px; width: auto; }
.logo span {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav ul { display: flex; gap: 2rem; margin-right: auto; }
nav ul a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
nav ul a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }
.lang-toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lang-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.lang-btn:hover { transform: translateY(-1px); }
.lang-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: rgba(255,255,255,0.22);
}

/* ── Eyebrow ── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 1.1rem;
}

/* ── Accent text ── */
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 10rem 2rem 8rem;
  max-width: 860px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Split sections ── */
#about { padding: 0 2.5rem; }

.split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* Each section has a slightly different column ratio for visual rhythm */
.split-a { grid-template-columns: 1fr 1.35fr; gap: 5rem; }
.split-b { grid-template-columns: 1fr 1fr;    gap: 8rem; }
.split-c { grid-template-columns: 1.2fr 1fr;  gap: 5rem; }
.split-d { grid-template-columns: 1fr 1.15fr; gap: 7rem; }

.split-text h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.split-bold {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.split-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
}

/* ── Phone mockup ── */
.split-visual {
  display: flex;
  justify-content: center;
}
.phone-mock {
  width: 280px;
  background: var(--surface);
  border-radius: 36px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(135,187,162,0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}
.phone-mock:hover {
  transform: scale(1.045);
  box-shadow: 0 52px 96px rgba(0,0,0,0.6), 0 0 0 1px rgba(135,187,162,0.18);
}

/* Phone size variants */
.phone-sm { width: 240px; border-radius: 30px; }
.phone-md { width: 270px; }
.phone-lg { width: 310px; border-radius: 40px; }
.phone-xl { width: 330px; border-radius: 44px; }
.phone-bar {
  height: 28px;
  background: #0e1c22;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-bar::after {
  content: '';
  width: 60px;
  height: 5px;
  background: rgba(135,187,162,0.2);
  border-radius: 99px;
}
/* ── Phone screenshot display ── */
.phone-screen {
  position: relative;
  line-height: 0;
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  display: block;
}

/* Crop home screen just above the listing cards that contain real names/photos.
   The screenshot is 430 × 932 px; displayed at 280 px width → ~607 px tall.
   Cutting at 400 px hides the listing cards (~66 % of full height) while keeping
   the header, search bar, explore tiles and category pills fully visible. */
.screen-crop {
  max-height: 400px;
}
/* Soft fade at the crop edge so the cut-off looks intentional */
.screen-crop::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}

/* ── Hero QR codes ── */
.hero-download-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-qr {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.hero-qr-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.qr-code {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  padding: 4px;
  background: white;
  flex-shrink: 0;
}
.qr-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}
.qr-store-icon {
  width: 20px;
  height: 20px;
  color: var(--text);
  flex-shrink: 0;
}
.qr-label small {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 0.15rem;
}
.qr-label strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

/* ── Pricing & Contact sections ── */
#pricing,
#contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
#pricing h2,
#contact h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
}

/* ── Billing toggle ── */
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 3.5rem;
  justify-content: center;
}
.billing-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.billing-label.active { color: var(--text); }
.save-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--grad-btn);
  color: #0b1518;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: background 0.25s;
}
.toggle-track::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: var(--muted);
  border-radius: 50%;
  transition: transform 0.25s, background 0.25s;
}
.toggle-switch input:checked + .toggle-track { background: var(--surface); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-track::before {
  transform: translateX(20px);
  background: var(--accent);
}

/* ── Pricing grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  text-align: left;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}
.pricing-card:hover {
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

/* Popular card — gradient border via background-clip (avoids stacking-context issues with transform) */
.pricing-popular {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: #0b1518;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 99px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0;
}
.price-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  transition: opacity 0.2s;
}
.price-contact { font-size: 1.8rem; }
.price-period {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.yearly-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -1rem;
  display: none;
}
.yearly-note.visible { display: block; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.plan-features li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}
.plan-features li.feature-extra {
  color: var(--text);
  font-weight: 500;
}
.plan-features li.feature-extra::before { content: '·'; color: var(--muted); font-size: 1rem; top: -1px; }
.plan-features small { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 0.1rem; }

.plan-btn { width: 100%; text-align: center; margin-top: auto; }

/* ── Contact ── */
.contact-cta {
  margin-bottom: 2.5rem;
}

.find-us-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.social-link {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-link:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(135,187,162,0.1);
  transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo { height: 32px; opacity: 0.7; }
footer p { font-size: 0.82rem; color: var(--muted); }

/* ── Nav download button + popover ── */
.nav-dl {
  position: relative;
}

.nav-dl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav-dl-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(135,187,162,0.08);
}

.nav-dl-popover {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  min-width: 240px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dl-popover::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 10px;
  width: 9px;
  height: 9px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-dl:hover .nav-dl-popover,
.nav-dl.open .nav-dl-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.float-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0;
}

.float-qr-row {
  display: flex;
  gap: 0.75rem;
}

.float-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.float-qr-item .qr-code {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.float-store-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split, .split-reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 0;
  }
  .split-reverse { direction: ltr; }
  .split-visual { order: -1; display: flex; justify-content: center; }
  .phone-sm, .phone-md, .phone-lg, .phone-xl {
    width: clamp(160px, 48vw, 240px);
  }
  nav ul { display: none; }
  .nav-cta { display: none; }
  .lang-toggle { margin-left: auto; }
  nav { gap: 0.75rem; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  nav { padding: 0 1.25rem; }
  .hero { padding: 6rem 1.25rem 5rem; }
  #about { padding: 0 1.25rem; }
  #pricing, #contact { padding: 5rem 1.25rem; }
}
