/*
Theme Name: کاظمی آفرینش | Kazemi Afarinesh
Theme URI: http://lenzoto.ir
Author: مجموعه لنزوتو | Lenzoto
Author URI: http://lenzoto.ir
Description: پوسته اختصاصی فوق‌سریع، با دیزاین سیستم سه‌بعدی سلطنتی، ضدترافیک و استاندارد سئو برای وب‌سایت رسمی استاد محمدرضا کاظمی.
Version: 2.0.0
Text Domain: kazemi-afarinesh
*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Brand Colors */
    --brand-bg: #0e0013;
    --brand-bg-deep: #07000a;
    --brand-dark: #16001f;
    --brand-card: rgba(36, 4, 52, 0.65);
    --brand-card-border: rgba(255, 185, 97, 0.22);
    --brand-gold: #FFB961;
    --brand-gold-dark: #D48C2E;
    --brand-emerald: #13C89C;
    --brand-cyan: #00D2D3;
    --brand-red: #EA5455;
    --brand-purple: #A855F7;
    --brand-purple-dark: #6B21A8;
    --text-light: #F8F9FA;
    --text-muted: #D5C3DC;
    --font-vazir: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1220px;

    /* Apple Liquid Glass Material Tokens */
    --liquid-glass-bg: rgba(32, 2, 46, 0.62);
    --liquid-glass-bg-subtle: rgba(22, 1, 32, 0.55);
    --liquid-glass-bg-elevated: rgba(46, 4, 66, 0.75);
    --liquid-glass-card: rgba(38, 4, 56, 0.68);
    --liquid-glass-pill: rgba(255, 255, 255, 0.08);

    /* Optical Blur & Saturation (Apple VisionOS / Liquid standard) */
    --liquid-blur-sm: blur(14px) saturate(175%) contrast(104%);
    --liquid-blur-md: blur(24px) saturate(190%) contrast(106%);
    --liquid-blur-lg: blur(36px) saturate(210%) contrast(108%);

    /* Specular Inset Highlights & Bevel Sheen */
    --specular-sheen: inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.26), inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.4);
    --specular-sheen-strong: inset 0 2px 2px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 2px 0 rgba(0, 0, 0, 0.5);
    --specular-sheen-pill: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);

    /* Liquid Glass Borders */
    --liquid-border: 1px solid rgba(255, 255, 255, 0.14);
    --liquid-border-gold: 1px solid rgba(255, 185, 97, 0.28);
    --liquid-border-emerald: 1px solid rgba(19, 200, 156, 0.32);
    --liquid-border-hover: 1px solid rgba(255, 185, 97, 0.55);

    /* Apple Squircle Radii */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 9999px;

    /* Liquid Spring Curves */
    --ease-liquid: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-fluid-morph: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    /* Ambient Glows */
    --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    --shadow-glow-gold: 0 0 32px rgba(255, 185, 97, 0.35);
    --shadow-glow-emerald: 0 0 32px rgba(19, 200, 156, 0.35);
    --shadow-glow-purple: 0 0 35px rgba(168, 85, 247, 0.35);
}


/* Reset & Base RTL */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    text-align: right;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-vazir);
    background-color: var(--brand-bg);
    background-image: 
        radial-gradient(ellipse 70% 45% at 15% 10%, rgba(168, 85, 247, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 60% 55% at 85% 30%, rgba(255, 185, 97, 0.11) 0%, transparent 50%),
        radial-gradient(circle 600px at 50% 65%, rgba(19, 200, 156, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 75% 85%, rgba(168, 85, 247, 0.14) 0%, transparent 55%),
        linear-gradient(180deg, #0e0013 0%, #180022 40%, #110018 75%, #07000a 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.85;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* BiDi Management */
.ltr-text, [dir="ltr"] {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block;
    text-align: left;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 2, 30, 0.60);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 -1px 1px rgba(255, 185, 97, 0.15), 0 10px 35px rgba(0, 0, 0, 0.45);
    padding: 12px 0;
    transition: padding 0.35s var(--ease-liquid), background 0.35s var(--ease-liquid), box-shadow 0.35s var(--ease-liquid), border-color 0.35s var(--ease-liquid);
}

.site-header.header-scrolled {
    padding: 8px 0;
    background: rgba(14, 1, 22, 0.82);
    backdrop-filter: var(--liquid-blur-lg);
    -webkit-backdrop-filter: var(--liquid-blur-lg);
    border-bottom: 1px solid rgba(255, 185, 97, 0.32);
    box-shadow: inset 0 -1px 2px rgba(255, 185, 97, 0.25), 0 18px 45px rgba(0, 0, 0, 0.65);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo img, .brand-logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 185, 97, 0.55);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 4px 20px rgba(255, 185, 97, 0.35);
    object-fit: cover;
    background: #250030;
    transition: transform 0.3s var(--ease-liquid), box-shadow 0.3s var(--ease-liquid);
    flex-shrink: 0;
}

.header-scrolled .brand-logo-img {
    height: 44px;
    width: 44px;
}

.site-logo:hover img {
    transform: scale(1.06);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45), 0 8px 28px rgba(255, 185, 97, 0.55);
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.site-logo-title {
    font-size: 1.18rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.25;
    white-space: nowrap;
}

.site-logo-subtitle {
    font-size: 0.74rem;
    color: var(--brand-gold);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.site-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-menu li {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu a {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    transition: color 0.25s var(--ease-liquid), background 0.25s var(--ease-liquid);
    white-space: nowrap;
    display: block;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-emerald));
    transition: width 0.3s var(--ease-liquid);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Header App Button - Liquid Pill */
.btn-header-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: 1.5px solid rgba(255, 185, 97, 0.45);
    box-shadow: var(--specular-sheen-pill);
    color: var(--brand-gold) !important;
    font-family: var(--font-vazir);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-header-app:hover {
    background: rgba(255, 185, 97, 0.16);
    border-color: var(--brand-gold);
    box-shadow: var(--specular-sheen-pill), 0 0 24px rgba(255, 185, 97, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--brand-gold);
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(10, 0, 15, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    z-index: 999;
    background: linear-gradient(180deg, #1a0024 0%, #0f0018 100%);
    border-left: 1px solid rgba(255, 185, 97, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    padding: 0 0 30px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-drawer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 185, 97, 0.45);
}

.mobile-drawer-brand span {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-close-btn:hover {
    background: var(--brand-red);
}

.mobile-nav-list {
    list-style: none;
    padding: 0 16px;
    flex: 1;
}

.mobile-nav-list li a {
    display: block;
    padding: 13px 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
    letter-spacing: 0.2px;
}

.mobile-nav-list li a:hover {
    background: rgba(255, 185, 97, 0.1);
    color: var(--brand-gold);
}

.mobile-app-btn {
    margin: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-emerald) 0%, #009F7B 100%);
    color: #fff !important;
    font-family: var(--font-vazir);
    font-size: 0.96rem;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow-glow-emerald);
    transition: var(--transition-smooth);
}

.mobile-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(19, 200, 156, 0.5);
}


.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-emerald) 0%, #009F7B 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.96rem;
    padding: 12px 26px;
    border-radius: 35px;
    box-shadow: var(--shadow-glow-emerald);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(19, 200, 156, 0.55);
}

.btn-gold {
    background: linear-gradient(135deg, #FFC77D 0%, #E29B35 100%);
    color: #1a0022 !important;
    box-shadow: var(--shadow-glow-gold);
}

.btn-gold:hover {
    box-shadow: 0 8px 32px rgba(255, 185, 97, 0.6);
}

.btn-primary-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--brand-gold);
    box-shadow: 0 8px 25px rgba(255, 185, 97, 0.35);
}

/* HERO SECTION with Cosmic Canvas & 3D Portal */
.hero-section {
    padding: 70px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 185, 97, 0.12);
    border: 1px solid rgba(255, 185, 97, 0.35);
    color: var(--brand-gold);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(255, 185, 97, 0.15);
}

