/* 
   REIMAGINING TRANSPORTATION IN THE D.R. CONGO
   Core Stylesheet - Premium Dark/Teal Theme with Glassmorphism
*/

:root {
    --bg-dark: #060909;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(61, 124, 122, 0.3);
    
    --primary-teal: #3D7C7A;
    --secondary-teal: #5A9B97;
    --accent-gold: #E5C158;
    --accent-gold-hover: #F2D275;
    --white: #ffffff;
    --gray-light: #e0e0e0;
    --gray-medium: #8a9292;
    --gray-dark: #1b2020;
    
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 50px rgba(61, 124, 122, 0.1);
    --shadow-gold: 0 10px 25px rgba(229, 193, 88, 0.15);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-teal);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 2rem;
    color: var(--primary-teal);
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
    border-radius: 2px;
}

h3 {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-teal);
    transform: translateY(-5px);
}

/* Fixed Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    background: rgba(6, 9, 9, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(6, 9, 9, 0.95);
    border-bottom-color: var(--border-accent);
}

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

.logo {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.1;
    letter-spacing: 1.5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 30%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 1rem;
    transition: opacity var(--transition-smooth);
}

.logo:hover {
    opacity: 0.85;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.9rem;
}

.nav-links a:not(.btn-nav) {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-light);
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--accent-gold);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--white);
    transition: var(--transition-smooth);
}

.lang-switch:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-nav {
    background: var(--primary-teal);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white) !important;
}

.btn-nav:hover {
    background: var(--secondary-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(61, 124, 122, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 9, 9, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 9rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(61, 124, 122, 0.15) 0%, transparent 70%);
    filter: blur(80px);
}

.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 40%, var(--secondary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-author {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-light);
    margin-bottom: 3rem;
    line-height: 1.85;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary-teal);
    color: var(--white);
    border: 1px solid var(--primary-teal);
}

.btn-primary:hover {
    background: var(--secondary-teal);
    border-color: var(--secondary-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(61, 124, 122, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.book-mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: var(--primary-teal);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
}

.book-mockup {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}

.book-mockup-wrapper:hover .book-mockup {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) scale(1.03);
}

/* Sections General Layout */
section:not(.hero) {
    padding: 7rem 2rem;
    position: relative;
}

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

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* About Section */
.about {
    background: var(--gray-dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-light);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlight-quote {
    border-left: 4px solid var(--accent-gold);
    padding: 1rem 0 1rem 2rem;
    margin: 2.5rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--white);
    background: rgba(229, 193, 88, 0.02);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Themes Section */
.themes-grid {
    margin-top: 3.5rem;
}

.theme-card {
    position: relative;
    overflow: hidden;
}

.theme-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.theme-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.theme-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews {
    background: var(--gray-dark);
}

.reviews-grid {
    margin-top: 3.5rem;
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-content {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-gold);
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Author Section */
.author-image-wrapper {
    position: relative;
    justify-self: center;
}

.author-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    z-index: 0;
    transition: var(--transition-smooth);
}

.author-image-wrapper:hover::before {
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
}

.author-photo {
    width: 340px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 1;
}

.author-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.author-title {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.author-bio p {
    color: var(--gray-light);
    margin-bottom: 1.2rem;
}

.author-bio p:last-child {
    margin-bottom: 0;
}

/* Why This Book Matters */
.matters-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3.5rem;
}

.matter-item {
    border-left: 3px solid var(--primary-teal);
    padding: 0.5rem 0 0.5rem 2.5rem;
    transition: var(--transition-smooth);
}

.matter-item:hover {
    border-left-width: 6px;
    border-left-color: var(--accent-gold);
}

.matter-item h3 {
    margin-bottom: 0.5rem;
}

.matter-item p {
    color: var(--gray-light);
}

/* --- Clock Slider Container --- */
.clock-slider-container {
    display: flex;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

.clock-slide {
    flex: 0 0 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide-nav-btn {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    margin-top: 1rem;
}
.slide-nav-btn:hover {
    background: rgba(229, 193, 88, 0.1);
    transform: translateY(-2px);
}
.slide-left-btn {
    color: var(--light-text);
    border-color: var(--light-text);
}
.slide-left-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Hemorrhage Clock Section --- */
.hemorrhage-clock-section {
    position: relative;
    padding: 8rem 2rem 4rem; /* padded below fixed header */
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #060909;
    border-bottom: 1px solid var(--border-light);
    perspective: 1000px; /* Enable 3D effects */
}

.clock-background-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clock-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.clock-preheadline {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-teal);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.clock-ticker-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem 3rem;
    box-shadow: 0 0 50px rgba(229, 193, 88, 0.15), var(--shadow-premium);
    backdrop-filter: blur(8px);
    margin-bottom: 2rem;
}

.clock-currency {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(229, 193, 88, 0.4);
}

.clock-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(229, 193, 88, 0.5);
    background: linear-gradient(135deg, var(--accent-gold) 40%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Renaissance Clock Section --- */
.renaissance-clock-section {
    position: relative;
    padding: 8rem 2rem 4rem;
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #03140a;
    border-bottom: 1px solid var(--border-light);
    perspective: 1000px;
}

.green-clock-background-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: hue-rotate(100deg) brightness(1.2);
}

.green-clock-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.green-clock-preheadline {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #00ff88;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.renaissance-clock-section .clock-value {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00ff88 40%, #00b35c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.renaissance-clock-section .clock-currency {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clock-subtext {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Float particles effect */
.clock-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-50px) translateX(25px) scale(1.4);
        opacity: 0.5;
    }
}

