/* ============================================
   ELZAYO – Premium Genius Design System
   ============================================ */

/* --- CSS Custom Properties (Palette) --- */
:root {
    --deep-belief:   #0f172a;
    --pure-light:    #f5f6f8;
    --genius-blue:   #2c6fce;
    --empathy-coral: #d95a4b;
    --verdant-growth:#2e8b57;
    --unseen-gold:   #d4a017;

    --text-primary:   var(--deep-belief);
    --bg-primary:     var(--pure-light);
    --font-sans:      'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
    --max-width:      1200px;
    --border-radius:  8px;
}

/* Dark mode overrides */
[data-theme="dark"] {
    --bg-primary:    #0f172a;
    --text-primary:  #f5f6f8;
    --deep-belief:   #f5f6f8;
    --pure-light:    #1e293b;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    animation: pageFadeIn 0.4s ease-out;
}
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--genius-blue); text-decoration: none; }
/* Only underline text links in content areas */
p a, .privacy-content a, .blog-card a, .story-card a, .roadmap-page a, .events-page a, .library-page a, .assessment-page a, .curiosity-page a, .specialists-page a, .programs-page a {
    text-decoration: underline;
}
p a:hover, .privacy-content a:hover, .blog-card a:hover, .story-card a:hover, .roadmap-page a:hover, .events-page a:hover, .library-page a:hover, .assessment-page a:hover, .curiosity-page a:hover, .specialists-page a:hover, .programs-page a:hover {
    color: var(--deep-belief);
}

/* --- Accessibility: Skip to content --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--genius-blue);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 1000;
}
.skip-link:focus { top: 0; }

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--deep-belief);
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    position: relative;
}
.announcement-bar .close-bar {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--unseen-gold);
    cursor: pointer;
    font-size: 1.2rem;
}

/* --- Navigation (placeholder) --- */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0.5rem 0;
    transition: filter 0.3s;
}
/* Invert logo in dark mode so the dark text becomes light */
[data-theme="dark"] .logo {
    filter: invert(1) brightness(1.2);
}
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.nav-link:hover {
    color: var(--genius-blue);
    transform: scale(1.03);
    text-decoration: none;
}
/* Active state diamond */
.nav-link.active {
    color: var(--genius-blue);
}
.nav-link.active::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: var(--unseen-gold);
    opacity: 1;
}






/* --- Floating Help Button --- */
.help-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--empathy-coral);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.help-button:hover { opacity: 0.9; }

/* --- Footer Placeholder --- */
.footer {
    background: #0f172a;  /* Always dark */
    color: #ffffff;
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}
.footer-links a {
    color: #e2e8f0;   /* light grey-blue, passes AA on #0f172a */
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--unseen-gold);
}






/* --- Dark Mode Toggle (in footer) --- */
.theme-toggle {
    background: none;
    border: 1px solid currentColor;
    color: inherit;
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-top: 0.5rem;
}

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }


