/* =============================================================
   GelVita Journal — Main Stylesheet
   Editorial wellness magazine aesthetic
   ============================================================= */

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

:root {
  --rose:        #d63384;
  --rose-dark:   #a01f5e;
  --rose-mid:    #e8558f;
  --rose-light:  #fdf0f6;
  --rose-pale:   #fff5f9;
  --pink:        #f7c5da;
  --magenta:     #c2185b;
  --text:        #1a1025;
  --text-mid:    #3d2b3d;
  --text-light:  #7a5c72;
  --bg:          #ffffff;
  --bg-alt:      #fdf7fa;
  --bg-dark:     #1a0d18;
  --border:      #f0d4e4;
  --gold:        #d4a856;
  --radius:      10px;
  --radius-lg:   20px;
  --shadow:      0 2px 20px rgba(214,51,132,0.10);
  --shadow-hover:0 8px 36px rgba(214,51,132,0.22);
  --trans:       0.25s ease;
  --font-head:   'Playfair Display', serif;
  --font-body:   'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--rose-dark); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-light);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.eyebrow-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  text-align: center;
  white-space: nowrap;
}

.btn-rose {
  background: linear-gradient(135deg, var(--rose), var(--magenta));
  color: #fff;
  box-shadow: 0 4px 16px rgba(214,51,132,0.35);
}
.btn-rose:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(214,51,132,0.45);
  filter: brightness(1.08);
}

.btn-outline-rose {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.btn-outline-rose:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--rose);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover {
  color: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn-lg { padding: 1.1rem 2.8rem; font-size: 1.1rem; }
.btn-sm { padding: 0.55rem 1.4rem; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--rose), var(--magenta));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-text em {
  color: var(--rose);
  font-style: normal;
}

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 0.2rem; align-items: center; }
.main-nav a {
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--text-mid);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all var(--trans);
}
.main-nav a:hover, .main-nav a.active { color: var(--rose); background: var(--rose-light); }

.header-cta { display: none; }

.burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--trans);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,13,24,0.97);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--font-head);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--trans);
}
.mobile-nav a:hover { color: var(--rose-mid); }

@media (min-width: 860px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2d0a22 60%, #1a0d18 100%);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214,51,132,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(194,24,91,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(214,51,132,0.4);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: 0.05em;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-mid);
}

.hero-lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.83rem;
}

.hero-trust-item svg { flex-shrink: 0; }

/* Hero product card */
.hero-product {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214,51,132,0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero-product-img {
  width: 240px;
  height: 280px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-product-sub {
  color: var(--pink);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-product-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-product-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-align: left;
}

.hero-product-feature span.check {
  width: 18px;
  height: 18px;
  background: rgba(214,51,132,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-mid);
  font-size: 0.65rem;
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 380px; }
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--rose-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── SECTIONS SHARED ─────────────────────────────────────── */
section { padding: 4rem 0; }

.section-center { text-align: center; margin-bottom: 2.5rem; }
.section-center h2 { margin-bottom: 0.75rem; }
.section-sub {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── ARTICLE / CONTENT SECTION ───────────────────────────── */
.article-section { background: var(--bg); }

.article-grid {
  display: grid;
  gap: 3rem;
}

.article-main { min-width: 0; }

.article-lead {
  font-size: 1.18rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.article-body p {
  margin-bottom: 1.2rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.article-body .highlight-box {
  background: var(--rose-light);
  border-left: 4px solid var(--rose);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.article-body .highlight-box p {
  margin: 0;
  font-weight: 500;
  color: var(--rose-dark);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--trans);
}

.benefit-item:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--rose-light), var(--pink));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.benefit-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Sidebar */
.article-sidebar {}

.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 90px;
}

.sidebar-card.featured {
  background: linear-gradient(135deg, var(--bg-dark), #2d0a22);
  border-color: rgba(214,51,132,0.3);
}

.sidebar-product-img {
  width: 180px;
  height: 200px;
  margin: 0 auto 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-card.featured h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.sidebar-card.featured p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.sidebar-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.83rem;
}

.sidebar-feature::before {
  content: '✓';
  width: 16px;
  height: 16px;
  background: rgba(214,51,132,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--rose-mid);
  flex-shrink: 0;
  line-height: 16px;
  text-align: center;
}

@media (min-width: 900px) {
  .article-grid { grid-template-columns: 1fr 320px; }
}

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how-section { background: var(--bg-alt); }

.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--trans);
}

.step-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.93rem;
}

@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section { background: var(--bg); }

.testi-grid {
  display: grid;
  gap: 1.5rem;
}

.testi-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testi-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.testi-loc  { font-size: 0.8rem; color: var(--text-light); }

@media (min-width: 640px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1a0d18 0%, #2d0a22 50%, var(--rose-dark) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(214,51,132,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  position: relative;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.83rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-slogan {
  color: var(--rose-mid);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-about { font-size: 0.88rem; line-height: 1.65; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color var(--trans); }
.footer-links a:hover { color: var(--rose-mid); }

.footer-contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact li { font-size: 0.88rem; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--trans); }
.footer-contact a:hover { color: var(--rose-mid); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-copy { font-size: 0.82rem; }
.footer-disc { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.55; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(214,51,132,0.3);
  padding: 1rem 1.25rem;
  z-index: 9999;
  display: none;
}
.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-inner p { color: rgba(255,255,255,0.7); font-size: 0.85rem; flex: 1; min-width: 240px; }
.cookie-inner p a { color: var(--rose-mid); }
.cookie-btns { display: flex; gap: 0.6rem; }

/* ── MISC ────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* Policy pages */
.policy-page { padding: 3rem 0 4rem; }
.policy-page h1 { margin-bottom: 0.5rem; }
.policy-page .updated { color: var(--text-light); font-size: 0.85rem; margin-bottom: 2.5rem; }
.policy-body { max-width: 760px; }
.policy-body h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.policy-body p, .policy-body li { color: var(--text-mid); line-height: 1.75; margin-bottom: 0.9rem; font-size: 0.97rem; }
.policy-body ul { list-style: disc; padding-left: 1.5rem; }
.policy-body a { color: var(--rose); }

/* Contact page */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-form-wrap { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(214,51,132,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 340px; }
}

/* Thank you page */
.thankyou-page { text-align: center; padding: 5rem 0; }
.thankyou-icon { font-size: 4rem; margin-bottom: 1.25rem; }
.thankyou-page h1 { color: var(--rose); margin-bottom: 0.75rem; }

/* 404 */
.page-404 { text-align: center; padding: 6rem 0; }
.page-404 .code { font-family: var(--font-head); font-size: 7rem; color: var(--rose-light); line-height: 1; margin-bottom: 0.5rem; }