/* --- Calculator Section --- */
.calculator-section {
    background-color: var(--bg-dark);
}

.calculator-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--gray-light);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: flex-start;
}

.calculator-controls-pane {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calculator-actions {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
}

.calculator-actions h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.calculator-actions p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-buttons .btn {
    flex: 1;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    min-width: 140px;
}

.calculator-results-pane {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-teal);
    transform: translateX(5px);
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.solution-card {
    border-left: 4px solid var(--accent-gold);
    background: rgba(229, 193, 88, 0.02);
}

.solution-card:hover {
    border-left-color: var(--accent-gold-hover);
}

/* --- Academic Outreach Section --- */
.academic-outreach {
    background: var(--gray-dark);
}

.academic-info-pane {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.academic-info-pane h2 {
    text-align: left;
}

.academic-info-pane h2::after {
    left: 0;
    transform: none;
}

.syllabus-alignment-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.syllabus-card {
    padding: 1.5rem;
}

.syllabus-card h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.syllabus-card p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
}

.policy-download-box {
    padding: 2rem;
    border: 1px solid var(--border-accent);
}

.policy-download-box h3 {
    margin-bottom: 0.5rem;
}

.policy-download-box p {
    font-size: 0.95rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.academic-form-pane {
    padding: 2.5rem;
}

.academic-form-pane h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-intro-text {
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.academic-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.academic-status {
    font-size: 0.95rem;
    margin-top: 1rem;
    display: none;
    text-align: center;
}

.academic-status.success {
    color: var(--secondary-teal);
    display: block;
}

.academic-status.error {
    color: #ff6b6b;
    display: block;
}

.policy-status {
    font-size: 0.95rem;
    margin-top: 1rem;
    display: none;
    text-align: center;
}

.policy-status.success {
    color: var(--secondary-teal);
    display: block;
}

.policy-status.error {
    color: #ff6b6b;
    display: block;
}

.social-nav-link {
    color: var(--primary-teal) !important;
    font-weight: 600 !important;
}

.social-nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Social Media Nav Icons */
.nav-social-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -2px;
    border-radius: 3px;
    display: inline-block;
}

/* Footer Social Icons & Links */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal) !important;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    color: var(--accent-gold) !important;
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    vertical-align: middle;
}

/* WhatsApp Channel Alert Banner */
.whatsapp-alert-banner {
    max-width: 650px;
    margin: 2.5rem auto 3.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: rgba(37, 211, 102, 0.03); /* Subtle green tint */
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.whatsapp-alert-banner:hover {
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

.whatsapp-banner-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-align: left;
}

.whatsapp-banner-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-banner-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.whatsapp-banner-text p {
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.btn-whatsapp-banner {
    background-color: #25D366;
    color: var(--white);
    border: 1px solid #25D366;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.btn-whatsapp-banner:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 600px) {
    .whatsapp-alert-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .whatsapp-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .btn-whatsapp-banner {
        width: 100%;
    }
}

/* Africa Access & Payments Section */
.africa-access {
    background: var(--gray-dark);
}

.africa-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: var(--gray-light);
}

/* Edition Selection Card Grid */
.editions-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.edition-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.edition-cover-wrapper {
    max-width: 200px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.edition-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.edition-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.edition-card .edition-lang {
    color: var(--primary-teal);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: 1px solid #25D366;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* Interactive Tabs Component */
.payment-tabs-container {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.tab-header-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.2rem;
    color: var(--gray-medium);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.tab-header-btn.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.payment-details-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--gray-light);
}

.payment-details-list li::before {
    content: "✓";
    color: var(--primary-teal);
    font-weight: bold;
}

/* Local Inquiry Form */
.inquiry-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.inquiry-wrapper h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.04);
}

.form-group select option {
    background-color: #1b2020;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    align-self: center;
    padding: 1rem 3rem;
    border: none;
}

.form-status {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 1rem;
    display: none;
}

.form-status.success {
    color: var(--secondary-teal);
    display: block;
}

.form-direct-contact {
    font-size: 0.85rem;
    color: var(--gray-medium);
    text-align: center;
    margin-top: 1.2rem;
    line-height: 1.4;
}

.form-direct-contact a {
    color: var(--accent-gold);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.form-direct-contact a:hover {
    color: var(--accent-gold-hover);
    text-decoration: underline;
}

/* Ethics Copyright Banner */
.ethics-banner {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
    border: 1px dashed var(--border-accent);
}

.ethics-banner h4 {
    font-size: 0.95rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.ethics-banner p {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Purchase Section */
.purchase-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: var(--gray-light);
}

.purchase-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.purchase-card .book-img-wrapper {
    max-width: 220px;
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.purchase-card h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.purchase-card p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.btn-amazon {
    background: var(--primary-teal);
    color: var(--white);
    border: 1px solid var(--primary-teal);
    width: 100%;
}

.btn-amazon:hover {
    background: var(--secondary-teal);
    border-color: var(--secondary-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(61, 124, 122, 0.25);
}

/* Footer Section */
footer {
    padding: 4rem 2rem 2.5rem;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-text {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-medium);
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Dynamic scroll entrance classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-image-wrapper {
        order: -1;
    }
    
    .author-info {
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .editions-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .copyright {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