.badge-icon {
    font-size: 1.1rem;
    animation: spinSlow 12s linear infinite;
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.36;
    margin-bottom: 22px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span.highlight {
    background: linear-gradient(135deg, #FFC77D 0%, #FF9640 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(255, 185, 97, 0.4));
}

.hero-desc {
    font-size: 1.12rem;
    line-height: 1.95;
    color: var(--text-muted);
    margin-bottom: 34px;
    max-width: 95%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* 3D Sacred Portal & Portrait Wrapper */
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sacred-portal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
}

.sacred-ring, .ring-outer, .ring-inner {
    display: none !important;
}

.portal-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(255, 185, 97, 0.15) 45%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.master-portrait-card {
    position: relative;
    z-index: 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--specular-sheen-strong), 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 45px rgba(168, 85, 247, 0.3);
    border: 1.5px solid rgba(255, 185, 97, 0.45);
    background: var(--liquid-glass-bg);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
}

.master-portrait-card img.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 490px;
    object-fit: cover;
    border-radius: 24px;
}

/* Static Accolade Badges */
.floating-badge {
    position: absolute;
    z-index: 10;
    background: var(--liquid-glass-bg-elevated);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: var(--liquid-border-gold);
    box-shadow: var(--specular-sheen), 0 14px 35px rgba(0, 0, 0, 0.65);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}
.floating-badge:hover {
    border-color: var(--brand-gold);
    box-shadow: var(--specular-sheen-strong), 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 185, 97, 0.35);
    transform: translateY(-3px);
}

.badge-kundalini {
    top: 25px;
    right: -20px;
}

.badge-science {
    bottom: 30px;
    left: -20px;
}

.badge-emoji {
    font-size: 1.45rem;
    line-height: 1;
}

.badge-texts {
    display: flex;
    flex-direction: column;
}

.badge-main {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.badge-sub {
    font-size: 0.72rem;
    color: var(--brand-gold);
    font-weight: 600;
    white-space: nowrap;
}


@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Calm & Stable Cards */
.card-3d {
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}


/* Authority Badges Bar */
.authority-bar {
    background: var(--liquid-glass-bg-subtle);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 34px 0;
    position: relative;
    z-index: 5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.authority-item {
    background: var(--liquid-glass-card);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-shadow: var(--specular-sheen), 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
}

.authority-item:hover {
    border-color: var(--brand-emerald);
    box-shadow: 0 12px 30px rgba(19, 200, 156, 0.25);
}

.authority-item .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(19, 200, 156, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.authority-item .icon-check {
    color: var(--brand-emerald);
    font-size: 1.2rem;
    font-weight: 900;
}

.authority-item .title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
}

.authority-item .sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections Common */
.section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.section-subtitle {
    color: var(--brand-emerald);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Course Cards with 3D Elevation & Specular Reflection */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.course-card {
    background: linear-gradient(165deg, rgba(38, 4, 56, 0.72) 0%, rgba(20, 1, 30, 0.78) 100%);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--specular-sheen), 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: border-color 0.35s var(--ease-liquid), box-shadow 0.35s var(--ease-liquid), transform 0.35s var(--ease-liquid);
    padding: 0;
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-gold), var(--brand-emerald));
}

.course-card:hover {
    border-color: rgba(255, 185, 97, 0.55);
    box-shadow: var(--specular-sheen-strong), 0 26px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 185, 97, 0.22);
    transform: translateY(-5px);
}

.course-badge {
    align-self: flex-start;
    background: rgba(255, 185, 97, 0.15);
    color: var(--brand-gold);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 185, 97, 0.25);
}

.course-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.5;
}

.course-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.8;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    margin-top: auto;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.price-val {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-emerald);
}

/* Chakra Quiz Widget Card (Glassmorphism & 3D) */
.quiz-widget-card {
    background: linear-gradient(145deg, rgba(38, 4, 56, 0.72) 0%, rgba(22, 1, 34, 0.80) 100%);
    backdrop-filter: var(--liquid-blur-lg);
    -webkit-backdrop-filter: var(--liquid-blur-lg);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: var(--specular-sheen-strong), 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(19, 200, 156, 0.18);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quiz-progress-bar {
    width: 100%;
    height: 9px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-emerald), var(--brand-gold));
    width: 14%;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(19, 200, 156, 0.5);
}

.quiz-question-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 26px;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-opt-btn {
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    color: var(--text-light);
    font-family: var(--font-vazir);
    font-size: 0.98rem;
    text-align: right;
    cursor: pointer;
    box-shadow: var(--specular-sheen-pill);
    transition: var(--transition-smooth);
}

.quiz-opt-btn:hover {
    background: rgba(19, 200, 156, 0.18);
    border-color: var(--brand-emerald);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(19, 200, 156, 0.25);
}

/* Lead Capture Form in Quiz */
.quiz-lead-form {
    display: none;
    text-align: center;
    padding: 25px 0;
}

.quiz-lead-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quiz-input-group {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 28px auto 16px;
}

.quiz-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 185, 97, 0.45);
    border-radius: 35px;
    padding: 14px 22px;
    color: #fff;
    font-family: var(--font-vazir);
    font-size: 1.05rem;
    text-align: center;
    direction: ltr;
    outline: none;
    transition: all 0.25s ease;
}

.quiz-input:focus {
    border-color: var(--brand-emerald);
    box-shadow: 0 0 20px rgba(19, 200, 156, 0.4);
    background: rgba(255, 255, 255, 0.14);
}

/* Quiz Result View */
.quiz-result-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-result-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sticky App Bar Removed */
.sticky-app-bar {
    display: none !important;
}


/* Footer */
.site-footer {
    background: #0d0012;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 70px 0 35px;
    margin-top: 90px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--brand-gold);
    font-weight: 800;
    margin-bottom: 22px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.95;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--brand-emerald);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    color: #888;
}

/* RESPONSIVE & MOBILE ERGONOMICS (Instagram In-App Browser Ready) */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-badge {
        margin: 0 auto 20px;
    }
    .hero-desc {
        margin: 0 auto 30px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .sacred-portal {
        max-width: 380px;
    }
    .ring-outer {
        width: 390px;
        height: 390px;
    }
    .ring-inner {
        width: 340px;
        height: 340px;
    }
    .portal-glow {
        width: 300px;
        height: 300px;
    }
    .floating-badge {
        padding: 8px 12px;
    }
    .badge-kundalini {
        top: 10px;
        right: -10px;
    }
    .badge-science {
        bottom: 15px;
        left: -10px;
    }
    .authority-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .nav-menu {
        display: none;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }
    .hero-section {
        padding: 40px 0 60px;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.4;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn-cta {
        width: 100%;
    }
    .sacred-portal {
        max-width: 300px;
    }
    .ring-outer {
        width: 310px;
        height: 310px;
    }
    .ring-inner {
        width: 270px;
        height: 270px;
    }
    .portal-glow {
        width: 240px;
        height: 240px;
    }
    .floating-badge {
        position: static;
        margin: 10px auto;
        justify-content: center;
        width: 90%;
        animation: none;
    }
    .authority-grid {
        grid-template-columns: 1fr;
    }
    .quiz-widget-card {
        padding: 24px 18px;
    }
    .quiz-input-group {
        flex-direction: column;
    }
    .quiz-input {
        width: 100%;
    }
    .sticky-app-bar {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    .sticky-app-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ====================================================
   PAGES: ABOUT & CV (درباره استاد و مدارک رسمی)
   ==================================================== */
.about-hero-section {
    padding: 40px 0 60px;
    position: relative;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-breadcrumb a:hover {
    color: var(--brand-gold);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.35;
    margin: 18px 0;
}

.about-hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 30px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: rgba(36, 4, 48, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brand-gold);
    line-height: 1.2;
    direction: ltr;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Certificates Grid */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--liquid-glass-card);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--specular-sheen), var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-liquid), border-color 0.3s var(--ease-liquid);
}

.cert-card:hover {
    border-color: var(--brand-emerald);
}

.cert-img-wrap {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #0d0012;
}

.cert-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cert-img-wrap:hover img {
    transform: scale(1.04);
}

.cert-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 0, 26, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cert-img-wrap:hover .cert-zoom-overlay {
    opacity: 1;
}

.cert-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.cert-tag {
    align-self: flex-start;
    background: rgba(19, 200, 156, 0.15);
    color: var(--brand-emerald);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
}

