/* ============================================
   VitalBloomix — Landing Page Styles
   Clean white + red accent, mobile-first
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --red-600: #C0392B;
  --red-700: #A93226;
  --red-800: #7B241C;
  --red-50: #FDEDEC;
  --red-100: #FADBD8;
  --gray-50: #F8F9FA;
  --gray-100: #F0F1F3;
  --gray-200: #D5D8DC;
  --gray-400: #ABB2B9;
  --gray-600: #5D6D7E;
  --gray-800: #2C3E50;
  --gray-900: #1C2833;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-800); }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--gray-50); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); color: var(--gray-900); line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
p { margin-bottom: 14px; }
.subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 620px; margin: 0 auto 32px; }

/* --- Animated entrance --- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1100px; margin: 0 auto;
}
.header__logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--red-600);
  letter-spacing: -.5px;
}
.header__nav { display: flex; gap: 24px; align-items: center; }
.header__nav a { font-size: .9rem; font-weight: 500; color: var(--gray-600); }
.header__nav a:hover { color: var(--red-600); }
.header__cta {
  display: inline-block;
  padding: 9px 22px;
  background: var(--red-600); color: var(--white) !important;
  border-radius: 50px; font-size: .88rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.header__cta:hover { background: var(--red-700); transform: translateY(-1px); }

/* Mobile hamburger */
.header__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.header__toggle span { display: block; width: 22px; height: 2px; background: var(--gray-800); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

@media (max-width: 768px) {
  .header__toggle { display: block; }
  .header__nav {
    position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .header__nav.open { max-height: 400px; }
  .header__nav a, .header__nav .header__cta { padding: 16px 24px; width: 100%; text-align: left; border-radius: 0; }
  .header__nav .header__cta { background: var(--red-50); color: var(--red-600) !important; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 56px 0 48px;
  background: linear-gradient(168deg, var(--white) 60%, var(--red-50) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero__badge {
  display: inline-block;
  background: var(--red-50); color: var(--red-600);
  padding: 6px 16px; border-radius: 50px;
  font-size: .82rem; font-weight: 600; margin-bottom: 18px;
}
.hero__title { margin-bottom: 18px; }
.hero__desc { color: var(--gray-600); font-size: 1.02rem; margin-bottom: 24px; }
.hero__disclaimer {
  font-size: .78rem; color: var(--gray-400);
  border-left: 3px solid var(--red-100);
  padding: 8px 14px; margin-top: 16px;
  line-height: 1.55;
}
.hero__img-wrap {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero__img-wrap img {
  max-height: 420px; width: auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.12));
  animation: floatImg 4s ease-in-out infinite;
}
@keyframes floatImg { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.hero__img-decor {
  position: absolute; width: 280px; height: 280px;
  border-radius: 50%; background: var(--red-50);
  z-index: -1; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__img-wrap { order: -1; }
  .hero__img-wrap img { max-height: 280px; }
  .hero__disclaimer { text-align: left; }
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 40px;
}
.benefit-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red-50); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.4rem;
}
.benefit-card p { font-size: .92rem; color: var(--gray-600); }

@media (max-width: 768px) { .benefits__grid { grid-template-columns: 1fr; } }

/* ============================================
   CONTENT IMAGE SECTION
   ============================================ */
.content-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.content-split--reverse .content-split__img { order: -1; }
.content-split__img img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.content-split__text ul { margin-top: 12px; }
.content-split__text li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: .95rem; color: var(--gray-600);
}
.content-split__text li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red-100); border: 2px solid var(--red-600);
}

@media (max-width: 768px) {
  .content-split { grid-template-columns: 1fr; }
  .content-split--reverse .content-split__img { order: 0; }
}

/* ============================================
   INGREDIENTS
   ============================================ */
.ingredients__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 36px;
}
.ingredient-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
}
.ingredient-card__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: var(--red-50); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.ingredient-card p { font-size: .88rem; color: var(--gray-600); margin: 0; }

@media (max-width: 768px) { .ingredients__grid { grid-template-columns: 1fr; } }

/* ============================================
   AUDIENCE
   ============================================ */
.audience__list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 28px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.audience__item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  font-size: .95rem;
}
.audience__item span:first-child {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--red-50); display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

@media (max-width: 768px) { .audience__list { grid-template-columns: 1fr; } }

/* ============================================
   HOW TO USE
   ============================================ */
.steps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 36px;
}
.step-card { text-align: center; }
.step-card__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  margin: 0 auto 16px;
}
.step-card p { font-size: .92rem; color: var(--gray-600); }

@media (max-width: 768px) { .steps__grid { grid-template-columns: 1fr; } }

/* ============================================
   ORDER FORM
   ============================================ */
.order {
  background: linear-gradient(168deg, var(--red-50) 0%, var(--white) 100%);
}
.order__box {
  max-width: 520px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  padding: 40px 32px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--red-100);
}
.order__price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--red-600);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .88rem; font-weight: 600;
  margin-bottom: 6px; color: var(--gray-800);
}
.form-group input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--red-600); }
.btn-primary {
  display: block; width: 100%; padding: 15px;
  background: var(--red-600); color: var(--white);
  border: none; border-radius: 50px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); }
.form-note { font-size: .78rem; color: var(--gray-400); margin-top: 14px; text-align: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 48px 0 24px; font-size: .88rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.footer__brand { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); margin-bottom: 10px; }
.footer__links a { display: block; color: var(--gray-400); margin-bottom: 8px; font-size: .85rem; }
.footer__links a:hover { color: var(--white); }
.footer__links h4 { color: var(--white); font-size: .9rem; margin-bottom: 12px; font-weight: 600; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px; text-align: center; font-size: .8rem;
}
.footer__disclaimer {
  max-width: 700px; margin: 0 auto 16px;
  font-size: .76rem; color: var(--gray-400);
  line-height: 1.6; text-align: center;
  border: 1px solid rgba(255,255,255,.06);
  padding: 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
}

@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--gray-900); color: var(--gray-200);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { flex: 1; font-size: .88rem; margin: 0; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 24px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
}
.cookie-btn--accept { background: var(--red-600); color: var(--white); }
.cookie-btn--accept:hover { background: var(--red-700); }
.cookie-btn--reject { background: rgba(255,255,255,.1); color: var(--white); }
.cookie-btn--reject:hover { background: rgba(255,255,255,.18); }

@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .cookie-banner__actions { width: 100%; justify-content: center; }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page { padding: 48px 0 64px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .legal-date { color: var(--gray-400); font-size: .88rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; }
.legal-page p, .legal-page li { font-size: .94rem; color: var(--gray-600); }
.legal-page ul { margin: 12px 0 12px 20px; list-style: disc; }
.legal-page li { margin-bottom: 6px; }

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-wrap {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.success-box {
  max-width: 500px; padding: 48px 36px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--red-50); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 2rem;
}
.success-box h1 { font-size: 1.6rem; margin-bottom: 12px; }
.success-box p { color: var(--gray-600); }
.success-box .btn-primary { max-width: 260px; margin: 24px auto 0; text-align: center; }

/* ============================================
   ABOUT / CONTACT PAGES
   ============================================ */
.page-hero {
  background: linear-gradient(168deg, var(--white) 60%, var(--red-50) 100%);
  padding: 56px 0 40px; text-align: center;
}
.page-hero .subtitle { margin-top: 12px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px; margin-top: 36px;
}
.contact-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  text-align: center;
}
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red-50); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.2rem;
}
.contact-card p { font-size: .92rem; color: var(--gray-600); margin: 0; }
.contact-card a { font-weight: 600; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
