/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
    /* ==========================================================================
       GLOBAL COLOR DESIGN TOKENS
       ========================================================================== */

    /* --- Brand Colors --- */
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-primary-light: #60a5fa;
    --color-primary-lighter: #93c5fd;
    --color-electric-blue: #2563eb;

    --color-secondary: #0b132b;
    --color-secondary-dark: #050914;
    --color-secondary-light: #1c2541;

    /* --- Accent Colors --- */
    --color-accent: #00d4ff;
    --color-accent-hover: #00b8d4;

    --color-gold: #ffc400;
    --color-gold-dark: #e6b000;

    /* --- Status Colors --- */
    --color-success: #10b981;
    --color-success-hover: #059669;

    --color-warning: #f59e0b;

    --color-danger: #ef4444;

    /* --- WhatsApp Brand --- */
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #128c7e;
    --color-green: green;

    /* --- Background Colors --- */
    --color-bg-body: #050914;
    --color-bg-primary: #0b132b;
    --color-bg-surface: #1e293b;
    --color-bg-surface-alt: #f8fafc;
    --color-bg-light: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-bg-slide: #101828;

    /* --- Text Colors (Dark Backgrounds) --- */
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-text-subtitle: #cbd5e1;
    --color-text-link: #60a5fa;
    --color-text-link-hover: #93c5fd;
    --color-text-nav: #a0aec0;

    /* --- Text Colors (Light Backgrounds) --- */
    --color-text-dark: #1e293b;
    --color-text-dark-secondary: #475569;
    --color-text-dark-muted: #718096;

    /* --- Border Colors --- */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.05);
    --color-border-dark: #e2e8f0;

    /* --- Neutral Grays --- */
    --color-neutral-100: #f0f0f0;
    --color-neutral-50: #f8fafc;

    /* --- Gradients --- */
    --gradient-body: linear-gradient(180deg, var(--color-bg-body) 0%, var(--color-bg-primary) 100%);
    --gradient-page-hero: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-secondary-light) 100%);
    --gradient-cta: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-surface) 100%);
    --gradient-btn-outline: linear-gradient(to right, #3759a6, #95632a);

    /* --- Spacing --- */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* --- Transitions --- */
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* --- Direction --- */
    --scroll-dir: 1;
}

[dir="rtl"] {
    --scroll-dir: -1;
}

/* ==========================================================================
   2. Reset / Base
   ========================================================================== */

a {
    text-decoration: none;
}