.cert-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.story-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.95;
    margin-bottom: 20px;
}

.quote-box {
    background: rgba(255, 185, 97, 0.08);
    border-right: 4px solid var(--brand-gold);
    border-radius: 8px;
    padding: 18px 24px;
    color: var(--brand-gold);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-top: 25px;
}

.story-highlights {
    background: var(--brand-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    border-right: 2px solid var(--brand-emerald);
    padding-right: 18px;
    position: relative;
}

.tl-year {
    font-size: 0.85rem;
    color: var(--brand-emerald);
    font-weight: 800;
    margin-bottom: 4px;
}

.tl-content strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.tl-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--brand-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.value-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 14px;
}

.value-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* Lightbox Modal */
.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 0, 15, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    background: #190022;
    border: 2px solid var(--brand-gold);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 850px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.cert-modal-content img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cert-modal-content h4 {
    color: var(--brand-gold);
    font-size: 1.2rem;
    font-weight: 800;
}

.cert-modal-close {
    position: absolute;
    top: 12px;
    left: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.cert-modal-close:hover {
    background: var(--brand-red);
}

/* ====================================================
   PAGES: RESULTS & TESTIMONIALS (نتایج و رضایت دانشجویان)
   ==================================================== */
.results-hero-section {
    padding: 40px 0 30px;
}

.results-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 16px 0;
}

.results-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: var(--font-vazir);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #D48C2E 100%);
    color: #1a0022;
    border-color: var(--brand-gold);
    box-shadow: 0 4px 18px rgba(255, 185, 97, 0.35);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.result-card {
    background: var(--liquid-glass-card);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--specular-sheen), var(--shadow-card);
    transition: transform 0.3s var(--ease-liquid), border-color 0.3s var(--ease-liquid);
}

.result-card:hover {
    border-color: var(--brand-emerald);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.result-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.result-author {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.result-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

.result-stars {
    margin-right: auto;
    color: var(--brand-gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.result-badge-course {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.result-body p {
    font-size: 0.94rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 18px;
}

.result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .about-hero-grid, .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-hero-title {
        font-size: 2rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================
   PAGES: SINGLE COURSE LANDING (لندینگ‌های اختصاصی دوره‌ها)
   ==================================================== */
.course-hero-section {
    padding: 40px 0 30px;
}

.course-hero-card {
    background: linear-gradient(135deg, rgba(42, 4, 62, 0.72) 0%, rgba(22, 1, 34, 0.80) 100%);
    backdrop-filter: var(--liquid-blur-lg);
    -webkit-backdrop-filter: var(--liquid-blur-lg);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--specular-sheen-strong), 0 25px 60px rgba(0, 0, 0, 0.65);
    margin-top: 15px;
}

.course-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 16px 0 12px;
    line-height: 1.35;
}

.course-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 28px;
    max-width: 900px;
}

.course-meta-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.meta-val {
    font-size: 0.96rem;
    font-weight: 800;
    color: #fff;
}

.course-price-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.p-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.p-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brand-emerald);
}

/* Pain points grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.pain-item {
    background: var(--liquid-glass-card);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--specular-sheen), var(--shadow-card);
}

.pain-check {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.pain-item p {
    font-size: 0.96rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

/* Syllabus List */
.syllabus-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.syllabus-item {
    background: var(--liquid-glass-card);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--specular-sheen), var(--shadow-card);
    transition: all 0.25s var(--ease-liquid);
}

.syllabus-item:hover {
    border-color: var(--brand-gold);
    transform: translateX(-6px);
}

.syll-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 185, 97, 0.15);
    border: 1px solid rgba(255, 185, 97, 0.4);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.syll-text {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
}

/* Gifts Grid */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gift-card {
    background: linear-gradient(135deg, rgba(40, 2, 54, 0.8) 0%, rgba(65, 3, 88, 0.8) 100%);
    border: 2px dashed rgba(255, 185, 97, 0.5);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.gift-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
}

.gift-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-gold);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-card {
    background: var(--brand-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.faq-q {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-gold);
    margin-bottom: 10px;
    line-height: 1.5;
}

.faq-a {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin: 0;
}

@media (max-width: 768px) {
    .course-hero-card {
        padding: 26px 20px;
    }
    .course-hero-title {
        font-size: 1.85rem;
    }
    .course-price-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .course-price-banner .btn-cta {
        width: 100%;
    }
}

/* ====================================================
   PAGES: SINGLE BLOG POST (مقالات تخصصی سئو)
   ==================================================== */
.single-post-wrap {
    padding: 40px 0 60px;
}

.article-container {
    max-width: 1200px;
}

.entry-header {
    margin-bottom: 35px;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.38;
    margin: 16px 0 12px;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.article-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

.entry-content {
    background: var(--brand-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

/* Table of Contents */
.article-toc {
    background: rgba(255, 185, 97, 0.06);
    border: 1px solid rgba(255, 185, 97, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 35px;
}

.toc-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-gold);
    margin-bottom: 14px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-list a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.toc-list a:hover {
    color: var(--brand-emerald);
}

/* Article Body */
.article-body-text h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin: 35px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 22px;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 185, 97, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 45px;
}

.author-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-gold);
    flex-shrink: 0;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.8rem;
    color: var(--brand-emerald);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.author-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--brand-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.widget-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.widget-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.sidebar-course-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-course-list li a {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.sidebar-course-list li a:hover {
    border-color: var(--brand-gold);
    background: rgba(255, 185, 97, 0.08);
}

.sidebar-course-list strong {
    display: block;
    font-size: 0.92rem;
    color: #fff;
}

.sidebar-course-list span {
    font-size: 0.78rem;
    color: var(--brand-emerald);
}

@media (max-width: 992px) {
    .article-layout-grid {
        grid-template-columns: 1fr;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================
   GIFT METAPHYSICAL AUDIO PLAYER & PREVIEW LIMIT MODAL
   ========================================================== */
.gift-audio-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.gift-audio-card {
    background: linear-gradient(135deg, rgba(38, 4, 56, 0.68) 0%, rgba(20, 1, 30, 0.76) 100%);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--specular-sheen-strong), 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(168, 85, 247, 0.15);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.audio-info-col h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin: 12px 0;
    line-height: 1.4;
}

.audio-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(19, 200, 156, 0.15);
    border: 1px solid rgba(19, 200, 156, 0.3);
    border-radius: 30px;
    color: var(--brand-emerald);
    font-size: 0.85rem;
    font-weight: 700;
}

.audio-desc {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.audio-features-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.audio-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ddd;
}

/* Audio Player Box */
.audio-player-box {
    background: rgba(14, 1, 22, 0.55);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border);
    box-shadow: var(--specular-sheen);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waveform-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 48px;
    gap: 3px;
    padding: 0 4px;
}

.waveform-bar {
    flex: 1;
    background: rgba(255, 185, 97, 0.3);
    border-radius: 3px;
    height: 15%;
    transition: height 0.15s ease, background 0.3s ease;
}

.waveform-container.playing .waveform-bar {
    background: linear-gradient(to top, var(--brand-emerald), var(--brand-gold));
    animation: wavePulse 1s ease-in-out infinite alternate;
}

@keyframes wavePulse {
    0% { height: 15%; }
    50% { height: 85%; }
    100% { height: 35%; }
}

.waveform-container.playing .waveform-bar:nth-child(2n) { animation-delay: 0.15s; }
.waveform-container.playing .waveform-bar:nth-child(3n) { animation-delay: 0.3s; }
.waveform-container.playing .waveform-bar:nth-child(4n) { animation-delay: 0.45s; }
.waveform-container.playing .waveform-bar:nth-child(5n) { animation-delay: 0.6s; }

.player-controls-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-pause-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-gold) 0%, #ff8a00 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a0022;
    box-shadow: 0 6px 20px rgba(255, 185, 97, 0.4);
    transition: all 0.3s ease;
}

.play-pause-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 185, 97, 0.6);
}

.play-pause-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.player-progress-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-emerald));
    border-radius: 4px;
    transition: width 0.1s linear;
}

.player-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.audio-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    gap: 12px;
}

