/* ==========================================
   CSS SYSTEM - ELITESCE BRAND DESIGN SYSTEM
   ========================================== */

:root {
    /* Color Palette derived from the brand logo */
    --color-bg-dark: #070a13;
    --color-bg-deep: #05070c;
    --color-card-bg: rgba(15, 22, 42, 0.65);
    --color-card-hover: rgba(23, 33, 61, 0.85);
    --color-text-main: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-white: #ffffff;
    
    /* Branding Gradients */
    --gradient-brand: linear-gradient(135deg, #7B2CBF 0%, #F72585 50%, #F77F00 100%);
    --gradient-glow: linear-gradient(135deg, rgba(123, 44, 191, 0.25) 0%, rgba(247, 37, 133, 0.25) 50%, rgba(247, 127, 0, 0.15) 100%);
    --gradient-hover: linear-gradient(135deg, #9d4edd 0%, #ff007f 50%, #ff9e00 100%);
    
    /* Individual Accent Colors */
    --color-purple: #7B2CBF;
    --color-pink: #F72585;
    --color-orange: #F77F00;
    --color-green: #06d6a0;
    
    /* Glassmorphism Border & Shadows */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glass-active: 1px solid rgba(247, 37, 133, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(247, 37, 133, 0.35);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    
    /* Layout */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Background Glowing Orbs */
body::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 80%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.18) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 55%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-glass {
    background: rgba(7, 10, 19, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-scrolled {
    background: rgba(5, 7, 12, 0.85);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(247, 37, 133, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-svg {
    filter: drop-shadow(0 0 8px rgba(247, 37, 133, 0.4));
    transition: var(--transition-smooth);
}

.logo-container:hover .logo-svg {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 9px;
    color: var(--color-text-white);
    letter-spacing: 2px;
    margin-top: 2px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    color: var(--color-text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Dropdown Selector: La Cascade de Verre */
.glass-wrapper {
    perspective: 1000px;
    position: relative;
    z-index: 1001;
    width: 140px;
}

.glass-main {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    user-select: none;
}

.glass-main:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(247, 37, 133, 0.3);
    box-shadow: 0 6px 24px rgba(247, 37, 133, 0.1);
}

.lang-globe-icon {
    font-size: 14px;
    color: var(--color-pink);
    filter: drop-shadow(0 0 4px rgba(247, 37, 133, 0.4));
}

.lang-chevron-icon {
    font-size: 10px;
    color: var(--color-text-muted);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: auto;
}

.glass-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
    z-index: 1002;
}

.glass-item {
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: 10px;
    padding: 10px 14px;
    opacity: 0;
    transform: translateY(-15px) rotateX(35deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-white);
    border-color: rgba(247, 37, 133, 0.3);
    padding-left: 18px; /* Slight indent effect on hover */
}

.lang-code-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-muted);
}

.glass-item:hover .lang-code-badge {
    background: rgba(247, 37, 133, 0.15);
    border-color: rgba(247, 37, 133, 0.4);
    color: var(--color-pink);
}

.glass-wrapper.active .glass-dropdown {
    pointer-events: auto;
}

.glass-wrapper.active .glass-item {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* Staggered animation delays */
.glass-wrapper.active .glass-item:nth-child(1) { transition-delay: 0.04s; }
.glass-wrapper.active .glass-item:nth-child(2) { transition-delay: 0.08s; }
.glass-wrapper.active .glass-item:nth-child(3) { transition-delay: 0.12s; }

.lang-text-mobile {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-nav {
    background: var(--gradient-brand);
    color: var(--color-text-white);
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.25);
}

.btn-nav:hover {
    background: var(--gradient-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 127, 0, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(123, 44, 191, 0.12);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 50px;
    color: #c77dff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 24px;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 56px;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--color-text-white);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-text-white);
    box-shadow: 0 4px 20px rgba(247, 37, 133, 0.3);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    border: var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-card {
    background: var(--color-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(247, 37, 133, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(123, 44, 191, 0.1);
    transform: translateY(-5px);
}

.hero-visual-card {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.window-title {
    font-size: 12px;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    margin-left: 8px;
}

.card-content {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.code-line {
    margin-bottom: 8px;
    color: #e2e8f0;
}

.code-line.indent {
    padding-left: 20px;
}

.keyword { color: #f72585; }
.variable { color: #4cc9f0; }
.class { color: #ffb703; }
.method { color: #7209b7; }
.property { color: #b5e2fa; }
.string { color: #06d6a0; }

.pulse-circle {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
    padding: 60px 0;
    background-color: var(--color-bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   COMMON SECTION HEADER
   ========================================== */

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 42px;
    letter-spacing: -0.5px;
    color: var(--color-text-white);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 16px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-text-white);
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.25);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-white);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ==========================================
   SPONSORING PRICING SECTION
   ========================================== */

.sponsoring-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.05) 0%, rgba(5, 7, 12, 0) 70%), var(--color-bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Pricing Toggle Switcher */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    padding: 6px;
    border-radius: 50px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pricing-toggle-btn.active {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.25);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border-color: rgba(247, 37, 133, 0.5);
    box-shadow: var(--shadow-glass), 0 0 20px rgba(247, 37, 133, 0.15);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    padding: 4px 14px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.plan-duration {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-weight: 500;
    text-transform: uppercase;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-main);
}

.plan-features li i {
    color: var(--color-pink);
    font-size: 16px;
    flex-shrink: 0;
}

.plan-price-block {
    margin-bottom: 24px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: white;
}

.plan-currency {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-left: 6px;
}

.plan-currency .period {
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-top: -4px;
}

/* ==========================================
   BUDGET SIMULATOR
   ========================================== */

.simulator-container {
    max-width: 800px;
    margin: 60px auto 0 auto;
    padding: 40px;
    border-color: rgba(123, 44, 191, 0.25);
    box-shadow: var(--shadow-glass), 0 0 30px rgba(123, 44, 191, 0.05);
}

.simulator-container h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: white;
    margin-bottom: 8px;
}

.sim-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.simulator-form {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.sim-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sim-field label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.simulator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    animation: fadeIn 0.4s ease forwards;
}

.sim-res-card {
    background: rgba(15, 22, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 12px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.sim-res-card:hover {
    transform: translateY(-3px);
}

.sim-res-card:nth-child(1) {
    border-color: rgba(123, 44, 191, 0.25);
    background: linear-gradient(180deg, rgba(123, 44, 191, 0.03) 0%, rgba(15, 22, 42, 0.4) 100%);
}

.sim-res-card:nth-child(1) .sim-res-val {
    color: #c77dff;
    text-shadow: 0 0 15px rgba(123, 44, 191, 0.4);
}

.sim-res-card:nth-child(2) {
    border-color: rgba(247, 37, 133, 0.25);
    background: linear-gradient(180deg, rgba(247, 37, 133, 0.03) 0%, rgba(15, 22, 42, 0.4) 100%);
}

.sim-res-card:nth-child(2) .sim-res-val {
    color: #ff758f;
    text-shadow: 0 0 15px rgba(247, 37, 133, 0.4);
}

.sim-res-card:nth-child(3) {
    border-color: rgba(247, 127, 0, 0.25);
    background: linear-gradient(180deg, rgba(247, 127, 0, 0.03) 0%, rgba(15, 22, 42, 0.4) 100%);
}

.sim-res-card:nth-child(3) .sim-res-val {
    color: #ffca80;
    text-shadow: 0 0 15px rgba(247, 127, 0, 0.4);
}

.sim-res-val {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.sim-res-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

.sim-disclaimer {
    font-size: 11px;
    color: var(--color-text-muted);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

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

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */

.portfolio-section {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    overflow: hidden;
    padding: 0;
}

.portfolio-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(7, 10, 19, 0.8) 0%, rgba(15, 22, 42, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-img-placeholder i {
    font-size: 54px;
    color: rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-placeholder i {
    transform: scale(1.1);
    color: var(--color-pink);
}

.tech-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: rgba(247, 37, 133, 0.2);
    border: 1px solid rgba(247, 37, 133, 0.4);
    border-radius: 4px;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ff758f;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ==========================================
   CLIENTS INFINITE SCROLLER (MARQUEE)
   ========================================== */

.clients-section {
    padding: 80px 0;
    overflow: hidden;
    background: var(--color-bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
}

.marquee-row {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 4px 0;
}

/* 3 rows scrolling configurations */
.row-left {
    animation: marquee-ltr 25s linear infinite;
}

.row-right {
    animation: marquee-rtl 25s linear infinite;
}

@keyframes marquee-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

@keyframes marquee-rtl {
    0% { transform: translateX(calc(-50% - 10px)); }
    100% { transform: translateX(0); }
}

/* Branding card in scroller */
.client-brand-card {
    flex-shrink: 0;
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.client-brand-card:hover {
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.2);
    transform: translateY(-2px);
}

.client-brand-logo-img {
    height: 24px;
    max-width: 100px;
    object-fit: contain;
}

.client-brand-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 800;
}

/* Pause scroll on hover */
.marquee-wrapper:hover .marquee-row {
    animation-play-state: paused;
}

/* ==========================================
   CONTACT SECTION & FORM
   ========================================== */

.contact-section {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 80%, rgba(247, 127, 0, 0.08) 0%, rgba(5, 7, 12, 0) 70%), var(--color-bg-deep);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.contact-info-panel h2 {
    margin-bottom: 24px;
}

.contact-info-panel p {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 480px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-item i {
    width: 44px;
    height: 44px;
    background: rgba(123, 44, 191, 0.12);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c77dff;
    font-size: 18px;
}

.contact-detail-item span {
    font-size: 15px;
    font-weight: 500;
}

.contact-form-panel {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-pink);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.2);
}

.form-group select option {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    padding: 60px 0 30px 0;
    background-color: var(--color-bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo .logo-text {
    align-items: center;
    margin-bottom: 12px;
}

.footer-logo p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================
   RTL - ARABIC LAYOUT ADJUSTMENTS
   ========================================== */

html[dir="rtl"] {
    font-family: var(--font-arabic);
    text-align: right;
}

html[dir="rtl"] body {
    font-family: var(--font-arabic);
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4,
html[dir="rtl"] .logo-brand,
html[dir="rtl"] .btn {
    font-family: var(--font-arabic);
}

/* Invert directions */
html[dir="rtl"] .logo-sub {
    letter-spacing: 0;
}

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

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

html[dir="rtl"] .glass-dropdown {
    left: auto;
    right: 0;
}

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

html[dir="rtl"] .lang-chevron-icon {
    margin-left: 0;
    margin-right: auto;
}

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

html[dir="rtl"] .hero-cta-group {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-card {
    align-items: flex-start;
}

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

html[dir="rtl"] .simulator-form {
    grid-template-columns: 0.8fr 1fr 1fr;
}

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

html[dir="rtl"] .contact-detail-item {
    flex-direction: row-reverse;
}

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

html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group textarea {
    text-align: right;
}

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

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 992px) {
    h1 {
        font-size: 46px;
    }
    
    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content, .contact-info-panel {
        align-items: center;
        text-align: center;
    }
    
    .hero-content p, .contact-info-panel p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
        width: 100%;
    }
    
    .services-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .simulator-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .sim-action {
        grid-column: 1 / -1;
    }
    
    html[dir="rtl"] .simulator-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(7, 10, 19, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(247, 37, 133, 0.2);
        padding: 40px 24px;
        gap: 24px;
        align-items: center;
        z-index: 999;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .lang-text-desktop {
        display: none;
    }
    .lang-text-mobile {
        display: inline;
        font-size: 13px;
    }
    .glass-wrapper {
        width: 85px; /* Compact width on mobile */
    }
    .glass-main {
        padding: 8px 10px;
        gap: 6px;
    }
    .glass-dropdown {
        width: 130px;
        left: auto;
        right: 0; /* Align dropdown to right edge on mobile */
    }
    html[dir="rtl"] .glass-dropdown {
        left: 0;
        right: auto; /* Align dropdown to left edge on mobile RTL */
    }
    
    .services-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
    
    .simulator-results {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-toggle-container {
        flex-direction: column;
        border-radius: 12px;
        gap: 6px;
    }
    
    .simulator-form {
        grid-template-columns: 1fr;
    }
}
