﻿/* --- CSS RESET AND BASIC SETUP --- */
:root {
    --Landing-primary-color: #E6007E; /* Magenta */
    --Landing-secondary-color: #007BFF; /* Blue */
    --Landing-accent-color: #ffc107; /* A bright accent, e.g., yellow/gold */
    --Landing-dark-color: #1a2533; /* Even darker for more contrast */
    --Landing-medium-gray: #5a6a78;
    --Landing-light-gray: #f0f4f8; /* Softer light gray */
    --Landing-white-color: #ffffff;
    --Landing-font-primary: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --Landing-font-secondary: 'Roboto', 'Segoe UI', sans-serif; /* Roboto as primary heading */
    --Landing-header-height: 70px; /* Slightly reduced */
    --Landing-border-radius: 10px; /* More rounded */
    --Landing-box-shadow: 0 8px 25px rgba(var(--Landing-dark-color-rgb), 0.07); /* Softer, using RGB for opacity */
    --Landing-box-shadow-hover: 0 12px 35px rgba(var(--Landing-dark-color-rgb), 0.1);
    --Landing-dark-color-rgb: 26, 37, 51; /* For rgba usage */
    --Landing-primary-color-rgb: 230, 0, 126;
    --Landing-gradient-primary: linear-gradient(135deg, var(--Landing-secondary-color) 0%, var(--Landing-primary-color) 100%);
    --Landing-gradient-primary-hover: linear-gradient(135deg, #0062cc 0%, #c20069 100%); /* Darker hover gradient */
    --Landing-transition-fast: 0.2s ease-out;
    --Landing-transition-smooth: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* MODERNIZATION: Smooth scroll behavior */
/*html {
     scroll-behavior: smooth;
}*/

.modern-page-wrapper, .modern-page-wrapper * {
    box-sizing: border-box;
}
.modern-page-wrapper {
    font-family: var(--Landing-font-primary);
    line-height: 1.75; /* Slightly more spacious */
    color: var(--Landing-medium-gray);
    background-color: var(--Landing-white-color);
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* --- Typography Enhancements --- */
.modern-page-wrapper h1, .modern-page-wrapper h2, .modern-page-wrapper h3, .modern-page-wrapper h4 {
    font-family: var(--Landing-font-secondary);
    color: var(--Landing-dark-color);
    margin-top: 0;
    margin-bottom: 1.25rem; /* More spacing */
    line-height: 1.25; /* Tighter for headings */
    font-weight: 700; /* Bold headings */
}
.modern-page-wrapper h1 { font-size: clamp(2.5rem, 5.5vw, 3.8rem); letter-spacing: -0.5px; }
.modern-page-wrapper h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.modern-page-wrapper h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 600; }
.modern-page-wrapper h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }

.modern-page-wrapper p {
    margin-top: 0;
    margin-bottom: 1.5rem; /* More spacing for paragraphs */
    font-size: 1.05rem; /* Slightly larger base paragraph text */
}
.modern-page-wrapper a {
    text-decoration: none;
    color: var(--Landing-primary-color);
    transition: color var(--Landing-transition-fast), opacity var(--Landing-transition-fast);
}
.modern-page-wrapper a:hover {
    color: var(--Landing-secondary-color);
    opacity: 0.8;
}
.modern-page-wrapper ul { list-style: none; padding: 0; margin: 0;}
.modern-page-wrapper img { max-width: 100%; height: auto; display: block; }

/* --- Container and Utilities --- */
.Landing-container {
    width: 100%;
    max-width: 1240px; /* Wider container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px; /* More padding */
    padding-right: 25px;
}
.Landing-text-center { text-align: center; }
/* MODERNIZATION: Section Title with animated underline */
.Landing-section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.25rem;
}
.Landing-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 60px; /* Start smaller */
    height: 5px;
    background: var(--Landing-gradient-primary);
    border-radius: 3px;
    transition: width var(--Landing-transition-smooth); /* ANIMATION: Animate width */
}
/* ANIMATION: Expand underline on hover of section or when in view (JS needed for in-view) */
.Landing-section:hover .Landing-section-title::after,
.Landing-section.is-in-view .Landing-section-title::after { /* Add .is-in-view with JS for scroll trigger */
    width: 100px;
}
html[dir="ltr"] .Landing-section-title::after { left: 50%; transform: translateX(-50%); }
html[dir="rtl"] .Landing-section-title::after { right: 50%; transform: translateX(50%); }