/* Coming Soon Page */
.coming-soon {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pure-light) 0%, #e9eff5 100%);
    text-align: center;
}
[data-theme="dark"] .coming-soon {
    background: linear-gradient(135deg, var(--deep-belief) 0%, #1e293b 100%);
}
.cs-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.cs-headline {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-belief);
    margin-bottom: 1rem;
}
.cs-highlight {
    color: var(--genius-blue);
}
.cs-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    opacity: 0.8;
}
.cs-cta {
    margin-bottom: 1.5rem;
}
.btn-primary {
    display: inline-block;
    background: var(--genius-blue);
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.btn-primary:hover {
    background: #1f5bb5;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(44, 111, 206, 0.3);
}
.cs-note {
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.6;
}



/* ========== HERO ========== */
.hero-section {
    background: linear-gradient(135deg, var(--pure-light) 0%, #e9eff5 100%);
    padding: 4rem 0;
}
[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, var(--deep-belief) 0%, #1e293b 100%);
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1 1 300px;
}
.hero-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-belief);
    margin-bottom: 1rem;
}
.hero-highlight {
    color: var(--genius-blue);
}
.hero-sub {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-media {
    flex: 1 1 300px;
    min-height: 250px;
    position: relative;
    margin-right: -40px;          /* slight overlap */
    transform: translateY(-10px); /* subtle lift */
    z-index: 2;
}




/* ========== IMAGE PLACEHOLDER ========== */
.image-placeholder {
    background: #e9ecef;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    color: #888;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}
.image-placeholder::after {
    content: "📷 Real child breakthrough photo coming soon";
}
[data-theme="dark"] .image-placeholder {
    background: #2d3a4a;
}


/* ========== IFRAME (live embed) ========== */
.image-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== LOCAL VIDEO PREVIEW ========== */
.local-video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.local-video-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

/* Hide placeholder text when video or preview is present */
.image-placeholder:has(iframe)::after,
.image-placeholder:has(.local-video-preview)::after {
    content: none;
}









/* ========== STACKING VISUAL ========== */
.stacking-section {
    padding: 4rem 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--deep-belief);
}
.section-sub {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}
.stacking-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}
.stack-step {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: var(--text-primary);
}
[data-theme="dark"] .stack-step {
    background: #2d3a4a;
    border-color: rgba(255,255,255,0.1);
}
.stack-step:hover {
    border-color: var(--genius-blue);
}
.step-num {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    background: var(--genius-blue);
    color: #fff;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 0.9rem;
}
.step-detail {
    padding: 0.5rem 1.5rem 1rem;
    font-size: 0.95rem;
    opacity: 0.85;
}
.proof-note {
    color: var(--verdant-growth);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ========== NEUROSCIENCE ========== */
.neuroscience-section {
    padding: 4rem 0;
    background: #fff;
}
[data-theme="dark"] .neuroscience-section {
    background: #1e293b;   /* dark slate, not tied to swapped variable */
}


[data-theme="dark"] .neuroscience-section p,
[data-theme="dark"] .neuroscience-section h2,
[data-theme="dark"] .neuroscience-section .silent-crisis {
    color: #f1f5f9;
}
[data-theme="dark"] .neuroscience-section .silent-crisis {
    background: #3d3520;  /* keep the warm crisis box */
    color: #f5f6f8;
}





.two-col {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.two-col > div {
    flex: 1 1 300px;
}
.silent-crisis {
    background: #fff3cd;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    font-size: 0.95rem;
}
[data-theme="dark"] .silent-crisis {
    background: #3d3520;
    color: #f5f6f8;
}

/* ========== PARENT SPOTLIGHTS ========== */
.stories-section {
    padding: 4rem 0;
}
.story-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
[data-theme="dark"] .story-card {
    background: #2d3a4a;
}
.story-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.story-card cite {
    font-size: 0.9rem;
    color: var(--genius-blue);
}

/* ========== CURIOSITY LINKS ========== */
.curiosity-link {
    margin-top: 1.5rem;
    font-weight: 600;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 4rem 0;
    background: #f0f4f8;
}
[data-theme="dark"] .cta-section {
    background: #1e293b;
}



/* ========== ROADMAP PAGE ========== */
.roadmap-page {
    padding: 4rem 0;
}
.roadmap-stages {
    max-width: 700px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.rm-stage {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
[data-theme="dark"] .rm-stage {
    background: #2d3a4a;
}
.rm-num {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--genius-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.rm-content h3 {
    margin-bottom: 0.3rem;
}


.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--genius-blue);
    box-shadow: 0 0 0 3px rgba(44, 111, 206, 0.1);
}
.form-group textarea {
    resize: vertical;
}


.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
}
.form-success {
    text-align: center;
    padding: 2rem 0;
}
.success-message {
    color: var(--empathy-coral);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========== STORIES PAGE ========== */
.stories-page {
    padding: 4rem 0;
}



/* ========== PROOF PAGE ========== */
.proof-page {
    padding: 4rem 0;
}
.proof-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.proof-filters label {
    font-weight: 500;
}
.proof-filters select {
    margin-left: 0.5rem;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.2);
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.proof-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
[data-theme="dark"] .proof-card {
    background: #2d3a4a;
}
.proof-stat {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--verdant-growth);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.proof-stat::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--verdant-growth);
    border-radius: 50%;
    box-shadow: 
        4px 0 0 -1px var(--verdant-growth),
        -4px 0 0 -1px var(--verdant-growth),
        0 4px 0 -1px var(--verdant-growth),
        0 -4px 0 -1px var(--verdant-growth);
    opacity: 0.7;
}
.proof-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.8;
}
.proof-approved {
    color: var(--verdant-growth);
    font-weight: 600;
}


