/* VisiFlora V3 - Warm Premium Theme */
/* Fonts: Merriweather + Source Sans 3 */
/* Colors: Deep Burgundy #6B2D3E + Warm Copper #C4763A */

/* Font Display Optimization */
@font-face { font-display: swap; }

:root {
  --primary: #6B2D3E;
  --primary-dark: #e08337;
  --primary-light: #F5EEF0;
  --accent: #C4763A;
  --accent-hover: #A8632F;
  --accent-light: #FBF3ED;
  --text-dark: #1C1C1C;
  --text-body: #333333;
  --text-muted: #6B6B6B;
  --bg-white: #FFFFFF;
  --bg-cream: #FDF9F5;
  --bg-light: #F7F2EE;
  --bg-dark: #2A1A1F;
  --border-light: #E8DDD5;
  --success: #3B8C5C;
  --star: #D4922A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Merriweather', serif; color: var(--text-dark); line-height: 1.25; }
h1 { font-size: 50px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-padding { padding: 70px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif; font-size: 17px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: all 0.25s ease;
}

.btn-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(196,118,58,0.35); }

.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-lg { padding: 16px 38px; font-size: 18px; }

/* --- Section Tags --- */
.section-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 4px; margin-bottom: 14px;
}

.section-heading { margin-bottom: 16px; }
.section-desc { font-size: 20px; color: var(--text-muted); max-width: 680px; margin: 0 auto 40px; }

/* --- Header / Navigation --- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.logo { font-family: 'Merriweather', serif; font-size: 26px; font-weight: 900; color: var(--text-dark); }
.logo span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 17px; font-weight: 600; color: var(--text-body); }
.main-nav a:hover { color: var(--primary); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 50%, var(--primary-light) 100%);
  padding: 60px 0 50px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,45,62,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center; position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,45,62,0.08); color: var(--primary);
  font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 4px; margin-bottom: 18px;
}

.hero h1 { margin-bottom: 16px; line-height: 1.2; }
.hero h1 .hl { color: var(--accent); position: relative; }
.hero h1 .hl::after {
  content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 5px;
  background: rgba(196,118,58,0.3); z-index: -1;
}

.hero-text { font-size: 20px; color: var(--text-body); margin-bottom: 14px; max-width: 520px; }

.hero-checks { list-style: none; margin-bottom: 28px; }
.hero-checks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; color: var(--text-dark); font-weight: 600; margin-bottom: 10px;
}

.hero-checks .dot {
  width: 22px; height: 22px; background: var(--success); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-checks .dot svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-trust span { font-size: 15px; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }

.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img img { max-width: 360px; width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12)); }

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
.hero-content { animation: fadeUp 0.6s ease; }
.hero-img { animation: fadeRight 0.6s ease 0.15s both; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--bg-dark); padding: 14px 0; overflow: hidden;
}
.trust-bar-inner {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-bar span {
  font-size: 15px; color: rgba(255,255,255,0.85); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}

/* --- Stats Bar --- */
.stats-bar { background: var(--bg-white); padding: 22px 0; border-bottom: 1px solid var(--border-light); }
.stats-row {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; text-align: center;
}
.stat-num { font-family: 'Merriweather', serif; font-size: 32px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 15px; color: var(--text-muted); font-weight: 600; }

/* --- Research Strip --- */
.research-strip {
  background: var(--bg-light); padding: 20px 0; text-align: center;
  border-bottom: 1px solid var(--border-light);
}

