:root {
    /* Dark Navy Theme (Used for Hero/Header/Footer) */
    --bg-navy: #030712; 
    --navy-lighter: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff; /* Absolute White */
    --text-gray: #ffffff;  /* Force White for secondary text on dark background for clarity */
    
    /* Light Theme (Used for Body/Cards/Main Content) */
    --bg-light: #FAFAFA; 
    --bg-card: #FFFFFF;
    --text-dark: #000000; /* Absolute Black */
    --text-dark-muted: #000000; /* Force Black for body text on light background */
    --card-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* Brand Accents */
    --electric-blue: #00f0ff; 
    --accent-solid: #0D47A1; /* Solid Navy Blue for links on white */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light); /* Now Light Theme by default */
    color: var(--text-dark); /* Now dark text by default */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-dark); /* Default headings to dark */
}

/* Force Light text for Dark Sections (Hero, Footer) */
.dark-section, .dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4, .dark-section h5, .dark-section p {
    color: var(--text-white) !important;
}
.dark-section {
    background-color: var(--bg-navy) !important;
}


/* Navigation Bar - Glassmorphism */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(3, 8, 18, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    max-width: 1400px;
    margin: 0 auto;
}
.logo {
    font-size: 26px; /* 더 시인성 있게 확대 */
    font-weight: 850;
    color: var(--text-white);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-white); /* 텍스트 흰색 */
    font-size: 1.1rem; /* 폰트 크기 확장 */
    font-weight: 700; /* 시인성 높은 볼드 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a.active {
    color: var(--electric-blue);
    font-weight: 700;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
}
.nav-links li a.nav-cta {
    background: var(--electric-blue);
    color: var(--bg-navy);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.nav-links li a.nav-cta:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.5);
}

.nav-links a:hover {
    color: var(--electric-blue);
}

/* Typography & Utilities */
.highlight {
    color: var(--accent-solid); /* Deep Cobalt Blue */
    font-weight: 800;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.cta-btn {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    background: #0D47A1 !important; /* Explicit Deep Cobalt Blue */
    color: #FFFFFF !important; /* Explicit White */
    border: none !important;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.3);
    margin-top: 2rem;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background: #093170 !important; /* Slightly darker on hover */
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.4);
    color: #FFFFFF !important;
}

/* Buttons */
.btn-base {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--electric-blue);
}
.hero-btn {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), transparent);
    color: var(--electric-blue);
    padding: 1.2rem 4rem;
    border: 1px solid rgba(0, 240, 255, 0.6);
    border-radius: 50px; 
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}
.hero-btn:hover {
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: var(--bg-navy);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* z-index를 양수로 변경하여 배경 위로 올림 */
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* 비디오의 밝기를 살짝 낮추어 고급스러움 유도 */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 18, 0.5); /* 단순화된 반투명 오버레이 */
    z-index: 2;
}
/* Data Overlay Grid */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    z-index: 0; /* 모든 배경 요소보다 아래로 */
}
.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 10; /* 텍스트는 가장 위에 */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* z-index 작동 보장 */
}

.hero-badge-slider {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--electric-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    animation: pulse 2s infinite;
}

.highlight-vision {
    background: linear-gradient(90deg, #00f0ff, #00d4ff, #7000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 2px 5px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.01em;
}

.hero-subtitle strong {
    color: var(--electric-blue);
    font-weight: 800;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Impact Strip Styles */
.impact-strip {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 3.5rem auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    border-radius: 100px;
    z-index: 20;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 240, 255, 0.05);
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--text-gray); /* Restored for dark hero background */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impact-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--electric-blue); /* Restored for dark hero background */
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    line-height: 1.2;
}

.impact-divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 240, 255, 0.2);
}

@media (max-width: 900px) {
    .impact-strip {
        bottom: 2%;
        width: 90%;
        padding: 1.2rem 2rem;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
    }
    .impact-value { font-size: 1.2rem; }
    .impact-divider { display: none; }
}

