/* Base & Resets - "Quantum Chemistry" Neon Dark Theme */
:root {
    --bg-color: #080c14;
    --bg-secondary: #0f172a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent: #06b6d4; /* Neon Cyan */
    --accent-secondary: #10b981; /* Neon Emerald Green */
    --accent-amber: #f59e0b; /* Glowing Amber Gold */
    --accent-glow: rgba(6, 182, 212, 0.25);
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(6, 182, 212, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Drifting Equations Layer */
.equations-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.drifting-equation {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    color: rgba(6, 182, 212, 0.12); /* Subtle neon blue */
    user-select: none;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.drifting-equation.ready {
    opacity: 1;
}

.drifting-equation svg {
    fill: currentColor;
    width: auto !important;
    height: auto !important;
    max-height: 38px;
    display: block;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.highlight-green {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.pt-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.gap {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.relative-z {
    position: relative;
    z-index: 10;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 0 auto;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 16px 5%;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
    }
    .nav-links.open {
        max-height: 320px;
        opacity: 1;
        margin-top: 14px;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
    color: #fff;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.underline {
    height: 3px;
    width: 80px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.greeting {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.name {
    font-size: 5.2rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.typewriter-wrapper {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 35px;
    height: 45px;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* About Grid / Intersection Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    text-align: center;
}

.card-icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(6, 182, 212, 0.4);
    z-index: 2;
}

.timeline-content {
    padding: 30px;
}

.timeline-date {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-content .company {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Innovations / Research Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img {
    height: 220px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(6, 182, 212, 0.15);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
}

/* Publications Grid Table */
.table-container {
    overflow-x: auto;
    padding: 10px 0;
}

.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.premium-table th, .premium-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.premium-table th {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: rgba(6, 182, 212, 0.03);
}

.premium-table tbody tr {
    transition: background-color 0.2s ease;
}

.premium-table tbody tr:hover {
    background-color: rgba(6, 182, 212, 0.04);
}

.premium-table td {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.premium-table tbody tr:last-child td {
    border-bottom: none;
}

/* Student Voices Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content i {
    font-size: 1.8rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 15px;
    display: block;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-footer {
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.student-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge.rank {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 750;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.badge.institute {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-color: var(--glass-border);
}

/* Philosophy */
.philosophy-section {
    position: relative;
    text-align: center;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.manifesto {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 30px 0;
    font-style: italic;
}

.manifesto p {
    margin-bottom: 20px;
}

.author-signature {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-signature strong {
    font-size: 1.25rem;
    color: var(--accent);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

.author-signature span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(8, 12, 20, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    color: var(--text-secondary);
    margin-top: 10px;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--accent);
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Highlights Section Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.25);
    border-color: var(--accent);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background: rgba(8, 12, 20, 0.85);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(4px);
    border-top: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal CSS */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 12, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
    animation: lightbox-zoom-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightbox-zoom-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f5f9;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

#lightbox-caption {
    margin-top: 20px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    max-width: 80%;
}

/* Custom Video Player Showcase */
.video-showcase-container {
    max-width: 850px;
    margin: 30px auto 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--bg-secondary);
    position: relative;
}

.video-showcase-container video {
    width: 100%;
    display: block;
    outline: none;
}

/* ==========================================
   INNOVATIVE INTERACTIVE WIDGETS SECTION
   ========================================== */

/* 1. Interactive Reaction Mechanism Simulator */
.reaction-simulator-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.simulator-viewport {
    background: #0b111e; /* Dark theme viewport */
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

/* SVG animations inside viewport */
.simulator-viewport svg {
    width: 100%;
    height: auto;
    max-width: 550px;
    max-height: 320px;
}

/* SVG Reaction Elements styling */
.chem-bond {
    stroke: var(--text-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: all 0.5s ease;
}

.chem-bond.forming {
    stroke: var(--accent-secondary);
    stroke-dasharray: 4 4;
}

.chem-bond.breaking {
    stroke: #dc2626;
    stroke-dasharray: 4 4;
}

.chem-atom {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    fill: var(--text-primary);
    text-anchor: middle;
    dominant-baseline: central;
    transition: all 0.5s ease;
}

.chem-atom.nitrogen { fill: #3b82f6; }
.chem-atom.oxygen { fill: #ef4444; }
.chem-atom.hydrogen { fill: #94a3b8; }
.chem-atom.carbon { fill: var(--accent); }

/* Electron flowing curved arrows */
.electron-arrow {
    fill: none;
    stroke: var(--accent-secondary);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    marker-end: url(#arrowhead);
    transition: opacity 0.4s ease, stroke-dashoffset 0.4s ease;
    opacity: 0;
}

.electron-arrow.active {
    opacity: 1;
    stroke-dasharray: 8 4;
    animation: electron-pulse 1.2s linear infinite;
}

@keyframes electron-pulse {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

.simulator-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

.simulator-info {
    flex-grow: 1;
    margin-bottom: 20px;
}

.simulator-info h4 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.step-description-box {
    background: rgba(8, 12, 20, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-primary);
    min-height: 150px;
    line-height: 1.6;
}

.simulator-buttons {
    display: flex;
    gap: 12px;
}

.sim-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.05);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sim-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px rgba(6,182,212,0.4);
    border-color: var(--accent);
}

.sim-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.sim-btn-active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* 2. Interactive Rankers Analytics Dashboard */
.rankers-dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 15px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-neon-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-neon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.stat-neon-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.stat-neon-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-neon-card p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-console {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.console-search-wrapper {
    flex-grow: 1;
    position: relative;
    min-width: 250px;
}

.console-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.console-search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.console-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.15);
}

.console-filter-tabs {
    display: flex;
    gap: 10px;
}

.console-tab-btn {
    padding: 10px 18px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.console-tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.console-tab-btn.active {
    background: rgba(14, 165, 233, 0.08);
    border-color: var(--accent);
    color: var(--accent);
}

.console-select {
    padding: 11px 15px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.console-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.console-select:focus {
    border-color: var(--accent);
}

/* Rank Cards Live Viewport */
.rankers-grid-viewport {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    min-height: 200px;
    position: relative;
}

.ranker-neon-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    animation: fade-in-card 0.4s ease forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fade-in-card {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ranker-neon-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.12);
}

.ranker-details {
    display: flex;
    flex-direction: column;
}

.ranker-details .ranker-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ranker-details .ranker-exam {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ranker-score {
    text-align: right;
}

.ranker-score .ranker-air {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent-amber);
}

.ranker-score .ranker-year {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* High Highlight Card style for absolute top toppers */
.ranker-neon-card.top-performer {
    /* background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%); */
    border-color: var(--accent);
}

.ranker-neon-card.top-performer::after {
    content: 'TOP';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.no-results-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.45);
}

/* ==========================================
   Responsive & Sizing Fixes for New Widgets
   ========================================== */
@media (max-width: 992px) {
    .reaction-simulator-wrapper {
        grid-template-columns: 1fr;
    }
    .simulator-controls {
        margin-top: 15px;
    }
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-console {
        flex-direction: column;
        align-items: stretch;
    }
    .console-filter-tabs {
        justify-content: space-between;
    }
    .console-filter-tabs button {
        flex: 1;
        text-align: center;
    }
}

/* Achievements Grid Styles */
.static-achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 35px auto;
    max-width: 1000px;
}

.achievement-item {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.achievement-item i {
    font-size: 2rem;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.achievement-item span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

@media (max-width: 768px) {
    .static-achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .static-achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Ranks Grid & Image Placeholders styling */
.top-ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.top-rank-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px; /* accommodate image + description */
}

.video-placeholder-container,
.photo-placeholder-container {
    height: 180px;
    background: #070b13;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.video-placeholder-container img,
.photo-placeholder-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.45;
    filter: brightness(0.6);
    transition: all 0.3s ease;
}

.video-placeholder-container:hover img,
.photo-placeholder-container:hover img {
    transform: scale(1.05);
    opacity: 0.6;
}

/* ==========================================
   CAMPAIGN LANDING PAGE STYLES (plan.md)
   ========================================== */

.campaign-page {
    background-color: #080c14;
    color: #f1f5f9;
}

/* Campaign Nav styling */
.campaign-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.hero-image-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.hero-image-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-badges .badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    display: block;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
}

.hero-list li i {
    color: var(--accent);
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.hero-list li strong {
    color: var(--accent-secondary);
    font-weight: 700;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    width: 100%;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.hero-achievements .achievement {
    display: flex;
    flex-direction: column;
}

.hero-achievements .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-achievements .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.cta-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    flex: 1;
    max-width: 200px;
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1;
    max-width: 200px;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Proof Showcase */
.proof-section {
    padding: 80px 0;
    text-align: center;
}

.proof-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ranker-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 50px auto 0;
}

.ranker-card.featured {
    background: rgba(15, 23, 42, 0.45);
    border: 2px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.ranker-card.featured:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.ranker-card.featured .rank-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.ranker-card.featured .ranker-media {
    width: 100%;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 2px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.ranker-card.featured .ranker-media img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    border: none !important;
    margin-bottom: 0 !important;
}

/* Topper Carousel Components */
.topper-carousel {
    position: relative;
}

.topper-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.topper-carousel .carousel-slide.active {
    opacity: 1;
    position: relative;
}

.topper-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 0.9rem;
}

.topper-carousel .carousel-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.topper-carousel .carousel-btn.prev {
    left: 12px;
}

.topper-carousel .carousel-btn.next {
    right: 12px;
}

.topper-carousel .carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.topper-carousel .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.topper-carousel .indicator.active {
    background: var(--accent);
    width: 18px;
    border-radius: 4px;
}

.ranker-card.featured h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.ranker-card.featured p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 30px;
}

.btn-testimonial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-testimonial:hover {
    background: var(--accent);
    color: #000;
}

/* Results Wall */
.results-wall {
    padding: 80px 0;
    text-align: center;
}

.results-wall h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 50px auto 30px;
}

.result-tile {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.result-tile:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.5);
}

.result-tile .rank {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-amber);
}

.result-tile .desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 5px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
}

.view-all-link:hover {
    gap: 12px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Black Book section */
.book-section {
    padding: 80px 0;
}

.book-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
}

.book-covers {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 350px;
}

.book-card {
    position: absolute;
    width: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, opacity 0.4s ease;
}

.book-card img {
    width: 100%;
    height: auto;
    display: block;
}

.book-card.front {
    z-index: 2;
    transform: translateX(-40px) rotate(-6deg);
}

.book-card.back {
    z-index: 1;
    transform: translateX(40px) rotate(6deg) scale(0.95);
    opacity: 0.95;
}

/* Push apart on parent hover */
.book-covers:hover .book-card.front {
    transform: translateX(-65px) rotate(-4deg);
}

.book-covers:hover .book-card.back {
    transform: translateX(65px) rotate(4deg) scale(0.98);
}

/* Individual card hover focus */
.book-card:hover {
    z-index: 10 !important;
    opacity: 1 !important;
}

.book-card.front:hover {
    transform: translateX(-55px) scale(1.08) rotate(0deg);
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.35), 0 15px 35px rgba(0, 0, 0, 0.8);
}

.book-card.back:hover {
    transform: translateX(55px) scale(1.08) rotate(0deg);
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.35), 0 15px 35px rgba(0, 0, 0, 0.8);
}

.book-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.book-content .tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.book-content h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.book-content .stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.book-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-amazon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eab308;
    color: #000;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
}

.btn-amazon:hover {
    background: #facc15;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5);
    transform: translateY(-2px);
}

/* Credibility */
.credibility {
    padding: 80px 0;
    text-align: center;
}

.credibility h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.credibility-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px 20px;
    transition: all 0.3s ease;
}

.credibility-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.25);
}

.credibility-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.credibility-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.credibility-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonials section */
.testimonials {
    padding: 80px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 50px auto 0;
}

.video-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
}

.video-card video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    background: #000;
    outline: none;
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    transition: all 0.2s ease;
}

.video-card:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.8);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Journey List Timeline */
.timeline-wrapper {
    max-width: 700px;
    margin: 50px auto 0;
    position: relative;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    display: grid;
    grid-template-columns: 100px 30px 1fr;
    align-items: center;
    margin-bottom: 40px;
    text-align: left;
}

.timeline-list li:last-child {
    margin-bottom: 0;
}

.timeline-list .year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    text-align: right;
}

.timeline-list .dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 10px var(--accent);
    position: relative;
}

.timeline-list .dot::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 5px;
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
}