.Landing-title-align-left { text-align: left; }
html[dir="ltr"] .Landing-title-align-left::after { left: 0; transform: translateX(0); }
html[dir="rtl"] .Landing-title-align-left::after { right: 0; transform: translateX(0); }

.Landing-section-subtitle {
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    font-size: 1.15rem; /* Larger subtitle */
    color: var(--Landing-medium-gray);
    font-weight: 300; /* Lighter subtitle */
    line-height: 1.8;
}

/* --- Buttons --- */
/* MODERNIZATION: Button styles with more interactive feedback */
.Landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem; /* More padding */
    border: 2px solid transparent;
    border-radius: var(--Landing-border-radius);
    cursor: pointer;
    font-weight: 600; /* Bolder text */
    font-family: var(--Landing-font-secondary);
    transition: all var(--Landing-transition-smooth), transform 0.15s ease-out; /* Faster transform for press effect */
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px; /* More letter spacing */
    box-shadow: var(--Landing-box-shadow);
    position: relative; /* For pseudo-elements */
    overflow: hidden; /* For ripple/shine effects */
}
.Landing-btn i { /* ANIMATION: Icon movement on hover */
    transition: transform var(--Landing-transition-fast);
}
.Landing-btn:hover {
    transform: translateY(-4px) scale(1.02); /* Lift and slightly scale */
    box-shadow: var(--Landing-box-shadow-hover);
}
.Landing-btn:hover i {
    transform: translateX(3px);
}
html[dir="rtl"] .Landing-btn:hover i {
    transform: translateX(-3px);
}
.Landing-btn:active {
    transform: translateY(-1px) scale(0.98); /* Press down effect */
    box-shadow: 0 2px 10px rgba(var(--Landing-dark-color-rgb), 0.06);
}

.Landing-btn-primary {
    background: var(--Landing-gradient-primary);
    color: var(--Landing-white-color) !important;
    border: none;
}
.Landing-btn-primary:hover {
    background: var(--Landing-gradient-primary-hover);
    color: var(--Landing-white-color) !important;
}

.Landing-btn-outline {
    background-color: transparent;
    color: var(--Landing-primary-color);
    border-color: var(--Landing-primary-color);
}
.Landing-btn-outline:hover {
    background-color: var(--Landing-primary-color);
    color: var(--Landing-white-color) !important;
    border-color: var(--Landing-primary-color);
}
.Landing-btn-white {
    background-color: var(--Landing-white-color);
    color: var(--Landing-primary-color) !important;
    border-color: var(--Landing-white-color);
    box-shadow: 0 4px 15px rgba(var(--Landing-dark-color-rgb), 0.05);
}
.Landing-btn-white:hover {
    background-color: var(--Landing-light-gray);
    border-color: var(--Landing-light-gray);
    color: var(--Landing-secondary-color) !important;
    box-shadow: 0 6px 20px rgba(var(--Landing-dark-color-rgb), 0.08);
}
.Landing-btn-icon {
    background: none; border: none;
    color: var(--Landing-dark-color);
    font-size: 1.6rem; /* Larger icon */
    cursor: pointer; padding: 10px; /* Larger tap area */
    transition: color var(--Landing-transition-fast), transform var(--Landing-transition-fast), background-color var(--Landing-transition-fast);
    border-radius: 50%;
}
.Landing-btn-icon:hover {
    color: var(--Landing-primary-color);
    transform: scale(1.15) rotate(10deg); /* More playful hover */
    background-color: rgba(var(--Landing-primary-color-rgb), 0.05); /* Subtle background on hover */
}
.Landing-btn-icon:active {
    transform: scale(1) rotate(0deg);
    background-color: rgba(var(--Landing-primary-color-rgb), 0.1);
}