.badge-text {
    transition: opacity 0.5s ease;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Activity Marquee Styles */
.activity-section { padding: 6rem 0; background: var(--bg-light); overflow: hidden; }
.marquee-wrapper { display: flex; flex-direction: column; gap: 2rem; margin: 3rem 0; }
.marquee-track { width: 100vw; overflow: hidden; position: relative; }
.marquee-content { display: flex; gap: 1.5rem; width: max-content; }

/* Animations */
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.row-1 .marquee-content { animation: scrollLeft 60s linear infinite; }
.row-2 .marquee-content { animation: scrollRight 70s linear infinite; }
.row-3 .marquee-content { animation: scrollLeft 55s linear infinite; }

.marquee-content:hover { animation-play-state: paused; }

.activity-img { width: 300px; height: 200px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(0, 240, 255, 0.2); transition: all 0.3s ease; flex-shrink: 0; filter: grayscale(30%); }
.activity-img:hover { filter: grayscale(0); border-color: var(--electric-blue); transform: scale(1.05); cursor: pointer; }

.secondary-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    color: var(--accent-solid);
    font-weight: 800;
    border: 2px solid var(--accent-solid);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.secondary-btn:hover {
    background: var(--accent-solid);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.3), 0 0 15px rgba(13, 71, 161, 0.1);
}

.activity-caption { 
    text-align: center; 
    color: #64748b; 
    font-size: 1.15rem; 
    margin-top: 1.5rem;
    line-height: 1.8;
    font-weight: 500;
}
@media (max-width: 768px) { .activity-img { width: 220px; height: 150px; } }

/* Partners & Institutional Trust */
.partners-section { padding: 8rem 10%; background: var(--bg-light); position: relative; }
.featured-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}
.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}
.partner-card:hover { transform: translateY(-10px); background: rgba(0, 240, 255, 0.05); border-color: var(--electric-blue); }
.partner-card img { height: 60px; object-fit: contain; filter: grayscale(1) opacity(0.5); transition: all 0.3s ease; }
.partner-card:hover img { filter: grayscale(0) opacity(1); }
.partner-card span { font-size: 0.95rem; color: var(--text-dark-muted); font-weight: 500; text-align: center; }

.client-list-title { text-align: center; color: var(--text-dark); font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; }
.client-tags-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; max-width: 1200px; margin: 0 auto; }
.client-tag {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: all 0.2s ease;
}
.client-tag:hover { background: var(--electric-blue); color: var(--bg-navy); border-color: var(--electric-blue); }

.consulting-section { margin-top: 6rem; padding-top: 4rem; border-top: 1px solid var(--card-border); }
.consulting-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--accent-solid);
    padding: 2.5rem;
    border-radius: 0 20px 20px 0;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}
.consulting-card:hover {
    background: rgba(13, 71, 161, 0.05); /* Very light blue on hover */
    border-color: var(--accent-solid);
    transform: translateX(10px);
}
.consulting-card h4 { color: var(--accent-solid); margin-bottom: 0.8rem; font-size: 1.3rem; font-weight: 700; }
.consulting-card p { font-size: 1.05rem; line-height: 1.6; color: var(--text-dark-muted); }
.consulting-title { text-align: center; margin-bottom: 3rem; font-size: 1.8rem; color: var(--text-dark); font-weight: 800; }

@media (max-width: 768px) {
    .consulting-grid { grid-template-columns: 1fr; }
    .featured-partners-grid { grid-template-columns: 1fr 1fr; }
}

.social-proof {
    padding: 80px 10%;
    background: linear-gradient(135deg, #0a192f 0%, #060e1a 100%);
    position: relative;
    overflow: hidden;
}

.social-proof::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.proof-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.proof-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.proof-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.2);
}

.proof-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 30%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    line-height: 1;
}

.proof-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--electric-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.proof-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

/* Showcase */
/* Maven-style Showcase Grid */
.showcase {
    padding: 100px 10%;
    background: var(--bg-light);
}

.maven-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.maven-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.maven-card:hover {
    transform: translateY(-12px);
    border-color: var(--electric-blue);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
    background: rgba(0, 240, 255, 0.02);
}

.maven-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.maven-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.maven-card:hover .maven-thumb img {
    transform: scale(1.1);
}

.maven-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-solid); /* Deep Blue */
    color: #ffffff; /* White text */
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
}

