@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3ecff;
  --text: #1f1147;
  --brand: #7C3AED;
  --brand-dark: #5b21b6;
  --muted: #6d28d9;
  --line: rgba(124, 58, 237, 0.18);
  --section-padding: 36px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  /* full-bleed soft purple background so header blends with page */
  background: linear-gradient(180deg, var(--surface-soft) 0%, #ffffff 80%);
  color: var(--text);
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin-top: 18px;
  margin-bottom: 80px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  /* make header blend with page background */
  background: transparent;
  backdrop-filter: blur(6px);
  border-bottom: none;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

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

.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.24);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
}

.hero {
  /* full-viewport colored area (background comes from body) */
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  padding: 0 0 42px;
  display: flex;
  align-items: stretch;
  background: transparent;
  margin: 0;
}

/* boxed card inside the hero */
.hero .container {
  width: min(1120px, calc(100% - 40px));
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* keep container transparent so the page color shows through on landing */
  background: transparent;
  border-radius: 0;
  min-height: calc(100svh - 78px);
  padding: clamp(24px, 6vh, 80px) 24px clamp(20px, 4vh, 40px);
  box-shadow: none;
  border: none;
}

.hero .container h1 {
  margin-top: 0;
}

.lead {
  color: var(--text);
  font-size: 1.5rem;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
}

.screenshots-section {
  padding: 40px 0 28px;
  background: #ffffff;
  border-top: none;
  margin: 0;
}

.screenshots-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  text-align: left;
}

.screenshots-header h2 {
  margin: 0;
  color: var(--text);
}

.screenshots-header .section-intro {
  margin-top: 5px;
}

.screenshots-container {
  width: 100%;
}

.screenshots-header .btn {
  padding: 8px 14px;
  border-radius: 10px;
}

.screenshots-features {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.screenshots-features .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
}

.feature-time {
  font-weight: 700;
  color: var(--brand);
  background: rgba(124,58,237,0.08);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.05rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* emphasize the quick-action separately from benefits */
.feature-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 18px;
  border-right: 1px solid rgba(124,58,237,0.08);
  margin-right: 12px;
}

.feature-action .feature {
  background: linear-gradient(180deg, rgba(124,58,237,0.08), rgba(124,58,237,0.04));
  padding: 10px 18px;
  border-radius: 12px;
}

.feature-action .feature-time {
  color: #4c1d95;
  background: transparent;
  font-size: 1.25rem;
  padding: 8px 12px;
}

.feature-benefits {
  display: flex;
  gap: 12px;
  align-items: center;
}

.feature-benefits .feature {
  background: rgba(124,58,237,0.04);
  padding: 8px 12px;
  border-radius: 10px;
}

/* How it works section styles */
.how-features {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.how-action {
  flex: 0 0 auto;
  padding-right: 18px;
  border-right: 1px solid rgba(124,58,237,0.08);
}

.how-action .feature {
  background: linear-gradient(180deg, rgba(124,58,237,0.10), rgba(124,58,237,0.04));
  padding: 14px 22px;
  border-radius: 14px;
}

.how-action .feature-time {
  font-size: 1.35rem;
  padding: 8px 14px;
}

.how-benefits {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .how-features { flex-direction: column; gap: 12px; }
  .how-action { border-right: none; padding-right: 0; }
}

/* Funnel layout styles */
.how-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}

.funnel-top-text {
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

.funnel-middle {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.nutripilot-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.10), rgba(124,58,237,0.04));
  padding: 16px 22px;
  border-radius: 12px;
  text-align: center;
}

.nutri-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.nutri-setup .feature-time {
  font-size: 1.25rem;
  color: var(--brand);
  padding: 6px 10px;
}

.funnel-arrow {
  font-size: 2rem;
  color: var(--muted);
}

