/* ========================================
   PYRAMEDIA V2 - Mobile-First Landing Page
   Dark Mode + Neon + Gold Theme
   ======================================== */

/* === CSS VARIABLES === */
:root {
    /* Colors */
    --bg-dark: #050814;
    --bg-darker: #02030a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-gold: #f5c453;
    --gold-hover: #ffdd90;
    --neon-cyan: #00f3ff;
    --neon-violet: #bc13fe;
    --text-main: #f5f7ff;
    --text-muted: #a0a8b8;
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: clamp(3rem, 6vw, 5rem);
    --container-padding: 1.25rem;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at top, #0b1630 0%, var(--bg-darker) 60%);
    color: var(--text-main);
    font-family: var(--font-en);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.ar {
    font-family: var(--font-ar);
    direction: rtl;
}

body.en {
    direction: ltr;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.9rem, 4.6vw, 3.2rem);
    color: var(--primary-gold);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: var(--text-main);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: var(--primary-gold);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-hover));
    color: #1a1306;
    box-shadow: 0 12px 28px rgba(245, 196, 83, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(245, 196, 83, 0.6);
    filter: brightness(1.05);
}

.btn-outline {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: #000;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-hover));
    color: #000;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1ebd57;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-height: 40px;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(5, 8, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    color: var(--primary-gold);
    font-size: 1.4rem;
}

.nav-links {
    display: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lang-toggle {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    transition: all var(--transition-base);
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-toggle:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-nav-cta {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
    z-index: 1150;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    display: none;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 4rem;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: pulse 8s ease-in-out infinite;
}

.glow-cyan {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--neon-cyan);
}

.glow-violet {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--neon-violet);
    animation-delay: 2s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.skyline-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 243, 255, 0.1), transparent);
    clip-path: polygon(0 100%, 0 80%,
            10% 75%, 15% 40%, 20% 75%,
            30% 70%, 35% 30%, 40% 70%,
            50% 65%, 55% 20%, 60% 65%,
            70% 75%, 75% 50%, 80% 75%,
            90% 80%, 95% 60%, 100% 80%,
            100% 100%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-headline {
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.pill {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    white-space: nowrap;
}

/* === FORM CARD === */
.hero-form-wrapper {
    width: 100%;
}

.glass-card {
    background: radial-gradient(circle at top left, rgba(245, 196, 83, 0.08), rgba(5, 8, 20, 0.95));
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.form-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
}

/* === STATS SECTION === */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 243, 255, 0.15);
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* === INFOGRAPHIC === */
.infographic {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 2rem;
}

.info-column h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.chaos-visual {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.chaos-icon {
    font-size: 2rem;
    opacity: 0.6;
}

.flow-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.flow-step {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

.flow-step.ai {
    background: rgba(188, 19, 254, 0.1);
    border-color: rgba(188, 19, 254, 0.3);
    color: var(--neon-violet);
}

.flow-step.success {
    background: rgba(245, 196, 83, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.flow-connector {
    color: var(--text-muted);
    font-size: 1.5rem;
}

.info-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-gold);
    transform: rotate(90deg);
}

/* === USE CASES SECTION === */
.usecases-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.usecases-wrapper::-webkit-scrollbar {
    display: none;
}

.usecases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: 2px solid transparent;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    transition: all var(--transition-smooth);
    min-height: 280px;
}

.usecase-card:hover {
    transform: translateY(-6px);
    border-top-color: var(--neon-cyan);
    box-shadow: 0 16px 40px rgba(0, 243, 255, 0.2);
}

.uc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.usecase-card h3 {
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.usecase-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all var(--transition-base);
}

.btn-link:hover {
    gap: 0.75rem;
}

/* === PROCESS / TIMELINE === */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

.timeline-item:not(:last-child) .timeline-number::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    transform: translateX(-50%);
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.timeline-content h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
    border-color: var(--primary-gold);
    background: rgba(245, 196, 83, 0.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: #000;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check {
    color: var(--neon-cyan);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
}

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    padding: 1.25rem;
    min-height: 60px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: inherit;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-gold);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-gold);
}

/* === TESTIMONIALS === */
.testimonials-section {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--section-padding) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--neon-cyan);
    opacity: 0.15;
    font-family: Georgia, serif;
}

