/*
Theme Name: GriotsWell
Theme URI: https://griotswell.com
Author: Ifeanyi Chukwudebe
Description: The official theme for the GriotsWell storytelling platform.
Version: 8.0
*/

/* --- 1. BRANDING & VARIABLES --- */
:root {
    --bg-dark-blue: #0A192F;
    --bg-light-blue: #172A45;
    --text-light: #ccd6f6;
    --text-muted: #8892b0;
    --accent-gold: #C19A6B;
    --accent-green: #64ffda;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --border-color: #334155;
}

/* --- 2. GLOBAL STYLES & TYPOGRAPHY --- */
body { background-color: var(--bg-dark-blue); color: var(--text-light); font-family: var(--font-sans); margin: 0; font-size: 18px; line-height: 1.7; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; color: var(--text-light); line-height: 1.2; }
p { color: var(--text-muted); }
a { color: var(--accent-gold); text-decoration: none; transition: all 0.3s ease; }
a:hover { opacity: 0.8; }
.btn-base { display: inline-block; padding: 0.8rem 2rem; border-radius: 5px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; text-align: center; }
.btn-primary { background-color: var(--accent-gold); color: var(--bg-dark-blue); }
.btn-outline { background-color: transparent; color: var(--accent-gold); border: 1px solid var(--accent-gold); }
.text-center { text-align: center; }

/* --- 3. HEADER & FOOTER --- */
.site-header { padding: 1.5rem 0; border-bottom: 1px solid var(--bg-light-blue); background-color: rgba(10, 25, 47, 0.85); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-serif); font-size: 2rem; color: var(--accent-gold); }
.main-nav .griotswell-main-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav .griotswell-main-menu li { margin-left: 2rem; }
.main-nav .griotswell-main-menu a { color: var(--text-light); }
.main-nav .griotswell-main-menu a:hover { color: var(--accent-gold); }
.site-footer { text-align: center; padding: 3rem 0; margin-top: 4rem; border-top: 1px solid var(--bg-light-blue); }

/* --- 4. HOMEPAGE & GLOBAL SECTIONS --- */
.hero { text-align: center; padding: 6rem 0; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero-subtitle { max-width: 700px; margin: 1.5rem auto 2.5rem auto; }
.product-section { padding: 6rem 0; }
.wizards-section { background-color: var(--bg-light-blue); }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto; }
.wizard-grid-homepage { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.wizard-card-small { background-color: var(--bg-dark-blue); padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 8px; text-align: center; }

/* --- 5. PAGE TEMPLATE STYLES --- */
.page-header-section { padding: 5rem 0; text-align: center; }
.page-title { font-size: 3.5rem; }
.wizard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.wizard-card { background-color: var(--bg-light-blue); padding: 2.5rem; border: 1px solid var(--border-color); border-radius: 12px; display: flex; flex-direction: column; }

/* --- 6. SINGLE WIZARD & SIGNUP WALL --- */
.wizard-app-section { padding: 4rem 0; background-color: #000; border-top: 1px solid var(--border-color); }
.signup-wall { text-align: center; background-color: var(--bg-light-blue); padding: 4rem; border-radius: 8px; max-width: 600px; margin: 0 auto; }
#interactive-wizard-app .step-guidance { background-color: var(--bg-dark-blue); border-left: 3px solid var(--accent-gold); padding: 1.5rem; border-radius: 8px; }

/*
 * == V8.0 - AI POWER PACK STYLES ==
 */

/* --- Homepage AI Upsell Section --- */
.ai-upsell-section .feature-card { background-color: var(--bg-dark-blue); padding: 2rem; border-radius: 8px; border-left: 3px solid var(--accent-gold); text-align: left; }
.ai-upsell-section .feature-card h3 { color: var(--accent-gold); margin-top: 0; }

/* --- Pricing Page & Tier Cards --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: stretch; }
.tier-card { background-color: var(--bg-light-blue); border: 1px solid var(--border-color); border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; }
.tier-card .pitch { flex-grow: 1; }
.tier-card.premium { border: 2px solid var(--accent-gold); }
.tier-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: var(--accent-gold); color: var(--bg-dark-blue); padding: 0.5rem 1.5rem; border-radius: 20px; font-weight: bold; font-size: 0.9rem; }
.tier-card .features-list ul { list-style: none; padding: 0; color: var(--text-muted); }
.tier-card .features-list li { margin-bottom: 0.8rem; }
.tier-card .features-list .premium-feature { color: var(--accent-green); font-weight: bold; }
.tier-card .features-list .disabled-feature { opacity: 0.5; text-decoration: line-through; }

/* --- Wizard AI Upsell Button (Served from Flask) --- */
.btn-ai-upsell { background-color: transparent !important; border: 1px dashed var(--accent-green) !important; color: var(--accent-green) !important; opacity: 0.8; }
.btn-ai-upsell:hover { opacity: 1; background-color: rgba(100, 255, 218, 0.1) !important; }

/* --- Admin User Management Badge --- */
.premium-user-badge { background-color: var(--accent-gold); color: var(--bg-dark-blue); padding: 3px 8px; border-radius: 10px; font-size: 0.8em; font-weight: bold; text-transform: uppercase; display: inline-block; }