﻿/* ==========================================
   HUMAN OS: POSITIVE POLITICS & INFLUENCE
   Style Sheet - Corporate Tech Dark Theme
   ========================================== */

:root {
    --bg-dark: #090d1a;
    --card-bg: rgba(20, 26, 48, 0.5);
    --card-border: rgba(255, 255, 255, 0.08);
    
    /* Core Intelligence Colors */
    --color-eq: #10b981;      /* Emerald Green - Emotional */
    --color-pq: #a855f7;      /* Violet - Political */
    --color-cq: #f59e0b;      /* Amber - Cultural */
    --color-blue: #3b82f6;    /* Electric Blue */
    --color-rose: #f43f5e;    /* Rose Red - Danger */

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-hebrew: 'Assistant', sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-hebrew);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.d-none {
    display: none !important;
}

/* Background Effects */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: 
        radial-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 40px),
        radial-gradient(rgba(6, 182, 212, 0.05) 2px, transparent 60px);
    background-size: 80px 80px, 120px 120px;
    opacity: 0.8;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px); /* tighter blur for a distinct spotlight beam feel */
    z-index: -2;
    opacity: 0.55; /* increased opacity for stronger presence */
    pointer-events: none;
    animation: float-orbs 25s ease-in-out infinite alternate;
}

.orb-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(59, 130, 246, 0.04) 70%); /* Strong emerald green stadium floodlight glow */
    top: -50px;
    right: -100px;
}

.orb-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.38) 0%, rgba(236, 72, 153, 0.04) 70%); /* Strong cyber tech purple glow */
    bottom: -100px;
    left: -150px;
    animation-delay: -7s;
}

@keyframes float-orbs {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.1); }
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(13, 18, 38, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--color-blue);
    background: rgba(59, 130, 246, 0.12);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.logo-text h1 {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    background: linear-gradient(to left, #60a5fa, var(--color-pq));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.version-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.online {
    background-color: var(--color-blue);
    box-shadow: 0 0 8px var(--color-blue);
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-blue);
}