details summary::-webkit-details-marker {
    display: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Cairo';
    src: url('/assets/fonts/Cairo-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background: var(--gradient-body);
    color: var(--color-text-primary);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

[dir="rtl"] body {
    font-family: 'Cairo', serif;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
}

.section {
    padding-block: var(--spacing-lg);
}

/* ==========================================================================
   5. Utilities
   ========================================================================== */

/* --- Container Variants --- */
.container--narrow {
    max-width: 900px;
    margin: 0 auto;
}

.container--narrow-lg {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Backgrounds --- */
.section--deep-navy {
    background: var(--color-bg-primary);
}

.bg-deep-navy {
    background: var(--color-bg-primary);
}

.bg-dark-surface {
    background: var(--color-bg-surface);
}

/* --- Text Alignment --- */
.text-center {
    text-align: center;
}

/* --- Text Colors --- */
.text-white {
    color: var(--color-text-primary);
}

.text-dark {
    color: var(--color-text-dark);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-gray {
    color: var(--color-text-muted);
}

.text-gray-light {
    color: var(--color-text-secondary);
}

.text-blue {
    color: var(--color-primary-dark);
}

.text-deep-navy {
    color: var(--color-text-dark);
}

.text-subtitle {
    color: var(--color-text-subtitle);
    font-size: 1.1rem;
}

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

.text-strike {
    text-decoration: line-through;
    color: var(--color-text-dark-muted);
}

/* --- Text Size --- */
.text-sm {
    font-size: 0.85rem;
}

.text-xs {
    font-size: 0.9rem;
}

/* --- Links --- */
.link-cyan {
    color: var(--color-accent);
    text-decoration: none;
}

.link-blue {
    color: var(--color-primary-light);
    text-decoration: none;
}

.footer-link {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    text-decoration: none;
}

.no-underline {
    text-decoration: none;
}

/* --- Spacing: Margins Top --- */
.mt-0 {
    margin-top: 0;
}

.mt-1rem {
    margin-top: 1rem;
}

.mt-1-5rem {
    margin-top: 1.5rem;
}

.mt-2rem {
    margin-top: 2rem;
}

.mt-4rem {
    margin-top: 4rem;
}

.mt-60px {
    margin-top: 60px;
}

/* --- Spacing: Margins Bottom --- */
.mb-0 {
    margin-bottom: 0;
}

.mb-0-5rem {
    margin-bottom: 0.5rem;
}

.mb-0-8rem {
    margin-bottom: 0.8rem;
}

.mb-3rem {
    margin-bottom: 3rem;
}

.mb-5rem {
    margin-bottom: 5rem;
}

/* --- Spacing: General Margins --- */
.m-0 {
    margin: 0;
}

/* --- Max Widths --- */
.max-w-800px {
    max-width: 800px;
}

.max-w-900px {
    max-width: 900px;
}

/* --- Flex Layouts --- */
.flex-col-gap-xs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flex-col-gap-sm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.flex-item {
    flex: 1;
    min-width: 300px;
}

.social-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* --- Lists --- */
.list-clean {
    list-style: none;
    padding: 0;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.list-left {
    text-align: left;
    margin-top: 1rem;
}

.list-right {
    text-align: right;
    margin-top: 1rem;
}

.list-item-sm {
    margin-bottom: 0.5rem;
}

/* --- Display & Icons --- */
.emoji-display {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* --- Headings & Titles --- */
.heading-xl {
    font-size: 2.5rem;
    font-weight: 500;
}

.summary-heading {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* --- Table --- */
.table-cell {
    padding: 12px;
    border-bottom: 1px solid;
}

.table-bordered-cell {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid;
}

/* --- FAQ --- */
.faq-answer {
    color: var(--color-text-secondary);
    margin: 0;
}

/* --- Hero Description --- */
.hero-desc {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
}

/* --- Contact Block --- */
.contact-block {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- SEO Intro --- */
.seo-intro-wrapper {
    max-width: 850px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

.lang-toggle {
    background: var(--color-primary-dark);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--color-text-primary);
    cursor: pointer;
    margin-left: 15px;
}

.lang-toggle:hover {
    background: var(--color-secondary-dark);
}

.logo {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--color-primary);
}

/* ==========================================================================
   7. Navigation
   ========================================================================== */

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav > a:last-of-type {
    margin-inline-end: 1rem;
}

.nav a {
    color: var(--color-text-nav);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-smooth);
    position: relative;
    padding-bottom: 5px;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

/* --- WhatsApp Button (Nav) --- */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.02);
}

/* --- Dropdown --- */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.arrow {
    font-size: 12px;
    transition: .3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--color-text-primary);
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: var(--color-text-dark);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: var(--color-bg-light);
}

/* Desktop Dropdown */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown:hover .arrow {
        transform: rotate(180deg);
    }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 16px;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown.open .arrow {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   8. Hero
   ========================================================================== */

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1rem;
    color: var(--color-text-primary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    transition: .4s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
}

.hero-text h2 {
    margin-bottom: 20px;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .btn-group {
        justify-content: center;
    }
}

/* ==========================================================================
   9. Page Hero / Breadcrumb
   ========================================================================== */

.page-hero {
    position: relative;
    margin-top: 7.0rem;
    font-size: 12px;
}

.page-hero {
    background: var(--gradient-page-hero);
    color: var(--color-text-primary);
    padding: 100px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 500;
    max-width: 900px;
    margin-inline: auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-inline-start: .5rem;
    color: rgba(255, 255, 255, .4);
}

.breadcrumb a {
    color: var(--color-text-link);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    color: var(--color-text-link-hover);
}

.breadcrumb [aria-current="page"] {
    color: var(--color-text-primary);
    font-weight: 500;
}

[dir="rtl"] .comparison-table td:first-child {
    text-align: right;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 20px 50px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .breadcrumb li {
        font-size: .85rem;
    }
}

/* ==========================================================================
   10. Buttons
   ========================================================================== */

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg-primary);
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-smooth), transform 0.2s;
}

.btn-primary:hover:not(:disabled) {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn-primary:hover {
    background: var(--color-text-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    color: var(--color-bg-primary);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-outline {
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    background: var(--gradient-btn-outline);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0, 212, 255, 0.1);
}

.btn-white {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
}

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

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   11. Sections
   ========================================================================== */

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text-dark);
}

.section-subtitle {
    color: var(--color-text-dark-secondary);
    max-width: 600px;
    margin-inline: auto var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* ==========================================================================
   12. Cards
   ========================================================================== */

/* --- Services Grid --- */
.services-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Service Card --- */
.service-card {
    background: var(--color-bg-light);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-smooth);
    color: var(--color-text-dark);
}

.service-card a {
    text-decoration: none;
    color: var(--color-primary-dark);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-bg-primary);
}

.service-card p {
    color: var(--color-text-dark-secondary);
    font-size: 0.95rem;
}

/* --- Pricing Card --- */
.pricing-card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    color: var(--color-text-primary);
}

