@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --outline: #d9dfea;
  --accent: #1940d5;
  --accent-soft: #e6ecff;
  --text: #1f2430;
  --text-soft: #596072;
  --warning: #f2a93b;
  --danger: #e57373;
  --macro-protein: #4caf50;
  --macro-carbs: #ff9800;
  --macro-fats: #03a9f4;
  --shadow-1: 0 18px 40px rgba(25, 64, 213, 0.12);
  --shadow-2: 0 10px 22px rgba(31, 36, 48, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

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

body {
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

.bg-orbit {
  position: fixed;
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(25, 64, 213, 0.22) 0%, rgba(25, 64, 213, 0) 70%);
  filter: blur(2px);
  z-index: -1;
}

.bg-orbit--2 {
  width: 520px;
  height: 520px;
  left: -220px;
  top: 380px;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.16) 0%, rgba(242, 169, 59, 0) 72%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 223, 234, 0.6);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  background: var(--surface);
  padding: 6px;
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--text-soft);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-1);
}

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

.btn--primary.is-clicked {
  animation: press 0.35s ease;
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--outline);
  color: var(--text);
}

.btn--ghost:hover {
  box-shadow: var(--shadow-2);
}

.hero {
  padding-top: 120px;
}

.hero-stack {
  display: grid;
  gap: 48px;
}

.hero-title {
  max-width: 780px;
}

.hero-title h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-lower {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-explain {
  display: grid;
  gap: 22px;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 0.75rem;
}

.lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.metric {
  background: var(--surface);
  border-radius: 18px;
  padding: 12px 18px;
  border: 1px solid var(--outline);
  min-width: 140px;
}

.metric strong {
  display: block;
  font-size: 1.1rem;
}

.metric span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
}

.phone-slider {
  display: grid;
  gap: 20px;
}

.phone-shell {
  width: min(320px, 80vw);
  margin: 0 auto;
  padding: 18px 14px 24px;
  background: #111422;
  border-radius: 36px;
  box-shadow: 0 28px 60px rgba(17, 20, 34, 0.35);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #0c0f1b;
  margin: 0 auto 12px;
}

.phone-screen {
  background: var(--surface);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  aspect-ratio: 9 / 19.5;
}

.phone-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.6s ease;
}

.phone-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.phone-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.phone-btn:hover {
  transform: scale(1.05);
}

.phone-dots {
  display: flex;
  gap: 8px;
}

.dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--outline);
}

.dot-indicator.is-active {
  background: var(--accent);
}

.phone-caption {
  background: var(--surface);
  border-radius: 24px;
  padding: 20px 22px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-2);
}

.caption-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  margin-bottom: 8px;
}

.phone-caption h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 8px;
}

.phone-caption p {
  color: var(--text-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: #111422;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(17, 20, 34, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 600;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-2);
}

.panel--accent {
  background: linear-gradient(145deg, #ffffff 0%, var(--accent-soft) 100%);
}

.panel h2,
.panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 12px;
}

.panel p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--text);
}

.checklist li {
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.stats {
  display: grid;
  gap: 16px;
}

.stats strong {
  font-size: 1.3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.section-title p {
  color: var(--text-soft);
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 16px;
  min-height: 320px;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
}

.feature-card p {
  color: var(--text-soft);
}

.feature-visual {
  height: 120px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.feature-visual--planning {
  background: linear-gradient(135deg, rgba(25, 64, 213, 0.2), rgba(25, 64, 213, 0.05));
}

.feature-visual--planning::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(25, 64, 213, 0.4);
}

.feature-visual--recipes {
  background: linear-gradient(135deg, rgba(242, 169, 59, 0.3), rgba(255, 255, 255, 0.5));
}

.feature-visual--recipes::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  top: 20px;
  left: 20px;
  box-shadow: var(--shadow-2);
}

.feature-visual--nutrition {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(3, 169, 244, 0.1));
}

.feature-visual--nutrition::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 20px;
  width: 140px;
  height: 10px;
  border-radius: 999px;
  background: rgba(25, 64, 213, 0.2);
}

.testimonials {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(239, 243, 251, 0.8) 100%);
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 20px;
  overflow: hidden;
}

.quote-card {
  background: var(--surface);
  border-radius: 26px;
  padding: 26px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-2);
  min-height: 180px;
}

.quote-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: var(--surface);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.carousel-btn:hover {
  transform: scale(1.05);
}

.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--outline);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.footer-grid h4 {
  margin-bottom: 10px;
}

.footer-grid a {
  display: block;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-bottom {
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes press {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

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

  .header-inner {
    justify-content: space-between;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-visual {
    display: grid;
    gap: 16px;
  }

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

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-metrics {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--outline);
  background: var(--surface);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--outline);
  background: var(--surface);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav {
  display: grid;
  gap: 12px;
  padding: 16px 0 24px;
}

.mobile-nav a {
  padding: 10px 0;
  color: var(--text-soft);
  font-weight: 600;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 8px;
}
