:root {
  --bg: #fbfcfa;
  --surface: #ffffff;
  --text: #10171a;
  --text-dim: #55636a;
  --border: #e7ece9;
  --brand-a: #22c55e;
  --brand-b: #0ea5e9;
  --brand-a-soft: #e8faef;
  --brand-b-soft: #e6f6fd;
  --amber: #f59e0b;
  --amber-soft: #fef3e2;
  --shadow: 0 10px 30px -12px rgba(16, 23, 26, 0.15);
  --radius: 18px;
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1210;
    --surface: #111a17;
    --text: #eef4f1;
    --text-dim: #9db0aa;
    --border: #1f2b27;
    --brand-a-soft: rgba(34, 197, 94, 0.14);
    --brand-b-soft: rgba(14, 165, 233, 0.14);
    --amber-soft: rgba(245, 158, 11, 0.16);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* Background ambience */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: drift 22s ease-in-out infinite;
}
.blob-a { width: 480px; height: 480px; background: var(--brand-a); top: -160px; left: -120px; }
.blob-b { width: 420px; height: 420px; background: var(--brand-b); top: 220px; right: -140px; animation-duration: 26s; animation-delay: -6s; }
.blob-c { width: 380px; height: 380px; background: var(--amber); bottom: -180px; left: 30%; animation-duration: 30s; animation-delay: -12s; opacity: 0.22; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 40px) scale(1.08); }
  66% { transform: translate(-25px, -20px) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand em { font-style: normal; color: var(--brand-a); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; }

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a { color: var(--text-dim); transition: color 0.2s ease; }
.main-nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  line-height: 1;
}
.lang-switch a,
.lang-switch .lang-current {
  display: inline-flex;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch .lang-current { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  color: #06210f;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(34, 197, 94, 0.55); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--brand-b); color: var(--brand-b); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; padding: 13px 20px; }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 64px) 0 40px;
  position: relative;
}
.hero-inner { text-align: center; max-width: 760px; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-a-soft);
  color: #16803d;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: #6ee7a0; } }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: 18px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.12rem;
  max-width: 620px;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}
.hero-trust { font-size: 0.88rem; color: var(--text-dim); }

.hero-mock {
  max-width: 560px;
  margin: 48px auto 0;
}
.mock-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mock-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.mock-row { display: flex; gap: 14px; align-items: flex-start; }
.mock-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  color: #06210f;
}
.mock-avatar-2 { background: linear-gradient(135deg, var(--amber), var(--brand-a)); }
.mock-lines { flex: 1; }
.mock-line { height: 10px; border-radius: 6px; background: var(--border); }
.mock-line-title { width: 40%; margin-bottom: 10px; }
.mock-line-small { width: 30%; margin-bottom: 12px; }
.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.chip-red { background: #fde3e3; color: #b42323; }
.chip-blue { background: var(--brand-b-soft); color: #0369a1; }
.chip-green { background: var(--brand-a-soft); color: #16803d; }
.mock-pantry { padding-top: 6px; border-top: 1px dashed var(--border); }
.mock-pantry-tags { display: flex; gap: 8px; }
.tag { width: 44px; height: 26px; border-radius: 8px; background: var(--border); }

/* Logos strip */
.logos-strip { padding: 36px 0; text-align: center; }
.logos-strip p { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.logos-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; font-weight: 600; color: var(--text-dim); font-size: 0.92rem; }

/* Sections generic */
section { padding: 84px 0; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); text-align: center; letter-spacing: -0.01em; }
.section-sub { text-align: center; max-width: 560px; margin: 0 auto 48px; font-size: 1.05rem; }

.badge-soon {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #b45309;
  vertical-align: middle;
  margin-left: 6px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-a-soft);
  color: #16803d;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) { .feature-icon { color: #6ee7a0; } }
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* How it works */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  color: #06210f;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { margin: 0; font-size: 0.95rem; }

/* Platforms */
.platforms-inner { text-align: center; }
.platform-badges {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  min-width: 220px;
}
.platform-badge svg { width: 30px; height: 30px; color: var(--text-dim); flex-shrink: 0; }
.platform-badge strong { display: block; font-family: "Sora", sans-serif; }
.platform-badge span { font-size: 0.85rem; color: var(--text-dim); }
.platform-live { border-color: var(--brand-a); box-shadow: 0 0 0 3px var(--brand-a-soft); }
.platform-live svg { color: #16803d; }
@media (prefers-color-scheme: dark) { .platform-live svg { color: #6ee7a0; } }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-live { border-color: var(--brand-a); box-shadow: 0 0 0 3px var(--brand-a-soft); }
.price-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-a-soft);
  color: #16803d;
  margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .price-tag { color: #6ee7a0; } }
.price-tag-soon { background: var(--amber-soft); color: #b45309; }
.price-card h3 { font-size: 1.3rem; }
.price-amount { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 18px; }
.price-amount span { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); }
.price-features { margin-bottom: 24px; flex: 1; }
.price-features li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.94rem;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand-a);
  border-bottom: 2px solid var(--brand-a);
  transform: rotate(-45deg);
}
.pricing-note { text-align: center; font-size: 0.85rem; margin-top: 28px; }

/* CTA band */
.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--brand-a-soft), var(--brand-b-soft));
}
.cta-band-inner { text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 560px; margin-inline: auto 24px auto; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p { margin: 0; font-size: 0.85rem; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-sm { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .logos-row { gap: 18px; }
}