.maven-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.maven-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark); /* Absolute Black */
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.maven-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.maven-info li {
    font-size: 0.85rem;
    color: var(--text-dark-muted); /* Dark Charcoal */
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.maven-info li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-solid); /* Deep Blue */
    font-weight: bold;
}

.maven-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.instructor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--electric-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(0, 240, 255, 0.1);
    color: var(--electric-blue);
}

.instructor-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark-muted); /* Dark Charcoal */
}

.maven-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-solid); /* Deep Blue */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.maven-card:hover .maven-cta {
    transform: translateX(5px);
    color: var(--bg-navy); /* Dark Navy on hover */
}

/* Showcase Detail Page Extensions */
.target-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    flex-wrap: wrap;
}

.target-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.6;
}

.target-btn.active {
    color: var(--accent-solid);
    opacity: 1;
}

.target-btn.active::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-solid);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
}

.slide-preview-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    background: var(--bg-card);
    transition: transform 0.5s ease;
    border: 1px solid var(--card-border);
}

.slide-preview-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.preview-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent-solid);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.insights-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
}

.insights-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-solid);
    display: flex;
    align-items: center;
    gap: 12px;
}

.insights-container h3::before {
    content: '🏆';
    font-size: 1.2rem;
}

#insight-list {
    list-style: none;
    padding: 0;
}

#insight-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
}

#insight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: rgba(13, 71, 161, 0.1);
    color: var(--accent-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Project Spotlight (Case Study) */
.project-spotlight {
    margin-top: 60px;
    padding: 60px;
    background: #FFFFFF;
    border-radius: 30px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 60px rgba(13, 71, 161, 0.08);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.spotlight-label {
    display: inline-block;
    background: var(--accent-solid);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.spotlight-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.spotlight-highlight {
    background: rgba(13, 71, 161, 0.03);
    border-left: 5px solid var(--accent-solid);
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 0 16px 16px 0;
}

.spotlight-highlight h5 {
    font-size: 1.3rem;
    color: var(--accent-solid);
    margin-bottom: 15px;
}

.spotlight-highlight p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 600;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.feature-card h6 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card h6::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-solid);
    border-radius: 50%;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    line-height: 1.6;
}

.spotlight-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.spotlight-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-solid);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.2);
}

.spotlight-btn.secondary {
    background: transparent;
    border: 2px solid var(--accent-solid);
    color: var(--accent-solid) !important;
    box-shadow: none;
}

.spotlight-btn:hover {
    background: var(--bg-navy);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.3);
}

.spotlight-btn.secondary:hover {
    background: var(--accent-solid);
    color: #FFFFFF !important;
}

@media (max-width: 800px) {
    .project-spotlight {
        padding: 40px 25px;
    }
    .spotlight-title {
        font-size: 1.8rem;
    }
}

/* CTA */
.cta {
    padding: 8rem 10%;
    text-align: center;
    background: var(--bg-light);
}
.cta .section-title {
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 5rem;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 4rem;
    }
    .hero-subtitle {
        margin: 0 auto;
    }
    .hero-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .book1, .book2 {
        position: static;
        transform: none !important;
        margin: 0 10px;
    }
    .showcase-content {
        flex-direction: column;
    }
    .shelf-container {
        flex-direction: column;
        align-items: center;
    }
}

/* YouTube Hub Styles */
.youtube-hub {
    padding: 8rem 10%;
    background-color: var(--bg-light);
}
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--navy-lighter);
    color: var(--text-gray);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    background: rgba(0, 240, 255, 0.05);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.video-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}
.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}
.video-info {
    padding: 1.5rem;
}
.video-info h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.peek-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.6rem;
    border: 1px solid var(--accent-solid);
    color: var(--accent-solid);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.peek-btn:hover {
    background: var(--accent-solid);
    color: #ffffff;
}

/* Instructor profile wrapper */
.instructor-section {
    padding: 6rem 10%;
    background-color: var(--bg-light);
}
.shelf-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem 2rem;
    perspective: 1000px;
}
.book-item {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transition: all 0.4s ease;
}

.book-item:hover {
    transform: translateY(-10px);
}
.book-card-3d {
    width: 200px;
    height: 280px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.book-card-3d:hover {
    transform: rotateY(-30deg) scale(1.05); /* Angle for 'opening' feel */
}

/* Badge System */
.book-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    animation: badge-pulse 2s infinite;
}