body.ar .testimonial-card::before {
    left: auto;
    right: 1rem;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 243, 255, 0.15);
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === TRUST BADGES === */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    transition: all var(--transition-base);
}

.trust-badge:hover {
    border-color: rgba(245, 196, 83, 0.3);
    background: rgba(245, 196, 83, 0.05);
}

/* === SOCIAL PROOF BAR === */
.social-proof-bar {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.08), rgba(188, 19, 254, 0.08));
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.social-proof-text {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
}

/* === URGENCY BLOCK === */
.urgency-block {
    background: linear-gradient(135deg, rgba(245, 196, 83, 0.1), rgba(245, 196, 83, 0.05));
    border: 2px solid rgba(245, 196, 83, 0.4);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgency-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(245, 196, 83, 0.1), transparent);
    animation: urgencyGlow 3s linear infinite;
}

@keyframes urgencyGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.urgency-content {
    position: relative;
    z-index: 1;
}

.urgency-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.urgency-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* === FINAL CTA === */
.final-cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05), rgba(188, 19, 254, 0.05));
}

.cta-headline {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* === STICKY CTA BAR (Mobile) === */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(to top, rgba(5, 8, 20, 0.98), rgba(5, 8, 20, 0.9));
    backdrop-filter: blur(12px);
    padding: 0.75rem var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--border-subtle);
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-sticky {
    flex: 1;
    max-width: 200px;
    font-size: 0.85rem;
}

/* === FOOTER === */
.footer {
    background: #000;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--section-padding);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* === MOBILE MENU OVERLAY (Mobile Only) === */
@media (max-width: 767px) {
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 75%;
        max-width: 300px;
        background: rgba(5, 8, 20, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 6rem 2rem 2rem;
        border-left: 1px solid var(--border-subtle);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1200;
        gap: 1.5rem;
        text-align: left;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        visibility: hidden;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    body.ar .nav-links {
        right: auto;
        left: -100%;
        border-left: none;
        border-right: 1px solid var(--border-subtle);
        text-align: right;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    body.ar .nav-links.active {
        left: 0;
    }

    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--text-muted);
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.3s ease;
        z-index: 1;
    }

    body.ar .mobile-menu-close {
        right: auto;
        left: 1.5rem;
    }

    .mobile-menu-close:hover {
        color: var(--primary-gold);
    }

    /* Backdrop overlay */
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 200vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
        backdrop-filter: blur(3px);
        opacity: 0;
        animation: fadeIn 0.4s forwards;
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

    .hero {
        padding-top: 8rem;
    }
}

/* === RESPONSIVE BREAKPOINTS === */

/* Tablet (768px+) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        border: none;
        box-shadow: none;
        width: auto;
        max-width: none;
        visibility: visible;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0;
    }

    .btn-nav-cta {
        display: inline-flex;
    }

    .mobile-menu-btn,
    .mobile-menu-close {
        display: none !important;
    }

    .hero {
        min-height: 90vh;
        padding-top: 6rem;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    body.ar .hero-content {
        text-align: right;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .benefit-pills {
        justify-content: flex-start;
    }

    body.ar .benefit-pills {
        justify-content: flex-end;
    }

    .hero-form-wrapper {
        flex: 0 0 420px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .infographic {
        flex-direction: row;
        align-items: center;
    }

    .info-arrow {
        transform: rotate(0);
        font-size: 2.5rem;
    }

    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-actions {
        flex-direction: row;
        max-width: 600px;
    }

    .sticky-cta-bar {
        display: none;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero-inner {
        gap: 4rem;
    }

    .hero-form-wrapper {
        flex: 0 0 460px;
    }

    .usecases-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }

    .timeline {
        max-width: 700px;
    }
}

/* === RTL SPECIFIC ADJUSTMENTS === */
body.ar .input-with-flag {
    flex-direction: row-reverse;
}

body.ar .btn-link:hover {
    transform: translateX(4px);
}

body.en .btn-link:hover {
    transform: translateX(-4px);
}

body.ar .stat-card {
    text-align: center;
}

body.ar .stat-value {
    direction: ltr;
    display: inline-block;
}