.pricing-card.growth {
    border-color: var(--color-gold);
    transform: scale(1.05);
    z-index: 2;
    padding: 1rem;
    box-shadow: 0 0 30px rgba(255, 196, 0, 0.2);
    border-width: 5px;
}

.pricing-card.professional {
    border-color: var(--color-green);
    transform: scale(1.05);
    z-index: 2;
    padding: 1rem;
    box-shadow: 0 0 30px rgba(255, 196, 0, 0.2);
    border-width: 5px;
}

.pricing-card.power {
    border-color: var(--color-electric-blue);
    transform: scale(1.05);
    z-index: 2;
    padding: 1rem;
    box-shadow: 0 0 30px rgba(255, 196, 0, 0.2);
    border-width: 5px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- Badge --- */
.badge.growth {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-text-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.badge.professional {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-success);
    color: var(--color-text-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.badge.power {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-text-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* --- Feature Box --- */
.feature-box {
    background: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--color-text-dark-secondary);
    line-height: 1.6;
}

/* --- Offer Card --- */
.offer-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* --- Article Card --- */
.article-card {
    background: var(--color-text-primary);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-highlighted {
    border: 2px solid var(--color-text-dark);
    background: var(--color-bg-light);
}

/* --- Logo Item --- */
.logo-item {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 20px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.logo-item span {
    color: var(--color-text-primary);
}

.logo-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

/* --- FAQ Item --- */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-text-primary);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    color: var(--color-text-dark);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--color-text-dark-secondary);
    line-height: 1.6;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

/* ==========================================================================
   14. Tables
   ========================================================================== */

/* --- Price --- */
.price {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--color-text-nav);
    font-weight: 500;
}

.price-xl {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 1rem 0;
}

/* --- Features List --- */
.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.8rem;
    padding-inline-start: 0.9rem;
    position: relative;
    color: var(--color-text-subtitle);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--color-primary);
}

/* --- Comparison Table --- */
.comparison-section {
    margin-top: 6rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-primary);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--color-bg-dark);
    color: var(--color-primary);
    font-size: 1rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, .03);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table caption {
    margin: 1rem;
}

.price-row {
    background: rgba(0, 212, 255, .05);
    font-weight: 500;
}

.price-row span {
    display: block;
}

.order-row {
    background: var(--color-bg-dark);
}

.table-order-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-bg-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.table-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, .4);
}

/* --- Comparison Grid --- */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* --- SEO Intro --- */
.seo-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
    line-height: 1.7;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.footer {
    background: var(--color-bg-body);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3.logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.footer-col h4 {
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--color-text-secondary);
    transition: all var(--transition-smooth);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--color-text-primary);
    padding-inline-start: 5px;
}

.footer-col a img {
    transition: transform 0.2s ease;
}

.footer-col a:hover img {
    transform: scale(1.15);
}