.book-badge.best-seller {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.book-badge.expert-choice {
    background: linear-gradient(135deg, #00f0ff, #0D47A1);
    color: #fff;
}

@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
}
.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    backface-visibility: hidden;
    position: absolute;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
}
.book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-navy) 0%, #1e293b 100%);
    color: var(--text-white);
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--electric-blue);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.book-card-3d:hover {
    transform: rotateY(180deg); /* Keeping the full flip for now, but with better easing */
}

.book-card-3d:hover .book-overlay {
    opacity: 1;
}

.book-overlay h4 {
    color: var(--electric-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding-bottom: 5px;
}
.book-overlay ul {
    list-style: none;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.video-link {
    color: var(--text-gray);
    font-size: 0.8rem;
    text-decoration: none;
}
.book-text-content {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-desc {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-dark-muted);
    font-weight: 500;
}

.book-desc .highlight {
    color: var(--accent-solid);
    font-weight: 850;
    text-shadow: 0 0 10px rgba(13, 71, 161, 0.1);
}

.buy-btn {
    margin-top: 1rem;
    padding: 8px 16px;
    color: var(--accent-solid);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    background: rgba(13, 71, 161, 0.05);
    border: 1px solid var(--accent-solid);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.buy-btn:hover {
    background: var(--accent-solid);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.2);
}

.buy-btn.disabled {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.coming-soon {
    filter: grayscale(1);
    opacity: 0.7;
}

/* Content Loop Banner */
.content-loop {
    padding: 6rem 10%;
    background: linear-gradient(rgba(0,240,255,0.05), transparent);
}
.loop-banner {
    background: var(--navy-lighter);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,240,255,0.2);
}
.loop-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}
.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.subscribe-form input {
    background: var(--bg-navy);
    border: 1px solid var(--navy-light);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    width: 300px;
}
.sub-btn {
    background: var(--electric-blue);
    color: var(--bg-navy);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}
.yt-sub-btn {
    background: #FF0000;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
}

/* Media Section Styles */
.media-section {
    padding: 8rem 10%;
    background-color: var(--bg-light);
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.media-card {
    background: var(--bg-card);
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);

    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.media-card:hover {
    border-color: var(--electric-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}
.media-thumb {
    width: 100%;
    height: 180px;
    background: #0a192f;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 240, 255, 0.05);
}
.media-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.media-card:hover .media-thumb-img {
    transform: scale(1.05);
}
.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0a192f, #112240);
}
.media-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.media-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(13, 71, 161, 0.1); /* Deep Blue Alpha */
    color: var(--accent-solid); /* Deep Cobalt Blue */
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: fit-content;
}
.media-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.media-source {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.media-link {
    margin-top: auto;
    color: var(--accent-solid); /* Deep Cobalt Blue */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.media-link:hover {
    text-decoration: underline;
    color: var(--bg-navy);
}

.load-more-btn {
    background: transparent;
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 1rem 3rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Combined with primary definition at line 394 */

.secondary-btn:hover {
    background: var(--accent-solid);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.2);
}

/* Scroll Reveal - Reliable Default Status */
.reveal {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.reveal-delayed {
    transition-delay: 0.2s;
}

/* Enhanced Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-container {
    background: var(--navy-lighter);
    width: 95%;
    max-width: 1400px;
    height: 85vh;
    border-radius: 12px;
    border: 1px solid rgba(0, 114, 255, 0.3);
    display: grid;
    grid-template-columns: 1fr 350px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.slide-viewer-main {
    background: #000;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.current-slide {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 114, 255, 0.2);
    border: none;
    color: white;
    padding: 2rem 1rem;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s;
    z-index: 10;
}

.slide-nav:hover {
    background: var(--electric-blue);
    color: var(--bg-navy);
}

.slide-prev { left: 0; border-radius: 0 8px 8px 0; }
.slide-next { right: 0; border-radius: 8px 0 0 8px; }

.slide-info-sidebar {
    padding: 2rem;
    background: rgba(10, 25, 47, 0.8);
    border-left: 1px solid rgba(0, 114, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.sidebar-header h3 {
    color: var(--electric-blue);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.sidebar-content {
    flex-grow: 1;
    overflow-y: auto;
    margin-top: 1.5rem;
}

.ai-insight-box {
    background: rgba(0, 114, 255, 0.05);
    border-left: 3px solid var(--electric-blue);
    padding: 1.2rem;
    border-radius: 4px;
}

.ai-insight-box h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-gray);
    cursor: pointer;
    z-index: 100;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-white);
}

.slide-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .modal-container {
        grid-template-columns: 1fr;
        height: 90vh;
        width: 100%;
        border-radius: 0;
    }
    .slide-info-sidebar {
        display: none;
    }
}
/* Book Modal Styles */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.95); backdrop-filter: blur(10px); }
.modal-content { background: var(--navy-light); margin: 5% auto; padding: 2.5rem; border: 1px solid var(--electric-blue); width: 90%; max-width: 850px; border-radius: 12px; position: relative; color: white; box-shadow: 0 0 50px rgba(0, 240, 255, 0.2); }
.close-modal { position: absolute; right: 1.5rem; top: 1rem; color: #aaa; font-size: 32px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: var(--electric-blue); transform: scale(1.1); }
.modal-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 2.5rem; margin-top: 1rem; align-items: start; }
.modal-grid img { width: 100%; border-radius: 8px; box-shadow: 10px 10px 40px rgba(0,0,0,0.6); }
.modal-title { font-size: 1.8rem; color: var(--electric-blue); margin-bottom: 0.5rem; font-weight: 700; line-height: 1.3; }
.modal-sub { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 2rem; font-style: italic; }
.modal-text { font-size: 1rem; line-height: 1.8; color: #ccc; margin-bottom: 2rem; text-align: justify; }
.modal-highlights { background: rgba(0, 240, 255, 0.05); padding: 1.5rem; border-radius: 8px; border-left: 5px solid var(--electric-blue); margin-bottom: 2.5rem; }
.modal-highlights ul { list-style: none; }
.modal-highlights li { margin-bottom: 1rem; position: relative; padding-left: 1.5rem; font-size: 0.95rem; }
.modal-highlights li::before { content: '✓'; position: absolute; left: 0; color: var(--electric-blue); font-weight: bold; }
.modal-btn { display: inline-block; background: var(--electric-blue); color: var(--bg-navy); padding: 1rem 2.5rem; border-radius: 4px; text-decoration: none; font-weight: 800; text-align: center; transition: 0.3s; }
.modal-btn:hover { background: #00d4ff; box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3); transform: translateY(-3px); }
@media (max-width: 768px) { .modal-grid { grid-template-columns: 1fr; gap: 2rem; } .modal-grid img { max-width: 250px; margin: 0 auto; } .modal-title { font-size: 1.5rem; } .modal-content { padding: 2rem 1.5rem; margin: 2% auto; height: 95vh; overflow-y: auto; } }
/* --- Archive Specific: Photo Grid --- */
.photo-grid-section {
    padding: 6rem 10%;
    background: var(--bg-navy);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-blue);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.15);
}

.photo-card:hover img {
    transform: scale(1.1);
}

/* --- Phase 3: Authority & Social Proof Styles --- */

/* Expert Bento Grid Section */
.instructor-section {
    padding: 100px 10%;
    background: var(--bg-navy);
    position: relative;
    overflow: hidden;
}

.instructor-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Specific Bento Grid Positions */
.bento-main-profile {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
}

.bento-career {
    grid-column: span 2;
}

.bento-books {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-academic {
    grid-column: span 1;
    grid-row: span 1;
}

/* Card Content Styling */
.bento-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--electric-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-card-title i {
    font-size: 1.2rem;
}

/* Narrative Bio Styles */
.bento-philosophy {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    border-left: 4px solid var(--electric-blue);
    padding-left: 20px;
}

.bento-narrative {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.bento-narrative p {
    margin-bottom: 1.5rem;
}

.bento-narrative strong {
    color: var(--electric-blue);
    font-weight: 700;
}

.bento-list {
    list-style: none;
}

.bento-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
}

.bento-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--electric-blue);
}

.bento-list li span.year {
    color: var(--electric-blue);
    font-weight: 700;
    margin-right: 8px;
    font-size: 0.85rem;
}

/* Book Mockup Styles */
.book-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.book-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.book-mockup {
    width: 60px;
    height: 85px;
    background: #222;
    border-radius: 4px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    object-fit: cover;
}

.book-item:hover .book-mockup {
    transform: rotateY(-20deg) scale(1.1);
}

.book-info {
    font-size: 0.85rem;
}

.book-title {
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1.2;
}

.book-meta {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Responsive Bento */
@media (max-width: 1100px) {
    .instructor-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-main-profile {
        grid-column: span 2;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .instructor-container {
        grid-template-columns: 1fr;
    }
    .bento-main-profile, .bento-career, .bento-books, .bento-academic {
        grid-column: span 1;
    }
    .instructor-section {
        padding: 60px 5%;
    }
}

/* Partnership Marquee */
.partners-section {
    padding: 80px 0;
    background: var(--navy-light);
}

.featured-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 0 10%;
    margin-bottom: 60px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    filter: grayscale(1);
}

.partner-card:hover {
    filter: grayscale(0);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
}

.partner-card img {
    height: 40px;
    width: auto;
    max-width: 100%;
    filter: grayscale(1) opacity(0.5);
}

.partner-card:hover img {
    filter: grayscale(0) opacity(1);
}

.partner-card span {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    text-align: center;
}

/* Infinite Marquee Animation */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.08); /* Light grey for contrast */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-content {
    display: flex;
    gap: 40px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-tag {
    color: var(--text-dark); /* Absolute Black for max contrast on grey */
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
    padding: 0 20px;
}

@media (max-width: 900px) {
    .instructor-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .expertise-tags { justify-content: center; }
    .auth-stats { justify-content: center; }
}

/* --- Phase 4: Content UX & Connectivity --- */

/* Badge System */
.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF0055;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
    animation: pulse-new 2s infinite;
}

@keyframes pulse-new {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 4px 25px rgba(255, 0, 85, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4); }
}