.limit-badge {
    font-size: 0.78rem;
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-unlock-full {
    background: rgba(255, 185, 97, 0.12);
    border: 1px solid rgba(255, 185, 97, 0.35);
    color: var(--brand-gold);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-unlock-full:hover {
    background: var(--brand-gold);
    color: #1a0022;
}

/* Audio Modal Popup */
.audio-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 15, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.audio-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.audio-modal-box {
    background: linear-gradient(135deg, #240030 0%, #15001d 100%);
    border: 1px solid rgba(255, 185, 97, 0.4);
    border-radius: 24px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audio-modal-backdrop.active .audio-modal-box {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(234, 84, 85, 0.2);
    color: var(--brand-coral);
}

.modal-glow-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 185, 97, 0.15);
    border: 1px solid rgba(255, 185, 97, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-gold);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(255, 185, 97, 0.4); }
    70% { box-shadow: 0 0 0 16px rgba(255, 185, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 185, 97, 0); }
}

.audio-modal-box h4 {
    font-size: 1.45rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.audio-modal-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 26px;
}

@media (max-width: 768px) {
    .gift-audio-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 28px;
    }
    .audio-action-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .btn-unlock-full {
        text-align: center;
    }
}

/* ==========================================================
   ENRICHED HIGH-CONVERTING COURSE LANDING COMPONENTS
   ========================================================== */
.course-hero-banner-wrap {
    margin-top: 32px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 185, 97, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.course-hero-banner-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

/* Quick Metrics Row */
.course-stats-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 18px;
    font-size: 0.88rem;
    color: #f1f1f1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-pill strong {
    color: var(--brand-gold);
}

/* Transformation Bridge (Before vs After) */
.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.trans-card {
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(12px);
}

.trans-card.before {
    background: linear-gradient(135deg, rgba(40, 10, 20, 0.6) 0%, rgba(25, 5, 15, 0.8) 100%);
    border: 1px solid rgba(234, 84, 85, 0.35);
}

.trans-card.after {
    background: linear-gradient(135deg, rgba(10, 40, 30, 0.6) 0%, rgba(5, 25, 20, 0.8) 100%);
    border: 1px solid rgba(19, 200, 156, 0.4);
    box-shadow: 0 15px 40px rgba(19, 200, 156, 0.15);
}

.trans-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trans-card.before .trans-title { color: var(--brand-coral); }
.trans-card.after .trans-title { color: var(--brand-emerald); }

.trans-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trans-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96rem;
    line-height: 1.7;
}

.trans-card.before .trans-list li { color: #d1b4b4; }
.trans-card.after .trans-list li { color: #f5f5f5; }

.trans-icon-cross {
    color: var(--brand-coral);
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1.7;
}

.trans-icon-check {
    color: var(--brand-emerald);
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1.7;
}

/* Audience Filter Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.audience-box {
    background: rgba(22, 0, 30, 0.7);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audience-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Detailed Syllabi Modules Grid */
.detailed-syllabi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.module-card {
    background: rgba(26, 0, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.25s ease;
}

.module-card:hover {
    border-color: var(--brand-gold);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.module-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(255, 185, 97, 0.15);
    border: 1px solid rgba(255, 185, 97, 0.35);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.module-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
}

.module-desc {
    font-size: 0.91rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.module-outcome {
    background: rgba(19, 200, 156, 0.1);
    border: 1px solid rgba(19, 200, 156, 0.25);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: var(--brand-emerald);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

/* Bonus Stack Cards with Price Value */
.bonus-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.bonus-card {
    background: linear-gradient(135deg, rgba(38, 0, 48, 0.9) 0%, rgba(20, 0, 26, 0.9) 100%);
    border: 1.5px solid rgba(255, 185, 97, 0.4);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.bonus-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 185, 97, 0.18);
    border: 1px solid rgba(255, 185, 97, 0.5);
    color: var(--brand-gold);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
}

.bonus-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.bonus-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.bonus-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.bonus-value-tag {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--brand-emerald);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

/* Instructor Authority Card */
.instructor-spotlight-card {
    background: linear-gradient(135deg, #22002e 0%, #15001c 100%);
    border: 1px solid rgba(255, 185, 97, 0.35);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.instructor-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 185, 97, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.instructor-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.instructor-info h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.instructor-title-sub {
    color: var(--brand-gold);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.instructor-bio-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.instructor-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inst-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #e0e0e0;
}

@media (max-width: 900px) {
    .instructor-spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px;
    }
    .instructor-img-wrap {
        max-width: 200px;
        margin: 0 auto;
    }
    .instructor-badges-row {
        justify-content: center;
    }
}

/* ==========================================================================
   WHITE MAGIC COURSE VIP GIFT SECTION (جادوی سفید)
   ========================================================================== */
.white-magic-section {
    padding: 70px 0;
    position: relative;
}

.white-magic-card {
    background: linear-gradient(135deg, rgba(50, 4, 70, 0.68) 0%, rgba(20, 1, 30, 0.78) 100%);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--specular-sheen-strong), 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 45px rgba(255, 185, 97, 0.18);
    backdrop-filter: var(--liquid-blur-lg);
    -webkit-backdrop-filter: var(--liquid-blur-lg);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.white-magic-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.wm-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wm-badge-vip {
    background: linear-gradient(135deg, rgba(255, 185, 97, 0.25) 0%, rgba(255, 185, 97, 0.08) 100%);
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wm-badge-free {
    background: rgba(19, 200, 156, 0.2);
    border: 1px solid var(--brand-emerald);
    color: var(--brand-emerald);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
}

.wm-title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 16px;
}

.wm-title .highlight {
    background: linear-gradient(135deg, #ffffff 0%, #FFC77D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 200, 125, 0.4);
}

.wm-desc {
    color: #e2d3ec;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

.wm-keys-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.wm-key-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.3s ease;
}

.wm-key-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 185, 97, 0.3);
    transform: translateY(-2px);
}

.wm-key-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.wm-key-text {
    font-size: 0.86rem;
    color: #f0f0f0;
    line-height: 1.6;
}

.wm-key-text strong {
    color: var(--brand-gold);
    display: block;
    margin-bottom: 2px;
}

.wm-price-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 185, 97, 0.35);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.wm-price-old {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.wm-price-old del {
    color: #ff7675;
    font-weight: 800;
    font-size: 1.1rem;
    margin-right: 6px;
}

.wm-price-now {
    font-size: 0.95rem;
    color: #ffffff;
}

.wm-price-now span {
    color: var(--brand-emerald);
    font-weight: 900;
    font-size: 1.35rem;
    margin-right: 6px;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 40px;
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.btn-telegram:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.65);
}

.btn-telegram svg {
    flex-shrink: 0;
}

.wm-image-col {
    position: relative;
}

.wm-banner-wrap {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 185, 97, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 185, 97, 0.2);
}

.wm-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.wm-banner-wrap:hover img {
    transform: scale(1.03);
}

.wm-image-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(18, 0, 24, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--brand-gold);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 992px) {
    .white-magic-card {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        gap: 30px;
    }
    .wm-keys-grid {
        grid-template-columns: 1fr;
    }
    .wm-title {
        font-size: 1.6rem;
    }
    .btn-telegram {
        width: 100%;
    }
}

/* ==========================================================================
   VIP GIFT COUNTDOWN TIMER WIDGET
   ========================================================================== */
.wm-timer-box {
    background: var(--liquid-glass-bg-subtle);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 24px;
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    box-shadow: var(--specular-sheen-pill), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.wm-timer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.wm-timer-pulse {
    width: 10px;
    height: 10px;
    background-color: #ff5252;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ff5252;
    animation: wmPulse 1.5s infinite ease-in-out;
}

@keyframes wmPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px #ff5252; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.wm-timer-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.wm-timer-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    direction: ltr; /* Keeps [Days] : [Hours] : [Mins] : [Secs] left-to-right standard order */
}

.wm-timer-unit {
    background: var(--liquid-glass-pill);
    border: 1px solid rgba(255, 185, 97, 0.38);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-width: 68px;
    text-align: center;
    box-shadow: var(--specular-sheen-pill), 0 6px 18px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.wm-timer-val {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.wm-timer-unit-sec .wm-timer-val {
    color: var(--brand-emerald);
    text-shadow: 0 0 12px rgba(19, 200, 156, 0.5);
}

.wm-timer-lbl {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.72rem;
    color: #bfa8cb;
    font-weight: 600;
    margin-top: 4px;
}

.wm-timer-divider {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-gold);
    line-height: 1;
    margin-bottom: 12px;
    animation: wmBlink 1s infinite;
}

@keyframes wmBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 600px) {
    .wm-timer-grid {
        gap: 6px;
    }
    .wm-timer-unit {
        min-width: 52px;
        padding: 8px 6px;
    }
    .wm-timer-val {
        font-size: 1.35rem;
    }
    .wm-timer-divider {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
}


/* ====================================================
   UI IMPROVEMENTS v2.1 — COMPREHENSIVE REFRESH
   ==================================================== */

/* ── Scroll-Reveal Animation System ── */
[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.32s; }
[data-animate][data-delay="4"] { transition-delay: 0.46s; }

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero Stats Row ── */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 32px;
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: var(--liquid-border-gold);
    box-shadow: var(--specular-sheen-pill), 0 10px 30px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
    padding: 16px 24px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 4px;
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brand-gold);
    line-height: 1.1;
}

