/* ========== CSS VARIABLES ========== */
:root {
    /* Brand Colors */
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-primary-dark: #020617;
    --color-accent: #f43f5e;
    --color-accent-light: #fb7185;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-warm: #f1f5f9;
    --color-border: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(244, 63, 94, 0.05) 100%);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 8px 30px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 12px 40px rgba(15, 23, 42, 0.15);
    
    /* Typography */
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* English mode: keep Cairo for everything since user requested it */
html[lang="en"] body {
    font-family: var(--font-heading);
}

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

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    bottom: -10%;
    left: -10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    top: 40%;
    left: 30%;
    animation-delay: -5s;
    opacity: 0.2;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.logo-animation {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: logoPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========== SECTIONS COMMON ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(15, 23, 42, 0.08);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 100px 0;
    background: var(--color-bg-warm);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) .step-content {
    direction: ltr;
}

.step:nth-child(even) .step-image {
    direction: ltr;
}

html[dir="rtl"] .step:nth-child(even) {
    direction: ltr;
}

html[dir="rtl"] .step:nth-child(even) .step-content {
    direction: rtl;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.step-content p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--color-text);
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: var(--color-text);
    border-radius: 10px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-content {
    text-align: center;
}

.mockup-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.mockup-text {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.2rem;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 100px 0;
    background: var(--color-bg-warm);
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(244, 63, 94, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

html[dir="rtl"] .testimonial-card::after {
    right: auto;
    left: 30px;
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ========== DOWNLOAD SECTION ========== */
.download {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

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

.download-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.download-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-fast);
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.store-badge svg {
    width: 32px;
    height: 32px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-small {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-large {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-text);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

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

/* Navigation */
html[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

/* Hero section */
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle {
    text-align: right;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
}

/* Section headers */
html[dir="rtl"] .section-header {
    text-align: right;
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
}

/* Feature cards */
html[dir="rtl"] .feature-card {
    text-align: right;
}

/* Steps */
html[dir="rtl"] .step {
    direction: rtl;
}

html[dir="rtl"] .step-content {
    text-align: right;
}

html[dir="rtl"] .step:nth-child(even) {
    direction: rtl;
}

html[dir="rtl"] .step:nth-child(even) .step-content {
    direction: rtl;
}

html[dir="rtl"] .step:nth-child(even) .step-image {
    direction: ltr;
}

/* Use cases */
html[dir="rtl"] .use-case-card {
    text-align: right;
}

html[dir="rtl"] .use-case-features {
    text-align: right;
}

html[dir="rtl"] .use-case-features li {
    padding-left: 0;
    padding-right: 24px;
}

html[dir="rtl"] .use-case-features li::before {
    left: auto;
    right: 0;
}

/* FAQ */
html[dir="rtl"] .faq-item {
    text-align: right;
}

html[dir="rtl"] .faq-question {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .faq-icon {
    margin-left: 0;
    margin-right: 16px;
}

html[dir="rtl"] .faq-answer p {
    text-align: right;
}

/* Testimonials */
html[dir="rtl"] .testimonial-card {
    text-align: right;
}

html[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

/* Download section */
html[dir="rtl"] .download-content {
    text-align: right;
}

html[dir="rtl"] .download-buttons {
    justify-content: flex-start;
}

html[dir="rtl"] .store-text {
    text-align: right;
}

html[dir="rtl"] .store-badge svg {
    order: 1;
}

html[dir="rtl"] .store-text {
    order: 0;
}

/* Footer */
html[dir="rtl"] .footer-content {
    text-align: right;
}

html[dir="rtl"] .footer-brand p {
    text-align: right;
}

html[dir="rtl"] .footer-links a {
    text-align: right;
}

html[dir="rtl"] .social-icons {
    justify-content: flex-end;
}

html[dir="rtl"] .footer-bottom p {
    text-align: right;
}

/* Skip link */
html[dir="rtl"] .skip-link {
    left: auto;
    right: 0;
}

/* Legal pages */
html[dir="rtl"] .legal-container {
    text-align: right;
}

html[dir="rtl"] .legal-container h1,
html[dir="rtl"] .legal-container h2,
html[dir="rtl"] .legal-container h3,
html[dir="rtl"] .legal-container p,
html[dir="rtl"] .legal-container li {
    text-align: right;
}

html[dir="rtl"] .back-link {
    justify-content: flex-end;
}

/* Stats */
html[dir="rtl"] .stat {
    text-align: right;
}

/* Mobile menu */
html[dir="rtl"] .nav-links.mobile-open {
    text-align: right;
}

html[dir="rtl"] .nav-links.mobile-open a {
    text-align: right;
}

/* ========== SKIP LINK (Accessibility) ========== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
}

/* ========== MOBILE MENU ========== */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-links.mobile-open a {
    font-size: 1.1rem;
    padding: 12px 0;
}

/* ========== USE CASES SECTION ========== */
.use-cases {
    padding: 100px 0;
    background: white;
}

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

.use-case-card {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    border: 1px solid var(--color-border);
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.use-case-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
}

.use-case-header h3 {
    margin-bottom: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

.use-case-card > p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.use-case-features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.use-case-features li {
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.use-case-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

html[dir="rtl"] .use-case-features {
    text-align: right;
}

html[dir="rtl"] .use-case-features li {
    padding-left: 0;
    padding-right: 24px;
}

html[dir="rtl"] .use-case-features li::before {
    left: auto;
    right: 0;
}

/* ========== FAQ SECTION ========== */
.faq {
    padding: 100px 0;
    background: var(--color-bg-warm);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--color-border);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

html[dir="rtl"] .faq-icon {
    margin-left: 0;
    margin-right: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 40px;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step:nth-child(even) {
        direction: ltr;
    }
    
    .step-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 16px 40px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .testimonial-card {
        padding: 30px 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ========== LEGAL PAGES ========== */
.legal-page {
    padding: 120px 0 60px;
    background: var(--color-bg-warm);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.legal-container h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 40px;
    text-align: center;
}

.legal-container h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 32px 0 16px;
}

.legal-container h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 24px 0 12px;
}

.legal-container p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-container ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

html[dir="rtl"] .legal-container ul {
    margin-left: 0;
    margin-right: 24px;
}

.legal-container li {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

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

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .scroll-indicator,
    .download-buttons,
    .footer-social {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .feature-card,
    .testimonial-card {
        break-inside: avoid;
    }
}