/* ========== ASSESSMENT ========== */
.assessment-page {
    padding: 4rem 0;
}
.step-indicator {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.step-dot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #ddd;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.step-dot.active {
    background: var(--genius-blue);
    color: #fff;
}
.question {
    display: none;
}
.question.active {
    display: block;
}
.assessment-form label {
    display: block;
    margin: 0.5rem 0;
}
.btn-prev, .btn-next {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--genius-blue);
    background: #fff;
    color: var(--genius-blue);
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-right: 0.5rem;
}
.btn-prev:hover, .btn-next:hover {
    background: var(--genius-blue);
    color: #fff;
}
.result-area {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}
.result-area h2 {
    color: var(--empathy-coral);
}
.result-ctas {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--genius-blue);
    color: var(--genius-blue);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-secondary:hover {
    background: var(--genius-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 111, 206, 0.2);
}

/* ========== CURIOSITY SESSION ========== */
.curiosity-page {
    padding: 4rem 0;
}
.curiosity-form {
    max-width: 500px;
    margin: 2rem auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
}
[data-theme="dark"] .curiosity-form {
    background: #2d3a4a;
}



/* ========== SPECIALISTS PAGE ========== */
.specialists-page {
    padding: 4rem 0;
}
.specialists-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}
.specialists-content li {
    margin-bottom: 0.5rem;
}
.specialist-proof {
    background: #f0f7f4;
    border-left: 4px solid var(--verdant-growth);
    padding: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}
.specialist-form {
    max-width: 600px;
    margin: 2rem auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
}
[data-theme="dark"] .specialist-form {
    background: #2d3a4a;
}
.specialist-form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    font-family: inherit;
}


/* ========== PROGRAMS PAGE ========== */
.programs-page {
    padding: 4rem 0;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.plan-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
}
[data-theme="dark"] .plan-card {
    background: #2d3a4a;
}
.plan-card.premium {
    border: 2px solid var(--genius-blue);
}
.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-belief);
    margin: 0.5rem 0;
}
.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}
.plan-sessions {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}
.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}
.plan-features li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}
.check {
    color: var(--verdant-growth);
    margin-right: 0.5rem;
    font-weight: 700;
}
.plan-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ========== BLOG PAGE ========== */
.blog-page {
    padding: 4rem 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.blog-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
}
[data-theme="dark"] .blog-card {
    background: #2d3a4a;
}
.blog-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--genius-blue);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}
.blog-card .btn-primary {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
}


.blog-card .btn-primary {
    pointer-events: none;   /* avoid double click because the whole card is clickable */
}


/* ========== EVENTS PAGE ========== */
.events-page {
    padding: 4rem 0;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.event-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
[data-theme="dark"] .event-card {
    background: #2d3a4a;
}
.event-card h2 {
    margin-bottom: 0.5rem;
}
.event-card p {
    margin-bottom: 0.5rem;
}
.event-card.past {
    opacity: 0.9;
    margin-top: 1rem;
}
.event-form-wrapper {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
[data-theme="dark"] .event-form-wrapper {
    background: #2d3a4a;
}

/* ========== LIBRARY PAGE ========== */
.library-page {
    padding: 4rem 0;
}
.library-filters {
    margin-bottom: 2rem;
}
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}
.book-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}
[data-theme="dark"] .book-card {
    background: #2d3a4a;
}
.book-cover-placeholder {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}
.book-skill {
    color: var(--genius-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.book-request-form {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
[data-theme="dark"] .book-request-form {
    background: #2d3a4a;
}


.hidden {
    display: none;
}




.success-message::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: var(--unseen-gold);
    transform: rotate(45deg);
    margin: 0 auto 0.75rem;
    animation: diamondBounce 0.5s ease-out;
}
@keyframes diamondBounce {
    0% { transform: rotate(45deg) scale(0); }
    60% { transform: rotate(45deg) scale(1.2); }
    100% { transform: rotate(45deg) scale(1); }
}




.privacy-page {
    padding: 4rem 0;
}
.privacy-content {
    max-width: 700px;
    margin: 2rem auto 0;
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
[data-theme="dark"] .privacy-content {
    background: #2d3a4a;
}
.privacy-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--genius-blue);
}
.privacy-content h3:first-child {
    margin-top: 0;
}
.privacy-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}