.nutri-benefits {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.how-graph {
  display: flex;
  justify-content: center;

  padding: 18px 0 6px;
}

.how-graph svg { max-width: 1000px; width: 100%; height: auto; display: block; }

.how-graph .benefits-list text:first-child { font-weight: 700; }

/* typed-line styles */
.typed-line {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.typing {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-weight: 700;
  color: #7C3AED;
  font-size: inherit;
  display: inline-block;
  white-space: pre;
  border-right: 2px solid rgba(124, 58, 237, 0.9);
  padding-right: 6px;
  line-height: inherit;
}

.typing.typing-complete {
  border-right: none;
}

#typed-zero {
  color: #7C3AED;
}

.logging-strike {
  position: relative;
  display: inline-block;
  color: #7C3AED;
}

.logging-strike::after {
  content: "";
  position: absolute;
  left: -0.22em;
  right: -0.18em;
  top: 56%;
  height: 0.17em;
  background: #7C3AED;
  border-radius: 999px;
  transform: translateY(-50%) rotate(-8deg) scaleX(0);
  transform-origin: center;
  transition: transform 260ms ease;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.08);
}

.logging-strike::before {
  content: "";
  position: absolute;
  left: -0.16em;
  right: -0.24em;
  top: 52%;
  height: 0.1em;
  background: rgba(124, 58, 237, 0.55);
  border-radius: 999px;
  transform: translateY(-50%) rotate(-10deg) scaleX(0);
  transform-origin: center;
  transition: transform 260ms ease 40ms;
  filter: blur(0.15px);
}

.logging-strike.is-struck::after {
  transform: translateY(-50%) rotate(-8deg) scaleX(1);
}

.logging-strike.is-struck::before {
  transform: translateY(-50%) rotate(-10deg) scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .typing { border-right: none; }
}

.benefit-node text { font-weight: 600; }

@media (max-width: 720px) {
  .how-graph svg { max-width: 100%; }
  .benefit-node text { font-size: 10px; }
}

.nutri-benefits .benefit {
  background: rgba(124,58,237,0.04);
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 720px) {
  .funnel-middle { flex-direction: column; }
  .funnel-arrow { transform: rotate(90deg); }
}

.screenshots-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.screenshots-row {
  position: relative;
  margin-bottom: 16px;
}

.screenshot-card {
  width: 100%;
  min-width: 0;
  aspect-ratio: 9 / 19;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: 0 6px 16px rgba(20, 33, 61, 0.06);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Carousel styles */
.screenshots-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.section-block {
  padding: var(--section-padding) 0;
}

/* add inner padding inside each section's container to give content more room */
.section-block > .container {
  padding-top: 28px;
  padding-bottom: 28px;
}

/* increase spacing between direct children inside a section for natural rhythm */
.section-block > .container > * + * {
  margin-top: 22px;
}

.section-soft {
  background: var(--surface-soft);
}

.section-products {
  background: #ffffff;
}

.section-download {
  background: var(--surface);
  border-radius: 12px;
  padding: var(--section-padding) 0;
  box-shadow: 0 8px 20px rgba(20,33,61,0.04);
}

.section-download-final {
  padding-bottom: 90px;
}

.section-download h2,
.section-download .section-intro,
.section-download .coming-soon {
  color: var(--text);
}

.section-download .section-intro {
  white-space: nowrap;
  max-width: none;
}

.section-intro {
  color: var(--text);
  margin: 20px 0 0;
  max-width: 760px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
  align-items: stretch;
}

.feature-row-reverse .feature-media {
  order: 2;
}


.feature-row-reverse .feature-copy {
  order: 1;
}

.feature-media {
  border-radius: 18px;
  border: 1px solid #ddceff;
  background:
    linear-gradient(145deg, #efe7ff, #faf5ff),
    repeating-linear-gradient(-25deg, rgba(109, 40, 217, 0.07), rgba(109, 40, 217, 0.07) 7px, rgba(109, 40, 217, 0.03) 7px, rgba(109, 40, 217, 0.03) 14px);
  min-height: 220px;
  padding: 22px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  color: #4c1d95;
  display: grid;
  place-items: end start;
}

.download-panel {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 36px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 84px;
  border-radius: 12px;
  padding: 8px;
}

.store-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.coming-soon {
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  text-align: center;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
  justify-items: center;
}

.vision-card {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.1) 0%, rgba(76, 29, 149, 0.06) 100%);
  border: 1px solid #d9c7ff;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.05);
  width: 100%;
  max-width: 340px;
  text-align: center;
}

