/* ===================================================
   AdeleLostWeight.com — Main Stylesheet
   Palette: Deep plum #3D1F5A | Warm rose #E8637A | 
            Soft gold #F2C94C | Off-white #FAF8F5 | 
            Slate #4A5568
   =================================================== */

:root {
  --plum:    #3D1F5A;
  --rose:    #E8637A;
  --gold:    #F2C94C;
  --cream:   #FAF8F5;
  --slate:   #4A5568;
  --light:   #F0EBF8;
  --white:   #FFFFFF;
  --success: #38A169;
  --border:  #E2D9F3;
  --shadow:  rgba(61,31,90,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--slate);
  line-height: 1.7;
  font-size: 16px;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--plum); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
p  { margin-bottom: 1rem; }
a  { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- LAYOUT ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.section-alt { background: var(--light); }

/* ---- NAV ---- */
.site-header {
  background: var(--plum);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.25rem; max-width: 1100px; margin: 0 auto;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.5px;
}
.site-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-cta {
  background: var(--rose); color: var(--white) !important;
  padding: 0.45rem 1rem; border-radius: 20px; font-weight: 600 !important;
}
.nav-cta:hover { background: #d45269; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; transition: 0.3s; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--plum) 0%, #5A2D7A 60%, #7B3FA0 100%);
  color: white; padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge {
  display: inline-block; background: var(--gold); color: var(--plum);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 1rem;
}
.hero h1 { color: white; margin-bottom: 1rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.1rem; opacity: 0.88; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.75rem 1.8rem;
  border-radius: 30px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--rose); color: white; }
.btn-primary:hover { background: #d45269; transform: translateY(-1px); text-decoration: none; }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: white; text-decoration: none; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 1.25rem; text-align: center; backdrop-filter: blur(10px);
}
.stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.8rem; opacity: 0.8; margin-top: 0.3rem; }

/* ---- DISCLAIMER BANNER ---- */
.disclaimer-banner {
  background: #FFF8E1; border-bottom: 2px solid var(--gold);
  padding: 0.6rem 1.25rem; text-align: center;
  font-size: 0.8rem; color: #5D4037;
}
.disclaimer-banner strong { color: var(--plum); }

/* ---- TOOL / CALCULATOR ---- */
.tool-section { background: white; }
.tool-wrapper {
  background: white; border-radius: 20px;
  box-shadow: 0 8px 40px var(--shadow);
  overflow: hidden;
}
.tool-tabs {
  display: flex; background: var(--plum); overflow-x: auto;
}
.tool-tab {
  flex: 1; min-width: 120px; padding: 1rem 0.75rem;
  background: none; border: none; color: rgba(255,255,255,0.65);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.tool-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tool-tab:hover { color: white; }
.tool-panel { padding: 2rem; display: none; }
.tool-panel.active { display: block; }

/* Form elements */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.85rem; font-weight: 600; color: var(--plum); }
input[type=number], input[type=text], input[type=email], select, textarea {
  padding: 0.65rem 0.9rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem;
  background: var(--cream); color: var(--slate); transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(232,99,122,0.15);
}
.unit-toggle { display: flex; gap: 0.5rem; }
.unit-btn {
  flex: 1; padding: 0.5rem; border: 1.5px solid var(--border);
  border-radius: 6px; background: var(--cream); cursor: pointer;
  font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
}
.unit-btn.active { background: var(--plum); color: white; border-color: var(--plum); }

