:root {
    --primary-color: #0056b3;
    /* Deep Medical Blue */
    --secondary-color: #00a8cc;
    /* Cyan/Tech Blue */
    --accent-color: #28a745;
    /* Safety Green */
    --dark-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-color: #333333;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

html {
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.asterisk-note {
    display: inline-block;
    font-size: 0.85rem;
    color: #666666;
    margin-top: 6px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 95px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    /* Improved visibility */
}

.nav-links a {
    margin-left: 0;
    font-weight: 500;
    color: var(--dark-color);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links .btn {
    margin-left: 0;
    padding: 10px 22px;
}

.nav-links .nav-cta {
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(0, 86, 179, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Button Intuition & Mobile friendliness */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 44px;
    /* Essential for mobile touch */
}

.btn:active {
    transform: scale(0.95);
}

.hero-buttons .btn i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.badge {
    background-color: var(--accent-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #555;
}

.trust-indicators i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Partners */
.partners {
    padding: 40px 0;
    text-align: center;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.partners p {
    margin-bottom: 20px;
    color: #888;
    font-weight: 500;
}

.partners img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--white);
    border: 1px solid #eee;
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Comparison */
.comparison {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.comparison-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.comparison-text {
    flex: 1;
}

.comparison-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    margin: 30px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.benefits-list i {
    color: var(--accent-color);
    margin-right: 12px;
    margin-top: 5px;
}

.comparison-table-container {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-weight: 600;
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.comparison-table .highlight-col {
    background-color: rgba(0, 86, 179, 0.05);
    color: var(--primary-color);
}

/* Proof */
.proof {
    padding: 100px 0;
}

.proof-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: row-reverse;
}

.proof-image {
    flex: 1;
}

.proof-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--white);
}

.proof-text {
    flex: 1;
}

.proof-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.proof-text blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
}

.citation {
    font-weight: 600;
    color: var(--dark-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-card {
    display: flex;
    gap: 50px;
    align-items: center;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.cta-form {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #aaa;
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    color: #666;
    font-size: 0.9rem;
}

.footer-logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-content,
    .comparison-wrapper,
    .proof-content,
    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .proof-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    /* Mobile Navbar Improvements */
    .mobile-menu-toggle {
        display: block;
    }

    .navbar .container {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    .nav-links .btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .lang-selector {
        margin: 0;
        width: fit-content;
    }

    .lang-option {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Hero Buttons Column on Small Screen */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Timeline Vertical Fix */
    .timeline {
        flex-direction: column !important;
        align-items: center;
        gap: 30px;
    }

    .timeline::before {
        display: none;
        /* Hide horizontal line */
    }

    .timeline-step {
        width: 100% !important;
    }

    /* Vertical line for timeline on mobile */
    .timeline-section .container {
        position: relative;
    }

    .timeline-section::after {
        content: "";
        position: absolute;
        top: 200px;
        bottom: 100px;
        left: 50%;
        width: 2px;
        background: #eee;
        z-index: 0;
        display: none;
        /* Keep it clean for now */
    }
}

/* Optional Image Slots */
.optional-image-slot {
    margin-top: 20px;
    min-height: 10px;
    transition: all 0.3s;
}

.optional-image-slot img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Admin Mode Styles for Slots */
body.admin-mode .optional-image-slot {
    border: 2px dashed #ccc;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    cursor: pointer;
    position: relative;
    min-height: 60px;
}

body.admin-mode .optional-image-slot:hover {
    border-color: var(--primary-color);
    background: rgba(0, 86, 179, 0.05);
}

body.admin-mode .optional-image-slot::after {
    content: "📸 Ajouter/Changer Photo";
    display: block;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body.admin-mode .optional-image-slot:has(img)::after {
    content: "📸 Changer Photo";
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Exit Intent Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    /* Ensure popup doesn't exceed viewport height */
    overflow-y: auto;
    /* Allow scrolling within popup if needed */
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    border: 4px solid var(--primary-color);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.close-popup:hover {
    color: #333;
}

.popup-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.popup-body h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.guide-title {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    background: #f0f8ff;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed var(--primary-color);
}

.btn-link {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 15px;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: #555;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Evidence Gallery Grid - Added Fix */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    background: var(--white);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    /* Increased distance */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.animate-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Scale Up Animation */
.scale-up {
    transform: scale(0.95);
}

.scale-up.animate-visible {
    transform: scale(1);
}

/* Fade In Left */
.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-left.animate-visible {
    transform: translateX(0);
}

/* Fade In Right */
.fade-in-right {
    transform: translateX(30px);
}

.fade-in-right.animate-visible {
    transform: translateX(0);
}

/* =========================================
   Sticky Mobile Bar Implementation
   ========================================= */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    /* Higher than everything */
    display: none;
    /* Hidden by default (desktop) */
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    gap: 10px;
    box-sizing: border-box;
}

.sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 700;
    font-size: 0.8rem;
    color: #444;
    gap: 2px;
}

.sticky-btn i {
    font-size: 1.3rem;
}

.sticky-btn:active {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
}

.call-btn {
    background-color: var(--primary-color);
    color: white;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

/* =========================================
   Language Switcher Styles (Segmented Control)
   ========================================= */
.lang-selector {
    display: flex;
    background: #f0f2f5;
    padding: 4px;
    border-radius: 30px;
    margin-left: 20px;
}

.lang-option {
    background: transparent;
    border: none;
    color: #666;
    padding: 6px 14px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.lang-option.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-option:hover:not(.active) {
    color: var(--primary-color);
}

/* RTL Support for Arabic */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .navbar .container {
    flex-direction: row-reverse;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

body.rtl .lang-btn {
    margin-left: 0;
    margin-right: 15px;
}

body.rtl .hero-content {
    flex-direction: row-reverse;
}

body.rtl .hero-text {
    text-align: right;
}

body.rtl .hero-buttons {
    justify-content: flex-end;
}

body.rtl .trust-indicators {
    justify-content: flex-end;
}

body.rtl .feature-card,
body.rtl .proof-text,
body.rtl .section-header {
    text-align: right;
}

body.rtl .proof-content {
    flex-direction: row-reverse;
}

body.rtl .cta-card {
    flex-direction: row-reverse;
}

body.rtl .cta-text {
    text-align: right;
}

body.rtl .footer-content {
    flex-direction: row-reverse;
}

body.rtl .benefits-list li {
    text-align: right;
}

body.rtl .benefits-list li i {
    margin-right: 0;
    margin-left: 10px;
}

body.rtl .contact-info p i {
    margin-right: 0;
    margin-left: 10px;
}

/* =========================================
   Social Proof Notification
   ========================================= */

.social-proof-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9990;
    /* Below sticky bar */
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 300px;
    border-left: 4px solid var(--accent-color);
    font-family: var(--font-body);
}

.social-proof-notification.visible {
    transform: translateY(0);
    opacity: 1;
}

.sp-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.sp-content p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
    color: #333;
}

.sp-time {
    color: #888;
    font-size: 0.75rem;
    display: block;
    margin-top: 2px;
}

.sp-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    color: #ccc;
    font-size: 1rem;
    line-height: 1;
}

.sp-close:hover {
    color: #333;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sticky-mobile-bar {
        display: flex;
    }

    /* Add padding to body so the bar doesn't overlay content at the bottom */
    body {
        padding-bottom: 70px;
    }

    /* Hide the existing floating WhatsApp button on mobile to avoid duplication with sticky bar */
    a[href*="wa.me"][style*="position: fixed"] {
        display: none !important;
    }


    /* Adjust Social Proof position on mobile */
    .social-proof-notification {
        bottom: 80px;
        /* Above sticky bar */
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        width: 90%;
        max-width: 90%;
    }

    .social-proof-notification.visible {
        transform: translateX(-50%) translateY(0);
    }

    /* =========================================
       Global Mobile Refinements
       ========================================= */

    /* Better Heading Scaling */
    h1 {
        font-size: 2.5rem !important;
        /* Smaller than 3.5rem */
    }

    h2 {
        font-size: 1.8rem !important;
        /* Smaller than 2.5rem */
    }

    /* Reduce Section Padding */
    section {
        padding: 50px 0 !important;
        /* Tighter vertical spacing */
    }

    .hero {
        padding: 40px 0 !important;
    }

    /* Prevent iOS Zoom on Inputs */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Make grid items full width on small screens */
    .gallery-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        /* Add internal padding */
    }

    /* Adjust calculator layout */
    .calc-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .calculator-wrapper {
        padding: 20px !important;
    }

    .calc-results {
        margin-top: 20px;
    }

    /* Ensure Gallery Photos are responsive */
    .gallery-grid-photos {
        grid-template-columns: 1fr !important;
    }

    /* Comparison Table Mobile Fix */
    .comparison-table-container {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        background: white;
    }

    .comparison-table {
        min-width: 500px;
        /* Reduced from 600px to avoid excessive scrolling on small phones */
        width: 100%;
    }

    .comparison-wrapper {
        gap: 20px;
    }

    /* Ensure Iframes are responsive */
    /* Ensure Iframes are responsive */
    iframe {
        max-width: 100%;
        height: 100%;
        /* Let wrapper control height */
        aspect-ratio: auto;
        /* Disable fixed aspect ratio to allow vertical video */
    }

    /* Sticky Mobile Bar Visibility */
    .sticky-mobile-bar {
        display: flex !important;
    }

    /* Move AI Button (SteriBot) above sticky bar */
    #steribot {
        bottom: 85px !important;
        right: 20px !important;
    }

    /* Popup Mobile Refinements */
    .popup-content {
        padding: 20px 15px !important;
    }

    .popup-header h2 {
        font-size: 1.8rem !important;
    }

    .guide-title {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }

    .popup-body p {
        font-size: 0.9rem;
    }

    /* Fix AI section for mobile */
    .ai-interface {
        padding: 20px !important;
    }

    .ai-controls {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .ai-section {
        padding: 40px 15px !important;
    }
}
