/* ============================================================
   21 DAYS MANIFESTATION MAGIC - Premium CSS (v2.0.0)
============================================================ */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Colors */
    --bg-main: #fbfaf8; /* Soft, warm pearl white */
    --bg-tint: #f4f0ec; /* Slightly deeper cream for alternating sections */
    --primary-dark: #2a1135; /* Deep mystical plum/purple */
    --primary-light: #7b4b94; /* Vibrant mystical purple */
    --accent-gold: #d4af37; /* Rich, elegant gold */
    --accent-gold-light: #fbeeb8;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 10px rgba(42, 17, 53, 0.05);
    --shadow-md: 0 10px 25px rgba(42, 17, 53, 0.08);
    --shadow-lg: 0 20px 40px rgba(42, 17, 53, 0.12);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.4);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base & Resets --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 140px; /* Space for sticky footer */
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
    font-weight: 600;
}

/* --- Ambient Mystical Background Glows --- */
.ambient-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: -1; overflow: hidden;
}
.glow {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: drift 10s infinite alternate ease-in-out;
}
.glow-top { width: 300px; height: 300px; background: var(--primary-light); top: -100px; left: -100px; }
.glow-bottom { width: 400px; height: 400px; background: var(--accent-gold); bottom: -150px; right: -100px; animation-delay: -5s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

/* --- Utilities --- */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }
.section { padding: 4rem 0; position: relative; z-index: 1; }
.dark-tint-section { background-color: var(--bg-tint); border-top: 1px solid rgba(0,0,0,0.03); border-bottom: 1px solid rgba(0,0,0,0.03); }

.section-title { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem auto; }

/* Perfected Text Highlight (Won't break on line wrap) */
.magic-highlight {
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.4) 100%);
    background-repeat: no-repeat;
    background-size: 100% 35%;
    background-position: 0 90%;
    color: var(--primary-dark);
}

/* --- Buttons & Animations --- */
.primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}
.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(123, 75, 148, 0.3);
    border: 2px solid var(--accent-gold);
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.pulse-anim { animation: pulse-soft 2s infinite; }

/* --- Hero Section --- */
.hero-container { display: flex; flex-direction: column; align-items: center; text-align: center; }

.badge-pill {
    background: var(--white); color: var(--primary-dark);
    padding: 8px 20px; border-radius: 30px; font-weight: 600; font-size: 0.9rem;
    border: 1px solid var(--accent-gold); margin-bottom: 20px;
    display: inline-flex; align-items: center; gap: 8px;
}
.badge-pill i { color: var(--accent-gold); }

.main-title { font-size: clamp(2.5rem, 8vw, 4rem); text-transform: uppercase; letter-spacing: -1px; margin-bottom: 1rem; }
.subtitle { font-size: clamp(0.9rem, 3vw, 1.1rem); letter-spacing: 2px; color: var(--text-muted); font-weight: 600; margin-bottom: 2rem; max-width: 700px; }

.video-container {
    width: 100%; max-width: 800px; aspect-ratio: 16/9;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid var(--white);
    background: #000; margin-bottom: 2rem;
}
.video-container iframe { width: 100%; height: 100%; object-fit: cover; }

.date-callout {
    background: var(--accent-gold-light); color: var(--primary-dark);
    padding: 10px 25px; border-radius: 8px; font-size: 1.1rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--accent-gold); margin-bottom: 1.5rem;
}
.hero-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-features span {
    background: var(--white); padding: 8px 16px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
    border: 1px solid #eaeaea; display: flex; align-items: center; gap: 6px;
}
.hero-features i { color: var(--primary-light); }

/* --- Authority Records --- */
.records-section { padding: 2rem 0; background: var(--white); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.records-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; }
.record-item { text-align: center; width: 140px; }
.record-item img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-sm); margin-bottom: 10px; border: 2px solid #eee; }
.record-item p { font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); line-height: 1.2; }

/* --- General Grid Layouts (Mobile Optimized) --- */
.grid-card-layout { display: grid; grid-template-columns: 1fr; gap: 15px; }
.layout-3 { grid-template-columns: 1fr; }