.vision-card h3 {
  margin-bottom: 12px;
}

.vision-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.partners-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  background: var(--surface);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(20,33,61,0.04);
}

.partners-grid .partner-logo-card {
  grid-column: span 3;
}

.partners-grid .partner-logo-card:nth-child(5) {
  grid-column: 2 / span 3;
}

.partner-logo-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 90px;
  display: grid;
  place-items: center;
}

.partner-logo-card img {
  width: 100%;
  max-width: 220px;
  max-height: 70px;
  object-fit: contain;
}

/* Partners grid: two rows, centered */
.partners-carousel {
  width: 100%;
  max-width: 1120px;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 32px;
  padding: 6px 12px;
}

.partners-carousel .partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  /* Calculate basis so 4 items fit per row with gaps */
  flex: 0 0 calc((100% - 3 * 32px) / 4);
  max-width: calc((100% - 3 * 32px) / 4);
}

.partners-carousel .partner-logo-card img {
  max-width: 160px;
  max-height: 72px;
  width: auto;
  display: block;
}

@media (max-width: 720px) {
  .partners-carousel .partner-logo-card {
    flex: 0 0 calc((100% - 32px) / 2);
    max-width: calc((100% - 32px) / 2);
  }

  .section-download .section-intro {
    white-space: normal;
    max-width: 760px;
  }
}

/* How it works section */
.section-how .how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
  margin-top: 18px;
  align-items: start;
}

.section-how .how-step {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 6px rgba(16,24,40,0.06);
  text-align: center;
}

.section-how .how-step .step-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.section-how .how-step .step-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.section-how .how-step h3 {
  margin: 6px 0 8px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .section-how .how-steps {
    grid-template-columns: 1fr;
  }
}

/* Make the How section a white band */
.section-how {
  background: #ffffff;
  padding: 90px 0;
}


/* Tagline and note */
.section-how .how-tagline {
  text-align: center;
  font-weight: 700;
  color: #111827;
  margin-top: 8px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.section-how .how-note {
  text-align: center;
  color: #6B7280;
  margin: 10px auto 18px;
  max-width: 720px;
}

.section-how .section-intro {
  white-space: nowrap;
  max-width: none;
}

.section-how .how-note .accent {
  color: #7C3AED;
  font-weight: 700;
}

@media (max-width: 900px) {
  .section-how .section-intro {
    white-space: normal;
    max-width: 760px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-email {
  margin: 24px 0 0;
  font-size: 1.12rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45em;
}

.contact-email-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;
}

.contact-email-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-email a {
  color: inherit;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-wrap {
  text-align: center;
}

.footer {
  padding: 15px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: #000000;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-grid>div:last-child {
  margin-left: auto;
}

.footer .contact-email {
  margin: 0;
  font-size: 1rem;
  justify-content: flex-end;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-copy {
  color: inherit;
  margin: 8px 0;
}

/* Make footer links inherit the footer color */
.footer a {
  color: inherit;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

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

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

  .stats,
  .vision-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-grid>div:last-child {
    margin-left: 0;
  }

  .footer .contact-email {
    justify-content: flex-start;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .partners-grid .partner-logo-card {
    grid-column: span 1;
  }

  .partners-grid .partner-logo-card:nth-child(5) {
    grid-column: auto;
  }

  .partner-logo-card img {
    max-width: 140px;
    max-height: 56px;
  }

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

  .store-badge {
    width: min(280px, 100%);
  }

  .feature-row-reverse .feature-media,
  .feature-row-reverse .feature-copy {
    order: initial;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding-bottom: 15px;
  }
}

@media (max-width: 980px) {
  .screenshots-row {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .screenshot-card {
    flex-basis: 128px;
  }
}

@media (max-width: 520px) {
  .screenshot-card {
    flex-basis: 112px;
  }
}