/* Layout Split */
.main-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    flex-grow: 1;
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Navigation */
.nav-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 992px) {
    .nav-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(13, 18, 38, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    color: var(--text-secondary);
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
    width: 100%;
    transition: var(--transition-smooth);
}

@media (max-width: 992px) {
    .nav-btn {
        width: auto;
        flex: 1 1 180px;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

.nav-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.nav-btn.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: var(--color-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.nav-btn i {
    font-size: 1.15rem;
    min-width: 20px;
    text-align: center;
}

.nav-btn.active i {
    color: var(--color-blue);
}

/* Content Area */
.content-area {
    position: relative;
    width: 100%;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(to left, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Cards */
.glass-card {
    background: rgba(13, 18, 38, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.glass-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.glass-card h3 i {
    color: var(--color-blue);
}

/* ==========================================
   MODULE 1: PROFILE / DIAGNOSTIC
   ========================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.quiz-item {
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}

.quiz-question {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quiz-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 10px 14px;
    transition: var(--transition-smooth);
}

.quiz-option:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

.quiz-option input[type="radio"] {
    margin-top: 6px;
    cursor: pointer;
}

.quiz-option span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.quiz-option input[type="radio"]:checked + span {
    color: var(--text-primary);
    font-weight: 600;
}

.quiz-option:has(input[type="radio"]:checked) {
    border-color: var(--color-blue);
    background: rgba(59, 130, 246, 0.08);
}

/* Visualization Panel */
.bar-metric {
    margin-bottom: 24px;
    text-align: right;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.bar-wrap {
    background: rgba(255,255,255,0.06);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill-eq { background: var(--color-eq); box-shadow: 0 0 10px var(--color-eq); }
.fill-pq { background: var(--color-pq); box-shadow: 0 0 10px var(--color-pq); }
.fill-cq { background: var(--color-cq); box-shadow: 0 0 10px var(--color-cq); }

.profile-description {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.profile-description h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-blue);
}

.profile-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================
   MODULE 2: ROOM READER
   ========================================== */
.room-reader-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .room-reader-layout {
        grid-template-columns: 1fr;
    }
}

.reader-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    border-right: 3px solid var(--color-blue);
    padding-right: 8px;
}

.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.check-option:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
}

.check-option input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.check-option input[type="checkbox"]:checked + span {
    color: var(--text-primary);
}

.check-option:has(input[type="checkbox"]:checked) {
    border-color: var(--color-blue);
    background: rgba(59, 130, 246, 0.06);
}

.radio-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.radio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.88rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.radio-box input[type="radio"] {
    margin-bottom: 6px;
}

.radio-box:has(input[type="radio"]:checked) {
    border-color: var(--color-blue);
    background: rgba(59, 130, 246, 0.08);
}

/* Needle Gauge styling */
.temp-gauge-wrap {
    margin: 20px auto;
    max-width: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.temp-gauge {
    width: 180px;
    height: 90px; /* Semi-circle */
    background: linear-gradient(to left, var(--color-rose) 0%, var(--color-cq) 50%, var(--color-eq) 100%);
    border-radius: 100px 100px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.temp-gauge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 65px;
    background: var(--bg-dark);
    border-radius: 100px 100px 0 0;
    z-index: 2;
}

.temp-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 6px;
    height: 75px;
    background: var(--text-primary);
    transform-origin: bottom center;
    transform: rotate(0deg); /* Range: -90deg (EQ - Left) to 90deg (Rose - Right) */
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.temp-needle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -7px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
}

.temp-label {
    margin-top: 15px;
}

.temp-label span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.temp-label strong {
    font-size: 1.2rem;
    color: var(--text-primary);
    display: block;
    margin-top: 2px;
}

.tactics-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    text-align: right;
}

.tactics-box ul {
    list-style: none;
    padding-right: 5px;
}

.tactics-box li {
    position: relative;
    padding-right: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.tactics-box li::before {
    content: "←";
    color: var(--color-blue);
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
}

.tactics-box li strong {
    color: var(--text-primary);
}

/* ==========================================
   MODULE 3: CONFLICT DECRYPTER
   ========================================== */
.conflict-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .conflict-layout {
        grid-template-columns: 1fr;
    }
}

.form-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-family: var(--font-hebrew);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.conflict-rating-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-right: 4px solid var(--color-blue);
}

.conflict-rating-banner.danger { border-right-color: var(--color-rose); }
.conflict-rating-banner.warning { border-right-color: var(--color-cq); }
.conflict-rating-banner.success { border-right-color: var(--color-eq); }

.rating-score {
    font-size: 1.1rem;
    font-weight: 700;
}

.conflict-analysis-block {
    margin-bottom: 20px;
}

.conflict-analysis-block h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.conflict-analysis-block p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.script-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .script-box {
        grid-template-columns: 1fr;
    }
}

.script-say, .script-avoid {
    padding: 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.script-say {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-right: 3px solid var(--color-eq);
}

.script-say h5 {
    color: var(--color-eq);
    font-weight: 700;
    margin-bottom: 6px;
}

.script-avoid {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.15);
    border-right: 3px solid var(--color-rose);
}

.script-avoid h5 {
    color: var(--color-rose);
    font-weight: 700;
    margin-bottom: 6px;
}

/* ==========================================
   MODULE 4: BENEFITS BANK
   ========================================== */
.bank-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .bank-layout {
        grid-template-columns: 1fr;
    }
}

.bank-score-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.bank-score-banner strong {
    font-family: var(--font-en);
    font-size: 1.3rem;
    color: var(--color-pq);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.score-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.bank-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 480px;
    overflow-y: auto;
}

.bank-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
    position: relative;
    border-right: 4px solid var(--color-blue);
    transition: var(--transition-smooth);
}

.bank-card.credit { border-right-color: var(--color-eq); }
.bank-card.debt { border-right-color: var(--color-rose); }
.bank-card.even { border-right-color: var(--color-cq); }

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bank-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.bank-card-status {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 6px;
}

.bank-card.credit .bank-card-status { background: rgba(16, 185, 129, 0.15); color: var(--color-eq); }
.bank-card.debt .bank-card-status { background: rgba(244, 63, 94, 0.15); color: var(--color-rose); }
.bank-card.even .bank-card-status { background: rgba(245, 158, 11, 0.15); color: var(--color-cq); }

.bank-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
}