/* --- Information Cards (Pain Points, etc.) --- */
.info-card {
    background: var(--white); padding: 25px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; transition: var(--transition);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.pain-card { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.card-icon { 
    width: 50px; height: 50px; background: var(--bg-tint); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: var(--primary-light); font-size: 1.5rem;
}
.pain-card p { font-size: 1rem; color: var(--text-main); font-weight: 500; }

/* --- Premium Quote Box --- */
.premium-box {
    background: var(--white); border-left: 6px solid var(--accent-gold);
    padding: 30px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
    max-width: 700px; margin: 0 auto; box-shadow: var(--shadow-md); position: relative;
    text-align: left;
}
.quote-icon { position: absolute; top: 15px; right: 20px; font-size: 3rem; color: var(--bg-tint); opacity: 0.5; }
.premium-box p { font-size: 1.15rem; color: var(--primary-dark); position: relative; z-index: 1; }

/* --- Mentor Section --- */
.mentor-layout { display: flex; flex-direction: column; align-items: center; gap: 30px; background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.mentor-image-box { position: relative; width: 220px; height: 220px; flex-shrink: 0; }
.mentor-image-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--accent-gold-light); box-shadow: var(--shadow-md); }
.mentor-floating-badge {
    position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    background: var(--primary-dark); color: var(--white); font-size: 0.75rem;
    font-weight: 700; padding: 6px 15px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.5px;
}
.mentor-content { text-align: center; }
.mentor-sub { color: var(--accent-gold); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 15px; }
.mentor-bio { font-size: 1rem; color: var(--text-muted); margin-bottom: 25px; }
.badges-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.badges-grid span { background: var(--bg-tint); padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 6px; border: 1px solid #eaeaea; }
.badges-grid i { color: var(--primary-light); }

/* =========================================================
   WHAT YOU'LL GET (Replicating Image Layout Perfectly)
========================================================= */
.package-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; }

.package-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 30px 20px;
    width: 100%; max-width: 320px; text-align: center;
    box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0;
    display: flex; flex-direction: column; align-items: center; position: relative;
    transition: var(--transition);
}
.package-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.pkg-icon-circle {
    width: 80px; height: 80px; border-radius: 50%;
    border: 2px solid var(--accent-gold); margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), var(--accent-gold-light));
}

.package-card h4 { font-size: 1.25rem; margin-bottom: 10px; color: var(--primary-light); }
.package-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 25px; flex-grow: 1; }

.pkg-tag {
    background: var(--accent-gold-light); color: var(--primary-dark);
    font-weight: 700; font-size: 0.75rem; padding: 8px 16px; border-radius: 20px;
}
.tag-purple { background: var(--primary-light); color: var(--white); }

/* Highlight Card */
.pkg-popular {
    border: 2px solid var(--primary-light); background: #fdfafc;
    box-shadow: 0 10px 30px rgba(123, 75, 148, 0.15); transform: scale(1.02);
}
.pkg-popular:hover { transform: scale(1.04); }
.pkg-badge-top {
    position: absolute; top: -14px; background: var(--primary-light); color: var(--white);
    font-size: 0.75rem; font-weight: 700; padding: 6px 16px; border-radius: 20px; letter-spacing: 1px;
}