.hero-stat-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* ── Section Header Decoration ── */
.section-subtitle {
    color: var(--brand-emerald);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-emerald), transparent);
    border-radius: 2px;
}

.section-subtitle::before {
    background: linear-gradient(90deg, transparent, var(--brand-emerald));
}

/* ── Course Card with Thumbnail ── */
.course-card {
    background: var(--brand-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    padding: 0;
}

.course-card:hover {
    border-color: rgba(255, 185, 97, 0.45);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 185, 97, 0.18);
    transform: translateY(-4px);
}

.course-card-thumb {
    position: relative;
    height: 185px;
    overflow: hidden;
    background: #1a0022;
}

.course-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card-thumb img {
    transform: scale(1.06);
}

.course-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(255, 185, 97, 0.9), rgba(212, 140, 46, 0.9));
    color: #1a0022;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.course-card-body {
    padding: 22px 24px 16px;
    flex: 1;
}

.course-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.5;
}

.course-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 24px;
    margin-top: auto;
}

.course-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-label {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.price-val {
    font-size: 1.08rem;
    font-weight: 900;
    color: var(--brand-emerald);
    letter-spacing: -0.3px;
}

.course-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* Outline gold button */
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-gold);
    border: 1.5px solid rgba(255, 185, 97, 0.45);
    background: transparent;
    padding: 7px 14px;
    border-radius: 30px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-outline-gold:hover {
    background: rgba(255, 185, 97, 0.12);
    border-color: var(--brand-gold);
}

.course-actions .btn-cta {
    padding: 8px 16px;
    font-size: 0.84rem;
}

/* ── Testimonials v2 ── */
.testimonials-section {
    background: rgba(15, 0, 20, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(36, 4, 52, 0.70) 0%, rgba(20, 1, 30, 0.76) 100%);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-md);
    padding: 28px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--specular-sheen), 0 16px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease-liquid), box-shadow 0.3s var(--ease-liquid), transform 0.3s var(--ease-liquid);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-gold), var(--brand-purple));
}

.testimonial-card:hover {
    border-color: rgba(255, 185, 97, 0.5);
    box-shadow: var(--specular-sheen-strong), 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 28px rgba(255, 185, 97, 0.2);
    transform: translateY(-4px);
}

.testimonial-stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-quote-mark {
    font-size: 3rem;
    color: var(--brand-gold);
    opacity: 0.4;
    line-height: 0.6;
    font-family: Georgia, serif;
    margin-bottom: -4px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.85;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 16px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Ebook Banner Section ── */
.ebook-banner-section {
    padding: 50px 0;
}

.ebook-banner-card {
    background: linear-gradient(135deg, rgba(38, 4, 56, 0.75) 0%, rgba(55, 5, 78, 0.72) 50%, rgba(24, 1, 36, 0.82) 100%);
    backdrop-filter: var(--liquid-blur-lg);
    -webkit-backdrop-filter: var(--liquid-blur-lg);
    border: var(--liquid-border-gold);
    border-radius: var(--radius-lg);
    padding: 42px 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: var(--specular-sheen-strong), 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 185, 97, 0.14);
}

.ebook-banner-card::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 185, 97, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ebook-icon-col {
    flex-shrink: 0;
}

.ebook-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 185, 97, 0.12);
    border: 2px solid rgba(255, 185, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    box-shadow: 0 0 24px rgba(255, 185, 97, 0.2);
}

.ebook-info-col {
    flex: 1;
    min-width: 250px;
}

.ebook-tag {
    display: inline-block;
    background: rgba(19, 200, 156, 0.15);
    color: var(--brand-emerald);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.ebook-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.4;
}

.ebook-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.75;
    margin: 0;
}

.ebook-btn-col {
    flex-shrink: 0;
}

/* ── Footer v2 ── */
.site-footer {
    background: #0a000f;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    border-radius: 50%;
    border: 2px solid rgba(255, 185, 97, 0.4);
    box-shadow: 0 4px 14px rgba(255, 185, 97, 0.2);
}

.footer-brand-name {
    display: block;
    font-size: 1.12rem;
    font-weight: 900;
    color: #fff;
}

.footer-brand-tag {
    display: block;
    font-size: 0.8rem;
    color: var(--brand-gold);
    font-weight: 600;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--specular-sheen-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-icon-btn:hover {
    background: rgba(255, 185, 97, 0.15);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    transform: translateY(-2px);
}

.social-icon-app:hover {
    background: rgba(19, 200, 156, 0.15);
    border-color: var(--brand-emerald);
    color: var(--brand-emerald);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 185, 97, 0.25) 30%, rgba(19, 200, 156, 0.2) 70%, transparent 100%);
    margin-bottom: 45px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
    margin-bottom: 45px;
}

.footer-col h4 {
    font-size: 1.05rem;
    color: var(--brand-gold);
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 185, 97, 0.2);
}

.footer-col p, .footer-col-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.95;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-col ul li svg {
    flex-shrink: 0;
    color: var(--brand-gold);
    opacity: 0.7;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--brand-emerald);
}

.footer-samandehi {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--brand-gold);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #777;
    gap: 15px;
    flex-wrap: wrap;
}

