/* ==========================================================================
   MUNAKH STUDIOS - Professional Theme v2
   Dynamic, Clean, Engaging
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS & VARIABLES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --brown-900: #3D2314;
    --brown-700: #5C3A1D;
    --brown-600: #6B4423;
    --brown-500: #7D5330;
    --brown-400: #8B6F47;
    --brown-200: #C7B8A5;
    --brown-100: #E8E0D5;
    --brown-50:  #F7F5F2;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Semantic */
    --color-primary: var(--brown-600);
    --color-primary-hover: var(--brown-700);
    --color-text: var(--gray-800);
    --color-text-secondary: var(--gray-600);
    --color-text-muted: var(--gray-500);
    --color-bg: var(--white);
    --color-border: var(--gray-200);
    
    /* Typography Scale - 5 sizes only */
    --text-xs: 0.875rem;    /* 14px - labels, captions */
    --text-sm: 1rem;        /* 16px - body, paragraphs */
    --text-md: 1.25rem;     /* 20px - lead text, subtitles */
    --text-lg: 1.75rem;     /* 28px - section titles */
    --text-xl: 2.75rem;     /* 44px - hero headline */
    
    /* Font Families */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar: 'Sakkal Majalla', 'Traditional Arabic', 'Tahoma', sans-serif;
    --font-main: var(--font-en);
    
    /* Spacing - simple scale */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4rem;
    --space-7: 6rem;
    
    /* Layout */
    --max-width: 1100px;
    --header-height: 72px;
    
    /* Effects */
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arabic Font */
html[lang="ar"], html[dir="rtl"] {
    --font-main: var(--font-ar);
    --text-xs: 1rem;
    --text-sm: 1.125rem;
    --text-md: 1.375rem;
    --text-lg: 2rem;
    --text-xl: 3rem;
}

/* --------------------------------------------------------------------------
   2. BASE RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

p { color: var(--color-text-secondary); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: var(--space-7) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.section-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn-primary, .btn-primary-large, .btn-primary-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover, .btn-primary-large:hover, .btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 68, 35, 0.3);
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: var(--text-sm);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image { height: 36px; }

.logo-text {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-link {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.nav-link:hover { color: var(--color-primary); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
}

.language-switcher-landing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: var(--space-3);
}

.lang-btn {
    background: none;
    border: none;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition);
}

.lang-btn:hover, .lang-btn.active {
    color: var(--color-primary);
    background: var(--brown-50);
}

.separator { color: var(--color-border); }

/* --------------------------------------------------------------------------
   6. HERO - Dynamic & Engaging
   -------------------------------------------------------------------------- */
.hero {
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-6);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--brown-50) 0%, var(--white) 50%, var(--brown-50) 100%);
    overflow: hidden;
}

/* Animated Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brown-100) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brown-200) 0%, transparent 60%);
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-3);
    animation: fadeUp 0.8s ease-out;
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
}

.hero-subtitle {
    font-size: var(--text-md);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    animation: fadeUp 0.8s ease-out 0.1s backwards;
}

.hero-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    animation: fadeUp 0.8s ease-out 0.5s backwards;
}

.scroll-icon {
    width: 20px;
    height: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   7. PROBLEM SECTION
   -------------------------------------------------------------------------- */
.problem-section {
    background: var(--white);
}

.problem-quote {
    text-align: center;
    margin-bottom: var(--space-5);
}

.quote-text {
    font-size: var(--text-lg);
    font-weight: 500;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.quote-attribution {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto var(--space-4);
}

.stat-item {
    text-align: center;
    padding: var(--space-3);
    background: var(--brown-50);
    border-radius: var(--radius-lg);
    transition: transform var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: var(--text-xs);
}

.problem-impacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 700px;
    margin: 0 auto;
}

.impact-card {
    padding: var(--space-3);
    border-left: 3px solid var(--color-primary);
    background: var(--gray-50);
    transition: transform var(--transition);
}

.impact-card:hover {
    transform: translateX(4px);
}

.impact-card h3 {
    font-size: var(--text-sm);
    margin-bottom: 8px;
}

.impact-card p {
    font-size: var(--text-xs);
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. SOLUTION SECTION
   -------------------------------------------------------------------------- */
.solution-section {
    background: var(--brown-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.feature-card {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--brown-200);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brown-100);
    border-radius: var(--radius);
    transition: background var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--color-primary);
}

.feature-icon-svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
    stroke-width: 2;
    transition: stroke var(--transition);
}

.feature-card:hover .feature-icon-svg {
    stroke: var(--white);
}

.feature-card h3 {
    font-size: var(--text-sm);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: var(--text-xs);
    margin: 0;
}

