/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #FAFAF8;
  color: #1A1A18;
  line-height: 1.6;
}

/* === Typography === */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: 72px;
  line-height: 76px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 48px;
  line-height: 54px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.text-body {
  font-size: 17px;
  line-height: 28px;
  color: #6B6B63;
}

.text-small {
  font-size: 15px;
  line-height: 24px;
}

.text-muted {
  color: #6B6B63;
}

.label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2D8B4E;
}

/* === Layout: Content Width === */
/* ~62% of 1440px = 900px. All sections centered. */

/* === Nav === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Sticky blur background spans full width */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #2D8B4E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #1A1A18;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 15px;
  color: #6B6B63;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1A1A18;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1A1A18;
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #333330;
}

/* === Hero === */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 0;
  gap: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #E8F5EC;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 13px;
  color: #2D8B4E;
  letter-spacing: 0.02em;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero h1 {
  text-align: center;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 32px;
  color: #6B6B63;
  text-align: center;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1A1A18;
  color: #FFFFFF;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-hero:hover {
  background-color: #333330;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #E5E5E0;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16px;
  color: #1A1A18;
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: #1A1A18;
}

/* === Phone Mockup === */
.phone-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  height: 560px;
  background-color: #FFFFFF;
  border-radius: 36px;
  border: 8px solid #1A1A18;
  padding: 16px;
  gap: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.phone-notch {
  width: 100px;
  height: 6px;
  background-color: #1A1A18;
  border-radius: 100px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding: 8px;
}

.phone-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1A1A18;
}

.calorie-ring-container {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.calorie-ring-outer {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  border: 10px solid #E8F5EC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calorie-ring-inner {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: 10px solid #2D8B4E;
  border-right-color: #E8F5EC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calorie-ring-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1A1A18;
}

.phone-remaining {
  font-size: 11px;
  color: #6B6B63;
  text-align: center;
}

.macro-bars {
  display: flex;
  gap: 8px;
  width: 100%;
}

.macro-bar {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.macro-bar-label {
  font-weight: 500;
  font-size: 9px;
  color: #6B6B63;
}

.macro-bar-track {
  width: 100%;
  height: 5px;
  border-radius: 100px;
}

.macro-bar-fill {
  height: 5px;
  border-radius: 100px;
}

/* === Social Proof === */
.social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 0;
  gap: 48px;
  flex-wrap: wrap;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6B6B63;
}

.social-proof-stars {
  font-weight: 600;
  font-size: 14px;
  color: #E8A838;
}

.social-proof-divider {
  width: 1px;
  height: 20px;
  background-color: #E5E5E0;
}

/* === Problem/Solution === */
.problem-section {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px;
  gap: 64px;
  align-items: flex-start;
}

.problem-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

/* === Features === */
.features-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.features-header h2 {
  text-align: center;
}

.feature-row {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.feature-row:first-of-type {
  padding-top: 48px;
}

.feature-row + .feature-row {
  padding-top: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 36px;
  gap: 24px;
  border: 1px solid #E5E5E0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon--dark {
  background-color: #1A1A18;
}

.feature-icon--green {
  background-color: #E8F5EC;
}

.feature-card-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card-text p {
  font-size: 16px;
  line-height: 26px;
  color: #6B6B63;
}

.traffic-lights {
  display: flex;
  gap: 10px;
}

.traffic-light {
  width: 36px;
  height: 36px;
  border-radius: 100%;
}

/* === Comparison === */
.comparison-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 0;
  gap: 16px;
}

.comparison-header h2 {
  text-align: center;
}

.comparison-table {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.table-header {
  display: flex;
  width: 100%;
  padding: 16px 0;
  border-bottom: 2px solid #1A1A18;
}

.table-row {
  display: flex;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #E5E5E0;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.table-col-feature {
  flex: 2;
}

.table-col-value {
  flex: 1;
  display: flex;
  justify-content: center;
}

.table-col-value--highlight {
  font-weight: 600;
  color: #2D8B4E;
}

.table-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.table-brand-name {
  font-size: 16px;
}

.table-brand-name--highlight {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #2D8B4E;
}

.table-brand-price {
  font-size: 13px;
  color: #6B6B63;
}

.table-brand-price--highlight {
  font-weight: 600;
  color: #2D8B4E;
}

/* === Pricing === */
.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 0;
  gap: 16px;
}

.pricing-header h2 {
  text-align: center;
}

.pricing-cards {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 0;
  gap: 24px;
  align-items: flex-start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 20px;
  padding: 36px;
  gap: 32px;
}

.pricing-card--free {
  background-color: #FFFFFF;
  border: 1px solid #E5E5E0;
}

.pricing-card--pro {
  background-color: #1A1A18;
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card-tier {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6B6B63;
}

.pricing-card--pro .pricing-card-tier {
  color: #2D8B4E;
}

.pricing-card-tier-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-popular {
  background-color: #2D8B4E;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 11px;
  color: #FFFFFF;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-card-price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.03em;
}

.pricing-card--pro .pricing-card-price-amount {
  color: #FFFFFF;
}

.pricing-card-price-period {
  font-size: 16px;
  color: #888880;
}

.pricing-card-desc {
  font-size: 14px;
  color: #6B6B63;
}

.pricing-card--pro .pricing-card-desc {
  color: #888880;
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background-color: #E5E5E0;
}

.pricing-card--pro .pricing-divider {
  background-color: #333330;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-feature-check {
  font-weight: 600;
  font-size: 15px;
  color: #2D8B4E;
  flex-shrink: 0;
}

.pricing-feature-text {
  font-size: 15px;
  color: #1A1A18;
}

.pricing-card--pro .pricing-feature-text {
  color: #FFFFFF;
}

.btn-pricing-free {
  display: flex;
  justify-content: center;
  padding: 14px 0;
  border: 1.5px solid #E5E5E0;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  color: #1A1A18;
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-pricing-free:hover {
  border-color: #1A1A18;
}

.btn-pricing-pro {
  display: flex;
  justify-content: center;
  padding: 14px 0;
  background-color: #2D8B4E;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-pricing-pro:hover {
  background-color: #257A42;
}

.pricing-lifetime {
  text-align: center;
  font-size: 13px;
  color: #888880;
}

/* === Final CTA === */
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  gap: 24px;
}

.final-cta h2 {
  font-size: 40px;
  line-height: 48px;
  text-align: center;
}

.final-cta-subtitle {
  font-size: 18px;
  color: #6B6B63;
  text-align: center;
}

/* === Footer === */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  border-top: 1px solid #E5E5E0;
}

.footer-copy {
  font-size: 13px;
  color: #6B6B63;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  color: #6B6B63;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1A1A18;
}

/* === Carousel === */
.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 40px;
  gap: 24px;
}

