:root {
    --bg: #FCF5E8;
    --surface: #FCF5E8;
    /* Rich Warm Cream */
    --surface-light: #F2EAD9;
    /* Darker Cream Accent */
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --primary: #A81C26;
    --secondary: #4E342E;
    --accent: #FFC107;

    --font-heading: 'Bagel Fat One', cursive;
    --font-main: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    /* Sophisticated Cream Gradient */
    background: linear-gradient(135deg, #F8F3E6 0%, #EBE3D0 100%);
    background-color: var(--bg);
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.5;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Bagel is bold by default */
    letter-spacing: 1px;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navbar - iOS Liquid Style */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    min-width: 850px;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(248, 243, 230, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    padding: 10px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide internal CTA on Desktop */
.nav-links .cta-btn {
    display: none;
}

/* External Floating CTA */
.floating-cta {
    position: fixed;
    top: 32px;
    right: 40px;
    z-index: 1002;
    background: linear-gradient(135deg, rgba(168, 28, 38, 0.85), rgba(139, 0, 0, 0.95));
    color: var(--text) !important;
    padding: 12px 25px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(168, 28, 38, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(168, 28, 38, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Apple style shrink on scroll */
.navbar.scrolled {
    background: rgba(248, 243, 230, 0.75);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    top: 15px;
    padding: 8px 30px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 1.3rem;
}

.logo img {
    height: 40px;
    margin-right: 12px;
    border-radius: 50%;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    /* Black text as requested */
    transition: color 0.3s;
}

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

.cta-btn {
    background: linear-gradient(135deg, rgba(168, 28, 38, 0.8), rgba(139, 0, 0, 0.9));
    color: var(--text) !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(168, 28, 38, 0.2), inset 0 1px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 28, 38, 0.4);
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Transparent overlay over the new photo */
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.4) 0%, rgba(26, 26, 26, 0.95) 100%), url('assets/bg_connexion.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1;
}

/* Removed unused .hero::before rules to prevent layering issues */

.hero-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 28, 38, 0.1);
    color: var(--primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(168, 28, 38, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    font-family: var(--font-heading);
    color: #fff;
    /* Force white on dark bg */
}



.cursor {
    display: inline-block;
    background-color: var(--text);
    width: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    /* Light grey for dark bg */
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-main);
    /* Keep body readable */
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

/* Hero Specific Button Overrides */
.hero .btn-primary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .btn-ghost {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .trust-indicators p {
    color: #ddd;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(168, 28, 38, 0.8), rgba(139, 0, 0, 0.9));
    color: var(--text);
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.avatars {
    display: flex;
}

.avatar {
    background: var(--surface-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
    margin-left: -10px;
    font-size: 1.2rem;
}

.avatar:first-child {
    margin-left: 0;
}

.trust-indicators p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Hero Visual */
.visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(2deg);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.card-float-stat {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.card-float-stat .emoji {
    font-size: 1.5rem;
}

.card-float-stat strong {
    display: block;
    font-size: 0.9rem;
}

.card-float-stat small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Marquee - Modern iOS Liquid Style */
.marquee-track {
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 30px 0;
    overflow: hidden;
    margin: 40px 0 60px 0;
    position: relative;
    /* transform: rotate(-2deg) scale(1.05); REMOVED to prevent overflow */
    width: 100%;
    /* Logic: "Liquid" usually means smooth gradients + blur */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content-scroll {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    /* Slower, smoother flow */
}

.marquee-content-scroll span {
    color: rgba(0, 0, 0, 0.9);
    font-weight: 400;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Optional: Gradient text for that "Liquid" shimmer */
    /* background: linear-gradient(45deg, #fff, #aaa); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.marquee-content-scroll:hover span {
    opacity: 0.4;
}

.marquee-content-scroll span:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(0);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Grid */
.section {
    padding: 60px 0;
}

#planning {
    padding-top: 10px;
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-header p {
    color: var(--text-muted);
}

.bento-grid {
    /* "Focus Gallery" Layout (Ultra Compact) */
    display: flex;
    gap: 15px;
    height: 280px;
    perspective: 1000px;
}

.bento-card {
    /* Default State: Narrow Glass Pane */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    border-radius: 24px;
    background: #8B1B20;
    /* Brand Red Exact */
    box-shadow: 0 10px 30px rgba(139, 27, 32, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: flex 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.bento-card:hover {
    flex: 2.5;
    background: #9d1e24;
    /* Slightly lighter red on hover */
    /* Slightly lighter red on hover */
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 2.2rem;
    /* Larger icon */
    margin-bottom: 20px;
    margin-top: 0;
    background: rgba(0, 0, 0, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
    opacity: 0.7;
    transition: all 0.4s;
}

.bento-card:hover .card-icon {
    opacity: 1;
    background: #fff;
    color: var(--primary);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
    white-space: nowrap;
    transition: transform 0.4s;
}

.bento-card p {
    color: rgba(255, 255, 255, 0.9);
    /* White text for readability on red */
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
    max-width: 100%;
}

/* Reveal text only on expansion */
.bento-card:hover p {
    opacity: 1;
    max-height: 150px;
    /* ample space for text */
    transform: translateY(0);
}

.bento-card:hover h3 {
    transform: translateY(-5px);
    font-size: 1.6rem;
    /* Grow title less aggressively */
}

/* Mobile Fallback: Standard Stack */
@media (max-width: 768px) {
    .bento-grid {
        flex-direction: column;
        height: auto;
    }

    .bento-card {
        height: 300px;
        flex: none;
    }

    .bento-card p {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Planning Dynamic V2 */
.planning-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.planning-card-v2 {
    background: linear-gradient(145deg, #ffffff 0%, #e6e6e6 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.planning-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    /* Slightly thicker top border */
    background: var(--accent-color);
    box-shadow: 0 2px 10px var(--accent-color);
}

.planning-card-v2:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.card-header h3 {
    font-size: 1.8rem;
    color: var(--text);
    /* Dark text */
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.day-icon {
    font-size: 2rem;
    opacity: 0.8;
    color: var(--text);
    /* Dark icon */
}

.slots-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.04);
    /* Light grey bg */
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.slot-item:hover {
    background: rgba(0, 0, 0, 0.08);
    /* Darker grey hover */
    border-color: rgba(0, 0, 0, 0.1);
}

.time {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 90px;
}

.details {
    flex: 1;
    margin: 0 15px;
}

.details strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    /* Dark text */
}

.details small {
    color: #666;
    /* Dark grey subtitle */
    font-size: 0.8rem;
}

.slot-emoji {
    font-size: 1.2rem;
}

/* Z-Team Bar */
.z-team-bar {
    margin-top: 50px;
    background: linear-gradient(90deg, #111, #000);
    border: 1px solid #333;
    border-radius: 100px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.z-team-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05));
    pointer-events: none;
}

.z-label {
    font-family: var(--font-heading);
    /* Match headings */
    font-weight: 400;
    font-size: 1.4rem;
    color: #fff;
}

.x-mark {
    color: var(--primary);
    margin: 0 5px;
}

.z-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.z-badge {
    background: var(--accent);
    color: black;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 0;
    margin-top: 80px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.brand h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.brand p {
    color: var(--text-muted);
}

.socials {
    margin-top: 20px;
}

.socials a {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--text-muted);
}

.socials a:hover {
    color: var(--text);
}

/* Creator P */
.creator p {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Stacked Cards Styles (Modern & Clean) */
.coverflow-scene {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 20px;
}

.coverflow-slider {
    position: relative;
    /* Ratio 4:5 (Classic Editorial Portrait) - More elegant than tall rectangle */
    width: 400px;
    height: 500px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coverflow-slider:active {
    transform: scale(0.98);
}


/* STACK LOGIC */
.card-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Softer, larger corners ("Squircle" feel) */
    border-radius: 32px;
    overflow: hidden;
    /* No border - "Full Bleed" modern look */
    border: none;
    /* Add subtle white inner edge light via box-shadow */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Default state: Stacked behind */
    opacity: 0;
    transform: translateX(50px) scale(0.9);
    pointer-events: none;
    z-index: 1;
}

/* Active Card */
.card-3d.active {
    opacity: 1;
    z-index: 10;
    /* Removes the 'Old School' frame */
    border: none;
    /* Floating, glowing elevation instead of border */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.6);
    /* Optional: Slight scale up handled by script, but we can enforce sharpness */
}

.card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-label {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.card-3d:hover .card-label {
    background: rgba(0, 0, 0, 0.6);
    transform: translateX(-50%) scale(1.05);
}

/* Scroll Animation Class (Apple Style) */
.scroll-fade-out {
    opacity: 0 !important;
    transform: translateY(-50px) scale(0.95) !important;
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Video Frame - LOCAL FILE STYLE */
/* iPhone 17 Pro Max Implementation */
.iphone-float-container {
    perspective: 1500px;
    margin: 30px auto 0;
    width: 320px;
    /* iPhone 13-17 Approx Ratio */
    height: 680px;
    position: relative;
    /* Initial Scroll State: Hidden & Lower */
    opacity: 0;
    transform: translateY(100px) scale(0.9) rotateX(10deg);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.iphone-float-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
}

.iphone-frame {
    width: 100%;
    height: 100%;
    background: #18181b;
    /* Dark Titanium Base */
    border-radius: 56px;
    position: relative;
    box-shadow:
        inset 0 0 0 3px #444,
        /* Inner Frame */
        inset 0 0 0 7px #000,
        /* Bezel */
        0 30px 60px rgba(0, 0, 0, 0.6),
        /* Deep Shadow */
        0 0 0 3px #222;
    /* Outer Edge */
    z-index: 5;
    transform-style: preserve-3d;
    transition: transform 0.4s ease-out;
}

/* 3D Hover Effect */
.iphone-float-container:hover .iphone-frame {
    transform: rotateY(-3deg) rotateX(2deg) translateY(-10px);
    box-shadow:
        inset 0 0 0 3px #444,
        inset 0 0 0 7px #000,
        0 40px 80px rgba(0, 0, 0, 0.7);
}

.iphone-screen {
    position: absolute;
    top: 7px;
    left: 7px;
    right: 7px;
    bottom: 7px;
    background: #000;
    border-radius: 48px;
    overflow: hidden;
    z-index: 10;
    /* Screen Gloss */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.iphone-notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.camera-lens {
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
    margin-left: 40px;
    box-shadow: inset 0 0 3px #333;
}

/* Buttons */
.iphone-btn {
    position: absolute;
    background: #222;
    left: -5px;
    width: 6px;
    border-radius: 4px 0 0 4px;
    box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.2);
}

.iphone-btn.volume-up {
    top: 140px;
    height: 50px;
}

.iphone-btn.volume-down {
    top: 200px;
    height: 50px;
}

.iphone-btn.power {
    left: auto;
    right: -5px;
    top: 160px;
    height: 80px;
    border-radius: 0 4px 4px 0;
}


/* Updated Overlay to Fit New Screen */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 15;
    /* Above screen/video, below notch */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    cursor: pointer;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(168, 28, 38, 0.8), rgba(139, 0, 0, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    z-index: 20;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(168, 28, 38, 0.3), inset 0 1px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Loading State (Spinner) */
.video-overlay.loading .play-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    color: transparent;
    /* Hide play icon */
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--primary);
    animation: spin 1s linear infinite;
    box-shadow: none;
}

.video-overlay.loading p {
    opacity: 0;
    /* Hide text while loading */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.video-placeholder p {
    color: var(--text);
    z-index: 20;
    margin-top: 15px;
    font-weight: bold;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-container-frame:hover .play-btn {
    transform: scale(1.1);
    background: var(--primary);
}

/* Disable hover scale when loading */
.video-container-frame:hover .video-placeholder.loading .play-btn {
    transform: none;
    animation: spin 1s linear infinite;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        width: 90%;
        min-width: 0;
    }

    .floating-cta {
        display: none;
    }

    .nav-links .cta-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* --- IMPACT PAGE STYLES --- */

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typewriter Effect */
.txt-type {
    color: var(--primary);
    font-weight: 800;
}

.cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Stats Grid */
.stats-section {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--surface);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--surface-light);
    border-color: rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-icon {
    font-size: 2rem;
    margin-top: 20px;
    opacity: 0.5;
}

/* Impact Bento Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Remove fixed row height to avoid overlap */
    gap: 24px;
    margin-top: 40px;
}

.impact-card {
    grid-column: span 6;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    /* Use min-height instead of fixed grid rows */
    min-height: 350px;
}

.impact-card.large {
    grid-column: span 12;
    min-height: 500px;
}

.impact-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.impact-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    width: 100%;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.impact-card:hover .impact-content {
    transform: translateY(0);
}

.impact-tag {
    background: linear-gradient(135deg, rgba(168, 28, 38, 0.8), rgba(139, 0, 0, 0.9));
    box-shadow: 0 5px 15px rgba(168, 28, 38, 0.2), inset 0 1px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.impact-card h3 {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.impact-card p {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    /* Hidden by default for clean look */
    transition: opacity 0.3s 0.1s;
    height: 0;
    overflow: hidden;
}

.impact-card:hover p {
    opacity: 1;
    height: auto;
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(168, 28, 38, 0.1) 0%, transparent 70%);
}

.quote-section blockquote {
    font-size: 2rem;
    font-family: var(--font-heading);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.3;
}

.quote-section cite {
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Impact */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .impact-card,
    .impact-card.large {
        grid-column: span 12;
        height: 350px;
    }

    .impact-card p {
        opacity: 1;
        /* Show text on mobile by default or on visibility */
        height: auto;
    }

    .impact-content {
        transform: translateY(0);
    }
}

/* --- SOCIAL HUB PAGE STYLES --- */

.social-hub-section {
    min-height: 80vh;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.social-header {
    text-align: center;
    margin-bottom: 60px;
}

.social-header h1 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 16px;
    line-height: 1.1;
}

.social-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.social-big-card {
    display: flex;
    align-items: center;
    padding: 30px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-big-card:hover {
    transform: translateY(-10px);
}

/* Specific Card Styles */
.social-big-card.insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.social-big-card.linkedin:hover {
    background: #0077b5;
    border-color: transparent;
}

.social-big-card.email:hover {
    background: var(--surface-light);
    border-color: rgba(0, 0, 0, 0.2);
}


.social-icon-large {
    font-size: 2.5rem;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.social-info p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
}

.social-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: transform 0.3s;
}

.social-big-card:hover .social-arrow {
    transform: translate(5px, -5px);
    opacity: 1;
}

/* Mobile Adjustments for Social Hub */
@media (max-width: 768px) {
    .social-header h1 {
        font-size: 2.5rem;
    }
}

/* Location & Map Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.location-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    /* Clean Light Card */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.loc-icon-big {
    font-size: 3rem;
    margin-bottom: 20px;
    background: rgba(168, 28, 38, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.location-card h3 {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--text);
}

.address-box {
    margin-bottom: 25px;
}

.address-box .street {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.address-box .city {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loc-details p {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(0, 0, 0, 0.8);
}

.loc-details span {
    font-size: 1.4rem;
}

/* Updated Map Frame - iOS Style */
.map-container-frame {
    width: 100%;
    height: 400px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    /* Deep iOS shadow */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transform: rotateY(5deg) scale(0.95);
    /* Subtle 3D tilt */
    transition: all 0.5s ease;
}

.map-container-frame:hover {
    transform: rotateY(0) scale(1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.map-gloss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

/* Mobile Responsiveness for Map */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container-frame {
        height: 300px;
        transform: none;
    }
}

/* Newsletter Popup Styles */
#newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#newsletter-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 32px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#newsletter-overlay.visible .popup-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.popup-badge {
    display: inline-block;
    background: rgba(168, 28, 38, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 15px;
    border: 1px solid rgba(168, 28, 38, 0.2);
}

.popup-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    /* Force white on dark popup */
}

.popup-content p {
    color: #ddd;
    /* Light grey */
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Specific fix for Input inside Dark Popup */
.popup-content .input-group input {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.popup-content .input-group input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
}

.btn-popup {
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-popup:hover {
    transform: scale(1.05);
}

.spam-note {
    font-size: 0.8rem !important;
    opacity: 0.6;
    margin-bottom: 0 !important;
}

/* Specific fix for Video Section Top Spacing */
.video-section {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
}

/* Click Hint Overlay */
.click-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    animation: hintPulse 2s infinite;
}

.hint-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.click-hint span {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

@keyframes hintPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
}

/* Footer Layout Updates */
.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-newsletter {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.05);
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

/* Compact Input Group for Footer */
.input-group.sm {
    margin-bottom: 0;
}

.input-group.sm input {
    padding: 10px 15px;
    font-size: 0.9rem;
}

.btn-popup.sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-layout {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand,
    .footer-newsletter {
        width: 100%;
        max-width: 100%;
    }

    .footer-newsletter {
        order: 1;
    }
}

/* Pagination Dots (Minimalist) */
/* Pagination Dots (Elegant & Matte) */
.pagination-dots {
    position: absolute;
    bottom: 20px;
    /* Move INSIDE the container area to ensure centering aligns with card logic */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
    pointer-events: none;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    /* Unlit: subtle grey */
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* BLOG LIST (Minimalist & Clean) */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 60px auto;
}

.blog-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.blog-item:hover {
    transform: translateX(10px);
}

.blog-item:last-child {
    border-bottom: none;
}

/* Images removed per request */

.blog-item-content h3 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.blog-item-content p {
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .blog-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blog-item-img {
        height: 200px;
    }
}

.blog-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(168, 28, 38, 0.3);
    /* Ruby Tint */
}

.blog-img {
    height: 200px;
    background: #111;
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.blog-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ARTICLE MODAL Styles */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 800px;
    height: 90%;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.article-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.close-modal:hover {
    background: var(--primary);
}

/* Modal Internal Typography */
.modal-article-header {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.modal-article-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-article-body {
    padding: 40px;
}

.modal-article-body h2 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.modal-article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 20px;
}

.modal-article-body h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .modal-article-header {
        height: 200px;
    }

    .modal-article-body {
        padding: 25px;
    }

    .modal-article-body h2 {
        font-size: 1.8rem;
    }
}

.burger {
    display: none;
}

/* --- CHATBOT STYLES --- */
#lc-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-main);
}

#lc-chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 28, 38, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#lc-chatbot-trigger:hover {
    transform: scale(1.1);
}

#lc-chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 480px;
    background: #f9f9fb;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#lc-chatbot-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.lc-chatbot-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lc-chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
}

#lc-chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#lc-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lc-chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lc-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
    animation: fadeInMsg 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeInMsg {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lc-msg-bot {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.lc-msg-user {
    background: var(--text);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.lc-chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.lc-option-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text);
    padding: 10px 15px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.lc-option-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #lc-chatbot-window {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 80vh;
        border-radius: 24px 24px 0 0;
    }
}