/* --- Header & Navigation --- */
.Landing-header {
    background-color: rgba(255, 255, 255, 0.85); /* More transparency */
    backdrop-filter: blur(12px); /* Stronger blur */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 5px rgba(var(--Landing-dark-color-rgb), 0.05); /* Softer shadow */
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    height: var(--Landing-header-height);
    transition: background-color var(--Landing-transition-smooth), box-shadow var(--Landing-transition-smooth);
}
/* MODERNIZATION: Add a subtle border or different background on scroll */
.Landing-header.scrolled { /* Add .scrolled class with JS */
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 12px rgba(var(--Landing-dark-color-rgb), 0.08);
}

.Landing-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.Landing-logo a { display: inline-block; }
.Landing-logo img { height: 38px; transition: transform var(--Landing-transition-smooth), opacity var(--Landing-transition-smooth); }
.Landing-logo img:hover { transform: scale(1.08); opacity: 0.9; }

.Landing-nav-main-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
}
.Landing-nav-main-wrapper .Landing-nav ul { display: flex; }
html[dir="ltr"] .Landing-nav-main-wrapper .Landing-nav ul li:not(:last-child) { margin-left: 30px; }
html[dir="rtl"] .Landing-nav-main-wrapper .Landing-nav ul li:not(:last-child) { margin-right: 30px; }

.Landing-nav-link {
    color: var(--Landing-dark-color);
    font-weight: 500;
    padding: 10px 5px; /* More vertical padding for larger tap target */
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--Landing-font-secondary);
    transition: color var(--Landing-transition-fast);
    opacity: 0.85; /* Slightly subdued default state */
}
.Landing-nav-link:hover, .Landing-nav-link.active {
    color: var(--Landing-primary-color);
    opacity: 1;
}
.Landing-nav-link::after { /* MODERNIZATION: More subtle underline effect */
    content: '';
    position: absolute;
    bottom: 0px; /* Closer to text */
    width: 0;
    height: 3px;
    background: var(--Landing-gradient-primary);
    transition: width var(--Landing-transition-smooth), opacity var(--Landing-transition-smooth);
    border-radius: 2px;
    opacity: 0;
}
html[dir="ltr"] .Landing-nav-link::after { left: 50%; transform: translateX(-50%); } /* Centered underline */
html[dir="rtl"] .Landing-nav-link::after { right: 50%; transform: translateX(50%); }

.Landing-nav-link:hover::after, .Landing-nav-link.active::after {
    width: 60%; /* Underline doesn't span full width */
    opacity: 1;
}

.Landing-header-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* More space */
}
.Landing-header-actions .Landing-btn {
    padding: 0.7rem 1.5rem; /* Slightly adjusted */
    font-size: 0.8rem;
}

/* Mobile Navigation Toggle */
.Landing-mobile-nav-toggle {
    display: none;
    background: none; border: none;
    font-size: 2rem; /* Larger hamburger */
    color: var(--Landing-dark-color);
    cursor: pointer;
    padding: 12px;
    z-index: 1100;
    transition: color var(--Landing-transition-fast), transform var(--Landing-transition-smooth);
}
.Landing-mobile-nav-toggle:hover {
    color: var(--Landing-primary-color);
    transform: rotate(90deg); /* ANIMATION: Rotate hamburger on hover */
}
.Landing-mobile-nav-toggle.is-active-toggle { /* Class added by JS when menu is open */
    transform: rotate(180deg); /* ANIMATION: Rotate further for close icon illusion */
}
.Landing-mobile-nav-toggle .fa-times { color: var(--Landing-primary-color); }