/* ── Header Responsive: Compact Desktop (1025px - 1200px) ── */
@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-menu {
        gap: 12px;
    }
    .nav-menu a {
        font-size: 0.84rem;
        padding: 6px 2px;
    }
    .site-logo-subtitle {
        font-size: 0.70rem;
    }
    .btn-header-app {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

/* ── Header Responsive: Tablet & Mobile Navigation (<= 1024px) ── */
@media (max-width: 1024px) {
    .site-navigation,
    .nav-menu {
        display: none !important;
    }
    .hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: var(--liquid-glass-pill);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: var(--specular-sheen-pill);
        border-radius: 50%;
        padding: 0;
        cursor: pointer;
    }
    .header-actions {
        gap: 8px;
    }
    .btn-header-search {
        width: 38px;
        height: 38px;
    }
    .btn-header-app {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    .btn-header-app span {
        display: none !important;
    }
    .btn-header-app svg {
        margin: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Header Responsive: Tablets Portrait & Phablets (<= 768px) ── */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    .brand-logo-img {
        width: 44px;
        height: 44px;
    }
    .site-logo {
        gap: 10px;
    }
    .site-logo-title {
        font-size: 1.05rem;
    }
    .site-logo-subtitle {
        font-size: 0.68rem;
    }
    .search-modal-footer {
        display: none;
    }
}

@media (max-width: 480px) {
    .container.header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }
    .brand-logo-img {
        width: 38px;
        height: 38px;
    }
    .site-logo {
        gap: 8px;
    }
    .site-logo-title {
        font-size: 0.96rem;
    }
    .site-logo-subtitle {
        font-size: 0.62rem;
    }
    .header-actions {
        gap: 6px;
    }
    .btn-header-search,
    .btn-header-app,
    .hamburger-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 360px) {
    .site-logo-subtitle {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-stats-row {
        padding: 12px 16px;
        gap: 0;
    }
    .hero-stat-num {
        font-size: 1.3rem;
    }
    .hero-stat-lbl {
        font-size: 0.7rem;
    }
    .ebook-banner-card {
        padding: 28px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .ebook-icon-ring {
        width: 60px;
        height: 60px;
    }
    .ebook-title {
        font-size: 1.35rem;
    }
    .course-card-thumb {
        height: 160px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}



/* ── Apple Liquid Glass Accessibility Fallbacks (WCAG 2.2) ── */
@media (prefers-reduced-transparency: reduce) {
    .site-header,
    .site-header.header-scrolled,
    .quiz-widget-card,
    .course-card,
    .white-magic-card,
    .wm-timer-box,
    .wm-timer-unit,
    .gift-audio-card,
    .audio-player-box,
    .ebook-banner-card,
    .testimonial-card,
    .mobile-drawer,
    .course-hero-card,
    .audio-modal-box,
    .cert-card,
    .result-card,
    .article-card {
        background-color: #170022 !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ====================================================
   APPLE LIQUID GLASS LIVE SEARCH SPOTLIGHT MODAL
   ==================================================== */
.btn-header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--specular-sheen-pill);
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s var(--ease-liquid);
    flex-shrink: 0;
}

.btn-header-search:hover {
    background: rgba(255, 185, 97, 0.18);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    box-shadow: var(--specular-sheen-pill), 0 0 20px rgba(255, 185, 97, 0.4);
    transform: translateY(-2px);
}

.btn-header-search svg {
    display: block;
    width: 18px;
    height: 18px;
}

.search-key-hint {
    display: none !important;
}

.mobile-search-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--liquid-glass-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    color: var(--text-muted);
    font-family: var(--font-vazir);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--specular-sheen-pill);
    transition: var(--transition-fast);
}

.mobile-search-trigger:hover {
    border-color: var(--brand-gold);
    color: #fff;
}

/* Spotlight Overlay */
.search-spotlight-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 0, 14, 0.78);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-liquid), visibility 0.3s var(--ease-liquid);
}

.search-spotlight-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-modal-card {
    width: 100%;
    max-width: 680px;
    background: linear-gradient(145deg, rgba(38, 4, 56, 0.88) 0%, rgba(20, 1, 30, 0.94) 100%);
    backdrop-filter: var(--liquid-blur-lg);
    -webkit-backdrop-filter: var(--liquid-blur-lg);
    border: var(--liquid-border-gold);
    box-shadow: var(--specular-sheen-strong), 0 30px 80px rgba(0, 0, 0, 0.85);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-20px) scale(0.97);
    transition: transform 0.35s var(--ease-liquid);
}

.search-spotlight-overlay.open .search-modal-card {
    transform: translateY(0) scale(1);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.search-input-icon {
    font-size: 1.3rem;
    color: var(--brand-gold);
}

#siteSearchInput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-vazir);
    font-size: 1.15rem;
    font-weight: 700;
}

#siteSearchInput::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}

.search-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.search-close-btn:hover {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.search-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 185, 97, 0.25);
    border-top-color: var(--brand-gold);
    border-radius: 50%;
    animation: spinSlow 0.7s linear infinite;
}

/* Default Tags state */
.search-default-tags {
    padding: 20px 24px;
}

.search-tags-label {
    display: block;
    font-size: 0.84rem;
    color: var(--brand-gold);
    font-weight: 700;
    margin-bottom: 12px;
}

.search-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag-pill {
    background: var(--liquid-glass-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--specular-sheen-pill);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-vazir);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-tag-pill:hover {
    background: rgba(255, 185, 97, 0.18);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* Search Results Container */
.search-results-container {
    max-height: 420px;
    overflow-y: auto;
    padding: 0 16px 16px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--liquid-glass-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--specular-sheen-pill);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: var(--transition-fast);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--brand-gold);
    transform: translateX(-4px);
    box-shadow: var(--specular-sheen-pill), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-item-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 185, 97, 0.18);
    color: var(--brand-gold);
}

.search-item-badge.article {
    background: rgba(19, 200, 156, 0.18);
    color: var(--brand-emerald);
}

.search-item-badge.result {
    background: rgba(0, 210, 211, 0.18);
    color: var(--brand-cyan);
}

.search-item-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.search-item-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.search-no-results {
    text-align: center;
    padding: 36px 20px;
    color: var(--text-muted);
}

.search-no-results p {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 4px;
}

.search-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.search-footer-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-footer-hint kbd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: inherit;
    font-size: 0.74rem;
    color: var(--brand-gold);
    direction: ltr;
    display: inline-block;
}

/* ====================================================
   PATH FINDER WIDGET («از کجا شروع کنم؟»)
   ==================================================== */
.path-finder-section {
    padding: 50px 0 70px;
    position: relative;
    z-index: 5;
}

.path-finder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.path-card {
    background: linear-gradient(165deg, rgba(38, 4, 56, 0.72) 0%, rgba(20, 1, 30, 0.78) 100%);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--specular-sheen), 0 16px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-liquid);
}

.path-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--card-accent, var(--brand-gold));
    opacity: 0.8;
}

.path-card:hover {
    border-color: var(--card-accent, var(--brand-gold));
    box-shadow: var(--specular-sheen-strong), 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 185, 97, 0.18);
    transform: translateY(-5px);
}

.path-card-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--liquid-glass-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--specular-sheen-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.path-target-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--card-accent, var(--brand-gold));
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    align-self: flex-start;
}

.path-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
}

.path-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 22px;
    flex: 1;
}

.path-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: 1px solid var(--card-accent, rgba(255, 185, 97, 0.4));
    box-shadow: var(--specular-sheen-pill);
    color: #fff !important;
    font-family: var(--font-vazir);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    text-align: center;
}

.path-card-btn:hover {
    background: var(--card-accent, var(--brand-gold));
    color: #1a0022 !important;
    box-shadow: var(--specular-sheen-pill), 0 8px 24px rgba(255, 185, 97, 0.4);
    transform: translateY(-2px);
}

/* ====================================================
   TOPIC HUBS & CATEGORY PILLS (Apple Liquid Glass)
   ==================================================== */
.blog-categories-wrap {
    width: 100%;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.blog-categories-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--liquid-glass-pill);
    backdrop-filter: var(--liquid-blur-sm);
    -webkit-backdrop-filter: var(--liquid-blur-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--specular-sheen-pill);
    color: var(--text-light);
    font-family: var(--font-vazir);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.blog-cat-pill:hover {
    background: rgba(255, 185, 97, 0.16);
    border-color: var(--brand-gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--specular-sheen-pill), 0 4px 18px rgba(255, 185, 97, 0.25);
}

.blog-cat-pill.active {
    background: rgba(255, 185, 97, 0.22);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    box-shadow: var(--specular-sheen-pill), 0 0 20px rgba(255, 185, 97, 0.4);
    transform: translateY(-2px);
}

.blog-cat-pill .cat-count {
    font-size: 0.74rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 7px;
    border-radius: 10px;
}

.topic-hub-intro {
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    transition: var(--transition-smooth);
}

.topic-sub-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--specular-sheen-pill);
    padding: 4px 12px;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.topic-sub-chip:hover {
    background: rgba(19, 200, 156, 0.2);
    border-color: var(--brand-emerald);
    color: var(--brand-emerald);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .blog-categories-pills {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 4px;
    }
    .blog-cat-pill {
        font-size: 0.82rem;
        padding: 8px 14px;
    }
}


/* ==========================================================================
   FEATURE 1: SMART TOP ANNOUNCEMENT BAR (Apple Liquid Glass)
   ========================================================================== */
.top-announcement-bar {
    width: 100%;
    position: relative;
    z-index: 1001;
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
}

.top-announcement-bar.theme-gold {
    background: linear-gradient(90deg, rgba(35, 15, 5, 0.92) 0%, rgba(55, 25, 8, 0.88) 50%, rgba(35, 15, 5, 0.92) 100%);
    border-bottom-color: rgba(255, 185, 97, 0.38);
    box-shadow: 0 4px 20px rgba(255, 185, 97, 0.12);
}