/* --- About / What Is --- */
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
}
.about-img img { border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.about-content h2 { margin-bottom: 16px; }
.about-content p { font-size: 20px; margin-bottom: 14px; }

/* --- How It Works --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card {
  text-align: center; padding: 36px 24px; background: var(--bg-white);
  border-radius: 16px; border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary);
  color: #fff; font-family: 'Merriweather', serif; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step-card h3 { font-size: 22px; margin-bottom: 10px; }
.step-card p { font-size: 17px; color: var(--text-muted); }

/* --- Benefits --- */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.benefit-card {
  display: flex; gap: 18px; padding: 28px; background: var(--bg-white);
  border-radius: 14px; border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 24px;
}
.benefit-card h4 { margin-bottom: 6px; font-size: 20px; }
.benefit-card p { font-size: 17px; color: var(--text-muted); }

/* --- Ingredients --- */
.ing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ing-card {
  text-align: center; padding: 28px 16px; background: var(--bg-white);
  border-radius: 14px; border: 1px solid var(--border-light);
  transition: transform 0.3s;
}
.ing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.ing-card .ing-emoji { font-size: 36px; margin-bottom: 10px; display: block; }
.ing-card h4 { font-size: 17px; margin-bottom: 6px; }
.ing-card p { font-size: 16px; color: var(--text-muted); }

/* --- Ingredients Image --- */
.ing-img-section { text-align: center; margin-top: 40px; }
.ing-img-section img { max-width: 600px; margin: 0 auto; border-radius: 16px; }

/* --- Comparison Table --- */
.compare-table {
  width: 100%; border-collapse: collapse; background: var(--bg-white);
  border-radius: 16px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.compare-table th { padding: 18px 22px; font-family: 'Merriweather', serif; font-size: 17px; }
.compare-table td { padding: 16px 22px; font-size: 16px; border-bottom: 1px solid var(--border-light); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .feat { text-align: left; font-weight: 600; }
.compare-table .us { text-align: center; font-weight: 800; color: var(--primary); }
.compare-table .them { text-align: center; color: var(--text-muted); }

/* --- Reviews --- */
.review-card {
  background: var(--bg-white); border-radius: 16px; padding: 32px;
  border: 1px solid var(--border-light); transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.07); }
.review-stars { color: var(--star); font-size: 18px; margin-bottom: 12px; }
.review-text { font-size: 18px; color: var(--text-body); margin-bottom: 16px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 700; font-size: 17px; color: var(--text-dark); }
.review-meta { font-size: 14px; color: var(--text-muted); }
.review-badge { display: inline-block; background: #E8F5E9; color: var(--success); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  background: var(--bg-white); border-radius: 16px; padding: 32px 24px;
  border: 2px solid var(--border-light); text-align: center; position: relative;
  transition: transform 0.3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.price-card.popular { border-color: var(--accent); }
.price-card.popular::before {
  content: 'BEST VALUE'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 800;
  padding: 5px 20px; border-radius: 20px; letter-spacing: 1px;
}
.price-card img { max-width: 160px; margin: 0 auto 16px; }
.price-card h3 { font-size: 22px; margin-bottom: 4px; }
.price-supply { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; }
.price-amount { font-family: 'Merriweather', serif; font-size: 42px; font-weight: 900; color: var(--primary); }
.price-per { font-size: 16px; color: var(--text-muted); }
.price-old { font-size: 16px; color: #999; text-decoration: line-through; margin-top: 4px; }
.price-ship { font-size: 15px; color: var(--success); font-weight: 700; margin: 10px 0 16px; }

/* --- Bonus --- */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bonus-card {
  background: var(--bg-white); border-radius: 14px; padding: 24px;
  border: 1px solid var(--border-light); text-align: center;
}
.bonus-card img { max-width: 140px; margin: 0 auto 12px; }
.bonus-card h4 { font-size: 18px; margin-bottom: 6px; }
.bonus-card p { font-size: 16px; color: var(--text-muted); }
.bonus-value { font-size: 14px; font-weight: 800; color: var(--accent); margin-top: 8px; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-light); padding: 20px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: 19px; font-weight: 700; color: var(--text-dark);
  background: none; border: none; width: 100%; text-align: left;
  font-family: 'Source Sans 3', sans-serif; padding: 0;
}
.faq-q .arrow { font-size: 20px; transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding-top: 12px; font-size: 18px; color: var(--text-muted); line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* --- Guarantee --- */
.guarantee-box {
  max-width: 750px; margin: 0 auto; padding: 40px;
  background: var(--bg-cream); border: 2px solid var(--border-light);
  border-radius: 20px; text-align: center;
}
.guarantee-seal {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Merriweather', serif; font-size: 12px; font-weight: 900;
  text-align: center; line-height: 1.2; margin: 0 auto 16px;
}

/* --- Final CTA --- */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0; text-align: center;
}
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 20px; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 28px; }

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.65); padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand { font-family: 'Merriweather', serif; font-size: 24px; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--accent); }
.footer-links h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 14px;
}
.footer-disclaimer { font-size: 14px; color: rgba(255,255,255,0.45); max-width: 800px; margin: 0 auto 20px; text-align: center; }

/* --- Floating CTA --- */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  animation: fadeUp 0.5s ease 1.5s both;
}
.float-cta a {
  display: flex; align-items: center; gap: 8px; padding: 14px 24px;
  background: var(--accent); color: #fff; border-radius: 50px;
  font-weight: 700; font-size: 16px; box-shadow: 0 6px 20px rgba(196,118,58,0.4);
  transition: transform 0.2s;
}
.float-cta a:hover { transform: scale(1.05); color: #fff; }

/* --- Exit Popup --- */
.exit-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center;
}
.exit-overlay.show { display: flex; }
.exit-box {
  background: #fff; border-radius: 20px; padding: 40px; max-width: 480px;
  width: 90%; text-align: center; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.exit-close {
  position: absolute; top: 14px; right: 18px; font-size: 24px;
  cursor: pointer; color: var(--text-muted); background: none; border: none;
}

/* --- Toast Notification --- */
.purchase-toast {
  position: fixed; bottom: 20px; left: 20px; z-index: 800;
  background: #fff; border-radius: 12px; padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); display: none; align-items: center; gap: 10px;
  max-width: 320px; font-size: 14px; border-left: 4px solid var(--success);
}
.purchase-toast.show { display: flex; }

/* --- Blog Cards --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--bg-white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-light); transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.blog-card-body { padding: 22px; }
.blog-card-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 4px; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-card h3 { font-size: 20px; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text-dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; }
.blog-card .read-more { font-size: 15px; font-weight: 700; color: var(--accent); }

/* --- Blog Post --- */
.blog-post { max-width: 800px; margin: 0 auto; }
.blog-post h1 { font-size: 38px; margin-bottom: 16px; }
.blog-post-meta { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.blog-post h2 { font-size: 28px; margin: 32px 0 14px; }
.blog-post p { font-size: 20px; margin-bottom: 16px; color: var(--text-body); }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: 36px; margin-bottom: 20px; }
.legal-content h2 { font-size: 26px; margin: 28px 0 12px; }
.legal-content p { font-size: 18px; margin-bottom: 14px; color: var(--text-body); }

/* --- Ingredients Page --- */
.ing-detail { margin-bottom: 20px; }
.ing-detail strong { color: var(--primary); }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin: 0 auto 14px; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-checks { display: inline-block; text-align: left; }
  .hero-img img { max-width: 260px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .ing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card { margin-bottom: 16px; }
  .price-card.popular { order: -1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  .main-nav { display: none; }
}

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .section-padding { padding: 48px 0; }
  .hero { padding: 40px 0; }
  .ing-grid { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 14px; }
}