.copyright {
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* ==========================================================================
   16. Components
   ========================================================================== */

.stat-number {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-nav);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- Icon Strip --- */
.icon-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.icon-strip span {
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
    cursor: default;
}

.icon-strip span:hover {
    background: var(--color-text-primary);
    transform: scale(1.05);
}

/* --- CTA Section --- */
.cta-section {
    background: var(--gradient-cta);
    color: var(--color-text-primary);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-section p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* --- Logos Section --- */
.logos-section {
    background: var(--color-bg-light);
    text-align: center;
    color: var(--color-success);
}

.logos-title {
    font-size: 20px;
    text-align: center;
}

/* --- Pricing Extras --- */
.fairusage {
    display: block;
    color: var(--color-text-dark);
}

.unlimited-fair {
    margin: 3rem;
}

.section-header {
    margin: 2rem;
}

/* --- Currency / Price Display --- */
.prices-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.currency-block {
    text-align: center;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    min-width: 100px;
    min-height: 80px;
}

.usd .price-current {
    color: var(--color-success);
    font-weight: 500;
    font-size: 1rem;
}

.egp .price-current {
    color: var(--color-warning);
    font-weight: 500;
    font-size: 1rem;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.85rem;
    display: block;
}

.period {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 4px;
}

.hidden {
    display: none;
}

.alt-currency {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-left: 6px;
}

.usd .currency-egp {
    color: var(--color-warning);
    font-weight: 500;
    font-size: 0.85rem;
}

.payment-note {
    font-size: 0.85rem;
    color: var(--color-success);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* --- Verified Badge --- */
.verified {
    font-size: 12px;
    color: var(--color-success);
}

/* --- Offer Flex --- */
.offer-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* --- Footer Text --- */
.footer-text {
    margin-top: 1rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   17. Animations
   ========================================================================== */

/* --- Hosting Slider --- */
.hosting-slider {
    overflow: hidden;
    padding: 20px 0;
    margin: 5rem;
}

.slider-track-left {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: scrollSlider-left 40s linear infinite;
}

.slider-track-right {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: scrollSlider-right 40s linear infinite;
}

.slide {
    min-width: 280px;
    padding: 25px;
    border-radius: 12px;
    background: var(--color-bg-slide);
    border: 1px solid var(--color-border);
}

.slide h3 {
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.slide p {
    color: var(--color-text-secondary);
}

@keyframes scrollSlider-right {
    from {
        transform: translateX(calc(-50% * var(--scroll-dir)));
    }
    to {
        transform: translateX(0);
    }
}

@keyframes scrollSlider-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% * var(--scroll-dir)));
    }
}

.hosting-slider:hover .slider-track-right {
    animation-play-state: paused;
}

.hosting-slider:hover .slider-track-left {
    animation-play-state: paused;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;
    font-family: Arial, sans-serif;
}

.whatsapp-btn {
    width: 50px;
    height: 50px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, .35);
    transition: transform .3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

.whatsapp-btn svg {
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, .4);
    animation: wPulse 2s infinite;
}

@keyframes wPulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-danger);
    color: var(--color-text-primary);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-text-primary);
}

.whatsapp-bubble {
    position: absolute;
    right: 80px;
    bottom: 14px;
    background: var(--color-text-primary);
    color: var(--color-text-dark);
    padding: 10px 14px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    font-size: 14px;
}

.whatsapp-float:hover .whatsapp-bubble {
    opacity: 1;
    transform: translateX(0);
}

/* --- WhatsApp Inline Button --- */
.whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--color-whatsapp);
    color: var(--color-text-primary);
    font-weight: 500;
    transition: background var(--transition-smooth);
}

.whatsapp:hover {
    background: var(--color-whatsapp-hover);
}

/* ==========================================================================
   18. Media Queries
   ========================================================================== */

/* --- Features / Stats Responsive --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* --- Pricing Cards Responsive --- */
@media (max-width: 768px) {
    .pricing-card.growth,
    .pricing-card.professional,
    .pricing-card.power {
        transform: none;
    }
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg-primary);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }

    .btn-whatsapp {
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Mobile Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4 {
        display: block;
        border-bottom: none;
    }
}

/* --- WhatsApp Float Responsive --- */
@media (max-width: 600px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-btn {
        width: 58px;
        height: 58px;
    }

    .whatsapp-btn svg {
        width: 30px;
        height: 30px;
    }

    .whatsapp-bubble {
        display: none;
    }
}

/* ==========================================================================
   19. RTL Fixes
   ========================================================================== */

[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

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

[dir="rtl"] .btn-whatsapp {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .footer-col ul li a:hover {
    padding-inline-start: 0;
    padding-inline-end: 5px;
}

[dir="rtl"] .pricing-card {
    text-align: right;
}