.detail-row strong {
    color: var(--color-blue);
    background: rgba(59, 130, 246, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    display: inline-block;
    font-size: 0.75rem;
}

.bank-card.credit .detail-row strong { color: var(--color-eq); background: rgba(16, 185, 129, 0.08); }
.bank-card.debt .detail-row strong { color: var(--color-rose); background: rgba(244, 63, 94, 0.08); }

.btn-delete-sh {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.btn-delete-sh:hover {
    color: var(--color-rose);
    background: rgba(244, 63, 94, 0.1);
}

/* ==========================================
   MODULE 5: SIMULATOR
   ========================================== */
.simulator-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .simulator-layout {
        grid-template-columns: 1fr;
    }
}

.simulator-toc {
    position: sticky;
    top: 20px;
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding-left: 4px;
}

.toc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    cursor: pointer;
    text-align: right;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
}

.toc-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: var(--text-primary);
    transform: translateX(-2px);
}

.toc-item.active {
    background: rgba(0, 242, 254, 0.06);
    border-color: var(--color-eq);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.1);
}

.toc-item.completed {
    border-right: 4px solid var(--color-eq);
}

.toc-item .status-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.toc-item .status-badge.pending {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.toc-item .status-badge.done {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-eq);
}

.sim-total-score {
    background: linear-gradient(135deg, var(--color-eq) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sim-score strong {
    color: var(--color-eq);
    font-family: var(--font-en);
    font-size: 1.15rem;
}

#scenario-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-option-btn {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-secondary);
    font-family: var(--font-hebrew);
    font-size: 0.92rem;
    text-align: right;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sim-option-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.sim-option-btn.selected {
    border-color: var(--color-blue);
    background: rgba(59, 130, 246, 0.08);
    color: var(--text-primary);
    font-weight: 600;
}

.feedback-container h4 {
    border-bottom: none;
    margin-bottom: 5px;
    padding-bottom: 0;
    color: var(--color-cq);
}

.feedback-container p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Textareas & Fields */
textarea, input[type="text"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-family: var(--font-hebrew);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

textarea:focus, input[type="text"]:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    background: rgba(0, 0, 0, 0.35);
}

/* Universal Button Design */
.btn {
    font-family: var(--font-hebrew);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-blue) 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-success {
    background: linear-gradient(135deg, var(--color-eq) 0%, #047857 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.w-100 { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.d-none { display: none; }

/* Footer */
.app-footer {
    margin-top: 40px;
    padding: 24px;
    text-align: center;
    border-top: 1px solid var(--card-border);
    background: rgba(13, 18, 38, 0.7);
    border-radius: 18px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-credits {
    margin-top: 6px;
    color: var(--text-muted);
    font-family: var(--font-en);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ==========================================
   CONFLICT ENCYCLOPEDIA & LIBRARY STYLING
   ========================================== */
.library-controls {
    margin-bottom: 20px;
}

.search-box-wrapper input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 45px 14px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box-wrapper input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

/* Conflict Card Layout */
.conflict-lib-card {
    background: rgba(13, 18, 38, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.conflict-lib-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    background: rgba(20, 26, 48, 0.6);
}

.conflict-lib-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.conflict-lib-title-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.conflict-lib-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.conflict-lib-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lib-cat-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.lib-cat-tag.peers { background: rgba(59, 130, 246, 0.1); color: var(--color-blue); border-color: rgba(59, 130, 246, 0.2); }
.lib-cat-tag.managers { background: rgba(168, 85, 247, 0.1); color: var(--color-pq); border-color: rgba(168, 85, 247, 0.2); }
.lib-cat-tag.cross { background: rgba(245, 158, 11, 0.1); color: var(--color-cq); border-color: rgba(245, 158, 11, 0.2); }
.lib-cat-tag.personal { background: rgba(16, 185, 129, 0.1); color: var(--color-eq); border-color: rgba(16, 185, 129, 0.2); }

.difficulty-flames {
    color: var(--color-cq);
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.difficulty-flames i.active {
    color: var(--color-rose);
    text-shadow: 0 0 5px rgba(244, 63, 94, 0.4);
}

.conflict-lib-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Expandable content */
.lib-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin-top 0.4s ease-out;
}

.conflict-lib-card.expanded .lib-card-details {
    max-height: 800px; /* high limit to allow expansion */
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.details-block {
    margin-bottom: 12px;
}

.details-block h5 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.details-block p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.lib-card-toggle {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.conflict-lib-card.expanded .lib-card-toggle {
    transform: rotate(180deg);
    color: var(--color-blue);
}

.admin-panel {
    border: 1px dashed var(--color-blue);
    background: rgba(13, 22, 47, 0.6);
}

.btn-delete-lib-card {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 6px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    margin-right: 10px;
}

.btn-delete-lib-card:hover {
    color: var(--color-rose);
    background: rgba(244, 63, 94, 0.1);
}

/* ==========================================
   ALLIANCE & INFLUENCE MAP (MATRIX)
   ========================================== */
.alliance-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
}

@media (max-width: 992px) {
    .alliance-layout {
        grid-template-columns: 1fr;
    }
}

.alliance-left-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Matrix Styling */
.matrix-wrapper {
    display: flex;
    flex-direction: column;
    padding-right: 50px;  /* Right padding for Y-Axis labels */
    padding-bottom: 50px; /* Bottom padding for X-Axis labels */
    position: relative;
    box-sizing: border-box;
}

/* Y-Axis labels (High, Med, Low Influence) */
.matrix-y-axis {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.y-title {
    position: absolute;
    right: -45px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* X-Axis labels (Opponent, Neutral, Ally) */
.matrix-x-axis {
    position: absolute;
    bottom: 0;
    right: 50px;
    width: calc(100% - 50px);
    height: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.x-title {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Grid Container */
.matrix-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, minmax(130px, auto));
    gap: 3px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Individual cell quadrants */
.matrix-cell {
    background: rgba(13, 18, 38, 0.3);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    min-height: 140px;
    transition: var(--transition-smooth);
    position: relative;
}

/* Colored visual shading for cells */
.matrix-cell[data-cell$="opponent"] { background: rgba(244, 63, 94, 0.015); }
.matrix-cell[data-cell$="ally"] { background: rgba(16, 185, 129, 0.015); }
.matrix-cell[data-cell$="neutral"] { background: rgba(59, 130, 246, 0.01); }

.matrix-cell:hover {
    background: rgba(255, 255, 255, 0.015);
}

/* Stakeholder Bubble / Node */
.stakeholder-node {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    min-width: 90px;
    max-width: 130px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
}

.stakeholder-node:hover {
    transform: scale(1.05) translateY(-2px);
    z-index: 5;
}

.stakeholder-node.active-node {
    box-shadow: 0 0 15px var(--color-blue);
    border-style: dashed;
}

/* Support Colors */
.stakeholder-node.ally {
    border-color: var(--color-eq);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.stakeholder-node.neutral {
    border-color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}
.stakeholder-node.opponent {
    border-color: var(--color-rose);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.15);
}

.node-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.node-role {
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-top: 2px;
}

/* Delete node tag button */
.btn-node-delete {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--color-rose);
    color: white;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.stakeholder-node:hover .btn-node-delete {
    opacity: 1;
}

/* SVG overlay lines */
.matrix-svg-lines line {
    stroke: rgba(168, 85, 247, 0.4);
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-dasharray: 6 6;
    animation: dash-pulse 20s linear infinite;
}

@keyframes dash-pulse {
    to {
        stroke-dashoffset: -100;
    }
}

/* Advisor Card styling */
#alliance-advice-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    border-bottom: none;
    padding-bottom: 0;
}

#alliance-advice-box h4.ally { color: var(--color-eq); }
#alliance-advice-box h4.neutral { color: var(--color-blue); }
#alliance-advice-box h4.opponent { color: var(--color-rose); }

.advice-section {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    font-size: 0.85rem;
    border-right: 3px solid var(--color-blue);
}

.advice-section.block {
    border-right-color: var(--color-rose);
}

.advice-section.sponsor {
    border-right-color: var(--color-eq);
}

.advice-section h5 {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.advice-section p {
    color: var(--text-secondary);
    line-height: 1.4;
}

.alliance-path-alert {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-right: 3px solid var(--color-pq);
}

/* ==========================================
   LANDING PAGE STYLING (LOBBY & REGISTRATION)
   ========================================== */
html {
    scroll-behavior: smooth;
}

.landing-body {
    padding-bottom: 50px;
}

.minimal-header .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .minimal-header .nav-links {
        display: none; /* simple responsive hide for links */
    }
}

.nav-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-link-item:hover {
    color: var(--color-blue);
}

/* Hero Section Redesigned: Two Columns */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--color-blue);
    margin-bottom: 15px;
}

.hero-main-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: right;
}

.hero-sub-title-badge {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-eq);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 16px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.95); /* brighter white color */
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 680px;
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #ec4899 100%); /* soft cyan-pink */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* Lecturer Card inside Hero */
.lecturer-hero-card {
    padding: 30px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 24px;
}

.lecturer-img-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    margin-bottom: 15px;
}

.lecturer-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lecturer-hero-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    border-bottom: none;
    padding-bottom: 0;
}

.lecturer-tagline {
    font-size: 0.78rem;
    color: var(--color-blue);
    font-weight: 600;
}

.lecturer-bio-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: justify;
}

/* Logos Bar Section */
.logos-section {
    padding: 30px 20px;
    margin: 30px 0 50px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logos-bar-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff; /* whiter and brighter! */
    text-transform: uppercase;
    margin-bottom: 18px;
}

.logos-ticker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.logo-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff; /* whiter and brighter! */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.logo-item i {
    font-size: 0.85rem;
    color: #ffffff; /* whiter and brighter icon! */
    opacity: 0.85;
}

.logo-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Takeaways */
.takeaways-section {
    margin-bottom: 60px;
}

.takeaway-card {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.takeaway-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.takeaway-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.takeaway-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Testimonials / Quotes */
.testimonials-section {
    padding: 80px 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.quote-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid var(--card-border) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

/* Alternate top border color of quote cards */
.quote-card:nth-child(3n+1) {
    border-top: 3px solid var(--color-blue) !important; /* blue top border */
}
.quote-card:nth-child(3n+2) {
    border-top: 3px solid var(--color-eq) !important; /* emerald green top border */
}
.quote-card:nth-child(3n+3) {
    border-top: 3px solid var(--color-rose) !important; /* rose top border */
}

/* Hover Glowing Animations */
.quote-card:hover {
    transform: translateY(-8px);
}

.quote-card:nth-child(3n+1):hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.1);
}
.quote-card:nth-child(3n+2):hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
}
.quote-card:nth-child(3n+3):hover {
    border-color: rgba(244, 63, 94, 0.3) !important;
    box-shadow: 0 15px 30px rgba(244, 63, 94, 0.1);
}

.testimonial-stars {
    color: #fbbf24; /* gold yellow */
    font-size: 0.82rem;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.quote-quote {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    text-align: justify;
}

.quote-quote::before {
    content: "\201C";
    font-size: 2.2rem;
    font-family: serif;
    position: absolute;
    right: -12px;
    top: -15px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.quote-author-info {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.quote-author-info strong {
    color: #ffffff;
    font-weight: 800;
}

.quote-author-info span {
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gift Section - Locked/Unlocked Toolbox */
.gift-section {
    padding: 80px 0;
    position: relative;
    margin-bottom: 60px;
}

.card-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: var(--color-rose);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 5px;
    width: fit-content;
}

.card-lock-badge i {
    font-size: 0.8rem;
}

.card-lock-badge.inline {
    margin-right: 12px;
    margin-bottom: 0;
    margin-top: 0;
    vertical-align: middle;
}

.badge-lock, .badge-unlock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.badge-lock {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: var(--color-rose);
}

.badge-unlock {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--color-eq);
    animation: success-pulse 2s infinite ease-in-out;
}

@keyframes success-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
    }
}

/* Unlocked states */
.unlocked .card-lock-badge {
    display: none !important;
}

.unlocked .locked-blur {
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: auto !important;
}

/* Content Layout */
.toolbox-content {
    transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.locked-blur {
    filter: blur(8px);
    opacity: 0.28;
    pointer-events: none;
    user-select: none;
}

.toolbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.toolbox-card {
    position: relative;
    padding: 30px 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid var(--card-border) !important;
    background: rgba(15, 23, 42, 0.4) !important;
}

.toolbox-card.span-2 {
    grid-column: span 2;
}

.tool-num {
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 15px;
    left: 20px;
    line-height: 1;
}

.toolbox-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
}

.tool-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    text-align: justify;
}

.tool-sub-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sub-bullet-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.sub-bullet-card strong {
    display: block;
    color: var(--color-blue);
    margin-bottom: 4px;
}

.sub-bullet-card strong i {
    margin-left: 4px;
}

.sub-bullet-card span {
    color: var(--text-secondary);
}

/* Bottom summary card style */
.toolbox-summary-card {
    padding: 25px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px dashed var(--color-eq) !important;
    background: rgba(16, 185, 129, 0.02) !important;
}

.summary-icon {
    font-size: 2rem;
    color: var(--color-eq);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
}

.toolbox-summary-card strong {
    font-size: 1.1rem;
    color: var(--color-eq);
    font-weight: 800;
}

.toolbox-summary-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .toolbox-grid {
        grid-template-columns: 1fr 1fr;
    }
    .toolbox-card.span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .toolbox-grid {
        grid-template-columns: 1fr;
    }
    .toolbox-card.span-2 {
        grid-column: span 1;
    }
    .tool-sub-bullets {
        grid-template-columns: 1fr;
    }
    .toolbox-lock-overlay {
        background: rgba(8, 12, 33, 0.65);
    }
    .lock-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

/* Registration Form Card */
.register-section {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.signup-card {
    padding: 40px;
    border: 1px solid var(--color-blue);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.signup-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Success Box Animation */
.success-box {
    animation: scale-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-up {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    .hero-subtitle-details {
        font-size: 1.5rem !important;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    .takeaways-section > div {
        grid-template-columns: 1fr !important;
    }
    .testimonials-section > div {
        grid-template-columns: 1fr !important;
    }
    .signup-card form > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 10px !important;
    }
}

.hero-subtitle-details {
    color: var(--color-rose);
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 0 0 15px rgba(244, 63, 94, 0.25);
    text-align: right;
    width: 100%;
}
.tactical-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.22; /* significantly increased to 22% for clear visibility */
    overflow: hidden;
}

/* About Lecture Glass Glowing Box */
.about-lecture-box {
    margin-top: 30px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    background: rgba(15, 23, 42, 0.45) !important;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.04) !important;
    position: relative;
    overflow: visible;
}

.about-lecture-tag {
    position: absolute;
    top: -14px;
    right: 25px;
    background: linear-gradient(135deg, #38bdf8 0%, #a855f7 100%);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.about-lecture-highlight {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.about-lecture-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-section {
    position: relative;
}

/* Lobby Page Styling */
.lobby-main-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.lobby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 1100px) {
    .lobby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .lobby-grid {
        grid-template-columns: 1fr;
    }
}

.lobby-card {
    padding: 35px 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 230px;
}

.lobby-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.lobby-card-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px currentColor);
}