/* Price Summary Box */
.price-summary-box {
    background: var(--primary-light); border-radius: var(--radius-lg); padding: 35px 20px;
    text-align: center; color: var(--white); max-width: 800px; margin: 0 auto;
    box-shadow: var(--shadow-lg); background-image: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
}
.ps-label { display: block; font-size: 1rem; opacity: 0.9; margin-bottom: 5px; }
.ps-strike { display: block; font-size: 1.8rem; text-decoration: line-through; opacity: 0.7; margin-bottom: 20px; font-weight: 700; }
.ps-final { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; color: var(--accent-gold); margin-bottom: 20px; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.ps-savings { display: inline-block; border: 1px solid var(--accent-gold); color: var(--accent-gold); padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 1rem; }

/* --- Science Grid --- */
.science-grid { display: grid; grid-template-columns: 1fr; gap: 15px; max-width: 900px; margin: 0 auto; }
.science-card { padding: 20px; }
.science-card h4 { font-family: var(--font-body); font-size: 1.2rem; margin-bottom: 5px; }
.border-red { border-top: 4px solid #e74c3c; } .text-red { color: #e74c3c; font-weight: 700; }
.border-green { border-top: 4px solid #2ecc71; } .text-green { color: #2ecc71; font-weight: 700; }
.border-blue { border-top: 4px solid #3498db; } .text-blue { color: #3498db; font-weight: 700; }
.sci-stat { font-size: 0.9rem; }

/* --- Steps & Roadmap --- */
.step-card { position: relative; overflow: hidden; z-index: 1; }
.watermark-num { position: absolute; top: -10px; right: 10px; font-size: 4rem; font-weight: 800; color: rgba(0,0,0,0.03); z-index: -1; font-family: var(--font-heading); }
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

.roadmap-container { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.roadmap-step { display: flex; align-items: center; gap: 20px; background: var(--white); padding: 25px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.step-icon { width: 50px; height: 50px; flex-shrink: 0; background: var(--bg-tint); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--primary-light); font-size: 1.2rem; }
.step-content h4 { font-size: 1.1rem; margin-bottom: 5px; }
.step-content p { font-size: 0.95rem; color: var(--text-muted); }
.roadmap-line { width: 2px; height: 25px; background: var(--accent-gold); margin-left: 50px; opacity: 0.5; }

/* --- Results Banner & Grid --- */
.hero-result-banner { background: var(--primary-light); color: var(--white); padding: 15px; border-radius: var(--radius-md); text-align: center; font-size: 1.2rem; font-weight: 600; margin-bottom: 25px; box-shadow: var(--shadow-md); }
.hero-result-banner i { color: var(--accent-gold); margin-right: 10px; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-pill { background: var(--white); padding: 15px; border-radius: 8px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; border: 1px solid #eaeaea; }
.result-pill i { color: var(--accent-gold); font-size: 1.2rem; }

/* --- Featured Logos --- */
.small-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 20px; }
.featured-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; opacity: 0.6; filter: grayscale(100%); }
.news-logo { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); }

/* --- YouTube Video Grid --- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-wrapper { position: relative; padding-bottom: 177.77%; border-radius: var(--radius-md); overflow: hidden; border: 2px solid var(--white); box-shadow: var(--shadow-sm); background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- Format Grid --- */
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.format-box { background: var(--white); padding: 25px 15px; text-align: center; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.format-box i { display: block; font-size: 2rem; color: var(--primary-light); margin-bottom: 15px; }
.format-box span { font-weight: 600; font-size: 0.95rem; }

/* --- Final CTA --- */
.final-cta-section { background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-tint) 100%); padding-bottom: 6rem; }
.cta-card { max-width: 600px; margin: 0 auto; background: var(--white); padding: 40px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 5px solid var(--accent-gold); }
.cta-title { font-size: 1.8rem; margin-bottom: 15px; }
.cta-price-row { display: flex; justify-content: center; align-items: baseline; gap: 15px; margin-bottom: 10px; }
.cta-strike { font-size: 1.5rem; text-decoration: line-through; color: #999; font-weight: 600; }
.cta-main { font-size: 3.5rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.cta-subtext { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }
.guarantee-text { margin-top: 25px; font-size: 0.9rem; color: var(--text-muted); display: flex; justify-content: center; align-items: center; gap: 8px; }
.guarantee-text i { color: var(--primary-light); font-size: 1.2rem; }

/* --- FAQ --- */
.faq-section { padding-top: 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 8px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; overflow: hidden; }
.faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 20px; font-size: 1.05rem; font-weight: 600; font-family: var(--font-body); color: var(--primary-dark); display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: background 0.3s; }
.faq-btn:hover { background: #fafafa; }
.faq-btn i { color: var(--accent-gold); transition: transform 0.3s; }
.faq-btn.active i { transform: rotate(45deg); color: var(--primary-light); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-content p { padding: 0 20px 20px 20px; color: var(--text-muted); font-size: 0.95rem; }

/* --- Sticky Footer Mobile Optimized --- */
.sticky-footer {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--white); z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); border-top: 2px solid var(--accent-gold);
}
.timer-bar {
    background: var(--primary-dark); color: var(--accent-gold-light);
    padding: 6px; text-align: center; font-size: 0.8rem; font-weight: 600;
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
.timer-digits { font-family: monospace; font-size: 0.95rem; letter-spacing: 1px; color: var(--white); }

.sticky-content {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px 15px 15px; max-width: 1100px; margin: 0 auto;
}
.sticky-price { display: flex; flex-direction: column; line-height: 1.1; }
.s-strike { font-size: 0.8rem; text-decoration: line-through; color: #999; font-weight: 600; }
.s-price { font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); }
.small-btn { padding: 12px 25px; font-size: 1rem; width: 60%; text-align: center; }

.refund-notice {
    position: fixed; bottom: 95px; left: 50%; transform: translateX(-50%);
    background: #fff0f0; border: 1px solid #ffcccc; color: #d32f2f;
    padding: 6px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
    z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: center; width: 90%; max-width: 350px;
}


/* =========================================================
   DESKTOP SCALING & LAYOUT TWEAKS
========================================================= */
@media (min-width: 768px) {
    /* Grids */
    .grid-card-layout { grid-template-columns: 1fr 1fr; }
    .layout-3 { grid-template-columns: 1fr 1fr 1fr; }
    .science-grid { grid-template-columns: 1fr 1fr 1fr; }
    .video-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
    .format-grid { grid-template-columns: repeat(4, 1fr); }
    .results-grid { grid-template-columns: repeat(4, 1fr); }
    
    /* Layouts */
    .mentor-layout { flex-direction: row; text-align: left; padding: 40px; }
    .mentor-content { text-align: left; }
    .badges-grid { justify-content: flex-start; }
    
    /* Sticky Footer */
    .sticky-content { padding: 15px 30px; }
    .s-strike { font-size: 1rem; }
    .s-price { font-size: 2rem; }
    .small-btn { width: auto; min-width: 300px; padding: 16px 30px; font-size: 1.1rem; }
    .refund-notice { bottom: 90px; }
}

@media (min-width: 992px) {
    /* What You Get - Perfected layout (3 top, 2 bottom) */
    .package-grid { max-width: 1050px; margin: 0 auto 50px auto; }
    .package-card { width: calc(33.333% - 14px); max-width: none; }
    .package-card.pkg-bottom-row { margin-top: 20px; }
    
    /* Forces the bottom row to center itself via flex trick */
    .package-grid::after { content: ""; width: calc(33.333% - 14px); order: 99; }
}