/* Results */
.results-box {
  background: linear-gradient(135deg, var(--plum), #5A2D7A);
  border-radius: 14px; padding: 1.75rem; color: white; margin-top: 1.5rem;
}
.results-box h3 { color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.result-item { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 1rem; text-align: center; }
.result-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.result-label { font-size: 0.75rem; opacity: 0.85; margin-top: 0.25rem; }
.result-note { font-size: 0.8rem; opacity: 0.75; margin-top: 1rem; line-height: 1.5; }

.progress-bar-wrap { background: rgba(255,255,255,0.2); border-radius: 10px; height: 10px; overflow: hidden; margin-top: 0.75rem; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); border-radius: 10px; transition: width 0.8s ease; }

/* Macro chart */
.macro-circles { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0; }
.macro-circle { text-align: center; }
.circle-ring { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; font-weight: 700; }
.circle-ring.protein { background: conic-gradient(var(--rose) 0% 30%, rgba(255,255,255,0.15) 30%); }
.circle-ring.carbs   { background: conic-gradient(var(--gold) 0% 45%, rgba(255,255,255,0.15) 45%); }
.circle-ring.fat     { background: conic-gradient(#7AC5A0 0% 25%, rgba(255,255,255,0.15) 25%); }
.circle-pct { font-size: 1.3rem; color: white; font-family: var(--font-display); }
.circle-name { font-size: 0.72rem; opacity: 0.8; color: white; margin-top: 4px; }
.macro-label { font-size: 0.75rem; opacity: 0.8; margin-top: 0.5rem; }

/* Meal plan output */
.meal-day { border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.meal-day h4 { color: var(--plum); font-size: 1rem; margin-bottom: 0.75rem; }
.meal-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.meal-row:last-child { border-bottom: none; }
.meal-cals { color: var(--rose); font-weight: 600; }

/* ---- FEATURES GRID ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.feature-card {
  background: white; border-radius: 16px; padding: 1.75rem;
  box-shadow: 0 4px 20px var(--shadow); transition: transform 0.2s;
  border-top: 4px solid var(--rose);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ---- HOW IT WORKS ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.step { text-align: center; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--plum); color: var(--gold);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }

/* ---- ARTICLES GRID ---- */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.article-card {
  background: white; border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 15px var(--shadow); transition: transform 0.2s;
}
.article-card:hover { transform: translateY(-3px); }
.article-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--plum), #7B3FA0);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.article-body { padding: 1.25rem; }
.article-tag {
  display: inline-block; background: var(--light); color: var(--plum);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 0.2rem 0.6rem; border-radius: 20px; margin-bottom: 0.6rem;
}
.article-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.article-card p { font-size: 0.85rem; color: #718096; margin-bottom: 0.75rem; }
.article-meta { font-size: 0.78rem; color: #A0AEC0; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.testimonial {
  background: white; border-radius: 14px; padding: 1.5rem;
  box-shadow: 0 3px 15px var(--shadow);
  border-left: 4px solid var(--rose);
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial p { font-size: 0.92rem; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
}
.author-name { font-weight: 600; font-size: 0.88rem; }
.author-loss { font-size: 0.78rem; color: var(--rose); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 1.1rem 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem;
  color: var(--plum); display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--rose); flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; padding-bottom: 1rem; font-size: 0.92rem; line-height: 1.7; }
.faq-a.open { display: block; }

/* ---- AD SLOTS ---- */
.ad-slot {
  background: #F7F7F7; border: 1px dashed #CBD5E0;
  border-radius: 8px; padding: 1rem; text-align: center;
  color: #A0AEC0; font-size: 0.78rem; margin: 2rem 0;
  min-height: 90px; display: flex; align-items: center; justify-content: center;
}
.ad-slot-leaderboard { min-height: 90px; }
.ad-slot-rectangle  { min-height: 250px; max-width: 300px; }
.ad-slot-inline     { min-height: 120px; }

/* ---- FOOTER ---- */
.site-footer { background: var(--plum); color: rgba(255,255,255,0.75); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand h3 { color: white; font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; flex-wrap: wrap; gap: 0.75rem;
}
.footer-disclaimer {
  background: rgba(0,0,0,0.2); border-radius: 8px;
  padding: 1rem; font-size: 0.75rem; line-height: 1.6;
  margin-bottom: 1.5rem; color: rgba(255,255,255,0.65);
}

/* ---- ARTICLE PAGE ---- */
.article-hero { background: var(--plum); color: white; padding: 3rem 0 2rem; }
.article-hero h1 { color: white; max-width: 800px; }
.article-meta-bar { display: flex; gap: 1.5rem; align-items: center; margin-top: 1rem; font-size: 0.85rem; opacity: 0.8; flex-wrap: wrap; }
.article-content { max-width: 800px; }
.article-content h2 { margin: 2rem 0 1rem; }
.article-content h3 { margin: 1.5rem 0 0.75rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.article-content .highlight-box {
  background: var(--light); border-left: 4px solid var(--rose);
  padding: 1.25rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0;
}

/* ---- MISC ---- */
.section-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--rose); margin-bottom: 0.5rem; }
.section-title { margin-bottom: 1rem; }
.section-sub { max-width: 600px; color: #718096; font-size: 1rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.tag { display: inline-block; background: var(--light); color: var(--plum); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 0.2rem 0.6rem; border-radius: 20px; }
.back-link { color: var(--plum); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; }
.back-link:hover { color: var(--rose); }

/* Sticky sidebar */
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.sidebar-sticky { position: sticky; top: 80px; }
.sidebar-widget { background: white; border-radius: 14px; padding: 1.5rem; box-shadow: 0 4px 20px var(--shadow); margin-bottom: 1.5rem; }
.sidebar-widget h4 { font-size: 0.95rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats  { order: 2; }
  .nav-links   { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--plum); padding: 1rem; z-index: 200; }
  .nav-links.open { display: flex; }
  .hamburger  { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid   { grid-template-columns: 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar-sticky  { position: static; }
  .result-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .tool-tab { font-size: 0.78rem; padding: 0.8rem 0.5rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .ad-slot { display: none; }
  body { font-size: 12pt; }
}