.lobby-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.lobby-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.header-contact-badge {
    margin-right: 15px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-contact-badge a {
    color: #10b981;
    text-decoration: none;
    transition: color 0.2s ease;
}
.header-contact-badge a:hover {
    color: #34d399;
}
.header-contact-badge i {
    color: #10b981;
}

@media (max-width: 768px) {
    .header-contact-badge {
        display: none;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    padding: 0 !important; /* Override standard glass-card padding */
    cursor: pointer;
    border: 1px solid var(--card-border) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-img-top {
    object-position: center 10% !important;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(to top, rgba(9, 13, 26, 0.95) 0%, rgba(9, 13, 26, 0.4) 60%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: transform 0.4s ease;
    text-align: right;
}

.gallery-caption h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.gallery-caption span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Hover Effects */
.gallery-item:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4) !important; /* sky cyan border */
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-item {
        height: 300px;
    }
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    padding: 15px !important;
    border: 1px solid var(--card-border) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.video-preview-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 33, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-eq); /* Emerald green play button */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.play-icon-circle i {
    font-size: 1.3rem;
    color: #ffffff;
    margin-right: -3px; /* offset play triangle slightly for visual balance */
}

/* Hover effects inside video card */
.video-card:hover .play-icon-circle {
    transform: scale(1.15);
    background-color: #34d399; /* lighter green on hover */
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.6);
}

.video-card:hover .play-btn-overlay {
    background: rgba(8, 12, 33, 0.25);
}

.video-info {
    padding: 15px 5px 5px 5px;
    text-align: right;
}

.video-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Hover Effects */
.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.3) !important; /* emerald green glow */
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.12);
}