.top-announcement-bar.theme-emerald {
    background: linear-gradient(90deg, rgba(5, 28, 20, 0.92) 0%, rgba(10, 45, 32, 0.88) 50%, rgba(5, 28, 20, 0.92) 100%);
    border-bottom-color: rgba(19, 200, 156, 0.38);
    box-shadow: 0 4px 20px rgba(19, 200, 156, 0.12);
}

.top-announcement-bar.theme-purple {
    background: linear-gradient(90deg, rgba(32, 2, 40, 0.92) 0%, rgba(50, 0, 61, 0.88) 50%, rgba(32, 2, 40, 0.92) 100%);
    border-bottom-color: rgba(108, 92, 231, 0.38);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.12);
}

.top-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    gap: 14px;
    flex-wrap: wrap;
}

.top-announcement-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 260px;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 185, 97, 0.18);
    border: 1px solid rgba(255, 185, 97, 0.45);
    color: var(--brand-gold);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.announcement-text {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
}

.announcement-timer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2px 10px;
    border-radius: 8px;
    font-feature-settings: "tnum";
}

.announcement-timer .timer-unit {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.announcement-timer .timer-unit strong {
    color: var(--brand-gold);
    font-weight: 800;
    font-size: 0.88rem;
}

.announcement-timer .timer-unit small {
    color: #aaa;
    font-size: 0.68rem;
    margin-right: 2px;
}

.announcement-timer .timer-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: bold;
}

.top-announcement-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 185, 97, 0.25), rgba(255, 185, 97, 0.15));
    border: 1px solid rgba(255, 185, 97, 0.45);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: var(--specular-sheen-pill);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.announcement-btn:hover {
    background: var(--brand-gold);
    color: #1a0022;
    transform: translateY(-1px);
}

.announcement-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.announcement-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .top-announcement-inner {
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
    }
    .top-announcement-content {
        justify-content: center;
        text-align: center;
        font-size: 0.82rem;
    }
    .announcement-text {
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   FEATURE 2: CHAKRA RECOMMENDATION CARD (Inside Quiz)
   ========================================================================== */
.chakra-recommendation-card {
    background: linear-gradient(135deg, rgba(28, 0, 38, 0.85) 0%, rgba(14, 0, 22, 0.95) 100%);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: 1px solid var(--ch-color, var(--brand-gold));
    box-shadow: 0 12px 36px -10px var(--ch-color, rgba(255, 185, 97, 0.3)), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

.chakra-recommendation-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ch-color, var(--brand-gold)), transparent);
}

.rec-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ch-color, var(--brand-gold));
    color: #fff;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: var(--specular-sheen-pill);
}

.rec-heading-title {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.rec-course-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.rec-course-pitch {
    font-size: 0.92rem;
    color: #e2d9e6;
    line-height: 1.85;
    max-width: 540px;
    margin: 0 auto;
}

.rec-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    font-size: 1.05rem;
    padding: 13px 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   FEATURE 4: READING PROGRESS BAR & STICKY TABLE OF CONTENTS (TOC)
   ========================================================================== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-emerald) 100%);
    width: 0%;
    z-index: 99999;
    pointer-events: none;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px rgba(255, 185, 97, 0.85);
}

.toc-widget {
    position: sticky;
    top: 90px;
    background: var(--liquid-surface-1);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: 1px solid var(--liquid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--specular-sheen-card);
    padding: 20px;
    margin-bottom: 24px;
}

.toc-widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.toc-widget-icon {
    font-size: 1.2rem;
}

.toc-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-item.toc-h3 {
    padding-right: 16px;
    font-size: 0.84rem;
}

.toc-link {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    line-height: 1.5;
    font-size: 0.88rem;
}

.toc-link:hover {
    color: var(--brand-gold);
    transform: translateX(-3px);
}

.toc-link.active {
    color: var(--brand-emerald);
    font-weight: 700;
}

.toc-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.toc-link.active .toc-bullet {
    background: var(--brand-emerald);
    box-shadow: 0 0 8px var(--brand-emerald);
    transform: scale(1.25);
}

/* Mobile TOC Accordion */
.mobile-toc-accordion {
    display: none;
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--liquid-surface-1);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: 1px solid var(--liquid-border);
    box-shadow: var(--specular-sheen-card);
}

.mobile-toc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-toc-toggle .toc-toggle-arrow {
    transition: transform 0.3s ease;
    color: var(--brand-gold);
}

.mobile-toc-toggle.active .toc-toggle-arrow {
    transform: rotate(180deg);
}

.mobile-toc-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 18px;
}

.mobile-toc-container.open {
    max-height: 600px;
    padding: 12px 18px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
    .mobile-toc-accordion {
        display: block;
    }
    .sidebar-widget.toc-widget {
        display: none;
    }
}

/* Share & Copy Link Box in Single */
.article-share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: var(--liquid-surface-1);
    backdrop-filter: var(--liquid-blur-md);
    -webkit-backdrop-filter: var(--liquid-blur-md);
    border: 1px solid var(--liquid-border);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    margin: 30px 0;
    box-shadow: var(--specular-sheen-card);
}

.share-box-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.share-box-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-copy-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.share-btn {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.share-btn.share-telegram {
    background: rgba(0, 136, 204, 0.18);
    border: 1px solid rgba(0, 136, 204, 0.4);
    color: #40b3ff;
}

.share-btn.share-telegram:hover {
    background: #0088cc;
    color: #fff;
}

.share-btn.share-whatsapp {
    background: rgba(37, 211, 102, 0.18);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.share-btn.share-whatsapp:hover {
    background: #25d366;
    color: #fff;
}
/* ==========================================================================
   SMART EXIT-INTENT & BEHAVIORAL LEAD MAGNET POPUP (APPLE LIQUID GLASS)
   ========================================================================== */
.smart-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 0, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-popup-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.smart-popup-box,
.smart-popup-box * {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif !important;
}

.smart-popup-box {
    background: rgba(30, 2, 42, 0.94);
    border: 1px solid rgba(255, 185, 97, 0.38);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    max-width: 740px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(0.92) translateY(24px);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
}

.smart-popup-backdrop.is-visible .smart-popup-box {
    transform: scale(1) translateY(0);
}

.smart-popup-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.1rem;
    font-family: system-ui, -apple-system, sans-serif !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.22s ease;
}

.smart-popup-close:hover {
    background: rgba(234, 84, 85, 0.35);
    border-color: #EA5455;
    color: #ff8a8b;
    transform: rotate(90deg);
}

.smart-popup-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: stretch;
}

.smart-popup-media {
    background: radial-gradient(circle at 50% 30%, rgba(255, 185, 97, 0.25) 0%, rgba(50, 0, 61, 0.8) 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px 10px 0;
}

.smart-popup-img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: top center;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

.smart-popup-body {
    padding: 34px 28px;
    text-align: right;
    direction: rtl;
}

.smart-popup-badge {
    display: inline-block;
    background: rgba(255, 185, 97, 0.15);
    border: 1px solid rgba(255, 185, 97, 0.45);
    color: #FFB961;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.smart-popup-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.5;
}

.smart-popup-desc {
    font-size: 0.94rem;
    color: #d6c6e0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.smart-popup-form {
    direction: rtl;
}

.smart-popup-input-wrap input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
    direction: rtl;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.smart-popup-input-wrap input::placeholder {
    direction: rtl;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
}

.smart-popup-input-wrap input:focus {
    border-color: #13C89C;
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 15px rgba(19, 200, 156, 0.25);
}

.smart-popup-input-wrap input:not(:placeholder-shown) {
    direction: ltr;
    letter-spacing: 2px;
}

.smart-popup-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1.02rem;
    font-weight: 700;
}

.smart-popup-msg {
    font-size: 0.84rem;
    margin-bottom: 10px;
    text-align: center;
}

.smart-popup-msg.error {
    color: #ff7b7b;
}

.smart-popup-success {
    text-align: center;
    padding: 15px 0;
}