.carousel-tabs {
  display: flex;
  gap: 4px;
  background-color: #F0F0EC;
  padding: 4px;
  border-radius: 100px;
}

.carousel-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #6B6B63;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-tab:hover {
  color: #1A1A18;
}

.carousel-tab--active {
  background-color: #FFFFFF;
  color: #1A1A18;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.carousel-viewport {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.carousel-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

.carousel-slide--active {
  display: flex;
}

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

.carousel-caption {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #6B6B63;
  text-align: center;
}

/* === Mac Mockup === */
.mac-frame {
  width: 640px;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 2px solid #E5E5E0;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mac-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #F8F8F6;
  border-bottom: 1px solid #E5E5E0;
}

.mac-dots {
  display: flex;
  gap: 6px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  display: inline-block;
}

.mac-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #6B6B63;
}

.mac-content {
  display: flex;
  min-height: 340px;
}

.mac-sidebar {
  width: 160px;
  padding: 16px 12px;
  background-color: #FAFAF8;
  border-right: 1px solid #E5E5E0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mac-sidebar-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6B6B63;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: default;
}

.mac-sidebar-item--active {
  background-color: #E8F5EC;
  color: #2D8B4E;
  font-weight: 500;
}

.mac-main {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* === Watch Mockup === */
.watch-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.watch-band-top,
.watch-band-bottom {
  width: 68px;
  height: 40px;
  background-color: #3A3A38;
  border-radius: 4px;
}

.watch-band-top {
  border-radius: 4px 4px 0 0;
}

.watch-band-bottom {
  border-radius: 0 0 4px 4px;
}

.watch-body {
  width: 180px;
  height: 220px;
  background-color: #1A1A18;
  border-radius: 40px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.watch-screen {
  width: 100%;
  height: 100%;
  background-color: #000000;
  border-radius: 28px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.watch-ring-container {
  display: flex;
  justify-content: center;
}

.watch-ring-outer {
  width: 90px;
  height: 90px;
  border-radius: 100%;
  border: 6px solid #1A3D28;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-ring-inner {
  width: 78px;
  height: 78px;
  border-radius: 100%;
  border: 6px solid #2D8B4E;
  border-right-color: #1A3D28;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.watch-ring-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #FFFFFF;
  line-height: 1;
}

.watch-ring-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #888880;
}

.watch-stats {
  display: flex;
  gap: 20px;
}

.watch-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.watch-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
}

.watch-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #888880;
}

/* === Responsive === */
@media (max-width: 768px) {
  h1 {
    font-size: 40px;
    line-height: 44px;
  }

  h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .nav-links a:not(.btn-primary) {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .social-proof {
    flex-direction: column;
    gap: 16px;
  }

  .social-proof-divider {
    display: none;
  }

  .problem-section {
    flex-direction: column;
    gap: 48px;
  }

  .feature-row {
    flex-direction: column;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .table-header,
  .table-row {
    min-width: 600px;
  }

  .pricing-cards {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .mac-frame {
    width: 100%;
    max-width: 480px;
  }

  .mac-sidebar {
    display: none;
  }
}