/* Organic dividers */
.section-wave {
    display: block;
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%232e8b57' fill-opacity='0.08' d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") repeat-x;
    background-size: cover;
    margin-top: -1px;
}


.hero-media .image-placeholder {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}


@keyframes subtleParallax {
    from { transform: translateY(0); }
    to   { transform: translateY(-15px); }
}
.hero-media {
    animation: subtleParallax 0.5s ease-out both;
    animation-timeline: scroll();
}





.genius-rising {
    position: fixed;
    left: 2.5rem;
    top: 0;
    width: 1px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent 0%, var(--unseen-gold) 10%, var(--unseen-gold) 90%, transparent 100%);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}
.genius-rising .node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--unseen-gold);
    border-radius: 1px;
    transform: translateX(-50%) rotate(45deg);
    opacity: 0.5;
}
/* Hide on small screens */
@media (max-width: 768px) {
    .genius-rising {
        left: 0.8rem;
    }
}




body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.2' fill='%232c6fce' opacity='0.15'/%3E%3Ccircle cx='8' cy='8' r='0.8' fill='%232c6fce' opacity='0.1'/%3E%3Cpath d='M20,20 L32,32' stroke='%232c6fce' stroke-width='0.4' opacity='0.1'/%3E%3Cpath d='M20,20 L8,32' stroke='%232c6fce' stroke-width='0.4' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
    z-index: -2;
}



#custom-brain {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}


#custom-brain {
    max-width: 400px;
    margin: 0 auto;
}
#custom-brain canvas {
    width: 100%;
    height: auto;
    display: block;
}



.story-card, .blog-card, .proof-card, .event-card, .book-card, .plan-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.story-card:hover, .blog-card:hover, .proof-card:hover, .event-card:hover, .book-card:hover, .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
[data-theme="dark"] .story-card:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .proof-card:hover,
[data-theme="dark"] .event-card:hover,
[data-theme="dark"] .book-card:hover,
[data-theme="dark"] .plan-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}



/* ========== MOBILE MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile panel */
.mobile-menu-panel {
    position: fixed;
    top: 0; right: -280px;
    width: 260px;
    height: 100%;
    background: var(--pure-light);
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
[data-theme="dark"] .mobile-menu-panel {
    background: #1e293b;
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
}
.mobile-menu-panel.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3rem;
}
.mobile-nav-links .nav-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
[data-theme="dark"] .mobile-nav-links .nav-link {
    border-bottom-color: rgba(255,255,255,0.1);
}
.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
    color: var(--genius-blue);
}

.mobile-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;   /* hide desktop nav on mobile */
    }
}




/* ========== BLOG OVERLAY & PANEL ========== */
.article-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.article-overlay.active {
    opacity: 1;
    visibility: visible;
}
.article-panel {
    position: fixed;
    top: 0; right: -100%;
    width: 100%;
    max-width: 660px;
    height: 100%;
    background: var(--pure-light);
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    z-index: 2001;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}
[data-theme="dark"] .article-panel {
    background: #1e293b;
    box-shadow: -8px 0 30px rgba(0,0,0,0.5);
}
.article-panel.active {
    right: 0;
}
.article-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 5;
    line-height: 1;
}
.article-scroll {
    overflow-y: auto;
    padding: 3rem 2rem 2rem;
    flex: 1;
}
.article-content {
    max-width: 600px;
    margin: 0 auto;
}
.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--deep-belief);
}
.article-content .blog-meta {
    font-size: 0.85rem;
    color: var(--genius-blue);
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.article-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.article-content .cta-block {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0f4f8;
    border-radius: var(--border-radius);
    text-align: center;
}
[data-theme="dark"] .article-content .cta-block {
    background: #2d3a4a;
}
.article-content .cta-block a {
    display: inline-block;
    margin-top: 0.75rem;
}

/* Related articles */
.related-articles {
    max-width: 600px;
    margin: 3rem auto 0;
}
.related-articles h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.related-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
[data-theme="dark"] .related-card {
    background: #2d3a4a;
}
.related-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.related-card h5 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.related-card p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile: panel slides up from bottom */
@media (max-width: 768px) {
    .article-panel {
        right: 0;
        bottom: -100%;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: 85%;
        border-radius: 16px 16px 0 0;
        transition: bottom 0.35s ease;
    }
    .article-panel.active {
        bottom: 0;
    }
}


.blog-card {
    cursor: pointer;
}
.blog-card .btn-primary {
    pointer-events: none;   /* prevents double click from button */
}



/* Enhanced related articles */
.related-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}
[data-theme="dark"] .related-card {
    background: #2d3a4a;
    border-color: rgba(255,255,255,0.06);
}
.related-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.related-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--deep-belief);
}
[data-theme="dark"] .related-card h5 {
    color: #f1f5f9;
}
.related-card p {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}