.smart-popup-success .success-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(19, 200, 156, 0.2);
    border: 1px solid #13C89C;
    color: #13C89C;
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.smart-popup-success h4 {
    color: #13C89C;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.smart-popup-success p {
    color: #e0d5ec;
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (max-width: 680px) {
    .smart-popup-grid {
        grid-template-columns: 1fr;
    }
    .smart-popup-media {
        display: none;
    }
    .smart-popup-body {
        padding: 26px 20px;
    }
    .smart-popup-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   MULTI-TRACK FREQUENCY SOUND THERAPY STATION (CONSOLE UI)
   ========================================================================== */
.frequency-station-card {
    position: relative;
}

.frequency-station-card.frequency-station-stacked {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    padding: 38px 40px !important;
    width: 100% !important;
}

/* 1. Top Frequency Selector Bar */
.frequency-top-bar {
    width: 100%;
    border-bottom: 1px solid rgba(255, 185, 97, 0.16);
    padding-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mobile Dropdown Selector */
.frequency-dropdown-wrap {
    display: none;
    width: 100%;
    margin-bottom: 6px;
}

.frequency-dropdown-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFB961;
    margin-bottom: 8px;
}

.frequency-select-styled {
    position: relative;
    width: 100%;
}

.frequency-select-styled select {
    width: 100%;
    padding: 13px 44px 13px 18px;
    background: rgba(36, 4, 52, 0.9);
    border: 1.5px solid #FFB961;
    border-radius: 12px;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 4px 16px rgba(255, 185, 97, 0.25);
    outline: none;
}

.frequency-select-styled select option {
    background: #1e0028;
    color: #fff;
    padding: 10px;
}

.frequency-select-styled .select-chevron {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFB961;
    pointer-events: none;
    font-size: 0.85rem;
}

/* Desktop & Tablet 1-Line Grid Tabs - ZERO horizontal scrolling! */
.frequency-track-tabs.frequency-tabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.frequency-tabs-grid .freq-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    white-space: normal;
}

.freq-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d0c0dd;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.freq-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 185, 97, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.freq-tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 185, 97, 0.22) 0%, rgba(19, 200, 156, 0.22) 100%);
    border-color: #FFB961;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 185, 97, 0.25);
}

.freq-tab-hz {
    font-size: 0.82rem;
    font-weight: 800;
    color: #FFB961;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
}

.freq-tab-btn.active .freq-tab-hz {
    background: #FFB961;
    color: #160020;
}

.freq-tab-name {
    font-size: 0.86rem;
    font-weight: 600;
}

/* 2. Middle Top: Badge, Title & Description */
.frequency-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 8px;
    width: 100%;
}

.frequency-header-content .audio-tag {
    margin-bottom: 2px;
}

.frequency-header-content h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 2px 0 6px;
    line-height: 1.4;
}

.frequency-header-content .audio-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.85;
    margin: 0;
    max-width: 950px;
}

/* 3. Middle: Full-Width Audio Player */
.frequency-player-fullwidth {
    width: 100%;
}

.frequency-player-fullwidth .audio-player-box {
    width: 100% !important;
    background: rgba(14, 1, 22, 0.65);
    border: 1px solid rgba(255, 185, 97, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 24px 30px;
}

/* 4. Bottom: Tags Only */
.frequency-bottom-tags {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.frequency-bottom-tags .audio-features-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.audio-features-pills .pill-highlight {
    background: rgba(255, 185, 97, 0.15) !important;
    border-color: rgba(255, 185, 97, 0.45) !important;
    color: #FFB961 !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .frequency-station-card.frequency-station-stacked {
        padding: 22px 16px !important;
        gap: 16px !important;
    }
    .frequency-dropdown-wrap {
        display: block; /* Show convenient dropdown on mobile */
    }
    .frequency-track-tabs.frequency-tabs-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid, ZERO horizontal scroll! */
        gap: 8px;
    }
    .frequency-tabs-grid .freq-tab-btn {
        padding: 10px 8px;
        flex-direction: column;
        gap: 6px;
    }
    .frequency-tabs-grid .freq-tab-hz {
        font-size: 0.85rem;
        padding: 2px 10px;
    }
    .frequency-tabs-grid .freq-tab-name {
        font-size: 0.78rem;
        line-height: 1.3;
    }
    .frequency-header-content h3 {
        font-size: 1.25rem;
    }
    .frequency-header-content .audio-desc {
        font-size: 0.88rem;
    }
    .frequency-player-fullwidth .audio-player-box {
        padding: 16px 14px;
    }
}
/* ==========================================================================
   VIDEO PROOF & CINEMA-GRADE STUDENT TESTIMONIALS (APPLE LIQUID GLASS)
   ========================================================================== */
.course-video-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFB961;
    background: rgba(255, 185, 97, 0.1);
    border: 1px solid rgba(255, 185, 97, 0.28);
    padding: 6px 13px;
    border-radius: 20px;
    margin-top: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s ease;
    font-family: 'Vazirmatn', -apple-system, sans-serif !important;
}

.course-video-proof-badge:hover {
    background: rgba(255, 185, 97, 0.22);
    border-color: #FFB961;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 185, 97, 0.25);
}

.video-proof-wrapper {
    position: relative;
}

.video-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 35px;
}

.video-filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d6c6e0;
    font-family: 'Vazirmatn', -apple-system, sans-serif !important;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.video-filter-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 185, 97, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.video-filter-tab.active {
    background: linear-gradient(135deg, rgba(255, 185, 97, 0.25) 0%, rgba(19, 200, 156, 0.25) 100%);
    border-color: #FFB961;
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 185, 97, 0.28);
}

.video-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.video-proof-card {
    background: rgba(32, 2, 46, 0.65);
    border: 1px solid rgba(255, 185, 97, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    font-family: 'Vazirmatn', -apple-system, sans-serif !important;
}

.video-proof-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 185, 97, 0.55);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 185, 97, 0.25);
}

.video-cover-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #160020;
}

.video-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.video-proof-card:hover .video-cover-img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 0, 24, 0.65) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 185, 97, 0.92);
    box-shadow: 0 0 25px rgba(255, 185, 97, 0.6);
    color: #160020;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.video-play-btn svg {
    width: 22px;
    height: 22px;
    margin-right: -2px;
}

.video-proof-card:hover .video-play-btn {
    transform: scale(1.15);
    background: #FFB961;
    box-shadow: 0 0 35px rgba(255, 185, 97, 0.9);
}

.video-duration-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-course-pill {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(50, 0, 61, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    color: #FFB961;
    border: 1px solid rgba(255, 185, 97, 0.35);
}

.video-card-body {
    padding: 18px 20px 22px;
    text-align: right;
    direction: rtl;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-card-stars {
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.video-student-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.video-student-role {
    font-size: 0.82rem;
    color: #13C89C;
    margin-bottom: 10px;
}

.video-quote-snippet {
    font-size: 0.88rem;
    color: #d6c6e0;
    line-height: 1.7;
    margin-top: auto;
}

.video-proof-action-row {
    text-align: center;
    margin-top: 15px;
}

.video-all-results-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 1.02rem;
    font-weight: 700;
}

/* ==========================================================================
   CINEMA-GRADE VIDEO LIGHTBOX MODAL
   ========================================================================== */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(8, 0, 14, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Vazirmatn', -apple-system, sans-serif !important;
}

.video-modal-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-box {
    background: rgba(28, 2, 40, 0.95);
    border: 1px solid rgba(255, 185, 97, 0.4);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    max-width: 840px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.is-active .video-modal-box {
    transform: scale(1) translateY(0);
}

.video-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.15rem;
    font-family: system-ui, -apple-system, sans-serif !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.video-modal-close:hover {
    background: rgba(234, 84, 85, 0.4);
    border-color: #EA5455;
    color: #ff8a8b;
    transform: rotate(90deg);
}

.video-player-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-modal-info {
    padding: 24px 28px 26px;
    text-align: right;
    direction: rtl;
}

.video-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.video-info-badge {
    display: inline-block;
    background: rgba(255, 185, 97, 0.15);
    border: 1px solid rgba(255, 185, 97, 0.4);
    color: #FFB961;
    padding: 3px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.video-info-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.video-modal-cta {
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 700;
}

.video-info-quote {
    color: #d6c6e0;
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 680px) {
    .video-info-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .video-modal-cta {
        width: 100%;
        justify-content: center;
    }
    .video-modal-info {
        padding: 18px 20px;
    }
}


/* ==========================================================================
