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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.logo:hover .logo-img {
  opacity: 0.75;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.hamburger:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  display: flex;
  opacity: 1;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0 32px;
}

.mobile-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s;
  padding: 6px 0;
  width: 100%;
  text-align: center;
}

.mobile-link:hover {
  color: #fff;
}

.mobile-menu-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 32px;
}

.mobile-menu-btns .btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 0.95rem;
}

.nav-action-btn {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: 100px;
  gap: 7px;
  min-width: 148px;
  justify-content: center;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 32px 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('./hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.65) 70%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
}

.hero > *:not(.hero-overlay) {
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-outline {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
  display: inline-block;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 44px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-fill {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.btn-fill:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1rem;
}


/* ─── Cards Section ─── */
.cards-section {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 48px 120px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  flex: 1;
  max-width: 320px;
  min-width: 240px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.card-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.card-sub {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Features ─── */
.features {
  padding: 100px 48px 120px;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 64px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.feature {
  padding: 48px 36px;
  background: #000;
  transition: background 0.5s, transform 0.5s;
  position: relative;
}

.feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0);
  transition: background 0.5s;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.03);
}

.feature:hover::after {
  background: rgba(255, 255, 255, 0.1);
}

.feature-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  transition: color 0.5s;
}

.feature:hover .feature-num {
  color: rgba(255, 255, 255, 0.4);
}

.feature h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Stats ─── */
.stats {
  padding: 80px 48px;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
}


/* ─── Eyebrow Tag ─── */
.eyebrow-tag {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 100px 48px 120px;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.4s, border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-6px);
}

.step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.4s;
}

.step:hover .step-num {
  color: rgba(255, 255, 255, 0.2);
}

.step-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

.step-connector {
  flex: 0 0 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  align-self: center;
  margin-top: 0;
}

/* ─── AI Companions Section ─── */
.assistants-section {
  padding: 100px 48px 120px;
  background: rgba(255, 255, 255, 0.012);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.assistants-header {
  text-align: center;
  margin-bottom: 72px;
}

.assistants-subtitle {
  max-width: 520px;
  margin: 20px auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
}

.assistants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.assistant-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.assistant-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}

.assistant-card:hover::before {
  left: 100%;
}

.assistant-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.assistant-avatar {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color 0.4s, background 0.4s;
}

.assistant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.4s;
}

.assistant-card:hover .assistant-avatar {
  border-color: rgba(255, 255, 255, 0.25);
}

.assistant-card:hover .assistant-avatar img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.assistant-specialty {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 6px;
}

.assistant-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.assistant-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  flex: 1;
}

.assistant-traits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.assistant-traits li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  padding-left: 12px;
  position: relative;
}

.assistant-traits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* Mini chat preview inside each card */
.assistant-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asst-chat-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.55;
}

.asst-user {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.75);
  max-width: 90%;
  text-align: right;
}

.asst-ai {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.45);
  max-width: 90%;
}

/* Card stagger */
.assistants-grid .assistant-card:nth-child(1) { transition-delay: 0s; }
.assistants-grid .assistant-card:nth-child(2) { transition-delay: 0.1s; }
.assistants-grid .assistant-card:nth-child(3) { transition-delay: 0.2s; }
.assistants-grid .assistant-card:nth-child(4) { transition-delay: 0.3s; }

/* ─── Nutrition Section ─── */
.nutrition-section {
  padding: 100px 48px 120px;
}

.nutrition-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.nutrition-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 36px 32px;
}

.nutrition-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.nutrition-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.macro-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.macro-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.macro-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.nutrition-summary {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nutrition-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.nutrition-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 36px;
}

.nutrition-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nutrition-point {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nutrition-point:first-child {
  padding-top: 0;
}

.nutrition-point-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.nutrition-point-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Download ─── */
.download {
  padding: 100px 48px 120px;
}

.download-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.download-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 44px;
}

.download-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.download-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}


.download-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

.download-meta-sep {
  color: rgba(255, 255, 255, 0.15);
}

.download-instructions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  text-align: left;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.instruction-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1px;
}

.instruction-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── Footer ─── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 24px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-logo-link:hover .footer-logo-img {
  opacity: 1;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-email {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s;
}

.footer-email:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero-specific entrance animations */
.hero.is-visible .hero-tag {
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero.is-visible .hero-title {
  animation: fadeUp 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero.is-visible .hero-desc {
  animation: fadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero.is-visible .hero-btns {
  animation: fadeUp 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Slide in from left */
.slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Card stagger */
.cards-section .card:nth-child(1) { transition-delay: 0s; }
.cards-section .card:nth-child(2) { transition-delay: 0.15s; }
.cards-section .card:nth-child(3) { transition-delay: 0.3s; }

/* Feature stagger */
.features-grid .feature:nth-child(1) { transition-delay: 0s; }
.features-grid .feature:nth-child(2) { transition-delay: 0.12s; }
.features-grid .feature:nth-child(3) { transition-delay: 0.24s; }
.features-grid .feature:nth-child(4) { transition-delay: 0.36s; }

/* Stat number count animation */
.stat-num {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat:hover .stat-num {
  transform: scale(1.1);
}

/* ─── Floating / Parallax subtle ─── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-main { animation: float 6s ease-in-out infinite; }
.card-secondary { animation: float 6s 1s ease-in-out infinite; }
.card-tertiary { animation: float 6s 2s ease-in-out infinite; }

/* Shimmer on hero outline text */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero-outline {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

/* Pulse on download button */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.15); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.download .btn-fill {
  animation: pulse 2.5s ease-in-out infinite;
}

/* Step stagger */
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(3) { transition-delay: 0.15s; }
.steps .step:nth-child(5) { transition-delay: 0.3s; }

/* Horizontal line sweep */
@keyframes lineSweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.stats-inner {
  position: relative;
}

/* Magnetic tilt on cards */
.card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 24px 60px;
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .cards-section {
    padding: 0 24px 80px;
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
    min-width: 0;
  }

  .features {
    padding: 60px 24px 80px;
  }

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

  .how-it-works {
    padding: 60px 24px 80px;
  }

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

  .step-connector {
    display: none;
  }

  .assistants-section {
    padding: 60px 24px 80px;
  }

  .assistants-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .assistant-avatar {
    height: 160px;
  }

  .download-btns {
    flex-direction: column;
    width: 100%;
  }

  .download-btns .btn {
    width: 100%;
  }

  .nutrition-section {
    padding: 60px 24px 80px;
  }

  .nutrition-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .macro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    padding: 40px 24px;
  }

  .stats-inner {
    gap: 32px;
    padding: 48px 24px;
  }

  .stat-divider {
    display: none;
  }

  .download {
    padding: 60px 24px 80px;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 28px 24px;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-outline {
    -webkit-text-stroke-width: 1.5px;
  }

  .card-value {
    font-size: 2.2rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .hero-btns {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

  .assistant-avatar {
    height: 200px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .slide-left,
  .slide-right,
  .scale-up {
    opacity: 1;
    transform: none;
  }
}