/* --- Hero Section & Slider --- */
.Landing-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Full viewport height for hero */
    min-height: 600px; /* Ensure minimum height */
    /* margin-top: var(--Landing-header-height); NO MARGIN TOP if header is overlaying */
    position: relative;
    overflow: hidden;
    width: 100vw !important;
    /*margin-left: calc(-50vw + 50%);*/

    left: 50%;
    transform: translateX(-50%);	
}
.Landing-hero-slider { width: 100%; height: 100%; position: relative; width:100vw !important; }
.Landing-hero .simple-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0; left: 0; right:0; width:100vw !important; height: 100%;
    opacity: 0;
    visibility: hidden;
    /* ANIMATION: Ken Burns effect for slides & smoother opacity */
    transition: opacity 1.2s ease-in-out, transform 15s ease-out, visibility 0s linear 1.2s;
    transform: scale(1.1); /* Start slightly zoomed in for Ken Burns */
    z-index: 1;
}
.Landing-hero .simple-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1); /* Zoom out to normal scale */
    transition-delay: 0s, 0s, 0s;
    z-index: 2;
}
.Landing-hero .simple-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; width:100vw !important; height: 100%;
    /* MODERNIZATION: More subtle gradient, perhaps with a color tint */
    background: linear-gradient(to bottom, rgba(var(--Landing-dark-color-rgb),0.0) 20%, rgba(var(--Landing-dark-color-rgb),0.3) 60%, rgba(var(--Landing-dark-color-rgb),0.65) 100%);
    z-index: 3;
    transition: background 0.5s ease;
}
.Landing-hero-content {
    position: relative;
    z-index: 5;
    color: var(--Landing-white-color);
    max-width: 950px;
    padding: 30px 50px;
    text-align: center;
    /* ANIMATION: Staggered fade-in for content elements */
}
.Landing-hero .active .Landing-hero-title {
    animation: fadeInUp 0.8s 0.3s ease-out backwards;
}
.Landing-hero .active .Landing-hero-text {
    animation: fadeInUp 0.8s 0.5s ease-out backwards;
}
.Landing-hero .active .Landing-hero-cta {
    animation: fadeInUp 0.8s 0.7s ease-out backwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.Landing-hero-title {
    font-size: clamp(2.8rem, 6.5vw, 4.8rem); /* Even larger hero title */
    font-weight: 700; margin-bottom: 1.8rem;
    color: var(--Landing-white-color) !important;
    text-shadow: 0 3px 15px rgba(0,0,0,0.4); /* Softer, larger shadow */
}
.Landing-hero-text {
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    margin-bottom: 3rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
    max-width: 780px; margin-left: auto; margin-right: auto;
}
.Landing-hero-cta {
    font-size: 1.1rem;
    padding: 1rem 2.8rem;
}


/* --- General Sections --- */
.Landing-section { padding: 90px 0; /* More padding */ }
.Landing-section-alt { background-color: var(--Landing-light-gray); }
/* ANIMATION: Fade in sections on scroll (requires JS to add 'is-visible' class) */
.Landing-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.Landing-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Introduction Section */
.Landing-intro-image-container { max-width: 850px; margin: 3rem auto 0 auto; }
.Landing-intro-screenshot {
    border-radius: var(--Landing-border-radius);
    box-shadow: var(--Landing-box-shadow-hover); /* More prominent shadow */
    border: 6px solid var(--Landing-white-color);
    /* ANIMATION: Subtle parallax or scale on scroll for images (more advanced with JS) */
}

/* Features Grid (Card-based) */
.Landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly larger min card width */
    gap: 35px;
    margin-top: 4rem;
}
.Landing-feature-item {
    background-color: var(--Landing-white-color);
    padding: 35px 30px;
    border-radius: var(--Landing-border-radius);
    text-align: center;
    box-shadow: var(--Landing-box-shadow);
    transition: transform var(--Landing-transition-smooth), box-shadow var(--Landing-transition-smooth), background-color var(--Landing-transition-smooth);
    display: flex; flex-direction: column; align-items: center;
    border: 1px solid transparent; /* For border transition */
}
.Landing-feature-item:hover {
    transform: translateY(-12px) scale(1.03); /* More lift and scale */
    box-shadow: var(--Landing-box-shadow-hover);
    border-color: rgba(var(--Landing-primary-color-rgb), 0.2); /* Subtle border on hover */
    /* background-color: #fcfaff; */ /* Very light tint on hover */
}
.Landing-feature-icon-wrapper {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--Landing-gradient-primary);
    color: var(--Landing-white-color);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.8rem;
    transition: transform var(--Landing-transition-smooth), box-shadow var(--Landing-transition-smooth);
    box-shadow: 0 4px 15px rgba(var(--Landing-primary-color-rgb), 0.2); /* Shadow for icon wrapper */
}
.Landing-feature-item:hover .Landing-feature-icon-wrapper {
    transform: scale(1.15) rotate(15deg) translateY(-5px); /* More dynamic icon animation */
    box-shadow: 0 6px 20px rgba(var(--Landing-primary-color-rgb), 0.3);
}
.Landing-feature-icon { font-size: 2rem; }
.Landing-feature-item h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.Landing-feature-item p { font-size: 1rem; color: var(--Landing-medium-gray); flex-grow: 1; }