/* ========== ENROLMENT OVERLAY ========== */
.enrollment-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.enrollment-overlay.active {
    opacity: 1;
    visibility: visible;
}
.enrollment-panel {
    position: fixed;
    top: 0; right: -100%;
    width: 100%;
    max-width: 560px;
    height: 100%;
    background: var(--pure-light);
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    z-index: 2001;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}
[data-theme="dark"] .enrollment-panel {
    background: #1e293b;
}
.enrollment-panel.active {
    right: 0;
}
.enrollment-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 5;
    line-height: 1;
}
.enrollment-scroll {
    overflow-y: auto;
    padding: 3rem 2rem 2rem;
    flex: 1;
}
.enrollment-step {
    display: none;
}
.enrollment-step.active {
    display: block;
    animation: fadeIn 0.35s ease;
}
.enr-btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}
.enr-summary {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
[data-theme="dark"] .enr-summary {
    background: #2d3a4a;
}
.enr-summary h3 {
    margin-bottom: 0.5rem;
    color: var(--genius-blue);
}
.enr-summary ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}
.enr-summary ul li {
    padding: 0.2rem 0;
    font-size: 0.95rem;
}
.enr-summary ul li::before {
    content: "✔";
    color: var(--verdant-growth);
    margin-right: 0.5rem;
}
/* Outline button */
.btn-outline {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--genius-blue);
    color: var(--genius-blue);
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-outline:hover {
    background: var(--genius-blue);
    color: #fff;
    transform: translateY(-2px);
}
.lang-badge {
    display: inline-block;
    background: var(--unseen-gold);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.5rem;
}
/* Mobile: panel slides up from bottom */
@media (max-width: 768px) {
    .enrollment-panel {
        right: 0;
        bottom: -100%;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: 85%;
        border-radius: 16px 16px 0 0;
        transition: bottom 0.35s ease;
    }
    .enrollment-panel.active {
        bottom: 0;
    }
}




.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    opacity: 0.8;
}
.empty-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}




.skeleton {
    background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius);
    min-height: 100px;
}
[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--deep-belief);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 9999;
    flex-wrap: wrap;
    text-align: center;
}
.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}
.cookie-consent .btn-primary {
    background: var(--genius-blue);
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
}




.question.active {
    display: block;
}



.recommended-program {
    background: #f0f7f4;
    border-left: 4px solid var(--verdant-growth);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}
[data-theme="dark"] .recommended-program {
    background: #2d3a4a;
    border-left-color: var(--verdant-growth);
}
.recommended-program h3 {
    color: var(--verdant-growth);
    margin-bottom: 0.5rem;
}
.email-snapshot {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}




