/**
 * TP-ARMS Multi-Template Stylesheet
 * Contains distinct themes: Classic Prestige, Modern EdTech, Minimalist Nordic, Dynamic STEM, Warm Mentor
 */

/* ==========================================================================
   GLOBAL THEME PREVIEW BAR
   ========================================================================== */
.theme-preview-banner {
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: #ffffff;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   THEME 1: ACADEMIC PRESTIGE (Ivy & Oxford Scholarly)
   ========================================================================== */
.theme-classic {
    --classic-navy: #0f1d40;
    --classic-dark: #081026;
    --classic-gold: #b45309;
    --classic-gold-light: #fef3c7;
    --classic-border: #e2e8f0;
    background-color: #fbfbfa;
    color: #1e293b;
    font-family: 'Inter', system-ui, sans-serif;
}

.theme-classic .font-serif,
.theme-classic h1, 
.theme-classic h2, 
.theme-classic h3 {
    font-family: 'Merriweather', Georgia, serif;
    letter-spacing: -0.01em;
}

.theme-classic .classic-hero {
    background: radial-gradient(circle at top right, #1e293b 0%, #0f1d40 60%, #081026 100%);
    color: #ffffff;
    padding: 5.5rem 0 5rem;
    position: relative;
    border-bottom: 3px solid #d97706;
}

.theme-classic .classic-crest-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef3c7;
    border-radius: 4px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.theme-classic .classic-title {
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.22;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.theme-classic .classic-stats {
    background: #ffffff;
    border-top: 4px solid #0f1d40;
    box-shadow: 0 10px 25px -5px rgba(15, 29, 64, 0.08);
    border-radius: 0.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.theme-classic .classic-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f1d40;
    border-radius: 0.35rem;
    transition: all 0.2s ease;
    height: 100%;
}

.theme-classic .classic-card:hover {
    box-shadow: 0 12px 20px -4px rgba(15, 29, 64, 0.1);
    transform: translateY(-2px);
    border-left-color: #d97706;
}

/* ==========================================================================
   THEME 2: MODERN EDTECH (Masterclass & Sleek Dark Glow)
   ========================================================================== */
.theme-modern {
    --modern-bg: #090d16;
    --modern-surface: #111827;
    --modern-card: rgba(17, 24, 39, 0.75);
    --modern-violet: #8b5cf6;
    --modern-cyan: #06b6d4;
    background-color: var(--modern-bg);
    color: #e2e8f0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.theme-modern h1, 
.theme-modern h2, 
.theme-modern h3, 
.theme-modern h4, 
.theme-modern h5 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.theme-modern .modern-hero {
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.22) 0%, rgba(6, 182, 212, 0.15) 30%, #090d16 70%);
    padding: 6rem 0 5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.theme-modern .modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c4b5fd;
    padding: 0.4rem 1.1rem;
    border-radius: 50rem;
    font-size: 0.825rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.theme-modern .modern-title {
    font-size: 3.1rem;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-modern .modern-glass-card {
    background: var(--modern-card);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #e2e8f0;
}

.theme-modern .modern-glass-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 15px 30px -10px rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
}

.theme-modern .modern-stats {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   THEME 3: MINIMALIST NORDIC SCHOLAR (Swiss Design & High Contrast)
   ========================================================================== */
.theme-minimal {
    --minimal-canvas: #fafafa;
    --minimal-dark: #09090b;
    --minimal-muted: #71717a;
    --minimal-border: #e4e4e7;
    background-color: var(--minimal-canvas);
    color: #18181b;
    font-family: 'Inter', system-ui, sans-serif;
}

.theme-minimal h1, 
.theme-minimal h2, 
.theme-minimal h3 {
    font-weight: 900;
    color: var(--minimal-dark);
    letter-spacing: -0.04em;
}

.theme-minimal .minimal-hero {
    background-color: #ffffff;
    border-bottom: 2px solid var(--minimal-dark);
    padding: 5rem 0 4.5rem;
}

.theme-minimal .minimal-badge {
    display: inline-block;
    background: var(--minimal-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
}

.theme-minimal .minimal-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--minimal-dark);
}

.theme-minimal .minimal-card {
    background: #ffffff;
    border: 1.5px solid var(--minimal-dark);
    border-radius: 4px;
    box-shadow: 4px 4px 0px var(--minimal-dark);
    transition: all 0.2s ease;
    height: 100%;
}

.theme-minimal .minimal-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--minimal-dark);
}

.theme-minimal .minimal-stats {
    background: #ffffff;
    border: 2px solid var(--minimal-dark);
    box-shadow: 6px 6px 0px var(--minimal-dark);
    border-radius: 4px;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   THEME 4: DYNAMIC STEM ACADEMY (Interactive Science & Math)
   ========================================================================== */
.theme-stem {
    --stem-blue: #1d4ed8;
    --stem-cyan: #0284c7;
    --stem-emerald: #059669;
    --stem-bg: #f8fafc;
    background-color: var(--stem-bg);
    color: #1e293b;
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

.theme-stem h1, 
.theme-stem h2, 
.theme-stem h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.theme-stem .stem-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), 
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
    background-size: 24px 24px, 100% 100%;
    color: #ffffff;
    padding: 5.5rem 0 4.5rem;
    position: relative;
}

.theme-stem .stem-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.theme-stem .stem-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.theme-stem .stem-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #2563eb;
    border-radius: 0.85rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    height: 100%;
}

.theme-stem .stem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.15);
    border-top-color: #059669;
}

.theme-stem .stem-stats {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
    border: 1px solid #cbd5e1;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   THEME 5: WARM EDITORIAL MENTOR (Humanist Tutor & Author)
   ========================================================================== */
.theme-warm {
    --warm-canvas: #fcf8f2;
    --warm-surface: #ffffff;
    --warm-terracotta: #c2410c;
    --warm-forest: #15803d;
    --warm-text: #292524;
    background-color: var(--warm-canvas);
    color: var(--warm-text);
    font-family: 'Inter', system-ui, sans-serif;
}

.theme-warm .font-editorial,
.theme-warm h1, 
.theme-warm h2, 
.theme-warm h3 {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
}

.theme-warm .warm-hero {
    background: linear-gradient(135deg, #292524 0%, #44403c 60%, #57534e 100%);
    color: #fcf8f2;
    padding: 5.5rem 0 4.5rem;
    border-bottom: 4px solid #c2410c;
}

.theme-warm .warm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(194, 65, 12, 0.2);
    border: 1px solid rgba(194, 65, 12, 0.4);
    color: #fed7aa;
    padding: 0.4rem 1.1rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.theme-warm .warm-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.theme-warm .warm-card {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px rgba(41, 37, 36, 0.04);
    transition: all 0.25s ease;
    height: 100%;
}

.theme-warm .warm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -6px rgba(194, 65, 12, 0.12);
    border-color: #fdba74;
}

.theme-warm .warm-stats {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e7e5e4;
    box-shadow: 0 10px 25px -5px rgba(41, 37, 36, 0.06);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.theme-warm .warm-quote-card {
    background: #fdfbf7;
    border: 1px solid #f3ece2;
    border-left: 5px solid #c2410c;
    border-radius: 0.75rem;
    padding: 1.75rem;
}