@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .highlights-section {
        padding: 50px 0;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Infinite Ticker Animation */
.logos-ticker-wrapper {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    gap: 30px;
    margin-top: 10px;
}

.logos-ticker {
    display: flex;
    flex-shrink: 0;
    gap: 30px;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    animation: scroll-ticker 25s linear infinite;
}

.logos-ticker-wrapper:hover .logos-ticker {
    animation-play-state: paused;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    padding: 35px 25px;
    text-align: center;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid var(--card-border) !important;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-num {
    font-family: var(--font-en);
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #38bdf8 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-label {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 700;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-radius: 16px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--card-border) !important;
    background: rgba(15, 23, 42, 0.45) !important;
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-question h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-toggle {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 30px;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.6;
    padding-bottom: 22px;
}

/* Active FAQ Item state */
.faq-item.active {
    border-color: rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.08);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--color-blue);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(9, 13, 26, 0.95);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Modal Overlay & Assessment */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 15, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    max-width: 580px;
    width: 90%;
    padding: 40px;
    border-radius: 28px;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15) !important;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    border-bottom: none;
    padding-bottom: 0;
}

.assessment-question {
    text-align: right;
}

.assessment-question label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.assessment-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin: 15px 0;
}

.assessment-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    transition: transform 0.2s ease;
}