.timeline-list li:last-child .dot::after {
    display: none;
}

.timeline-list .details {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-left: 15px;
}

/* Campaign Footer */
.campaign-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 80px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-image {
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-content {
        align-items: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .book-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    .book-covers {
        height: 300px;
        max-width: 360px;
        margin: 0 auto;
    }
    .book-card {
        width: 140px;
    }
    .book-card.front {
        transform: translateX(-30px) rotate(-6deg);
    }
    .book-card.back {
        transform: translateX(30px) rotate(6deg) scale(0.95);
    }
    .book-covers:hover .book-card.front {
        transform: translateX(-45px) rotate(-4deg);
    }
    .book-covers:hover .book-card.back {
        transform: translateX(45px) rotate(4deg) scale(0.98);
    }
    .book-card.front:hover {
        transform: translateX(-35px) scale(1.06) rotate(0deg);
    }
    .book-card.back:hover {
        transform: translateX(35px) scale(1.06) rotate(0deg);
    }
    .book-content {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ranker-showcase, .video-grid {
        grid-template-columns: 1fr;
    }
    .results-grid, .credibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-list li {
        grid-template-columns: 70px 30px 1fr;
    }
    .timeline-list .details {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .credibility-grid {
        grid-template-columns: 1fr;
    }
    .timeline-list li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-left: 2px solid var(--accent);
        padding-left: 20px;
        margin-bottom: 25px;
    }
    .timeline-list .dot {
        display: none;
    }
    .timeline-list .year {
        text-align: left;
    }
    .timeline-list .details {
        padding-left: 0;
    }
}


/* =============================================================================
   SCHOLARLY PRESTIGE — Warm Academic Light Theme
   Scoped to .campaign-page (homepage) only. The dark "Quantum" dashboard
   theme used by index2.html is intentionally left untouched.
   Palette: ivory paper · deep academic navy · prestige gold · science teal
   ============================================================================= */
.campaign-page {
    --bg-color: #fbf9f3;        /* warm ivory paper            */
    --bg-secondary: #ffffff;    /* card surface                */
    --text-primary: #16243d;    /* deep navy ink (headings)    */
    --text-secondary: #56616f;  /* readable slate (body)       */
    --accent: #1d3461;          /* academic navy               */
    --accent-secondary: #1f7a6b;/* muted science teal          */
    --accent-amber: #b8860b;    /* prestige gold               */
    --accent-glow: rgba(29, 52, 97, 0.12);
    --gold: #bd8a2e;
    --gold-deep: #98690f;
    --gold-soft: #ead9b0;
    --line: #ece4d4;            /* warm hairline border        */
    --shadow-soft: 0 12px 30px rgba(22, 36, 61, 0.08);
    --shadow-lift: 0 22px 48px rgba(22, 36, 61, 0.14);
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

body.campaign-page {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(1100px 520px at 50% -8%, rgba(189, 138, 46, 0.08), transparent 70%),
        radial-gradient(900px 520px at 100% 2%, rgba(29, 52, 97, 0.05), transparent 62%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-secondary);
}

/* Headings & brand accents -------------------------------------------------- */
.campaign-page h1, .campaign-page h2,
.campaign-page h3, .campaign-page h4 { color: var(--text-primary); }

.campaign-page .highlight { color: var(--gold); text-shadow: none; }

.campaign-page .underline {
    width: 72px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), #e3bf72);
    box-shadow: none;
}

.campaign-page .proof-section h2,
.campaign-page .results-wall h2,
.campaign-page .credibility h2,
.campaign-page .testimonials h2,
.campaign-page .timeline h2,
.campaign-page .book-content h2,
.campaign-page .ranker-card.featured h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Navigation ---------------------------------------------------------------- */
.campaign-page .campaign-nav {
    background: rgba(251, 249, 243, 0.86);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 24px rgba(22, 36, 61, 0.05);
}
.campaign-page .logo { color: var(--text-primary); }
.campaign-page .nav-links a { color: var(--text-secondary); }
.campaign-page .nav-links a:hover { color: var(--gold-deep); text-shadow: none; }
.campaign-page .nav-toggle span { background: var(--text-primary); }
@media (max-width: 768px) {
    .campaign-page .nav-links a { border-bottom: 1px solid var(--line); }
}

/* Hero ---------------------------------------------------------------------- */
.campaign-page .hero-image-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: 0.3px;
    color: var(--accent);
    text-shadow: none;
}
.campaign-page .hero-image {
    border: 6px solid #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow-lift);
}
.campaign-page .hero-image-name {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-top: 4px;
}
.campaign-page .hero-image-sub {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--gold-deep);
    text-transform: uppercase;
}

