/* ============================================
   RETHINK PSYCHOLOGY - DARK LUXURY THEME
   Shared stylesheet — index.html + premium.html
   Fonts: Playfair Display (Headings), Montserrat (Body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
    /* Base Dark Theme Colors */
    --bg-dark:       #050505;
    --bg-card:       rgba(255, 255, 255, 0.03);
    --border-light:  rgba(255, 255, 255, 0.08);
    --border-glow:   rgba(212, 175, 55, 0.3); /* subtle gold glow */
    
    /* Text Colors */
    --text-main:     #e0e0e0;
    --text-muted:    #a0a0a0;
    --text-white:    #ffffff;
    
    /* Accent & Gradients */
    --gold:          #d4af37;
    --gold-light:    #f3e5ab;
    --accent-grad:   linear-gradient(135deg, #d4af37, #f3e5ab);
    --accent-free:   linear-gradient(135deg, #a8e0ff, #e2f1f8); /* Silver/Ice for Free */
    
    /* Element Colors (Muted for dark theme) */
    --fire:       #ff6b35;
    --water:      #00b4d8;
    --earth:      #4ade80;
    --air:        #c084fc;

    --font-heading: 'Playfair Display', serif;
    --font-body:    'Montserrat', sans-serif;
    
    --radius-sm: 8px;
    --radius:    16px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.08);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-dark);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
}

/* =====================
   TOP BAR (Marquee)
   ===================== */
.top-bar {
    position: relative;
    color: #111;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}
.top-bar--free    { background: var(--accent-free); }
.top-bar--premium { background: var(--accent-grad); }

.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll-left 25s linear infinite;
    width: max-content;
}
.marquee-content span {
    padding-right: 20px;
}
.marquee-spacer {
    padding-right: 20px;
    opacity: 0.5;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.top-bar__close {
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.1); border: none;
    color: #000;
    width: 24px; height: 24px; border-radius: 50%;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
}
.top-bar__close:hover { background: rgba(0,0,0,0.2); }

/* =====================
   HEADER
   ===================== */
.site-header {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 200;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
}
.logo img {
    border: 1px solid var(--border-light);
}

.header-cta-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--accent-grad);
    padding: 10px 24px;
    border-radius: 999px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.header-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.header-cta-link--secondary {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-light);
}
.header-cta-link--secondary:hover {
    background: var(--bg-card);
    color: var(--text-white);
    box-shadow: none;
}

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

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

.gallery-main {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    padding: 40px;
    margin-bottom: 20px;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.gallery-main img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-thumbs { display: flex; gap: 12px; margin-bottom: 24px; }
.thumb {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: all 0.3s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.thumb:hover { border-color: rgba(255,255,255,0.3); }
.thumb.active { border-color: var(--gold); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }

/* Upsell Banner */
.upsell-banner {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(10px);
}
.upsell-banner__title { 
    font-family: var(--font-heading);
    font-size: 1.1rem; 
    color: var(--gold); 
    display: block; 
    margin-bottom: 8px; 
}
.upsell-banner p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.upsell-banner__link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--accent-grad);
    padding: 8px 20px;
    border-radius: 999px;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.upsell-banner__link:hover { transform: translateY(-2px); }

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

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
}
.free-badge    { background: rgba(168, 224, 255, 0.1); color: #a8e0ff; border: 1px solid rgba(168, 224, 255, 0.2); }
.premium-badge { background: rgba(212, 175, 55, 0.1);  color: var(--gold);  border: 1px solid rgba(212, 175, 55, 0.2); }

.stars-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--text-muted); font-size: 0.9rem; }