/* Dashboard Preview Section */
.Landing-flex-split {
    display: flex;
    align-items: center;
    gap: 70px;
}
.Landing-flex-split .Landing-text-content, .Landing-flex-split .Landing-image-content { flex: 1; }
.Landing-responsive-img.Landing-shadowed-img {
    box-shadow: 0 15px 40px rgba(var(--Landing-dark-color-rgb), 0.12); /* Stronger shadow for preview image */
    border-radius: var(--Landing-border-radius);
    transition: transform var(--Landing-transition-smooth);
}
.Landing-responsive-img.Landing-shadowed-img:hover {
    transform: scale(1.03); /* Slight scale on hover */
}


/* CTA Section */
.Landing-cta-section {
    background: var(--Landing-gradient-primary);
    color: var(--Landing-white-color);
    padding: 100px 0; /* More padding */
    margin: 60px 0;
    border-radius: 20px; /* Rounded CTA section if contained */
    /* Or if full width, remove border-radius and margin */
    position: relative; /* For potential ::before/::after pseudo-elements or particles */
    overflow: hidden;
}
/* MODERNIZATION: Subtle pattern or particle effect for CTA background (pseudo-element) */
.Landing-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: /* url('path/to/subtle-pattern.svg'), */
                      linear-gradient(315deg, rgba(var(--Landing-white-color-rgb), 0.05) 25%, transparent 25%),
                      linear-gradient(45deg, rgba(var(--Landing-white-color-rgb), 0.05) 25%, transparent 25%);
    background-size: 20px 20px, 20px 20px; /* Adjust size of pattern */
    opacity: 0.3;
    z-index: 0;
}
.Landing-cta-section .Landing-container { /* Ensure content is above pseudo-element */
    position: relative;
    z-index: 1;
}

.Landing-cta-section .Landing-section-title, .Landing-cta-section p { color: var(--Landing-white-color); }
.Landing-cta-section .Landing-section-title::after { background: var(--Landing-white-color); }
.Landing-cta-btn {
    font-size: 1.1rem;
    padding: 1rem 2.8rem;
    background-color: var(--Landing-white-color);
    color: var(--Landing-primary-color) !important;
    border-color: var(--Landing-white-color);
    box-shadow: 0 5px 20px rgba(var(--Landing-dark-color-rgb), 0.1);
}
.Landing-cta-btn:hover {
    background-color: var(--Landing-light-gray);
    border-color: var(--Landing-light-gray);
    color: var(--Landing-secondary-color) !important;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(var(--Landing-dark-color-rgb), 0.15);
}
.Landing-cta-btn i { transition: transform var(--Landing-transition-smooth); }
.Landing-cta-btn:hover i { transform: rotate(20deg) scale(1.15) translateX(5px); }


/* Contact Section */
.Landing-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px; margin-top: 3.5rem;
}
.Landing-contact-item {
    background-color: var(--Landing-white-color);
    padding: 35px 30px;
    border-radius: var(--Landing-border-radius);
    box-shadow: var(--Landing-box-shadow);
    transition: transform var(--Landing-transition-smooth), box-shadow var(--Landing-transition-smooth);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.Landing-contact-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--Landing-box-shadow-hover);
}
.Landing-contact-icon {
    font-size: 2.8rem;
    color: var(--Landing-primary-color);
    margin-bottom: 1.5rem;
    transition: transform var(--Landing-transition-smooth), color var(--Landing-transition-fast);
    padding: 15px;
    background-color: rgba(var(--Landing-primary-color-rgb), 0.05);
    border-radius: 50%;
}
.Landing-contact-item:hover .Landing-contact-icon {
    transform: scale(1.2) rotate(-10deg);
    color: var(--Landing-secondary-color);
    background-color: rgba(var(--Landing-secondary-color-rgb), 0.08); /* Use --Landing-secondary-color-rgb if defined */
}
.Landing-contact-item h4 { font-size: 1.3rem; font-weight: 600; }
.Landing-contact-item p { font-size: 1rem; }
.Landing-contact-item p a { color: var(--Landing-medium-gray); font-weight: 500; }
.Landing-contact-item p a:hover { color: var(--Landing-primary-color); text-decoration: underline; }