.campaign-page .hero-badges .badge {
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--accent);
    box-shadow: var(--shadow-soft);
}
.campaign-page .hero-content h1 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.12;
}
.campaign-page .hero-content h1 span { color: var(--gold); text-shadow: none; }
.campaign-page .hero-list li { color: var(--text-primary); }
.campaign-page .hero-list li i { color: var(--gold); text-shadow: none; }
.campaign-page .hero-list li strong { color: var(--accent); }
.campaign-page .hero-content .subtitle { color: var(--text-secondary); }
.campaign-page .hero-achievements { border-top: 1px solid var(--line); }
.campaign-page .hero-achievements .number { color: var(--gold-deep); }
.campaign-page .hero-achievements .label { color: var(--text-secondary); }

/* Buttons ------------------------------------------------------------------- */
.campaign-page .btn-primary {
    background: linear-gradient(135deg, #1d3461 0%, #2b5391 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(29, 52, 97, 0.28);
}
.campaign-page .btn-primary:hover { box-shadow: 0 14px 32px rgba(29, 52, 97, 0.42); }
.campaign-page .btn-secondary {
    background: #ffffff;
    color: var(--accent);
    border: 1px solid var(--line);
}
.campaign-page .btn-secondary:hover {
    border-color: var(--accent);
    background: #ffffff;
    color: var(--accent);
}

/* Proof / ranker cards ------------------------------------------------------ */
.campaign-page .ranker-card.featured {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.campaign-page .ranker-card.featured:hover {
    border-color: var(--gold-soft);
    box-shadow: var(--shadow-lift);
}
/* Badge anchored inside the photo's top-left corner, above the carousel layer */
.campaign-page .ranker-card.featured .rank-badge {
    top: 16px;
    left: 16px;
    z-index: 6;
    background: linear-gradient(135deg, #bd8a2e, #e3bf72);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(189, 138, 46, 0.45);
    letter-spacing: 0.5px;
}
.campaign-page .ranker-card.featured .ranker-media {
    height: 300px;
    border: 1px solid var(--line);
    background: #f3eee3;
    box-shadow: 0 8px 20px rgba(22, 36, 61, 0.1);
}
/* Bias the crop toward the top so faces aren't cut off */
.campaign-page .ranker-card.featured .ranker-media img { object-position: center 22%; }
.campaign-page .ranker-card.featured p { color: var(--text-secondary); }

.campaign-page .topper-carousel .carousel-btn {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--accent);
}
.campaign-page .topper-carousel .carousel-btn:hover {
    background: var(--accent); color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 52, 97, 0.3);
}
.campaign-page .topper-carousel .indicator { background: rgba(22, 36, 61, 0.22); }
.campaign-page .topper-carousel .indicator.active { background: var(--gold); }

.campaign-page .btn-testimonial {
    background: #ffffff;
    border: 1px solid var(--gold);
    color: var(--gold-deep);
}
.campaign-page .btn-testimonial:hover {
    background: linear-gradient(135deg, #bd8a2e, #e3bf72);
    color: #ffffff;
}

/* Results wall -------------------------------------------------------------- */
.campaign-page .result-tile {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.campaign-page .result-tile:hover {
    border-color: var(--gold-soft);
    background: #ffffff;
    box-shadow: var(--shadow-lift);
    transform: translateY(-4px);
}
.campaign-page .result-tile .rank { color: var(--gold-deep); }
.campaign-page .result-tile .desc { color: var(--text-secondary); }
.campaign-page .view-all-link { color: var(--accent); }
.campaign-page .view-all-link:hover { color: var(--gold-deep); text-shadow: none; }

/* Black Book ---------------------------------------------------------------- */
.campaign-page .book-section .book-layout {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.campaign-page .book-card {
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(22, 36, 61, 0.18);
}
.campaign-page .book-card.front:hover {
    box-shadow: 0 24px 50px rgba(189, 138, 46, 0.32), 0 18px 40px rgba(22, 36, 61, 0.2);
}
.campaign-page .book-card.back:hover {
    box-shadow: 0 24px 50px rgba(31, 122, 107, 0.26), 0 18px 40px rgba(22, 36, 61, 0.2);
}
.campaign-page .book-content .tag {
    color: var(--gold-deep);
    background: rgba(189, 138, 46, 0.1);
    border: 1px solid rgba(189, 138, 46, 0.3);
}
.campaign-page .book-byline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 14px;
}
.campaign-page .book-content .stars { color: var(--gold); }
.campaign-page .book-content p { color: var(--text-secondary); }

/* Credibility --------------------------------------------------------------- */
.campaign-page .credibility-card {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.campaign-page .credibility-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-soft);
    box-shadow: var(--shadow-lift);
}
.campaign-page .credibility-card i {
    color: var(--gold-deep);
    background: rgba(189, 138, 46, 0.12);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: none;
}
.campaign-page .credibility-card p { color: var(--text-secondary); }

/* Testimonials -------------------------------------------------------------- */
.campaign-page .video-card {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.campaign-page .video-card:hover { box-shadow: var(--shadow-lift); }
.campaign-page .video-thumb { background: #16243d; }
.campaign-page .video-thumb img { opacity: 0.78; }
/* Photo-only cards (no video): show the image clearly, no play overlay */
.campaign-page .placeholder-video .video-thumb { background: #f3eee3; }
/* Fill the card but keep faces in frame (they sit in the upper third) */
.campaign-page .placeholder-video .video-thumb img {
    opacity: 1;
    object-fit: cover;
    object-position: center 25%;
}
.campaign-page .play-btn-circle {
    background: linear-gradient(135deg, #bd8a2e, #e3bf72);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(189, 138, 46, 0.5);
}
.campaign-page .video-card:hover .play-btn-circle {
    box-shadow: 0 8px 24px rgba(189, 138, 46, 0.7);
}
.campaign-page .video-info p { color: var(--text-secondary); }

/* Journey timeline ---------------------------------------------------------- */
.campaign-page .timeline-list .year { color: var(--gold-deep); }
.campaign-page .timeline-list .dot {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(189, 138, 46, 0.16);
}
.campaign-page .timeline-list .dot::after { background: var(--line); }
.campaign-page .timeline-list .details { color: var(--text-primary); }

/* Footer -------------------------------------------------------------------- */
.campaign-page .campaign-footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
    color: var(--text-secondary);
}

/* =============================================================================
   ALL-RANKS DASHBOARD — match the Scholarly Prestige light theme
   all-ranks.html carries both .campaign-page (theme tokens) and .all-ranks-page.
   The dashboard widgets below were built for the dark "Quantum" palette and
   hardcoded navy/cyan fills, so re-skin them for the ivory/navy/gold theme.
   ============================================================================= */
.all-ranks-page {
    --glass-bg: #ffffff;        /* card surface on ivory paper */
    --glass-border: var(--line);
}

/* Console controls (were dark navy fills) */
.all-ranks-page .console-search-input,
.all-ranks-page .console-tab-btn,
.all-ranks-page .console-select {
    background: #ffffff;
}
.all-ranks-page .console-tab-btn.active {
    background: rgba(29, 52, 97, 0.06);
}
.all-ranks-page .console-search-input:focus {
    box-shadow: 0 0 12px rgba(29, 52, 97, 0.12);
}

/* Stat panels + console: soft warm shadow instead of dark glow */
.all-ranks-page .stat-neon-card,
.all-ranks-page .dashboard-console {
    box-shadow: var(--shadow-soft);
}
.all-ranks-page .stat-neon-card:hover {
    border-color: var(--gold-soft);
    box-shadow: var(--shadow-lift);
}
.all-ranks-page .stat-neon-card h3 { color: var(--accent); }

/* Live ranker cards */
.all-ranks-page .ranker-neon-card {
    box-shadow: var(--shadow-soft);
}
.all-ranks-page .ranker-neon-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lift);
}
.all-ranks-page .ranker-score .ranker-air { color: var(--gold-deep); }

/* Premium table: gold/navy tints instead of cyan */
.all-ranks-page .premium-table th {
    background: rgba(189, 138, 46, 0.08);
    color: var(--accent);
}
.all-ranks-page .premium-table tbody tr:hover {
    background-color: rgba(189, 138, 46, 0.06);
}