.methodology {
    margin-top: var(--space-5);
    padding: var(--space-4);
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.methodology h3 {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.methodology p {
    font-size: var(--text-xs);
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. PORTAL SECTION
   -------------------------------------------------------------------------- */
.portal-section {
    background: var(--white);
}

.portal-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.portal-feature {
    padding: var(--space-3);
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--gray-50);
    transition: all var(--transition);
}

.portal-feature:hover {
    border-color: var(--color-primary);
    background: var(--brown-50);
}

.portal-feature h3 {
    font-size: var(--text-sm);
    margin-bottom: 8px;
}

.portal-feature p {
    font-size: var(--text-xs);
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. HOW IT WORKS
   -------------------------------------------------------------------------- */
.how-it-works {
    background: var(--brown-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--brown-200);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--brown-50);
}

.step-card h3 {
    font-size: var(--text-sm);
    margin-bottom: 8px;
}

.step-card p {
    font-size: var(--text-xs);
    margin: 0;
}

/* --------------------------------------------------------------------------
   11. PRICING
   -------------------------------------------------------------------------- */
.pricing-section {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--brown-400);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.02);
    z-index: 1;
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.plan-badge {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.plan-name {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.plan-price {
    margin-bottom: var(--space-3);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.plan-price .price {
    font-size: var(--text-lg);
    font-weight: 700;
}

.plan-price .period {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.sar-icon {
    width: 18px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.plan-features {
    text-align: left;
    margin-bottom: var(--space-3);
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: var(--text-xs);
    border-bottom: 1px solid var(--color-border);
}

.plan-features li:last-child { border-bottom: none; }

.check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--color-primary);
    margin-top: 2px;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--gray-100);
    color: var(--color-text);
    font-size: var(--text-xs);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-plan:hover {
    background: var(--gray-200);
}

.pricing-card.featured .btn-plan,
.btn-plan-featured {
    background: var(--color-primary);
    color: var(--white);
}

.pricing-card.featured .btn-plan:hover {
    background: var(--color-primary-hover);
}

/* --------------------------------------------------------------------------
   12. SAMPLE REPORT - Hidden, simplified
   -------------------------------------------------------------------------- */
.sample-report {
    display: none; /* Removing redundant section */
}

/* --------------------------------------------------------------------------
   13. ABOUT
   -------------------------------------------------------------------------- */
.about-section {
    background: var(--brown-50);
}

.about-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

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

/* --------------------------------------------------------------------------
   14. CTA
   -------------------------------------------------------------------------- */
.cta-section {
    background: var(--color-primary);
    padding: var(--space-7) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.cta-subtitle {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-4);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary-large {
    background: var(--white);
    color: var(--color-primary);
}

.cta-section .btn-primary-large:hover {
    background: var(--brown-100);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-6) 0 var(--space-4);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-5);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 28px;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-column h4 {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column li { margin-bottom: 8px; }

.footer-column a {
    font-size: var(--text-xs);
    transition: color var(--transition);
}

.footer-column a:hover { color: var(--white); }

.footer-bottom {
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
}

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --text-xl: 2.25rem;
        --text-lg: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: var(--space-4);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active { transform: translateX(0); }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .nav-toggle { display: flex; }
    
    .language-switcher-landing {
        margin-left: 0;
        margin-top: var(--space-4);
    }
    
    .hero {
        padding-top: calc(var(--header-height) + var(--space-4));
        min-height: auto;
        padding-bottom: var(--space-5);
    }
    
    .hero::before, .hero::after { display: none; }
    
    .scroll-indicator { display: none; }
    
    .section { padding: var(--space-5) 0; }
    
    .features-grid,
    .portal-features,
    .problem-stats,
    .problem-impacts { grid-template-columns: 1fr; }
    
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .footer-links { flex-wrap: wrap; gap: var(--space-4); }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   17. RTL SUPPORT
   -------------------------------------------------------------------------- */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .logo { flex-direction: row-reverse; }
html[dir="rtl"] .nav-list { flex-direction: row-reverse; }

html[dir="rtl"] .language-switcher-landing {
    margin-left: 0;
    margin-right: var(--space-3);
}

html[dir="rtl"] .impact-card {
    border-left: none;
    border-right: 3px solid var(--color-primary);
}

html[dir="rtl"] .impact-card:hover {
    transform: translateX(-4px);
}

html[dir="rtl"] .plan-features { text-align: right; }
html[dir="rtl"] .plan-features li { flex-direction: row-reverse; }
html[dir="rtl"] .footer-brand { flex-direction: row-reverse; }

@media (max-width: 768px) {
    html[dir="rtl"] .nav-menu { transform: translateX(-100%); }
    html[dir="rtl"] .nav-menu.active { transform: translateX(0); }
    html[dir="rtl"] .nav-list { align-items: flex-end; }
}

/* --------------------------------------------------------------------------
   18. SCROLL ANIMATIONS (Intersection Observer)
   -------------------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