.assessment-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-val {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-blue);
    min-width: 48px;
    text-align: left;
    display: inline-block;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Score Circle */
.result-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--color-eq);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

#result-score-number {
    font-family: var(--font-en);
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.result-score-label {
    font-size: 0.7rem;
    color: var(--color-eq);
    font-weight: 800;
    margin-top: 4px;
}

/* Background Drift Orbs */
.glow-orb-bg-1, .glow-orb-bg-2, .glow-orb-bg-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.08;
    animation: drift-bg 28s infinite ease-in-out;
}

.glow-orb-bg-1 {
    top: 5%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: var(--color-blue);
}

.glow-orb-bg-2 {
    top: 38%;
    left: 5%;
    width: 420px;
    height: 420px;
    background: var(--color-rose);
    animation-delay: -6s;
}

.glow-orb-bg-3 {
    bottom: 8%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: var(--color-eq);
    animation-delay: -12s;
}

@keyframes drift-bg {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -60px) scale(1.15);
    }
    66% {
        transform: translate(-30px, 50px) scale(0.92);
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Stories Section styling */
.stories-section {
    padding: 80px 0;
    position: relative;
}

.stories-carousel-container {
    max-width: 900px;
    margin: 0 auto;
}

.story-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.story-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--card-border);
    padding: 12px 22px;
    border-radius: 14px;
    color: var(--text-secondary);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.story-tab-btn:hover {
    border-color: rgba(56, 189, 248, 0.3);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.6);
}

