/* ============================================
   RETHINK PSYCHOLOGY
   Shared stylesheet — index.html + premium.html
   Font: Montserrat (Google Fonts, OFL License)
   ============================================ */

:root {
    /* Elements */
    --fire:       #e84118;
    --fire-soft:  #fff3f0;
    --water:      #0097e6;
    --water-soft: #f0f8ff;
    --earth:      #2d8a4e;
    --earth-soft: #f0faf4;
    --air:        #7c4dff;
    --air-soft:   #f5f0ff;

    /* Neutrals */
    --black:      #111111;
    --dark:       #1c1c1e;
    --gray-700:   #374151;
    --gray-500:   #6b7280;
    --gray-300:   #d1d5db;
    --gray-100:   #f4f4f6;
    --white:      #ffffff;

    /* Brand */
    --accent:     #e84118;
    --border:     #e5e7eb;

    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 20px;
    --shadow:    0 2px 16px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* =====================
   TOP BAR
   ===================== */
.top-bar {
    text-align: center;
    padding: 10px 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    color: white;
}
.top-bar--free    { background: var(--earth); }
.top-bar--premium { background: var(--fire); }
.top-bar__close {
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: rgba(255,255,255,0.65);
    font-size: 1rem; cursor: pointer; line-height: 1;
}

/* =====================
   HEADER
   ===================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 200;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    text-decoration: none;
}
.logo-icon { font-size: 1.3rem; }

.header-cta-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fire);
    border: 1.5px solid var(--fire);
    padding: 7px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.header-cta-link:hover { background: var(--fire); color: white; }
.header-cta-link--secondary {
    color: var(--gray-500);
    border-color: var(--border);
}
.header-cta-link--secondary:hover { background: var(--gray-100); color: var(--black); }

/* =====================
   PRODUCT SECTION
   ===================== */
.product-section { padding: 48px 24px 64px; }
.product-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* =====================
   GALLERY
   ===================== */
.gallery-col { position: sticky; top: 80px; }

.gallery-main {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 14px;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gallery-main img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: opacity 0.25s ease;
}

.gallery-thumbs { display: flex; gap: 10px; margin-bottom: 16px; }
.thumb {
    flex: 1;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 6px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: border-color 0.2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.thumb:hover { border-color: var(--gray-300); }
.thumb.active { border-color: var(--black); }

/* Upsell Banner */
.upsell-banner {
    background: linear-gradient(135deg, #fff3f0, #fff8f0);
    border: 1.5px solid #ffd0bc;
    border-radius: var(--radius);
    padding: 20px;
}
.upsell-banner__title { font-size: 0.85rem; font-weight: 700; color: var(--fire); display: block; margin-bottom: 6px; }
.upsell-banner p { font-size: 0.82rem; color: var(--gray-700); margin-bottom: 12px; line-height: 1.5; }
.upsell-banner__link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fire);
    border: 1.5px solid var(--fire);
    padding: 6px 14px;
    border-radius: 999px;
    transition: all 0.2s;
}
.upsell-banner__link:hover { background: var(--fire); color: white; }

/* Social proof pill */
.social-proof-pill {
    background: #fffbe6;
    border: 1px solid #ffe680;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.82rem;
    color: #7a5c00;
    text-align: center;
    margin-top: 14px;
}

/* =====================
   PRODUCT DETAILS
   ===================== */
.details-col { display: flex; flex-direction: column; gap: 0; }

/* Badges */
.product-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    width: fit-content;
}
.free-badge    { background: var(--earth-soft); color: var(--earth); border: 1px solid #b7e8c8; }
.premium-badge { background: var(--fire-soft);  color: var(--fire);  border: 1px solid #ffd0bc; }

.stars-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stars { color: #f59e0b; font-size: 1rem; }
.rating-text { font-size: 0.82rem; color: var(--gray-500); }

.product-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.title-accent {
    display: block;
    background: linear-gradient(90deg, var(--fire) 0%, var(--air) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-accent--free    { background: linear-gradient(90deg, var(--earth), var(--water)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.title-accent--premium { background: linear-gradient(90deg, var(--fire), var(--air));   -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Price */
.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.price-main { font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; }
.price-free  { font-size: 2.4rem; font-weight: 900; color: var(--earth); letter-spacing: -1px; }
.price-was   { font-size: 1.1rem; color: var(--gray-500); text-decoration: line-through; }
.badge-sale {
    background: var(--accent);
    color: white; font-size: 0.72rem; font-weight: 800;
    padding: 4px 10px; border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

/* Book count pills */
.book-count-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.book-count-pill {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.8rem; font-weight: 600;
    padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--border);
}

/* Description */
.product-desc {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* What's inside */
.whats-inside { margin-bottom: 28px; }
.whats-inside__title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.6;
}
.feature-check {
    flex-shrink: 0;
    width: 20px; height: 20px;
    background: var(--earth);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    margin-top: 1px;
}
.feature-check--fire  { background: var(--fire); }
.feature-check--water { background: var(--water); }
.feature-check--earth { background: var(--earth); }
.feature-check--air   { background: var(--air); }

/* =====================
   CHECKOUT BOX & IFRAME
   ===================== */
.checkout-box {
    margin-bottom: 24px;
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.checkout-box--premium {
    background: #fffaf9;
    border-color: #ffd0bc;
}
.checkout-label {
    display: inline-block;
    background: var(--dark);
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.checkout-box--premium .checkout-label {
    background: var(--fire);
}
.whop-iframe-wrapper {
    width: 100%;
    min-height: 480px;
}
.whop-iframe-wrapper--premium {
}

/* =====================
   TRUST ROW
   ===================== */
.trust-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-icon { font-size: 1.2rem; flex-shrink: 0; }
.trust-item strong { font-size: 0.88rem; display: block; }
.trust-item p { font-size: 0.8rem; color: var(--gray-500); }

/* =====================
   ACCORDIONS
   ===================== */
.accordions { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
    padding: 18px 4px;
    cursor: pointer; list-style: none;
    font-size: 0.9rem; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center;
    user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--gray-500); }
.faq[open] summary::after { content: '−'; }

.faq-body {
    padding-bottom: 20px;
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.7;
    display: flex; flex-direction: column; gap: 12px;
}
.faq-body a { color: var(--fire); font-weight: 600; }

/* Element details in FAQ */
.element-detail {
    display: flex; gap: 14px;
    padding: 14px; border-radius: var(--radius-sm);
    align-items: flex-start;
}
.element-detail span { font-size: 1.4rem; flex-shrink: 0; }
.element-detail strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.element-detail p { font-size: 0.83rem; color: var(--gray-500); }
.fire-detail  { background: var(--fire-soft); }
.water-detail { background: var(--water-soft); }
.earth-detail { background: var(--earth-soft); }
.air-detail   { background: var(--air-soft); }

/* =====================
   LIFESTYLE SECTION
   ===================== */
.lifestyle-section { background: var(--dark); color: white; padding: 80px 24px; }
.lifestyle-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.lifestyle-text h2 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.4px; }
.lifestyle-text p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.75; margin-bottom: 24px; }
.lifestyle-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.lb { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.lifestyle-upsell-btn {
    display: inline-block;
    font-size: 0.85rem; font-weight: 700;
    color: var(--fire);
    border: 1.5px solid var(--fire);
    padding: 8px 18px; border-radius: 999px;
    transition: all 0.2s;
}
.lifestyle-upsell-btn:hover { background: var(--fire); color: white; }
.lifestyle-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* =====================
   ELEMENTS SECTION
   ===================== */
.elements-section { padding: 80px 24px; background: var(--gray-100); }
.elements-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.elements-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.4px; }
.elements-sub { font-size: 1rem; color: var(--gray-500); margin-bottom: 40px; }
.elements-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin: 0 auto 40px; }
.elements-tagline-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.element-tagline {
    font-size: 0.88rem; font-weight: 700; line-height: 1.4;
    padding: 14px 20px; border-radius: var(--radius);
}
.element-tagline small { font-weight: 400; font-size: 0.78rem; display: block; margin-top: 4px; }
.fire-tl  { background: var(--fire-soft);  color: var(--fire); }
.water-tl { background: var(--water-soft); color: var(--water); }
.earth-tl { background: var(--earth-soft); color: var(--earth); }
.air-tl   { background: var(--air-soft);   color: var(--air); }

/* =====================
   REVIEWS SECTION
   ===================== */
.reviews-section { padding: 80px 24px; }
.reviews-inner { max-width: 1200px; margin: 0 auto; }
.reviews-inner h2 { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.4px; }
.reviews-stars-header { text-align: center; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 48px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: var(--gray-100); border-radius: var(--radius); padding: 26px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gray-300);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 0.8rem; flex-shrink: 0;
}
.review-avatar--fire  { background: linear-gradient(135deg, var(--fire), #ff8c42); }
.review-avatar--water { background: linear-gradient(135deg, var(--water), #00d2ff); }
.review-avatar--earth { background: linear-gradient(135deg, var(--earth), #78c850); }
.review-avatar--air   { background: linear-gradient(135deg, var(--air), #c4a0ff); }
.review-header strong { font-size: 0.9rem; display: block; }
.review-stars { color: #f59e0b; font-size: 0.82rem; }
.review-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.review-card p { font-size: 0.85rem; color: var(--gray-700); line-height: 1.65; font-style: italic; }

/* =====================
   FINAL CTA
   ===================== */
.final-cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 80px 24px; text-align: center; color: white;
}
.final-cta-section--free {
    background: linear-gradient(135deg, #0d2818 0%, #1a4a2e 60%, #2d6a45 100%);
}
.final-cta-inner { max-width: 600px; margin: 0 auto; }
.final-cta-price { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.final-cta-inner h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.4px; }
.final-cta-inner p { font-size: 1rem; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.btn-cta {
    display: inline-block;
    background: var(--accent); color: white;
    font-family: var(--font);
    font-size: 1rem; font-weight: 800;
    padding: 18px 40px; border-radius: var(--radius);
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(232, 65, 24, 0.4);
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232, 65, 24, 0.55); }
.btn-cta--free {
    background: var(--earth);
    box-shadow: 0 8px 24px rgba(45, 138, 78, 0.4);
}
.btn-cta--free:hover { box-shadow: 0 12px 32px rgba(45, 138, 78, 0.55); }
.final-trust { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.final-free-link { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 12px; }
.final-free-link:hover { color: rgba(255,255,255,0.7); }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: var(--black); padding: 28px 24px; }
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.35);
}
.footer-inner a { color: rgba(255,255,255,0.45); }
.footer-inner a:hover { color: rgba(255,255,255,0.7); }

/* =====================
   CHECKOUT BUTTONS
   ===================== */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 14px;
    border: none;
}
.btn-checkout--free {
    background: var(--earth);
    color: white;
    box-shadow: 0 8px 24px rgba(45, 138, 78, 0.35);
}
.btn-checkout--free:hover {
    background: #25734a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 138, 78, 0.5);
}
.btn-checkout--premium {
    background: linear-gradient(90deg, var(--fire), #ff6b35);
    color: white;
    box-shadow: 0 8px 24px rgba(232, 65, 24, 0.35);
}
.btn-checkout--premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 65, 24, 0.5);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
    .product-wrap { grid-template-columns: 1fr; gap: 32px; }
    .gallery-col { position: static; }
    .lifestyle-inner { grid-template-columns: 1fr; }
    .lifestyle-text { order: 2; }
    .lifestyle-img-wrap { order: 1; }
}

@media (max-width: 600px) {
    .product-section { padding: 24px 16px 40px; }
    .product-title { font-size: 1.7rem; }
    .price-main, .price-free { font-size: 2rem; }
    .lifestyle-section, .elements-section, .reviews-section, .final-cta-section { padding: 48px 16px; }
    .lifestyle-text h2, .elements-inner h2, .reviews-inner h2, .final-cta-inner h2 { font-size: 1.6rem; }
    .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
    .elements-tagline-row { gap: 10px; }
}
