/* =================================================================== */
/* ====================== 1. VARIABLES & RESET ======================= */
/* =================================================================== */
:root {
    --navy-blue: #1e3a5f;
    --light-navy: #2c4d7a;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #2c3e50;
    --text-gray: #6c757d;
    --gold: #d4af37;
    --light-gold: #f0e6d2;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', sans-serif;
    font-feature-settings: "ss01";
    background-color: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9ecef' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =================================================================== */
/* ========================= 2. ANIMATIONS =========================== */
/* =================================================================== */
.section-container { display: none; }
.section-container.active { display: block; animation: fadeInUp 0.6s ease-in-out; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); } 20%, 40%, 60%, 80% { transform: translateX(8px); } }
@keyframes pop-in { 0% { transform: scale(0.5); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }

.hover-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }
.pulse-anim { animation: pulse-gold 2s infinite; }
.pulse-anim-fast { animation: pulse 1s infinite ease-in-out; }

/* =================================================================== */
/* ======================= 3. NAVBAR & HEADER ======================== */
/* =================================================================== */
.navbar { background-color: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07); padding: 0.8rem 0; position: sticky; top: 0; z-index: 1000; }
.navbar-brand { font-weight: 700; font-size: 1.4rem; color: var(--navy-blue) !important; display: flex; align-items: center; padding: 0.5rem 0; }
.navbar-brand i { color: var(--gold); margin-inline-end: 0.5rem; transition: transform 0.3s ease; }
.navbar-brand:hover i { transform: rotate(15deg) scale(1.1); }
.navbrandsub { font-size:0.6rem; opacity:0.8; }
.navbrandmain { padding:0; margin:0; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

.navbar-nav .nav-link { color: var(--dark-gray) !important; font-weight: 500; margin: 0 0.5rem; padding: 0.5rem 1rem !important; border-radius: 0.5rem; transition: all 0.3s ease; position: relative; }
.navbar-nav .nav-link::after { content: ''; position: absolute; bottom: -2px; inset-inline: 0.5rem; height: 3px; background-color: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform 0.3s ease-in-out; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--navy-blue) !important; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.header-action-icon { font-size: 1.5rem; color: var(--dark-gray); cursor: pointer; padding: 0.5rem; transition: color 0.3s ease; }
.header-action-icon:hover { color: var(--navy-blue); }
.credit-badge { background-color: var(--light-gray); color: var(--navy-blue); border-radius: 1.5rem; padding: 0.5rem 1rem; font-weight: 700; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); display: flex; align-items: center; font-size: 0.9rem; }
.credit-badge i { margin-inline-end: 0.4rem; color: var(--gold); }

.theme-toggle-btn { background: none; border: none; color: var(--dark-gray); font-size: 1.2rem; margin-inline-start: 15px; cursor: pointer; transition: transform 0.3s ease; }
.theme-toggle-btn:hover { color: var(--gold); transform: rotate(20deg); }