/* ========== BOOKING PAGE ========== */
.booking-page { padding: 4rem 0; }
.week-navigation { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.week-label { font-weight: 600; font-size: 1.1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.calendar-day { background: #fff; border-radius: var(--border-radius); padding: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
[data-theme="dark"] .calendar-day { background: #2d3a4a; }
.calendar-day h3 { margin-bottom: 0.75rem; color: var(--genius-blue); }
.slot-btn { display: block; width: 100%; margin-bottom: 0.5rem; padding: 0.5rem; border: 1px solid var(--genius-blue); border-radius: 4px; background: none; color: var(--genius-blue); cursor: pointer; font-weight: 500; transition: background 0.2s; }
.slot-btn:hover { background: var(--genius-blue); color: #fff; }
.slot-btn.fully-booked { border-color: #ccc; color: #aaa; cursor: not-allowed; opacity: 0.7; }
.slot-btn.fully-booked:hover { background: none; color: #aaa; }
.no-slots { color: #888; font-style: italic; }

/* Booking overlay */
.booking-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(15,23,42,0.7); backdrop-filter: blur(4px); z-index:2000; opacity:0; visibility:hidden; transition:0.3s; }
.booking-overlay.active { opacity:1; visibility:visible; }
.booking-panel { position: fixed; top:50%; left:50%; transform:translate(-50%,-50%); background: var(--pure-light); padding:2rem; border-radius: var(--border-radius); max-width:500px; width:90%; max-height:80vh; overflow-y:auto; z-index:2001; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
[data-theme="dark"] .booking-panel { background: #1e293b; }
.booking-close-btn { position:absolute; top:1rem; right:1rem; background:none; border:none; font-size:2rem; cursor:pointer; color: var(--text-primary); }





/* ========== HOME PROGRAMS STRIP ========== */
.programs-strip {
    padding: 4rem 0;
    background: #f9fafc;
}
[data-theme="dark"] .programs-strip {
    background: #1e293b;
}
.programs-strip-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.program-strip-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    max-width: 350px;
    flex: 1 1 300px;
}
[data-theme="dark"] .program-strip-card {
    background: #2d3a4a;
}
.program-strip-card h3 {
    margin-bottom: 0.5rem;
    color: var(--genius-blue);
}
.program-strip-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ========== JOURNAL STRIP ========== */
.journal-strip {
    padding: 4rem 0;
}
.journal-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.journal-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    max-width: 300px;
    flex: 1 1 250px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s, box-shadow 0.2s;
}
[data-theme="dark"] .journal-card {
    background: #2d3a4a;
}
.journal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    text-decoration: none;
}
.journal-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--deep-belief);
}
[data-theme="dark"] .journal-card h4 {
    color: #f1f5f9;
}
.journal-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}
.journal-link {
    color: var(--genius-blue);
    font-weight: 600;
    font-size: 0.9rem;
}


.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}



/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays (optional – add data-reveal-delay in HTML or use JS) */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.revealed {
        transition: none;
        opacity: 1;
        transform: none;
    }
}




/* ========== STICKY HEADER WITH SCROLL-UP REVEAL ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--pure-light);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: none;
}

[data-theme="dark"] .site-header {
    background: #1e293b;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Offset the main content so it doesn’t hide behind the fixed header */
body {
    padding-top: 80px;  /* adjust if your header height changes */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}



.before-after-card {
    grid-column: span 2;   /* make the card wider if needed */
}
.before-after-videos {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.video-half {
    flex: 1 1 45%;
    min-width: 200px;
}
.video-label {
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.before-label { color: var(--empathy-coral); }
.after-label { color: var(--verdant-growth); }
.proof-video {
    width: 100%;
    border-radius: 4px;
    background: #000;
}



/* Enhanced blog cards with images */
.blog-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card.latest .blog-card-body {
    /* subtle highlight if needed */
}
.latest-tag {
    display: inline-block;
    background: var(--unseen-gold);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    align-self: flex-start;
}
.blog-card h2 {
    margin-top: 0;
    margin-bottom: 0.3rem;
}
.blog-card .btn-primary {
    margin-top: auto;
    align-self: flex-start;
}
/* Article overlay header image */
.article-header-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 1.5rem;
}
/* Ensure article content respects image */
.article-content h2 {
    margin-top: 0;
}


.journal-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.journal-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.journal-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.journal-card-body h4 {
    margin-top: 0;
}
.journal-card-body .journal-link {
    margin-top: auto;
}



/* ========== PROOF PAGE MOBILE ========== */
@media (max-width: 768px) {
    .proof-filters {
        flex-direction: column;
        gap: 0.75rem;
    }
    .proof-filters label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .proof-filters select {
        width: 60%;
    }
    .proof-grid {
        grid-template-columns: 1fr;
    }
    .before-after-videos {
        flex-direction: column;
    }
    .before-after-card {
        grid-column: span 1;
    }
}




@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-media {
        flex: auto;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        transform: none;
        min-height: 200px;
    }
    .hero-media .image-placeholder {
        width: 100%;
        margin: 0 auto;
        min-height: 200px;
    }
}





@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.6rem;
        margin: 1.2rem 0;
    }
    .footer-links a {
        font-size: 0.95rem;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        display: block;
        text-align: left;
        color: #e2e8f0;
    }
    .footer-links a:last-child {
        border-bottom: none;
    }
    .footer-links a:hover {
        color: var(--unseen-gold);
    }
}