/* --- Footer --- */
.Landing-footer {
    background-color: var(--Landing-dark-color);
    color: #a0b0c0; /* Lighter gray for better contrast */
    padding: 60px 0; text-align: center;
    border-top: 5px solid var(--Landing-primary-color); /* Accent top border */
}
.Landing-footer p { margin-bottom: 1rem; font-size: 0.95rem;}
.Landing-footer-links a {
    color: #a0b0c0; margin: 0 18px;
    font-size: 0.9rem;
    transition: color var(--Landing-transition-fast), letter-spacing var(--Landing-transition-fast);
    letter-spacing: 0.5px;
}
.Landing-footer-links a:hover {
    color: var(--Landing-white-color);
    letter-spacing: 0.8px; /* Slight letter spacing expansion */
}


/* --- Responsive Breakpoints --- */
@media (max-width: 992px) {
    .Landing-mobile-nav-toggle { display: block; order: 3; }
    html[dir="rtl"] .Landing-mobile-nav-toggle { order: 1; }
    html[dir="ltr"] .Landing-logo { order: 1; }
    html[dir="rtl"] .Landing-logo { order: 2; }

    .Landing-nav-main-wrapper { /* Mobile Menu Panel */
        position: fixed;
        top: 0;
        width: 320px; /* Slightly wider */
        max-width: 85%;
        height: 100vh;
        background-color: var(--Landing-white-color);
        /* MODERNIZATION: Add a subtle texture or gradient to mobile menu */
        /* background-image: linear-gradient(to bottom, var(--Landing-white-color), #fcfdff); */
        flex-direction: column;
        align-items: stretch;
        padding: var(--Landing-header-height) 0 30px 0; /* Padding at top to clear header visually */
        box-shadow: 5px 0px 35px rgba(var(--Landing-dark-color-rgb), 0.15); /* Stronger shadow for overlay */
        overflow-y: auto;
        z-index: 1050;
        visibility: hidden;
        /* ANIMATION: Smoother slide-in for mobile menu */
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), visibility 0s 0.4s; /* Elastic easing */
    }
    html[dir="ltr"] .Landing-nav-main-wrapper { left: 0; transform: translateX(-100%); }
    html[dir="rtl"] .Landing-nav-main-wrapper { right: 0; transform: translateX(100%); }

    body .modern-page-wrapper .Landing-nav-main-wrapper.is-active {
        transform: translateX(0);
        visibility: visible;
        transition-delay: 0s, 0s;
    }

    /* Items inside mobile menu */
    .Landing-nav-main-wrapper .Landing-nav { width: 100%; padding-top: 20px; }
    .Landing-nav-main-wrapper .Landing-nav ul { flex-direction: column; width: 100%; }
    .Landing-nav-main-wrapper .Landing-nav ul li {
        margin: 0;
        border-bottom: 1px solid var(--Landing-light-gray);
        /* ANIMATION: Staggered slide-in for menu items */
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    }
    .Landing-nav-main-wrapper.is-active .Landing-nav ul li {
        opacity: 1;
        transform: translateX(0);
    }
    /* Stagger animation delays */
    .Landing-nav-main-wrapper.is-active .Landing-nav ul li:nth-child(1) { transition-delay: 0.1s; }
    .Landing-nav-main-wrapper.is-active .Landing-nav ul li:nth-child(2) { transition-delay: 0.15s; }
    .Landing-nav-main-wrapper.is-active .Landing-nav ul li:nth-child(3) { transition-delay: 0.2s; }
    .Landing-nav-main-wrapper.is-active .Landing-nav ul li:nth-child(4) { transition-delay: 0.25s; }
    /* ... add more if you have more static links ... */


    .Landing-nav-main-wrapper .Landing-nav ul li:first-child { border-top: 1px solid var(--Landing-light-gray); }

    /* Hide specific page links in mobile menu */
    .Landing-nav-main-wrapper.is-active .Landing-nav-item-page-link {
        display: none !important;
    }

    .Landing-nav-main-wrapper .Landing-nav-link {
        display: block;
        padding: 20px 30px; /* More padding */
        font-size: 1.15rem;
        color: var(--Landing-dark-color);
        font-weight: 500;
        transition: background-color var(--Landing-transition-fast), color var(--Landing-transition-fast), padding-left var(--Landing-transition-fast);
    }
    html[dir="rtl"] .Landing-nav-main-wrapper .Landing-nav-link {
        transition: background-color var(--Landing-transition-fast), color var(--Landing-transition-fast), padding-right var(--Landing-transition-fast);
    }
    .Landing-nav-main-wrapper .Landing-nav-link.active,
    .Landing-nav-main-wrapper .Landing-nav-link:hover {
        background-color: rgba(var(--Landing-primary-color-rgb), 0.05); /* Subtle primary bg */
        color: var(--Landing-primary-color);
        padding-left: 35px; /* Indent on hover/active */
    }
    html[dir="rtl"] .Landing-nav-main-wrapper .Landing-nav-link.active,
    html[dir="rtl"] .Landing-nav-main-wrapper .Landing-nav-link:hover {
        padding-left: 30px; /* Reset LTR padding */
        padding-right: 35px; /* Indent on hover/active for RTL */
    }
    .Landing-nav-main-wrapper .Landing-nav-link::after { display: none; }

    .Landing-nav-main-wrapper .Landing-header-actions {
        gap: 20px;
        padding: 30px;
        margin-top: 20px;
        border-top: 1px solid var(--Landing-light-gray);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* ANIMATION: Staggered slide-in for action items */
        opacity: 0;
        transform: translateY(20px); /* Start from bottom */
        transition: opacity 0.3s ease-out 0.3s, transform 0.3s ease-out 0.3s; /* Delay after nav links */
    }
    .Landing-nav-main-wrapper.is-active .Landing-header-actions {
        opacity: 1;
        transform: translateY(0);
    }

    .Landing-nav-main-wrapper .Landing-header-actions .Landing-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .Landing-nav-main-wrapper .Landing-header-actions .Landing-btn-icon {
        width: auto; /* Don't make lang switcher full width */
        padding: 12px;
        font-size: 1.8rem;
        align-self: center; /* Center the language switcher */
    }

    /* Other responsive adjustments */
    .Landing-flex-split { flex-direction: column; text-align: center; gap: 40px; }
    .Landing-flex-split .Landing-text-content h2.Landing-section-title,
    .Landing-flex-split .Landing-title-align-left { text-align: center; }
    .Landing-flex-split .Landing-text-content h2.Landing-section-title::after,
    .Landing-flex-split .Landing-title-align-left::after { left: 50%; transform: translateX(-50%); }
    html[dir="rtl"] .Landing-flex-split .Landing-text-content h2.Landing-section-title::after,
    html[dir="rtl"] .Landing-flex-split .Landing-title-align-left::after { right: 50%; transform: translateX(50%); }
    .Landing-flex-split .Landing-image-content { margin-top: 30px; }
}

@media (max-width: 576px) {
    .Landing-container { padding-left: 20px; padding-right: 20px; }
    .Landing-hero { min-height: 550px; } /* Ensure enough height on small mobile */
    .Landing-hero-content { padding: 25px; }
    .modern-page-wrapper h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
    .modern-page-wrapper h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
    .Landing-section { padding: 70px 0; }
    .Landing-section-subtitle { font-size: 1.05rem; margin-bottom: 3rem; }
    .Landing-features-grid { grid-template-columns: 1fr; gap: 25px; }
    .Landing-feature-item { padding: 30px 25px; }
    .Landing-contact-info { grid-template-columns: 1fr; gap: 25px; }
    .Landing-btn { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    .Landing-hero-cta { display:none; padding: 0.9rem 2.2rem; font-size: 1rem; }
    .Landing-cta-btn { padding: 0.9rem 2.2rem; font-size: 1rem; }
    .Landing-nav-main-wrapper { width: 100%; max-width: 100%; }
}

/* Body scroll lock */
body.mobile-menu-active,
html.mobile-menu-active {
    overflow: hidden;
}