/* ============================================
   GELATINE SCULPT V4 - BOTTLE MATCH THEME
   Dark Brown + Hot Pink/Magenta
   Matches product bottle colors
   GTmetrix A+ Optimized
   ============================================ */

:root {
    --brown-deep: #3b1f0b;
    --brown-mid: #5c3317;
    --brown-warm: #7a4a2a;
    --pink-hot: #e6246a;
    --pink-bright: #f0387d;
    --pink-soft: #fff0f5;
    --pink-muted: #fce4ec;
    --off-white: #fefefe;
    --charcoal: #1e1e1e;
    --slate: #3a3a3a;
    --border-pink: #f8bbd0;
    --shadow-sm: 0 2px 10px rgba(59,31,11,0.08);
    --shadow-md: 0 6px 24px rgba(59,31,11,0.12);
    --shadow-lg: 0 12px 40px rgba(59,31,11,0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; line-height: 1.7; color: var(--charcoal); background: var(--off-white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

h1 { font-size: 46px; font-weight: 800; color: var(--brown-deep); line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: 36px; font-weight: 700; color: var(--brown-deep); line-height: 1.25; }
h3 { font-size: 28px; font-weight: 600; color: var(--brown-deep); line-height: 1.35; }
p { font-size: 20px; color: #000000; line-height: 1.9; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.block { padding: 90px 0; }
.block-cream { background: var(--pink-soft); }
.block-sage { background: var(--pink-muted); }

/* Top Bar */
.topbar { background: linear-gradient(90deg, var(--brown-deep), #2a1507); padding: 14px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 24px; font-weight: 800; color: #ffffff; letter-spacing: 0.5px; }
.brand em { font-style: normal; color: var(--pink-hot); }
.main-nav { display: flex; gap: 28px; list-style: none; }
.main-nav a { color: rgba(255,255,255,0.9); font-weight: 500; font-size: 15px; transition: color var(--ease); }
.main-nav a:hover { color: var(--pink-hot); }

/* Hero */
.opening { padding: 150px 0 90px; background: linear-gradient(160deg, var(--pink-soft) 0%, #fff5f8 50%, var(--off-white) 100%); }
.opening-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.opening-visual { text-align: center; position: relative; }
.opening-visual img { max-width: 380px; margin: 0 auto; filter: drop-shadow(0 18px 35px rgba(230,36,106,0.2)); }
.opening-copy h1 { margin-bottom: 22px; }
.opening-copy h1 em { font-style: normal; color: var(--pink-hot); }
.opening-copy > p { margin-bottom: 28px; font-size: 20px; }
.trust-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pill { background: var(--off-white); border: 2px solid var(--border-pink); padding: 9px 18px; border-radius: var(--radius-sm); font-size: 20px; font-weight: 600; color: var(--brown-deep); }

/* CTA */
.cta { display: inline-block; padding: 18px 42px; font-size: 18px; font-weight: 700; text-transform: uppercase; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--ease); border: none; letter-spacing: 0.5px; }
.cta-main { background: linear-gradient(135deg, var(--pink-hot) 0%, #c4185a 100%); color: #ffffff; box-shadow: 0 6px 20px rgba(230,36,106,0.4); }
.cta-main:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(230,36,106,0.55); }
.cta-alt { background: var(--brown-mid); color: #ffffff; }

/* Block Headers */
.block-title { text-align: center; max-width: 780px; margin: 0 auto 55px; }
.block-title h2 { margin-bottom: 18px; }
.block-title p { color: #000000; }

/* About */
.about-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 55px; align-items: center; }
.about-copy p { margin-bottom: 18px; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Timeline */
.timeline-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; position: relative; }
.timeline-row::before { content: ''; position: absolute; top: 38px; left: 15%; right: 15%; height: 3px; background: linear-gradient(90deg, var(--brown-mid), var(--pink-hot)); z-index: 0; }
.phase { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.phase-dot { width: 55px; height: 55px; background: linear-gradient(135deg, var(--brown-deep), var(--brown-mid)); color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 20px; border: 4px solid var(--off-white); box-shadow: var(--shadow-md); }
.phase h3 { font-size: 20px; margin-bottom: 12px; }
.phase p { font-size: 16px; color: #000000; }

/* Benefits */
.perks-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.perk { display: flex; gap: 22px; padding: 28px; background: var(--off-white); border-radius: var(--radius-md); border-left: 5px solid var(--pink-hot); box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease); }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.perk-symbol { flex-shrink: 0; width: 60px; height: 60px; background: linear-gradient(135deg, var(--pink-hot), #c4185a); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.perk-symbol svg { width: 30px; height: 30px; fill: #ffffff; }
.perk-detail h3 { font-size: 20px; margin-bottom: 8px; }
.perk-detail p { font-size: 16px; color: #000000; }

/* Testimonials */
.voices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.voice { background: var(--off-white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--pink-hot); position: relative; }
.voice::before { content: '\201C'; position: absolute; top: -5px; left: 25px; font-size: 60px; color: var(--pink-hot); opacity: 0.15; font-family: Georgia, serif; line-height: 1; }
.voice-top { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.voice-photo { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; }
.voice-photo img { width: 100%; height: 100%; object-fit: cover; }
.voice-who h4 { font-size: 16px; font-weight: 700; color: var(--brown-deep); }
.voice-who span { font-size: 13px; color: var(--slate); }
.voice-rating { color: var(--pink-hot); font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.voice-text { font-size: 16px; color: #000000; line-height: 1.7; font-style: italic; }
.voice-note { margin-top: 40px; padding: 20px; background: var(--pink-soft); border-radius: var(--radius-sm); text-align: center; }
.voice-note p { font-size: 14px; color: var(--slate); }

/* Pricing */
.order-zone { background: linear-gradient(160deg, var(--brown-deep) 0%, #1f0e03 100%); padding: 90px 0; }
.order-zone .block-title h2, .order-zone .block-title p { color: #ffffff; }
.deals-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.deal { background: #ffffff; border-radius: var(--radius-lg); padding: 35px 25px; text-align: center; position: relative; transition: transform var(--ease); }
.deal:hover { transform: translateY(-8px); }
.deal.spotlight { transform: scale(1.06); border: 3px solid var(--pink-hot); z-index: 1; }
.deal.spotlight:hover { transform: scale(1.09); }
.deal-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--pink-hot), #c4185a); color: #ffffff; padding: 7px 22px; border-radius: var(--radius-sm); font-size: 20px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.deal h3 { font-size: 17px; margin-bottom: 8px; color: var(--slate); }
.deal-qty { font-size: 26px; font-weight: 800; color: var(--brown-deep); margin-bottom: 4px; }
.deal-duration { font-size: 20px; color: #000000; margin-bottom: 18px; }
.deal-img { margin: 18px 0; }
.deal-img img { max-height: 170px; margin: 0 auto; }
.deal-cost { margin-bottom: 18px; }
.deal-number { font-size: 58px; font-weight: 800; color: var(--pink-hot); line-height: 1; }
.deal-number sup { font-size: 28px; vertical-align: super; }
.deal-per { font-size: 20px; color: #000000; }
.deal-savings { list-style: none; margin-bottom: 18px; }
.deal-savings li { padding: 7px 0; font-size: 20px; color: #000000; border-bottom: 1px solid var(--border-pink); }
.deal-savings li:last-child { border-bottom: none; }
.deal-totals { margin-bottom: 18px; }
.deal-was { font-size: 18px; color: #999; text-decoration: line-through; margin-right: 10px; }
.deal-now { font-size: 24px; font-weight: 800; color: var(--brown-deep); }
.deal-ship { font-size: 14px; color: var(--pink-hot); font-weight: 600; margin-bottom: 18px; }

/* Guarantee */
.promise-row { display: grid; grid-template-columns: auto 1fr; gap: 45px; align-items: center; }
.promise-seal { width: 180px; height: 180px; background: linear-gradient(135deg, var(--brown-mid), var(--brown-deep)); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #ffffff; text-align: center; flex-shrink: 0; box-shadow: var(--shadow-lg); }
.promise-seal .seal-num { font-size: 40px; font-weight: 800; }
.promise-seal .seal-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.promise-seal .seal-sub { font-size: 15px; font-weight: 700; }
.promise-body h2 { margin-bottom: 18px; }
.promise-body p { margin-bottom: 14px; }

/* Trust Stripe */
.trust-stripe { display: flex; justify-content: center; gap: 30px; padding: 25px 0; background: var(--pink-muted); flex-wrap: wrap; }
.trust-item { text-align: center; font-size: 12px; font-weight: 700; color: var(--brown-deep); }
.trust-item .trust-icon { font-size: 26px; display: block; margin-bottom: 4px; }

/* Ingredients */
.formula-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.formula-item { text-align: center; padding: 30px 20px; background: var(--off-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--pink-hot); transition: transform var(--ease); }
.formula-item:hover { transform: translateY(-6px); }
.formula-emoji { font-size: 42px; margin-bottom: 14px; }
.formula-item h3 { font-size: 19px; margin-bottom: 10px; }
.formula-item p { font-size: 15px; color: #000000; }

/* Bonuses */
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.extra { background: var(--off-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--ease); }
.extra:hover { transform: translateY(-5px); }
.extra img { width: 100%; height: 200px; object-fit: cover; }
.extra-body { padding: 22px; }
.extra h3 { font-size: 17px; margin-bottom: 6px; }
.extra-worth { font-size: 14px; color: var(--pink-hot); font-weight: 700; margin-bottom: 10px; }
.extra p { font-size: 15px; color: #000000; }

/* FAQ */
.qa-list { max-width: 850px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--border-pink); }
.qa-trigger { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; gap: 15px; }
.qa-trigger span:first-child { font-size: 18px; font-weight: 600; color: var(--charcoal); }
.qa-toggle { width: 32px; height: 32px; flex-shrink: 0; background: var(--pink-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: var(--brown-deep); transition: all var(--ease); }
.qa.open .qa-toggle { background: var(--pink-hot); color: #ffffff; transform: rotate(45deg); }
.qa-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.qa-body-inner { padding: 0 0 22px; }
.qa-body-inner p { font-size: 16px; color: #000000; line-height: 1.8; }
.qa.open .qa-body { max-height: 400px; }

/* References */
.research-bar { background: var(--pink-muted); padding: 40px 0; text-align: center; }
.research-bar h3 { font-size: 18px; margin-bottom: 15px; color: var(--brown-deep); }
.research-bar img { max-width: 750px; margin: 0 auto 12px; }
.research-bar p { font-size: 13px; color: var(--slate); }

/* Footer */
.site-footer { background: var(--brown-deep); color: rgba(255,255,255,0.85); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about h3 { color: #ffffff; font-size: 22px; margin-bottom: 12px; }
.footer-about h3 em { font-style: normal; color: var(--pink-hot); }
.footer-about p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-col h4 { color: #ffffff; font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color var(--ease); }
.footer-col a:hover { color: var(--pink-hot); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 25px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }

/* Floating CTA */
.sticky-cta { position: fixed; bottom: 25px; right: 25px; z-index: 999; animation: pulseGlow 2s infinite, nudge 2s infinite; }
.sticky-cta .cta { padding: 16px 30px; font-size: 16px; border-radius: var(--radius-sm); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 6px 24px rgba(230,36,106,0.4); } 50% { box-shadow: 0 6px 36px rgba(230,36,106,0.7), 0 0 15px rgba(230,36,106,0.3); } }

/* Exit Popup */
.modal-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: 10000; display: none; align-items: center; justify-content: center; }
.modal-bg.visible { display: flex; }
.modal-box { background: #ffffff; border-radius: var(--radius-lg); max-width: 480px; width: 90%; padding: 38px; text-align: center; position: relative; animation: dropIn 0.35s ease; }
@keyframes dropIn { from { transform: translateY(-40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-x { position: absolute; top: 14px; right: 18px; font-size: 28px; cursor: pointer; color: var(--slate); transition: color var(--ease); }
.modal-x:hover { color: var(--pink-hot); }
.modal-box img { max-width: 180px; margin: 0 auto 18px; }
.modal-box h2 { font-size: 26px; margin-bottom: 12px; }
.modal-box p { margin-bottom: 22px; color: #000000; }

/* Purchase Notification */
.live-alert { position: fixed; bottom: 90px; left: 20px; background: #ffffff; border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: var(--shadow-md); display: none; align-items: center; gap: 12px; z-index: 998; max-width: 300px; animation: slideRight 0.5s ease; border-left: 4px solid var(--pink-hot); }
.live-alert.on { display: flex; }
@keyframes slideRight { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.alert-check { width: 34px; height: 34px; flex-shrink: 0; background: var(--pink-hot); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 16px; }
.alert-text p { font-size: 13px; margin: 0; line-height: 1.4; }
.alert-text strong { color: var(--brown-deep); }
.alert-when { font-size: 11px; color: #888; }

/* Blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-tile { background: var(--off-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--ease); }
.post-tile:hover { transform: translateY(-5px); }
.post-tile-thumb { height: 190px; background: linear-gradient(135deg, var(--pink-soft), var(--pink-muted)); display: flex; align-items: center; justify-content: center; font-size: 44px; }
.post-tile-body { padding: 22px; }
.post-tile h3 { font-size: 19px; margin-bottom: 10px; }
.post-tile p { font-size: 20px; color: #000000; margin-bottom: 14px; }
.post-tile .read-link { color: var(--pink-hot); font-weight: 700; }

/* Blog Article */
.article-page { max-width: 800px; margin: 0 auto; padding: 130px 20px 80px; }
.article-page .article-head { margin-bottom: 35px; }
.article-page .article-head h1 { margin-bottom: 18px; }
.article-meta { display: flex; gap: 18px; color: #000000; font-size: 20px; margin-bottom: 18px; }
.article-body h2 { margin: 38px 0 18px; }
.article-body h3 { margin: 28px 0 14px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 18px 0; padding-left: 30px; }
.article-body li { margin-bottom: 10px; }
.article-cta-box { background: linear-gradient(135deg, var(--pink-soft), var(--pink-muted)); padding: 35px; border-radius: var(--radius-md); text-align: center; margin: 35px 0; }
.article-cta-box h3 { margin-bottom: 14px; }
.article-cta-box p { margin-bottom: 18px; }
.writer-card { background: var(--pink-soft); padding: 28px; border-radius: var(--radius-md); margin-top: 35px; }
.writer-card h4 { font-size: 16px; margin-bottom: 10px; }
.writer-card p { font-size: 20px; color: #000000; }

/* Legal */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 130px 20px 80px; }
.legal-wrap h1 { margin-bottom: 28px; }
.legal-wrap h2 { font-size: 22px; margin: 28px 0 14px; }
.legal-wrap p { margin-bottom: 14px; color: #000000; }
.legal-wrap ul { margin: 14px 0; padding-left: 28px; }
.legal-wrap li { margin-bottom: 10px; color: #000000; }

/* Tablet */
@media (max-width: 1024px) {
    .deals-row { grid-template-columns: repeat(2, 1fr); }
    .deal.spotlight { grid-column: span 2; max-width: 380px; margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .formula-grid { grid-template-columns: repeat(2, 1fr); }
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    .topbar { display: none; }
    h1 { font-size: 30px; font-weight: 800; color: var(--brown-deep); }
    h2 { font-size: 24px; font-weight: 700; color: var(--brown-deep); }
    h3 { font-size: 20px; font-weight: 600; color: var(--brown-deep); }
    p { font-size: 16.5px; color: #000000; line-height: 1.9; }
    .block { padding: 55px 0; }
    .opening { padding: 60px 0; }
    .opening-grid { grid-template-columns: 1fr; text-align: center; }
    .opening-visual { order: -1; }
    .opening-visual img { max-width: 260px; }
    .trust-pills { justify-content: center; }
    .about-row, .promise-row { grid-template-columns: 1fr; text-align: center; }
    .timeline-row { grid-template-columns: 1fr; }
    .timeline-row::before { display: none; }
    .perks-list, .voices-grid, .deals-row, .formula-grid, .extras-grid, .posts-grid { grid-template-columns: 1fr; }
    .perk { flex-direction: column; text-align: center; }
    .deal.spotlight { grid-column: span 1; transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .sticky-cta { bottom: 18px; right: 14px; }
    .sticky-cta .cta { padding: 13px 22px; font-size: 20px; }
    .live-alert { left: 10px; right: auto; max-width: 270px; bottom: 75px; padding: 10px 12px; }
    .live-alert .alert-check { width: 28px; height: 28px; font-size: 13px; }
    .live-alert .alert-text p { font-size: 12px; }
    .live-alert .alert-when { font-size: 10px; }
}

@media print { .topbar, .sticky-cta, .modal-bg, .live-alert { display: none !important; } }