.story-tab-btn.active {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--color-blue);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.story-tab-btn.active .tab-icon {
    color: var(--color-blue);
}

.story-display-card {
    padding: 40px !important;
    border-radius: 24px;
    border: 1px solid var(--card-border) !important;
    background: rgba(15, 23, 42, 0.5) !important;
    min-height: 280px;
}

.story-slide-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.story-text-side {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.story-label-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.story-quote {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.4;
    border-right: 4px solid var(--color-blue);
    padding-right: 15px;
    margin: 10px 0;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.story-desc-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.story-tools-side {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 25px;
    border-radius: 18px;
}

.story-tools-side h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    margin-bottom: 0;
}

.story-takeaways-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story-takeaways-list li {
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.story-takeaways-list li i {
    margin-top: 3px;
}

@media (max-width: 768px) {
    .story-slide-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .story-display-card {
        padding: 25px !important;
    }
    
    .story-quote {
        font-size: 1.2rem;
    }
}

.print-only-box, .print-only-details-section {
    display: none;
}

/* ==========================================
   PRINT STYLES FOR PDF GENERATION (DARK THEME PRESERVATION - EXACTLY 1 PAGE)
   ========================================== */
@media print {
    /* Force browsers to print exact background colors and gradients */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Reset Flexbox to fix blank first page browser rendering bug */
    .app-container {
        display: block !important;
        min-height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide ALL non-hero sections to force a clean 1-page document */
    .minimal-header,
    .register-section,
    .app-footer,
    .hero-actions,
    .stars-bg,
    .glow-orb,
    .logos-section,
    .gift-section,
    .takeaways-section,
    .testimonials-section,
    .gallery-section,
    .highlights-section,
    .stats-section,
    .faq-section,
    .whatsapp-float,
    .modal-overlay,
    .stories-section {
        display: none !important;
    }

    /* Render strongly emphasized contact/bonus box in PDF version */
    .print-only-box {
        display: block !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        padding: 16px 20px !important;
        background: rgba(16, 185, 129, 0.08) !important;
        border: 2px solid var(--color-eq) !important;
        border-radius: 12px !important;
        page-break-inside: avoid;
    }

    .print-contact-line {
        font-size: 12pt !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin: 0 0 8px 0 !important;
    }

    .print-gift-line {
        font-size: 11pt !important;
        font-weight: 700 !important;
        color: #10b981 !important; /* Pure emerald green for high emphasis */
        margin: 0 !important;
        line-height: 1.5 !important;
    }

    /* Render compact orgs list in PDF version */
    .print-only-details-section {
        display: block !important;
        margin-top: 10px !important;
    }

    .print-detail-card {
        margin-top: 10px !important;
        padding: 10px 14px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 10px;
        page-break-inside: avoid;
    }

    .print-detail-title {
        font-size: 10pt !important;
        font-weight: 700 !important;
        color: var(--color-eq) !important;
        margin: 0 0 8px 0 !important;
    }

    .print-orgs-ticker {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 6px !important;
    }

    .print-logo-item {
        font-size: 9pt !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    .print-logo-item i {
        color: var(--color-eq) !important;
        margin-left: 5px !important;
    }

    /* Preserve glowing dark slate blue background and high contrast text */
    body, .landing-body {
        background-color: #090d1a !important; /* Correct deep navy blue */
        background-image: none !important;
        color: #f3f4f6 !important; /* Bright text */
        font-size: 10pt !important; /* Slightly smaller for compact PDF */
        line-height: 1.4 !important;
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
        color: #f3f4f6 !important;
        page-break-inside: avoid;
    }

    /* Print margins and page setup - Optimized to strictly prevent 2nd page */
    @page {
        size: A4;
        margin: 1.0cm 1.0cm; /* Tighter margins to fit 1 page comfortably */
    }

    /* Hero section print layout - 2 Columns side-by-side to fit Page 1 */
    .hero-section.hero-grid {
        display: grid !important;
        grid-template-columns: 1fr 310px !important;
        gap: 25px !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: start !important;
    }
    
    .lecturer-hero-card {
        margin-top: 0 !important;
        padding: 15px !important;
        border-radius: 16px !important;
        page-break-inside: avoid;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .lecturer-img-container {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 10px !important;
    }

    .lecturer-hero-card h3 {
        font-size: 1.15rem !important;
    }

    .lecturer-bio-text {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }

    .hero-main-title {
        color: #ffffff !important;
        font-size: 22pt !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    .hero-subtitle-details {
        margin-bottom: 10px !important;
    }

    .hero-desc {
        font-size: 9.5pt !important;
        margin-bottom: 10px !important;
    }

    .gradient-text {
        background: linear-gradient(135deg, #38bdf8 0%, #ec4899 100%) !important; /* Soft cyan-pink gradient */
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        font-weight: bold !important;
        display: inline-block !important;
    }

    /* Heading colors */
    h1, h2, h3, h4, h5, h6 {
        color: #ffffff !important;
    }
    
    .text-secondary {
        color: #9ca3af !important; /* Muted gray for description text */
    }

    .lecturer-tagline {
        color: var(--color-eq) !important;
    }
}



/* Custom Video Card Lazy-Loader Overlay Styles */
.video-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-wrapper .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.video-wrapper:hover .video-play-btn {
    background: #ff0000 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* CSS Checkbox Hack to reveal active Video Iframe */
#video-toggle-1:checked ~ .video-overlay,
#video-toggle-2:checked ~ .video-overlay,
#video-toggle-3:checked ~ .video-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Videos Grid Layout */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}