/* Latest Updates Section */
.latest-updates {
    padding: 100px 10%;
    background: var(--bg-navy);
}

.latest-updates .section-title {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.updates-subtitle {
    text-align: center;
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 60px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.updates-subtitle::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--electric-blue);
    color: var(--bg-navy);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 900;
}


.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.latest-item {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    align-items: center;
}

.latest-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-blue);
}

.latest-thumb {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-info {
    padding: 20px;
}

.latest-info .meta {
    font-size: 0.75rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.latest-info h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.latest-info .type-label {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    color: var(--text-gray);
}

/* Content Loop Banner */
.content-loop {
    padding: 80px 10%;
    background: var(--bg-navy);
}

.loop-banner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.loop-banner h3 {
    color: #FFFFFF !important; /* Force Pure White */
    font-size: 1.8rem;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.subscribe-form input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: white;
    width: 350px;
    font-size: 1rem;
    outline: none;
}

.subscribe-form input:focus {
    border-color: var(--electric-blue);
    background: rgba(0, 0, 0, 0.6);
}

/* Cross-link Buttons in Cards */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-mini {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-mini-blue {
    background: rgba(0, 240, 255, 0.1);
    color: var(--electric-blue);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.btn-mini-blue:hover {
    background: var(--electric-blue);
    color: var(--bg-navy);
}

/* --- Phase 5: Master Footer & Final Polish --- */

.master-footer {
    background: #000;
    border-top: 1px solid var(--glass-border);
    padding: 100px 10% 50px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
}

.footer-col h5 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--electric-blue);
}

.footer-connect h5 {
    margin-bottom: 20px;
}

.footer-connect .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    font-weight: 800;
    font-size: 0.7rem;
}

.social-icon:hover {
    background: var(--electric-blue);
    color: var(--bg-navy);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
}

/* --- Real-time Stats & Impact Bar --- */
.live-impact-bar {
    background: rgba(13, 71, 161, 0.95);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    position: relative;
    z-index: 100;
}

.impact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.impact-text strong {
    color: var(--electric-blue);
    font-weight: 800;
}

.stat-badge {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    color: var(--electric-blue);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.spotlight-btn .stat-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