/* Mobile Nav */
.mobile-nav { display: none; }
@media (max-width: 991px) {
    .mobile-nav { display: block; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); z-index: 9999; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #eee; }
    .mobile-nav-items { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-around; align-items: center; height: 65px; }
    .mobile-nav-item { flex: 1; text-align: center; }
    .mobile-nav-link { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #6c757d; font-size: 0.8rem; transition: all 0.3s ease; }
    .mobile-nav-link i { font-size: 1.2rem; margin-bottom: 4px; }
    .mobile-nav-link.active { color: #d4af37; font-weight: bold; }
}

/* =================================================================== */
/* ===================== 4. GENERAL LAYOUT & UI ====================== */
/* =================================================================== */
.main-container { padding: 1.5rem 0; flex: 1; }
@media (min-width: 768px) { .main-container { padding: 2rem 0; } }

/* Cards */
.card { border-radius: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); border: none; margin-bottom: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; background-color: var(--white); overflow: hidden; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.card-header { border-radius: 1rem 1rem 0 0 !important; background: linear-gradient(135deg, var(--navy-blue), var(--light-navy)); color: var(--white); font-weight: 600; padding: 1rem 1.25rem; border-bottom: 2px solid var(--gold); }
.card-body { padding: 1.5rem; }
.card-header.bg-success { background: linear-gradient(135deg, #28a745, #218838); border-bottom-color: #fff; }
.card-header.bg-warning { background: linear-gradient(135deg, #ffc107, #e0a800); border-bottom-color: #fff; }

.section-title { color: var(--navy-blue); font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold); display: inline-block; }

/* Buttons */
.btn { border-radius: 0.75rem; padding: 0.75rem 1.5rem; font-weight: 600; transition: all 0.3s ease; border: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: linear-gradient(135deg, var(--navy-blue), var(--light-navy)); color: white; }
.btn-primary:hover { background: linear-gradient(135deg, var(--light-navy), var(--navy-blue)); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); color: white; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b8941f); color: var(--navy-blue); }
.btn-gold:hover { background: linear-gradient(135deg, #b8941f, var(--gold)); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); color: var(--navy-blue); }
.btn-outline-secondary { border-width: 2px; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.2); color: white; }
.btn-outline-light:hover { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.4); }

/* Notifications */
.notification { position: fixed; top: 90px; inset-inline: 1rem; max-width: 400px; margin: 0 auto; padding: 1rem 1.25rem; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 1090; opacity: 0; transform: translateY(-20px); transition: all 0.3s ease; background-color: var(--white); border-inline-start: 4px solid var(--gold); visibility: hidden; }
.notification.show { opacity: 1; transform: translateY(0); visibility: visible; }
.notification.success { border-inline-start-color: var(--success); }
.notification.error { border-inline-start-color: var(--danger); }
.notification.warning { border-inline-start-color: var(--warning); }

/* Utility */
.text-gold { color: var(--gold); }
.text-justify { text-align: justify; text-justify: inter-word; }
.text-navy-blue { color: #1e3a5f; }

/* =================================================================== */
/* ================== 5. PAGE SPECIFIC: COMPONENTS =================== */
/* =================================================================== */

/* Welcome Section */
.welcome-section { background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(44, 77, 122, 0.95)), url('/assets/images/cubes.png'); color: var(--white); border-radius: 1.25rem; padding: 3rem 2rem; margin-bottom: 2.5rem; text-align: center; box-shadow: 0 8px 25px rgba(30, 58, 95, 0.2); }

/* Questionnaire */
.questionnaire-card { background-color: var(--white); border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); border-top: 4px solid var(--gold); }
.questionnaire-progress .progress { height: 8px; border-radius: 8px; }
.questionnaire-progress .progress-bar { background-color: var(--gold); transition: width 0.4s ease-in-out; }
.question-counter { background-color: var(--light-gray); color: var(--navy-blue); border-radius: 1.5rem; padding: 0.5rem 1.25rem; font-weight: 600; display: inline-block; margin-bottom: 1.5rem; }
.question-step { display: none; }
.question-step.active { display: block; animation: fadeIn 0.5s ease; }
.question-text { font-weight: 600; margin-bottom: 1.25rem; font-size: 1.2rem; color: var(--dark-gray); user-select:none; }
.option-btn { display: block; width: 100%; padding: 1rem 1.25rem; margin-bottom: 0.75rem; text-align: right; border: 2px solid var(--medium-gray); border-radius: 0.75rem; background-color: var(--white); transition: all 0.3s ease; cursor: pointer; color: var(--dark-gray); user-select: none; }
.option-btn:hover { border-color: var(--navy-blue); background-color: rgba(30, 58, 95, 0.05); transform: translateX(5px); }
.option-btn.selected { border-color: var(--gold); background-color: var(--light-gold); color: var(--navy-blue); font-weight: 700; box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2); }
.question-navigation { display: flex; justify-content: space-between; margin-top: 2rem; gap: 0.75rem; }

/* History */
.history-item { border-inline-start: 4px solid var(--gold); padding: 1.5rem; margin-bottom: 1.25rem; background-color: var(--white); border-radius: 0.75rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; }
.history-item:hover { transform: translateX(5px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.history-item.locked { border-inline-start-color: var(--danger); }

/* Credits */
.credit-option { border: 2px solid var(--medium-gray); border-radius: 1rem; padding: 1.5rem 1.25rem; text-align: center; transition: all 0.3s ease; background-color: var(--white); height: 100%; cursor: pointer; position: relative; overflow: hidden; }
.credit-option:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2); }
.credit-option.selected { border-color: var(--gold); background-color: var(--light-gold); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3); transform: translateY(-5px); }
.credit-option.selected::after { content: '\f00c'; font-family: 'Font Awesome 7 Free'; font-weight: 900; position: absolute; top: 10px; inset-inline-start: 10px; color: var(--gold); font-size: 1.2rem; }
.popular-badge { position: absolute; top: -1px; inset-inline-end: -1px; background: linear-gradient(135deg, var(--gold), #b8941f); color: var(--navy-blue); padding: 0.3rem 1.5rem 0.5rem; font-weight: 700; font-size: 0.8rem; border-radius: 0 0.9rem 0 0.9rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.credit-amount { font-size: 1.75rem; font-weight: 700; color: var(--navy-blue); margin: 1rem 0; }
.credit-price { font-size: 1.4rem; font-weight: 600; color: var(--gold); }

/* Guarantee Card */
.guarantee-card { background: #ffffff; border: 1px solid #e9ecef; border-right: 5px solid #d4af37; border-radius: 12px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; position: relative; overflow: hidden; }
.guarantee-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15); border-color: #d4af37; }
.guarantee-title { color: #1e3a5f; font-size: 1.25rem; }
.guarantee-icon-box { position: relative; flex-shrink: 0; }
.icon-circle { width: 80px; height: 80px; background-color: rgba(212, 175, 55, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.percent-badge { position: absolute; bottom: -5px; left: -5px; background-color: #1e3a5f; color: #fff; font-size: 0.8rem; font-weight: bold; padding: 4px 8px; border-radius: 20px; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

/* Social Proof */
.social-proof-strip { background: linear-gradient(to bottom, #ffffff, #f8f9fa); border-bottom: 1px solid #e9ecef; }
.avatar-stack { direction: ltr; }
.avatar-stack img { width: 45px; height: 45px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -15px; transition: transform 0.3s ease; position: relative; z-index: 1; }
.avatar-stack .avatar-more { width: 45px; height: 45px; border-radius: 50%; background-color: #1e3a5f; color: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; margin-left: -15px; position: relative; z-index: 2; }
.avatar-stack:hover img, .avatar-stack:hover .avatar-more { margin-left: -5px; transform: scale(1.1); }
.counter-number { font-family: 'Vazirmatn', sans-serif; font-size: 1.6rem; font-weight: 900; display: inline-block; min-width: 80px; }
.social-proof-text { line-height: 1.6; }

/* FAQ Accordion */
.bg-light-soft { background-color: #f8f9fa; }
.custom-accordion .accordion-item { border: 1px solid var(--medium-gray); border-radius: 1rem !important; margin-bottom: 1rem; overflow: hidden; background-color: var(--white); transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03); }
.custom-accordion .accordion-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(30, 58, 95, 0.1); border-color: var(--gold); }
.custom-accordion .accordion-button { font-weight: 700; font-size: 1.1rem; color: var(--navy-blue); background-color: var(--white); padding: 1.25rem 1.5rem; transition: all 0.3s ease; box-shadow: none !important; text-align: right; }
.custom-accordion .accordion-button:hover { background-color: rgba(212, 175, 55, 0.05); }
.custom-accordion .accordion-button:not(.collapsed) { background-color: var(--light-gold); color: var(--navy-blue); }
.custom-accordion .accordion-button:not(.collapsed) i { transform: rotate(90deg); }
.custom-accordion .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e3a5f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); transition: transform 0.3s ease; margin-right: auto; margin-left: 0; }
.custom-accordion .accordion-button::before { content: '\f059'; font-family: "Font Awesome 7 Free"; font-weight: 900; color: var(--gold); font-size: 1.25rem; margin-left: 12px; display: flex; align-items: center; justify-content: center; transition: all 0.4s; }
.custom-accordion .accordion-button:not(.collapsed)::before { content: '\f058'; color: var(--navy-blue); transform: rotate(360deg) scale(1.1); }
.custom-accordion .accordion-body { padding: 1.5rem; font-size: 1rem; line-height: 1.9; color: var(--dark-gray); background-color: #fff; border-top: 1px solid rgba(0,0,0,0.05); }
.custom-accordion .accordion-body strong { color: var(--navy-blue); font-weight: 800; }

/* Insight & Dimension */
.result-intro-card { background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(44, 77, 122, 0.9)), url('https://www.transparenttextures.com/patterns/cubes.png'); color: var(--white); border-radius: 1rem; padding: 2.5rem 2rem; margin-bottom: 2.5rem; text-align: center; border: 1px solid var(--gold); box-shadow: 0 8px 25px rgba(30, 58, 95, 0.2); }
.result-intro-card h4 { font-weight: 700; color: var(--gold); }
.result-intro-card p { max-width: 800px; margin: 1rem auto 0; font-size: 1.1rem; line-height: 1.8; }
.insight-card { background-color: var(--white); border-radius: 1rem; border: 1px solid var(--medium-gray); margin-bottom: 2rem; overflow: hidden; transition: all 0.3s ease; }
.insight-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: var(--gold); }
.insight-header { display: flex; align-items: center; padding: 1.25rem 1.5rem; background-color: var(--light-gray); border-bottom: 1px solid var(--medium-gray); }
.insight-icon { font-size: 1.8rem; color: var(--navy-blue); margin-inline-end: 1rem; }
.insight-title { font-weight: 700; font-size: 1.3rem; color: var(--navy-blue); margin: 0; }
.insight-body { padding: 1.5rem; }
.insight-subsection { margin-bottom: 1.5rem; }
.insight-subsection h6 { font-weight: 700; color: var(--dark-gray); margin-bottom: 0.5rem; display: flex; align-items: center; }
.insight-subsection h6 i { font-size: 0.9rem; color: var(--gold); margin-inline-end: 0.5rem; }
.insight-subsection p { color: var(--text-gray); margin-bottom: 0; padding-inline-start: 1.5rem; border-inline-start: 3px solid var(--light-gold); }
.dimension-card { background-color: var(--white); border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--medium-gray); border-top: 4px solid var(--navy-blue); transition: all 0.3s ease; }
.dimension-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-top-color: var(--gold); }
.dimension-header { display: flex; align-items: center; margin-bottom: 1rem; }
.dimension-icon { font-size: 1.8rem; color: var(--navy-blue); background-color: var(--light-gray); width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-inline-end: 1rem; }
.dimension-title { font-weight: 700; color: var(--navy-blue); font-size: 1.2rem; margin-bottom: 0; }
.dimension-score { font-weight: 600; color: var(--text-gray); }
.dimension-progress .progress { height: 6px; border-radius: 6px; }
.dimension-progress .progress-bar { background-color: var(--gold); }
.suggestion-card { display: flex; align-items: flex-start; background-color: var(--light-gray); border-radius: 0.75rem; padding: 1.25rem; margin-bottom: 1rem; border-inline-start: 4px solid var(--gold); }
.suggestion-icon { font-size: 1.5rem; color: var(--gold); margin-inline-end: 1rem; margin-top: 0.25rem; }
.suggestion-content h6 { color: var(--navy-blue); font-weight: 700; }
.suggestion-content p { margin-bottom: 0; color: var(--dark-gray); }
.strength-item, .growth-item { display: flex; align-items: center; padding: 1rem; border-radius: 0.75rem; margin-bottom: 0.75rem; transition: all 0.3s ease; }
.strength-item { background-color: #eaf6ec; border-inline-start: 4px solid var(--success); }
.growth-item { background-color: #fff8e6; border-inline-start: 4px solid var(--warning); }
.strength-item:hover, .growth-item:hover { transform: translateX(5px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.item-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-inline-end: 1rem; font-size: 1.2rem; }
.strength-item .item-icon { background-color: var(--success); color: var(--white); }
.growth-item .item-icon { background-color: var(--warning); color: var(--dark-gray); }
.item-text { font-weight: 500; color: var(--dark-gray); }

/* Testimonials, Blog & Misc */
.testimonials-section { padding: 3rem 0; background-color: var(--white); margin-top: 2rem; border-radius: 1rem; }
.testimonial-card { background-color: var(--light-gray); border-radius: 1rem; padding: 2.5rem; border: 1px solid var(--medium-gray); text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.testimonial-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--gold); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.testimonial-text { color: var(--dark-gray); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { font-weight: 700; color: var(--navy-blue); }
.carousel-indicators [data-bs-target] { background-color: var(--gold); width: 12px; height: 12px; border-radius: 50%; border: none; margin: 0 5px; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1) grayscale(100%) sepia(100%) saturate(1000%) hue-rotate(30deg); }

.about-story-card, .science-card { background-color: var(--white); border-radius: 1rem; padding: 2.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-top: 4px solid var(--gold); }
.team-member-card { text-align: center; transition: transform 0.3s ease; }
.team-member-card:hover { transform: translateY(-5px); }
.team-member-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--light-gold); }
.team-member-name { font-weight: 700; color: var(--navy-blue); margin-bottom: 0.25rem; }
.team-member-role { font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.big-five-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; }
.big-five-icon { font-size: 1.8rem; color: var(--gold); background-color: var(--light-gold); min-width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-inline-end: 1rem; }

.gift-cta-section, .viewer-cta-section { background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(44, 77, 122, 0.95)), url('/assets/images/binding-dark.png'); color: var(--white); border-radius: 1.25rem; padding: 2.5rem 2rem; margin-top: 3rem; text-align: center; box-shadow: 0 8px 25px rgba(30, 58, 95, 0.2); border-top: 3px solid var(--gold); }
.gift-cta-section .gift-icon, .viewer-cta-section .viewer-cta-icon { font-size: 3.5rem; color: var(--gold); margin-bottom: 1.5rem; margin-left: auto; margin-right: auto; display: block; }
.gift-cta-section .gift-icon { animation: pulse 2s infinite ease-in-out; }
.viewer-cta-section .viewer-cta-icon { animation: pulse 2s infinite ease-in-out; }
.gift-cta-section h3, .viewer-cta-section h3 { font-weight: 700; }
.gift-cta-section p, .viewer-cta-section p { max-width: 600px; margin: 1rem auto 1.5rem; opacity: 0.9; }

.unlock-cta-overlay { position: relative; text-align: center; padding-bottom: 2rem; }
.unlock-cta-overlay::after { content: ''; position: absolute; bottom: 6rem; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white)); pointer-events: none; }
.unlock-cta-button { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 2; width: calc(100% - 3rem); }

.modal-body { min-height: 350px; position: relative; overflow: hidden; }
.modal-step { position: absolute; top: 0; left: 0; right: 0; width: 100%; padding: 1.5rem; opacity: 0; visibility: hidden; transform: translateX(-30px); transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease; }
.modal-step.active { opacity: 1; visibility: visible; transform: translateX(0); }
.modal-header { background: linear-gradient(135deg, var(--navy-blue), var(--light-navy)); color: var(--white); border-bottom: 2px solid var(--gold); }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25); }
.otp-inputs { display: flex; flex-direction: row-reverse; justify-content: center; gap: 10px; margin-bottom: 1.5rem; }
.otp-inputs input { width: 45px; height: 50px; text-align: center; font-size: 1.5rem; font-weight: 700; border: 2px solid var(--medium-gray); border-radius: 0.5rem; transition: border-color 0.3s ease, transform 0.2s ease; }
.otp-inputs.shake { animation: shake 0.5s ease-in-out; }
.otp-inputs input:focus { border-color: var(--gold); outline: none; transform: scale(1.05); box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25); }
#resend-otp-btn, #edit-mobile-btn { text-decoration: none; font-weight: 600; color: var(--navy-blue); cursor: pointer; }
#resend-otp-btn.disabled { color: var(--text-gray); pointer-events: none; }
#otp-timer { font-weight: 600; color: var(--danger); }
.success-checkmark { width: 100px; height: 100px; border-radius: 50%; display: flex; margin: 0 auto 1.5rem; background-color: rgba(40, 167, 69, 0.1); align-items: center; justify-content: center; }
.success-checkmark i { font-size: 3rem; color: var(--success); animation: pop-in 0.5s ease-out; }
.success-checkmark-compact { width: 80px; height: 80px; margin: 0 auto 1rem; }
.success-checkmark-compact i { font-size: 2.5rem; }
.social-share-btn { padding: 0.6rem 1rem; font-size: 0.9rem; border-radius: 0.5rem; }
.btn-whatsapp { background-color: #25D366; color: white; }
.btn-whatsapp:hover { background-color: #1DA851; color: white; }
.btn-telegram { background-color: #0088cc; color: white; }
.btn-telegram:hover { background-color: #0077b5; color: white; }

/* Blog Styles */
.blog-section { padding: 3rem 0; }
.blog-card { background-color: var(--white); border-radius: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); border: 1px solid var(--medium-gray); overflow: hidden; transition: all 0.4s ease; height: 100%; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(30, 58, 95, 0.15); border-color: var(--gold); }
.blog-card-img-wrapper { display: block; overflow: hidden; position: relative; height: 220px; }
.blog-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img-wrapper img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-title { font-weight: 700; font-size: 1.25rem; color: var(--navy-blue); margin-bottom: 0.75rem; }
.blog-card-title a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--medium-gray); padding-top: 1rem; margin-top: auto; }
.blog-card-meta { font-size: 0.85rem; color: var(--text-gray); font-weight: 500; }
.blog-card-meta i { color: var(--gold); margin-left: 0.3rem; }
.blog-card-read-more { font-weight: 600; text-decoration: none; color: var(--navy-blue); transition: all 0.3s ease; }
.blog-card-read-more i { transition: transform 0.3s ease; margin-right: 0.25rem; }
.blog-card-read-more:hover { color: var(--gold); }
.blog-card-read-more:hover i { transform: translateX(-4px); }

.blog-post-section { background-color: var(--white); border-radius: 1rem; padding: 2rem; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
@media (min-width: 768px) { .blog-post-section { padding: 3rem 4rem; } }
.blog-post-header .lead { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 1.5rem; }
.post-meta { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 2rem; }
.post-meta span { margin-left: 1.5rem; }
.post-meta i { color: var(--gold); margin-left: 0.5rem; }
.post-feature-image { width: 100%; height: auto; max-height: 450px; object-fit: cover; border-radius: 1rem; margin-bottom: 2.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.blog-post-content { font-size: 1.15rem; line-height: 2.1; color: #2c3e50; text-align: justify; text-justify: inter-word; }
.blog-post-content p { margin-bottom: 1.8rem; }
.blog-post-content .lead { font-size: 1.3rem; line-height: 1.8; font-weight: 500; color: var(--navy-blue); margin-bottom: 2.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 2rem; }
.blog-post-content h2:not(.accordion-header), .blog-post-content h3:not(.accordion-header) { color: var(--navy-blue); font-weight: 800; margin-top: 3.5rem; margin-bottom: 1.5rem; position: relative; line-height: 1.4; }
.blog-post-content h2:not(.accordion-header)::before { content: ''; display: inline-block; width: 8px; height: 8px; background-color: var(--gold); border-radius: 50%; margin-left: 10px; vertical-align: middle; }
.blog-post-content ul, .blog-post-content ol { margin-bottom: 2.5rem; padding-right: 2rem; }
.blog-post-content li { margin-bottom: 0.8rem; padding-left: 1rem; }
.blog-post-content ul li::marker { color: var(--gold); font-size: 1.2em; }
.blog-post-content ol li::marker { color: var(--navy-blue); font-weight: 700; font-family: 'Vazirmatn', sans-serif; }
.blog-post-content blockquote { background: linear-gradient(to left, rgba(248, 249, 250, 0.5), #fff); border-right: 5px solid var(--gold); padding: 1.5rem 2rem 1.5rem 1.5rem; margin: 3rem 0; font-size: 1.2rem; font-style: normal; font-weight: 500; color: var(--navy-blue); border-radius: 0 10px 10px 0; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.blog-post-content blockquote::before { content: '\f10e'; font-family: "Font Awesome 7 Free"; font-weight: 900; position: absolute; top: -15px; right: 15px; font-size: 2rem; color: var(--gold); background: #fff; padding: 0 10px; }
.blog-post-content strong { color: var(--navy-blue); font-weight: 800; background: linear-gradient(to top, rgba(212, 175, 55, 0.15) 50%, transparent 50%); }
.blog-post-content hr { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(212, 175, 55, 0.75), rgba(0, 0, 0, 0)); margin: 4rem 0; opacity: 1; }

.post-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--medium-gray); }
.post-cta-section { background: linear-gradient(135deg, var(--light-gold), #fdfaf2); border-radius: 1rem; padding: 2.5rem 2rem; margin-top: 3rem; text-align: center; border: 1px solid var(--gold); }
.post-cta-section h4 { color: var(--navy-blue); font-weight: 700; }
.share-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; background-color: #fcfcfc; border: 1px dashed var(--medium-gray); border-radius: 1rem; padding: 1.5rem; margin-bottom: 2rem; }
.share-title { font-weight: 700; color: var(--dark-gray); }
.share-buttons { display: flex; gap: 0.8rem; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.3s; font-size: 1.1rem; }
.social-btn:hover { transform: scale(1.15) rotate(10deg); color: white; box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.btn-telegram { background: linear-gradient(45deg, #2AABEE, #229ED9); }
.btn-linkedin { background: linear-gradient(45deg, #0077b5, #005582); }
.btn-copy { background-color: var(--navy-blue); cursor: pointer; border: none; }
.author-bio-box { display: flex; align-items: center; background-color: var(--white); border-inline-start: 4px solid var(--gold); padding: 1.5rem; border-radius: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 2rem; }
.author-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-inline-end: 1.2rem; border: 2px solid var(--light-gold); padding: 2px; }
.author-details h6 { margin: 0 0 0.3rem 0; font-weight: 700; color: var(--navy-blue); }
.author-details p { margin: 0; font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; }
.footer-nav-btn { display: flex; justify-content: center; margin-top: 2rem; }
.btn-back-blog { border: 2px solid var(--navy-blue); color: var(--navy-blue); padding: 0.6rem 2rem; border-radius: 50px; font-weight: 600; }
.btn-back-blog:hover { background-color: var(--navy-blue); color: var(--white); transform: translateX(5px); }

.custom-pagination { --pagination-btn-size: 48px; display: flex; gap: 0.5rem; }
.custom-pagination .page-item { margin: 0 !important; }
.custom-pagination .page-link { display: flex; align-items: center; justify-content: center; width: var(--pagination-btn-size); height: var(--pagination-btn-size); border-radius: 0.75rem; border: 1px solid var(--medium-gray); background-color: var(--white); color: var(--navy-blue); font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.custom-pagination .page-item:not(.disabled) .page-link:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(30, 58, 95, 0.1); background-color: var(--light-gold); border-color: var(--gold); }
.custom-pagination .page-item.active .page-link { background: linear-gradient(135deg, var(--navy-blue), var(--light-navy)); color: var(--white); border-color: var(--gold); box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2); transform: translateY(-2px); }
.custom-pagination .page-item.disabled .page-link { background-color: var(--medium-gray); color: #adb5bd; box-shadow: none; }

.references-section { background-color: #fdfdfd; border: 1px solid var(--medium-gray); border-right: 5px solid var(--gold); border-radius: 0.8rem; padding: 2rem 2.5rem; margin-top: 4rem; margin-bottom: 2rem; position: relative; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); transition: transform 0.3s ease; }
.references-section:hover { box-shadow: 0 8px 20px rgba(30, 58, 95, 0.08); }
.references-section h5 { color: var(--navy-blue); font-weight: 800; font-size: 1.2rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--medium-gray); position: relative; display: flex; align-items: center; }
.references-section h5::before { content: '\f02d'; font-family: "Font Awesome 7 Free"; font-weight: 900; margin-left: 10px; color: var(--gold); font-size: 1.4rem; }
.references-section ol { padding-right: 1rem; margin-bottom: 0; }
.references-section li { color: var(--dark-gray) !important; font-size: 0.95rem !important; margin-bottom: 1rem; line-height: 1.8; transition: all 0.2s ease; }
.references-section li::marker { color: var(--gold); font-weight: bold; font-size: 1.1em; }
.references-section li:hover { transform: translateX(-5px); }
.references-section li em { font-style: normal; font-weight: 600; color: var(--navy-blue); background-color: rgba(212, 175, 55, 0.1); padding: 0 4px; border-radius: 4px; margin: 0 2px; }

.site-footer { background-color: var(--medium-gray); padding: 2.5rem 1rem; margin-top: auto; text-align: center; flex-shrink: 0; }
.footer-links-minimal { list-style: none; padding: 0; margin: 0 0 1rem 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-links-minimal a { color: var(--text-gray); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s ease; }
.footer-links-minimal a:hover { color: var(--navy-blue); }
.footer-copyright { font-size: 0.85rem; color: #9098a0; }

@media (max-width: 576px) {
    body { padding: 0 0 65px 0; }
    .footer-links-minimal { gap: 0.75rem; margin-bottom: 1.5rem; }
    .references-section { padding: 1.5rem; border-right-width: 4px; }
    .share-box { flex-direction: column; text-align: center; gap: 1.5rem; padding: 1.25rem; }
    .share-title { width: 100%; margin-bottom: 0.5rem; }
    .share-buttons { width: 100%; justify-content: center; gap: 1.2rem; }
    .social-btn { width: 50px; height: 50px; font-size: 1.4rem; }
}
@media (max-width: 768px) {
    .blog-post-content { font-size: 1.05rem; line-height: 1.9; }
    .blog-post-content h2:not(.accordion-header) { font-size: 1.5rem; margin-top: 2.5rem; }
    .guarantee-card { flex-direction: column; text-align: center; padding: 1.5rem !important; border-right: 1px solid #e9ecef; border-top: 5px solid #d4af37; }
    .guarantee-icon-box { margin-left: 0 !important; margin-bottom: 1rem; }
    .guarantee-content { text-align: center !important; }
    .small-on-mobile { font-size: 0.9rem; }
}

/* Loading Overlay */
#ai-loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 58, 95, 0.95); backdrop-filter: blur(10px); z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.loading-content { width: 90%; max-width: 500px; }
.custom-progress { height: 10px; background-color: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; }
.did-you-know-box { background: rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.2); transition: opacity 0.5s ease; }

/* =================================================================== */
/* ======================= 9. DARK MODE ============================== */
/* =================================================================== */
[data-theme="dark"] {
    --navy-blue: #8ab4f8;
    --light-navy: #aecbfa;
    --light-gray: #121212;
    --medium-gray: #2c2c2c;
    --dark-gray: #e8eaed;
    --text-gray: #b0b3b8;
    --white: #1e1e1e;
    --light-gold: #3e3418;
}

[data-theme="dark"] body {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c2c2c' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="dark"] .navbar,
[data-theme="dark"] .mobile-nav { background-color: #1e1e1e; border-bottom: 1px solid #333; }

[data-theme="dark"] .card,
[data-theme="dark"] .questionnaire-card,
[data-theme="dark"] .history-item,
[data-theme="dark"] .credit-option,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .insight-card,
[data-theme="dark"] .dimension-card,
[data-theme="dark"] .about-story-card,
[data-theme="dark"] .science-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .blog-post-section {
    background-color: #1e1e1e;
    border-color: #333;
    color: var(--dark-gray);
}

[data-theme="dark"] .form-control { background-color: #2c2c2c; border-color: #444; color: #fff; }
[data-theme="dark"] .form-control:focus { background-color: #333; color: #fff; }
[data-theme="dark"] .option-btn { background-color: #2c2c2c; border-color: #444; color: var(--dark-gray); }
[data-theme="dark"] .option-btn:hover { background-color: #3a3a3a; }
[data-theme="dark"] .option-btn.selected { background-color: #3e3418; color: #ffd700; border-color: #ffd700; }

[data-theme="dark"] .text-muted { color: #9ca3af !important; }
[data-theme="dark"] .navbar-brand { color: #fff !important; }
[data-theme="dark"] .nav-link { color: #e0e0e0 !important; }
[data-theme="dark"] .nav-link.active, [data-theme="dark"] .nav-link:hover { color: var(--navy-blue) !important; }

[data-theme="dark"] .insight-header { background-color: #252525; border-bottom-color: #333; }
[data-theme="dark"] .suggestion-card { background-color: #252525; }
[data-theme="dark"] .strength-item { background-color: rgba(40, 167, 69, 0.15); }
[data-theme="dark"] .growth-item { background-color: rgba(255, 193, 7, 0.15); }

[data-theme="dark"] .welcome-section,
[data-theme="dark"] .result-intro-card,
[data-theme="dark"] .gift-cta-section,
[data-theme="dark"] .viewer-cta-section { color: #ffffff !important; }

[data-theme="dark"] .welcome-section .text-muted,
[data-theme="dark"] .result-intro-card .text-muted,
[data-theme="dark"] .gift-cta-section .text-muted,
[data-theme="dark"] .viewer-cta-section .text-muted { color: rgba(255, 255, 255, 0.8) !important; }

[data-theme="dark"] .btn-outline-light { color: #ffffff; border-color: rgba(255, 255, 255, 0.7); }
[data-theme="dark"] .btn-outline-light:hover { color: #000; background-color: #fff; border-color: #fff; }

[data-theme="dark"] .card-header,
[data-theme="dark"] .modal-header,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .badge,
[data-theme="dark"] .credit-badge { color: #ffffff !important; }
[data-theme="dark"] .card-header, [data-theme="dark"] .modal-header { background: linear-gradient(135deg, #535353, #4a4a4a); border-bottom-color: #ffd700; }
[data-theme="dark"] .btn-gold { color: var(--bs-dark); }
[data-theme="dark"] .bg-light { background: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity)) !important; }

[data-theme="dark"] .list-group-item { background-color: #252525; border-color: #333; color: var(--dark-gray); }
[data-theme="dark"] .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

[data-theme="dark"] ::-webkit-scrollbar { width: 12px; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #121212; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background-color: #444; border-radius: 6px; border: 3px solid #121212; }
[data-theme="dark"] { scrollbar-width: thin; scrollbar-color: #444 #121212; }

[data-theme="dark"] .notification { background-color: #252525; color: #e0e0e0; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
[data-theme="dark"] .otp-inputs input { background-color: #2c2c2c; color: #fff; border-color: #444; }
[data-theme="dark"] .text-gold { color: #ffd700 !important; }
[data-theme="dark"] .text-navy-blue { color: var(--navy-blue) !important; }
[data-theme="dark"] .text-dark { color: #e0e0e0 !important; }

/* Dark Mode: Blog Specifics */
[data-theme="dark"] .blog-post-content { color: #e0e0e0; }
[data-theme="dark"] .blog-post-content .lead { color: #aecbfa; border-bottom-color: #444; }
[data-theme="dark"] .blog-post-content h2:not(.accordion-header), [data-theme="dark"] .blog-post-content h3:not(.accordion-header) { color: #ffffff; border-bottom-color: #3e3418; }
[data-theme="dark"] .blog-post-content strong { color: #ffd700; background: linear-gradient(to top, rgba(212, 175, 55, 0.3) 50%, transparent 50%); }
[data-theme="dark"] .blog-post-content blockquote { background: linear-gradient(to left, #2c2c2c, #1e1e1e); color: #e0e0e0; }
[data-theme="dark"] .blog-post-content blockquote::before { background-color: #1e1e1e; color: #ffd700; }
[data-theme="dark"] .post-cta-section { background: linear-gradient(135deg, #3e3418, #1e1e1e); border-color: #ffd700; }
[data-theme="dark"] .post-cta-section h4 { color: #ffffff; }
[data-theme="dark"] .post-footer { border-top-color: #444; }
[data-theme="dark"] .share-box { background-color: #252525; border-color: #444; }
[data-theme="dark"] .share-title { color: #e0e0e0; }
[data-theme="dark"] .author-bio-box { background-color: #252525; border-right-color: #ffd700; }
[data-theme="dark"] .author-details h6 { color: #fff; }
[data-theme="dark"] .author-img { border-color: #3e3418; }
[data-theme="dark"] .btn-back-blog { border-color: #8ab4f8; color: #8ab4f8; }
[data-theme="dark"] .btn-back-blog:hover { background-color: #8ab4f8; color: #1e1e1e; }

/* Dark Mode: References & Pagination */
[data-theme="dark"] .references-section { background-color: #252525; border-color: #444; }
[data-theme="dark"] .references-section h5 { color: #ffd700; border-bottom-color: #555; }
[data-theme="dark"] .references-section li { color: #b0b3b8 !important; }
[data-theme="dark"] .references-section li em { color: #aecbfa; background-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .custom-pagination .page-link { background-color: #2c2c2c; border-color: #444; color: #e0e0e0; }
[data-theme="dark"] .custom-pagination .page-item:not(.disabled) .page-link:hover { background-color: #3e3418; color: #ffd700; border-color: #ffd700; }
[data-theme="dark"] .custom-pagination .page-item.active .page-link { background: linear-gradient(135deg, #3e3418, #2c2c2c); border-color: #ffd700; color: #ffd700; }
[data-theme="dark"] .custom-pagination .page-item.disabled .page-link { background-color: #1a1a1a; border-color: #333; color: #555; }

/* Dark Mode: FAQ Accordion */
[data-theme="dark"] .bg-light-soft { background-color: #121212 !important; border-top: 1px solid #333; border-bottom: 1px solid #333; }
[data-theme="dark"] .custom-faq-accordion .accordion-item { background-color: #1e1e1e !important; border: 1px solid #333; box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
[data-theme="dark"] .custom-faq-accordion .accordion-button { background-color: #1e1e1e !important; color: #e0e0e0; box-shadow: none !important; }
[data-theme="dark"] .custom-faq-accordion .accordion-button:not(.collapsed) { background-color: #3e3418 !important; color: #ffd700 !important; border-bottom: 1px solid #444; }
[data-theme="dark"] .custom-faq-accordion .accordion-body { background-color: #1e1e1e !important; color: #b0b3b8; border-top: none; }
[data-theme="dark"] .custom-faq-accordion .accordion-button::before { color: #ffd700; }
[data-theme="dark"] .custom-faq-accordion .accordion-button::after { filter: brightness(0) invert(1); opacity: 0.7; }
[data-theme="dark"] .custom-faq-accordion .accordion-button:not(.collapsed)::after { filter: none; }
[data-theme="dark"] .custom-faq-accordion .accordion-item:hover { border-color: #ffd700; transform: translateY(-2px); }

/* Dark Mode: Guarantee, Social Proof & Components */
[data-theme="dark"] .guarantee-card { border-right-color: #ffd700; background: linear-gradient(135deg, #2c2c2c, #252525); }
[data-theme="dark"] .icon-circle { background-color: rgba(255, 215, 0, 0.15); }
[data-theme="dark"] .percent-badge { background-color: #ffd700; color: #000; border-color: #444; }
[data-theme="dark"] .guarantee-content .text-muted { color: #b0b3b8 !important; }
[data-theme="dark"] .guarantee-content .text-dark { color: #fff !important; }
[data-theme="dark"] .guarantee-title { color: #ffd700; }
[data-theme="dark"] .social-proof-strip { background: linear-gradient(to bottom, #1e1e1e, #121212); border-bottom: 1px solid #333; }
[data-theme="dark"] .social-proof-text { color: #e0e0e0 !important; }
[data-theme="dark"] .avatar-stack img, [data-theme="dark"] .avatar-stack .avatar-more { border-color: #1e1e1e; }
[data-theme="dark"] .question-counter { background-color: #2c2c2c; color: #ffd700; }
[data-theme="dark"] .dimension-icon { background-color: #2c2c2c; color: #8ab4f8; }
[data-theme="dark"] .insight-subsection p { border-inline-start-color: #ffd700; }
[data-theme="dark"] .insight-card { border-color: #333; }
[data-theme="dark"] .breadcrumb-item a { color: #aecbfa !important; }
[data-theme="dark"] .breadcrumb-item.active { color: #9ca3af !important; }
[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: #666; }