.product-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.title-accent {
    display: block;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.title-accent--free { background: var(--accent-free); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Price */
.price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.price-main { font-size: 2.8rem; font-family: var(--font-heading); font-weight: 700; color: var(--gold); }
.price-free  { font-size: 2.8rem; font-family: var(--font-heading); font-weight: 700; color: var(--text-white); }
.price-was   { font-size: 1.2rem; color: var(--text-muted); text-decoration: line-through; }
.badge-sale {
    background: rgba(255,255,255,0.1);
    color: var(--text-white); font-size: 0.75rem; font-weight: 600;
    padding: 6px 12px; border-radius: 999px;
    letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.2);
}

/* Book count pills */
.book-count-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.book-count-pill {
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 0.85rem; font-weight: 500;
    padding: 10px 20px; border-radius: 999px;
    border: 1px solid var(--border-light);
    letter-spacing: 0.5px;
}

/* Description */
.product-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* What's inside */
.whats-inside { margin-bottom: 40px; margin-top: 20px; }
.whats-inside__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-white);
}
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
    display: flex; align-items: flex-start; gap: 16px;
    font-size: 1rem; color: var(--text-main); line-height: 1.6;
}
.feature-item strong { color: var(--text-white); font-weight: 600; }
.feature-check {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; flex-shrink: 0; margin-top: 2px;
}
.feature-check--free { background: rgba(168, 224, 255, 0.2); color: #a8e0ff; }

/* =====================
   CHECKOUT BOX & IFRAME
   ===================== */
.checkout-box {
    margin-bottom: 32px;
    padding: 0;
}
.checkout-label {
    display: inline-block;
    background: transparent;
    color: var(--text-white);
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}
.whop-iframe-wrapper {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: transparent;
}

/* Trust Row */
.trust-row { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.trust-item { display: flex; align-items: flex-start; gap: 16px; }
.trust-icon { font-size: 1.5rem; line-height: 1; }
.trust-item strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: var(--text-white); }
.trust-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* =====================
   FAQ (Accordions)
   ===================== */
.accordions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
details.faq {
    background: transparent;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}
details.faq summary {
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details.faq summary::-webkit-details-marker {
    display: none;
}
details.faq summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    transition: transform 0.3s ease;
}
details.faq[open] summary::after {
    transform: rotate(45deg);
}
.faq-body {
    padding: 0 0 24px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================
   LIFESTYLE SECTION
   ===================== */
.lifestyle-section { 
    background: #080808; 
    padding: 120px 24px; 
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.lifestyle-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.lifestyle-text h2 { 
    font-size: 2.8rem; 
    line-height: 1.15; 
    margin-bottom: 24px; 
    letter-spacing: -0.02em; 
}
.lifestyle-text p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; }
.lifestyle-bullets { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.lb { font-size: 1rem; color: var(--text-main); display: flex; align-items: center; gap: 12px; }
.lifestyle-img-wrap { 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--border-light);
}

/* =====================
   ELEMENTS SECTION
   ===================== */
.elements-section { padding: 120px 24px; }
.elements-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.elements-inner h2 { font-size: 2.8rem; margin-bottom: 20px; }
.elements-sub { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 60px; line-height: 1.7; }
.elements-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin: 0 auto 60px; border: 1px solid var(--border-light); }

.elements-tagline-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.element-tagline {
    font-size: 0.95rem; font-weight: 500; line-height: 1.5;
    padding: 20px 32px; border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

/* =====================
   FINAL CTA
   ===================== */
.final-cta-section {
    background: radial-gradient(circle at center, #1a1500 0%, #050505 100%);
    padding: 140px 24px; text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.final-cta-section--free {
    background: radial-gradient(circle at center, #00121a 0%, #050505 100%);
    border-top: 1px solid rgba(168, 224, 255, 0.1);
}
.final-cta-inner { max-width: 700px; margin: 0 auto; }
.final-cta-price { 
    font-size: 0.9rem; font-weight: 600; 
    color: var(--gold); letter-spacing: 2px; 
    text-transform: uppercase; margin-bottom: 20px; 
}
.final-cta-inner h2 { font-size: 3.5rem; margin-bottom: 24px; line-height: 1.1; }
.final-cta-inner p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 48px; line-height: 1.7; }
.btn-cta {
    display: inline-block;
    background: var(--accent-grad); color: var(--bg-dark);
    font-family: var(--font-body);
    font-size: 1.1rem; font-weight: 700;
    padding: 20px 48px; border-radius: 999px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.btn-cta:hover { transform: translateY(-4px); box-shadow: 0 0 30px rgba(212, 175, 55, 0.4); }
.btn-cta--free {
    background: var(--text-white); color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.btn-cta--free:hover { box-shadow: 0 0 30px rgba(255,255,255,0.2); }
.final-trust { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

/* =====================
   LUXURY FOOTER
   ===================== */
.site-footer {
    background: #000000;
    padding: 100px 24px 60px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.footer-brand {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}
.footer-links {
    display: flex; gap: 40px;
    flex-wrap: wrap; justify-content: center;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
}

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

@media (max-width: 600px) {
    body { font-size: 16px; }
    .product-section { padding: 40px 20px 80px; }
    .product-title { font-size: 2.4rem; }
    .price-main, .price-free { font-size: 2.2rem; }
    .product-desc { font-size: 1.05rem; }
    .lifestyle-section, .elements-section, .final-cta-section { padding: 80px 20px; }
    .lifestyle-text h2, .elements-inner h2, .final-cta-inner h2 { font-size: 2.2rem; }
    .gallery-main { padding: 20px; }
    .header-cta-link { display: none; }
    .footer-brand { font-size: 2rem; }
    .footer-links { gap: 20px; flex-direction: column; }
}
