/* قيمّ - Landing Page - Global Professional Design System */
/* نظام تصميم عالمي: 8px spacing unit | Soft shadows | WCAG AA | Smooth animations */

/* ==================== Fonts ==================== */
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('/FONT/IBMPlexSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('/FONT/IBMPlexSansArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* ==================== CSS Variables - 8px System ==================== */
:root {
    /* Typography */
    --font-primary: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Colors - WCAG AA Compliant */
    --primary-50: #ECFDF5;
    --primary-100: #D1FAE5;
    --primary-200: #A7F3D0;
    --primary-500: #10B981;
    --primary-600: #059669;
    --primary-700: #047857;

    --secondary-50: #EFF6FF;
    --secondary-100: #DBEAFE;
    --secondary-500: #3B82F6;
    --secondary-600: #2563EB;
    --secondary-700: #1D4ED8;

    --accent-50: #F5F3FF;
    --accent-100: #EDE9FE;
    --accent-500: #8B5CF6;
    --accent-600: #7C3AED;
    --accent-700: #6D28D9;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --white: #FFFFFF;
    --black: #000000;

    /* Theme Colors - Dark Mode (Default) */
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing - 8px Unit System */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    --space-16: 128px;

    /* Border Radius - 8px Base */
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Very Soft */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.06), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.08);

    /* Transitions - Fast & Simple */
    --transition-base: 200ms ease;
    --transition-fast: 150ms ease;

    /* Z-index */
    --z-header: 1000;
    --z-modal: 2000;
    --z-dropdown: 1500;

    /* Button Gradients - Dynamic */
    --btn-gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 50%, var(--accent-500) 100%);
    --btn-gradient-secondary: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    --btn-shadow-primary: 0 8px 20px rgba(16, 185, 129, 0.35);
    --btn-shadow-primary-hover: 0 12px 32px rgba(16, 185, 129, 0.45);
}

/* Light Mode Theme Variables */
[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);

    /* Button adjustments for light mode */
    --btn-shadow-primary: 0 8px 20px rgba(16, 185, 129, 0.4);
    --btn-shadow-primary-hover: 0 12px 32px rgba(16, 185, 129, 0.5);
}

/* Dark Mode specific button styles */
[data-theme="dark"] .btn-secondary {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.95) 0%,
            rgba(51, 65, 85, 0.98) 100%);
    color: #F1F5F9;
    /* Brighter white for better contrast */
    border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .btn-secondary:hover {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 1) 0%,
            rgba(30, 58, 138, 0.4) 100%);
    color: var(--secondary-500);
}

[data-theme="dark"] .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.6);
    color: #F1F5F9;
    /* Lighter text for better contrast */
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-500);
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading Transitions */
img[data-src] {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

img.loaded {
    opacity: 1;
}

picture {
    display: block;
}

[data-bg] {
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease-in-out;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==================== Accessibility ==================== */
.skip-link {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--primary-500);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: var(--space-1);
    outline: 2px solid var(--primary-700);
    outline-offset: 2px;
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Button-specific focus states for better accessibility */
.btn:focus-visible {
    outline: 3px solid var(--primary-500);
    outline-offset: 3px;
}

.btn-primary:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
    box-shadow:
        var(--btn-shadow-primary),
        0 0 0 6px rgba(16, 185, 129, 0.4);
}

.btn-secondary:focus-visible {
    outline: 3px solid var(--secondary-500);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.25);
}

.btn-outline:focus-visible {
    outline: 3px solid var(--primary-500);
    outline-offset: 3px;
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
}

/* ==================== Typography ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: var(--space-3);
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: var(--space-2);
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: var(--space-2);
}

p {
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== Buttons - نظام موحد احترافي ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px var(--space-4);
    min-height: 48px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--btn-gradient-primary);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: var(--white);
    box-shadow:
        var(--btn-shadow-primary),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

/* Animation only on hover - performance optimization */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-primary:hover {
    animation: gradientShift 3s ease infinite;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        var(--btn-shadow-primary-hover),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.98) 100%);
    color: #334155;
    /* Darker for better contrast (AA compliant) */
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(59, 130, 246, 0.1) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    will-change: transform, box-shadow;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-secondary:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(239, 246, 255, 1) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--secondary-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.15) 0%,
            rgba(59, 130, 246, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-500);
    color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-500);
    border-color: var(--white);
}

.btn-outline-white:active {
    transform: scale(0.98);
}

.btn-lg {
    padding: 18px var(--space-6);
    min-height: 56px;
    font-size: 17px;
    border-radius: 14px;
}

/* Button Icons/Arrows - Enhanced */
.btn i,
.btn svg,
.btn .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-lg i,
.btn-lg svg,
.btn-lg .icon {
    width: 22px;
    height: 22px;
}

/* RTL-aware icon movement */
.btn:hover i,
.btn:hover svg,
.btn:hover .icon {
    transform: translateX(-4px);
}

/* Specific animation for arrow icons pointing left (RTL) */
.btn:hover .icon-arrow-left,
.btn:hover [href*="#icon-arrow-left"] {
    transform: translateX(-6px);
}

/* Specific animation for arrow icons pointing down */
.btn:hover .icon-chevron-down,
.btn:hover [href*="#icon-chevron-down"] {
    transform: translateY(3px);
}

/* Prevent icon shift on disabled buttons */
.btn:disabled i,
.btn:disabled svg,
.btn:disabled .icon,
.btn.disabled i,
.btn.disabled svg,
.btn.disabled .icon {
    transform: none;
}

/* SVG Icons Global */
svg.icon,
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.feature-icon svg.icon,
.flow-icon svg.icon,
.team-icon svg.icon {
    width: 32px;
    height: 32px;
}

.benefit-card svg.icon {
    width: 48px;
    height: 48px;
}

.teams-features li svg.icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ==================== Header ==================== */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.7) 0%,
            rgba(30, 41, 59, 0.65) 50%,
            rgba(15, 23, 42, 0.7) 100%);
    background-size: 200% 200%;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 -20px 60px rgba(16, 185, 129, 0.03) inset;
    z-index: var(--z-header);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg,
            transparent 0%,
            rgba(16, 185, 129, 0.3) 25%,
            rgba(59, 130, 246, 0.5) 50%,
            rgba(16, 185, 129, 0.3) 75%,
            transparent 100%) 1;
    animation: headerGlow 8s ease-in-out infinite, headerGradient 10s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Header scroll state - activated via JS */
.header.scrolled {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    animation: headerShimmer 3s ease-in-out infinite;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(16, 185, 129, 0.5) 50%,
            transparent 100%);
    animation: borderFlow 4s ease-in-out infinite;
}

@keyframes headerGlow {

    0%,
    100% {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset,
            0 -20px 60px rgba(16, 185, 129, 0.03) inset;
    }

    50% {
        box-shadow:
            0 12px 48px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 -20px 60px rgba(16, 185, 129, 0.08) inset;
    }
}

@keyframes headerGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes headerShimmer {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

@keyframes borderFlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50px);
    }

    50% {
        opacity: 1;
        transform: translateX(50px);
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
    gap: var(--space-4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 12px 16px;
    border-radius: 16px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.logo-img {
    max-height: 40px;
    width: auto;
}

.logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.3) 0%,
            rgba(59, 130, 246, 0.3) 50%,
            rgba(139, 92, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

.logo:hover {
    color: var(--primary-500);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.3),
        0 8px 24px rgba(16, 185, 129, 0.2);
}

.logo:hover::before {
    opacity: 1;
}

.logo-icon {
    font-size: 36px;
    animation: logoIconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.4));
}

@keyframes logoIconFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-4px) rotate(-5deg);
    }

    50% {
        transform: translateY(0px) rotate(0deg);
    }

    75% {
        transform: translateY(-4px) rotate(5deg);
    }
}

.logo-text {
    background: linear-gradient(135deg,
            #10B981 0%,
            #3B82F6 50%,
            #8B5CF6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoTextGradient 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
}

@keyframes logoTextGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(16, 185, 129, 0.1) 50%,
            transparent 100%);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: linear-gradient(90deg, #10B981, #3B82F6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.nav-link:hover {
    color: var(--primary-500);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.2),
        0 8px 16px rgba(16, 185, 129, 0.15);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover::after {
    left: 10%;
    right: 10%;
}

.nav-link.active {
    color: var(--primary-500);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.15);
}

.nav-link.active::after {
    left: 10%;
    right: 10%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-1);
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    padding: var(--space-12) 0;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.05) 0%,
            var(--bg-primary) 50%,
            rgba(59, 130, 246, 0.05) 100%);
    background-size: 200% 200%;
    animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: heroShapes 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShapes {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-8);
}

.hero-text {
    max-width: 650px;
}

.hero-title {
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
    font-size: clamp(32px, 5vw, 48px);
    background: linear-gradient(135deg, var(--text-primary) 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.hero-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding-top: var(--space-2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: var(--space-3) var(--space-4);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.2) inset;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-500);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--space-1);
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(var(--shadow-2xl));
}

/* ==================== Sections ==================== */
.section {
    padding: var(--space-12) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: clamp(28px, 4vw, 40px);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #3B82F6);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    margin-top: var(--space-3);
}

/* ==================== Features ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--glass-border) inset;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.1) 0%,
            rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 16px 48px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.3) inset;
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
    backdrop-filter: blur(10px);
    color: #10B981;
    font-size: 36px;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2) inset;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #10B981, #3B82F6);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.4) inset,
        0 8px 24px rgba(16, 185, 129, 0.3);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    color: var(--white);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(14px, 1.5vw, 15px);
    position: relative;
    z-index: 1;
}

/* ==================== Values Section ==================== */
.values-section {
    background: var(--bg-secondary);
    position: relative;
}

.values-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.flow-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--glass-border) inset;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    position: relative;
    border: 2px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.08));
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity 0.4s;
}

.flow-card:hover {
    border-color: #10B981;
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.3) inset;
}

.flow-card:hover::before {
    opacity: 1;
}

.flow-number {
    position: absolute;
    top: -16px;
    right: var(--space-3);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow:
        0 4px 12px rgba(16, 185, 129, 0.4),
        0 0 0 3px var(--bg-primary);
    z-index: 2;
}

.flow-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
    backdrop-filter: blur(10px);
    color: var(--primary-500);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto var(--space-3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2) inset;
}

.flow-card:hover .flow-icon {
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(16, 185, 129, 0.4) inset;
}

.flow-card h3 {
    color: var(--text-primary);
    font-size: clamp(18px, 2vw, 20px);
    margin-bottom: var(--space-2);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.flow-card p {
    color: var(--primary-500);
    font-size: clamp(15px, 1.8vw, 16px);
    font-weight: 600;
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
}

.flow-desc {
    display: block;
    font-size: clamp(12px, 1.5vw, 13px);
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.flow-arrow {
    color: var(--primary-500);
    font-size: 28px;
    flex-shrink: 0;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-4px);
    }
}

.values-example {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--glass-border) inset;
    border: 2px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.values-example::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.05) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.values-example:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow:
        0 16px 48px rgba(16, 185, 129, 0.15),
        0 0 0 1px rgba(16, 185, 129, 0.2) inset;
}

.values-example:hover::before {
    opacity: 1;
}

.values-example h3 {
    color: var(--text-primary);
    font-size: clamp(20px, 3vw, 24px);
    text-align: center;
    margin-bottom: var(--space-5);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.example-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    direction: rtl;
}

.example-step {
    background: var(--glass-bg);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    min-width: 140px;
}

.example-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.08) 0%,
            rgba(59, 130, 246, 0.08) 100%);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s;
}

.example-step:hover {
    border-color: var(--primary-500);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.example-step:hover::before {
    opacity: 1;
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: var(--space-2);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    position: relative;
    z-index: 2;
}

.example-step p {
    color: var(--text-primary);
    font-size: clamp(14px, 1.8vw, 15px);
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

.step-separator {
    color: var(--primary-500);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ==================== Teams Section ==================== */
.teams-section {
    background: var(--bg-primary);
}

.teams-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
    margin-bottom: var(--space-10);
}

.teams-info h3 {
    color: var(--text-primary);
    font-size: 28px;
    margin-bottom: var(--space-4);
}

.teams-features {
    list-style: none;
}

.teams-features li {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
}

.teams-features li:hover {
    border-color: #10B981;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.teams-features i {
    font-size: 24px;
    color: var(--primary-500);
    margin-top: 4px;
    flex-shrink: 0;
}

.teams-features strong {
    display: block;
    color: var(--text-primary);
    font-size: 17px;
    margin-bottom: var(--space-1);
}

.teams-features p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.teams-visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px var(--glass-border) inset;
    position: relative;
    border: 3px solid;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.5s;
}

.team-card:hover {
    transform: translateX(-10px) translateY(-4px);
    box-shadow:
        0 20px 60px rgba(16, 185, 129, 0.25),
        0 0 0 1px rgba(16, 185, 129, 0.3) inset;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card-primary {
    border-color: rgba(16, 185, 129, 0.4);
}

.team-card-secondary {
    border-color: rgba(59, 130, 246, 0.4);
}

.team-card-accent {
    border-color: rgba(139, 92, 246, 0.4);
}

.team-rank {
    position: absolute;
    top: -12px;
    right: var(--space-4);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.4),
        0 0 0 5px var(--bg-primary);
    z-index: 10;
    animation: rankPulse 2s ease-in-out infinite;
    overflow: visible;
}

@keyframes rankPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.team-card-secondary .team-rank {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
}

.team-card-accent .team-rank {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
}

.team-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: var(--space-2);
}

.team-card-secondary .team-icon {
    background: var(--secondary-100);
    color: var(--secondary-600);
}

.team-card-accent .team-icon {
    background: var(--accent-100);
    color: var(--accent-600);
}

.team-card h4 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: var(--space-2);
}

.team-points {
    color: var(--primary-600);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.team-card-secondary .team-points {
    color: var(--secondary-600);
}

.team-card-accent .team-points {
    color: var(--accent-600);
}

.team-members {
    display: flex;
    gap: var(--space-1);
    align-items: center;
}

.member-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--white);
}

.team-card-secondary .member-avatar {
    background: var(--secondary-500);
}

.team-card-accent .member-avatar {
    background: var(--accent-500);
}

.member-more {
    width: 32px;
    height: 32px;
    background: var(--gray-300);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    border: 2px solid var(--white);
}

.teams-benefits h3 {
    color: var(--text-primary);
    font-size: 28px;
    text-align: center;
    margin-bottom: var(--space-5);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
}

.benefit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid var(--glass-border);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px var(--glass-border) inset;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.08));
    opacity: 0;
    transition: opacity 0.5s;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow:
        0 16px 48px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.3) inset;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card i {
    font-size: 48px;
    color: var(--primary-500);
    margin-bottom: var(--space-3);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.benefit-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-card h4 {
    color: var(--text-primary);
    font-size: clamp(17px, 2vw, 19px);
    margin-bottom: var(--space-2);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: clamp(13px, 1.5vw, 14px);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==================== Content Split ==================== */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-8);
}

.content-split-reverse {
    direction: ltr;
}

.content-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: var(--primary-100);
    color: var(--primary-700);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
}

.content-text h2 {
    margin-bottom: var(--space-3);
}

.content-text>p {
    font-size: 18px;
    margin-bottom: var(--space-4);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-5);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) 0;
}

.feature-list i {
    color: var(--primary-500);
    font-size: 20px;
    margin-top: 2px;
}

.feature-list span {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.content-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(var(--shadow-xl));
}

/* ==================== Partners ==================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-4);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px var(--glass-border) inset;
    border: 2px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
}

.partner-logo:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.15),
        0 0 0 1px rgba(16, 185, 129, 0.2) inset;
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo img {
    width: 100%;
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: all var(--transition-base);
}

.partner-logo:hover img {
    opacity: 1;
}

/* ==================== Contact Section ==================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

/* Contact Info Panel */
.contact-info-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--glass-border) inset;
    border: 2px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.05) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}

.contact-title {
    color: var(--text-primary);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, var(--text-primary), #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    color: var(--text-secondary);
    font-size: clamp(15px, 2vw, 16px);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-detail-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-detail-content strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.contact-detail-content a,
.contact-detail-content span {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail-content a:hover {
    color: var(--primary-500);
}

.contact-social h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.contact-social-links {
    display: flex;
    gap: var(--space-2);
}

.contact-social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.08);
    backdrop-filter: blur(10px);
    color: var(--primary-500);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-social-link:hover {
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: var(--white);
    border-color: var(--primary-500);
    transform: translateY(-4px) rotate(5deg);
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(16, 185, 129, 0.3) inset;
}

/* Contact Form Panel */
.contact-form-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--glass-border) inset;
    border: 2px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.03) 0%,
            rgba(59, 130, 246, 0.03) 100%);
    pointer-events: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    font-family: var(--font-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.1),
        0 8px 24px rgba(16, 185, 129, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #E74C3C;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* btn-contact تم دمجه مع btn-primary - استخدم: btn btn-primary btn-full */
.btn-full {
    width: 100%;
}

/* حالة disabled موحدة لجميع الأزرار */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-loader {
    display: flex;
    gap: 4px;
}

.loading-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: loadingDot 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loadingDot {

    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.form-message {
    padding: var(--space-3);
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
}

.form-message.success {
    background: #D4EDDA;
    color: #27AE60;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    background: #F8D7DA;
    color: #E74C3C;
    border: 1px solid #F5C6CB;
}

/* ==================== CTA Section ==================== */
.cta {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    padding: var(--space-12) 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.cta p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: var(--space-5);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-secondary);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg,
            transparent 0%,
            rgba(16, 185, 129, 0.3) 50%,
            transparent 100%) 1;
    margin-top: var(--space-10);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(16, 185, 129, 0.5) 50%,
            transparent 100%);
    animation: borderFlow 4s ease-in-out infinite;
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 400px;
    padding-left: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo .logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(60, 203, 138, 0.3));
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, #3CCB8A 0%, #2DD4BF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
    max-width: 90%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    color: #10B981;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 18px;
}

.social-link:hover {
    background: linear-gradient(135deg, #10B981, #3B82F6);
    border-color: var(--primary-500);
    color: var(--white);
    transform: translateY(-4px) rotate(5deg);
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(16, 185, 129, 0.3) inset;
}

/* Footer Social Links - نفس التصميم */
.footer-social {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
}

.footer-social .social-link:hover {
    background: linear-gradient(135deg, #3CCB8A 0%, #2DD4BF 100%);
    border-color: #3CCB8A;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(60, 203, 138, 0.2);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Columns */
.footer-title {
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500) 0%, transparent 100%);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary-500);
    position: absolute;
    bottom: -2px;
    right: 0;
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--primary-500);
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-icon {
    font-size: 17px;
    flex-shrink: 0;
    color: var(--primary-500);
    margin-top: 2px;
}

.footer-contact a {
    color: var(--text-secondary);
    font-size: 14.5px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-500);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 30px 0;
    margin-top: 20px;
    background-color: transparent;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-2);
    }

    .hero-content,
    .content-split {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .content-split-reverse {
        direction: rtl;
    }

    .hero-visual {
        order: -1;
    }

    .footer-main {
        padding: 50px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
        padding-left: 0;
    }

    /* Values Section Tablet */
    .values-flow {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .flow-card {
        min-width: 200px;
    }

    /* Teams Section Tablet */
    .teams-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .team-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Section Tablet */
    .contact-wrapper {
        gap: var(--space-6);
    }

    /* Benefits Grid Tablet */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    /* Partners Tablet */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-8) 0;
    }

    .hero {
        padding: var(--space-8) 0 var(--space-6);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-2);
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
        /* Slightly larger for touch */
        font-size: 16px;
    }

    /* All full-width buttons on mobile */
    .cta-actions .btn,
    .support-actions .btn,
    .contact-form .btn {
        width: 100%;
        min-height: 52px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        padding: var(--space-4);
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.2),
            0 0 0 1px var(--glass-border) inset;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }

    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Theme toggle stays visible in mobile header */
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: var(--space-2);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .feature-card {
        padding: var(--space-5);
    }

    .values-flow {
        flex-direction: column;
        gap: var(--space-4);
    }

    .flow-card {
        max-width: 100%;
        width: 100%;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 24px;
    }

    .section-header {
        margin-bottom: var(--space-6);
    }

    /* Footer Mobile */
    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    .footer-col:nth-child(4),
    .footer-col:nth-child(5) {
        grid-column: span 1;
    }

    /* Values Section Responsive */
    .values-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: var(--space-2) 0;
    }

    .values-example {
        margin-top: var(--space-6);
        padding: var(--space-5);
    }

    .values-example h3 {
        font-size: 20px;
        margin-bottom: var(--space-4);
    }

    .example-steps {
        flex-direction: column;
        gap: var(--space-3);
    }

    .example-step {
        width: 100%;
        min-width: auto;
        padding: var(--space-3) var(--space-4);
    }

    .step-separator {
        transform: rotate(90deg);
        font-size: 20px;
        margin: var(--space-1) 0;
    }

    /* Teams Section Responsive */
    .teams-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .teams-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .team-card {
        padding: var(--space-4);
    }

    .team-rank {
        width: 42px;
        height: 42px;
        font-size: 20px;
        top: -10px;
        right: var(--space-3);
    }

    .team-benefits {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    /* Benefits Grid Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .benefit-card {
        padding: var(--space-5);
    }

    .benefit-card i {
        font-size: 40px;
    }

    /* Partners Grid Mobile */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .partner-logo {
        padding: var(--space-4);
    }

    /* Teams Features Mobile */
    .teams-features li {
        padding: var(--space-3);
        flex-direction: column;
        text-align: center;
    }

    .teams-features i {
        margin-top: 0;
    }

    /* Footer Responsive */
    .footer-main {
        padding: 35px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        padding-left: 0;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Contact Section Responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .contact-form-panel {
        order: -1;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

/* ==================== Theme Toggle Button - Redesigned ==================== */
.theme-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-size: 22px;
    margin-left: 0;
    margin-right: var(--space-2);
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(255, 215, 0, 0.2) 0%,
            rgba(255, 165, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

[data-theme="light"] .theme-toggle::before {
    opacity: 1;
}

.theme-toggle:hover {
    transform: scale(1.15) rotate(180deg);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.theme-toggle:active {
    transform: scale(1.05) rotate(90deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 6px currentColor);
}

[data-theme="light"] .theme-toggle {
    color: #F59E0B;
    /* Amber color for sun */
}

[data-theme="dark"] .theme-toggle {
    color: #A78BFA;
    /* Purple color for moon */
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
    animation: iconSpin 20s linear infinite;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ==================== Extra Small Devices (< 480px) ==================== */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-2);
    }

    .section {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Hero Extra Small */
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions .btn {
        padding: 14px var(--space-4);
        min-height: 50px;
        font-size: 15px;
    }

    /* Unified button sizing for extra small screens */
    .btn {
        min-height: 48px;
        font-size: 15px;
    }

    .btn-lg {
        min-height: 52px;
        font-size: 16px;
    }

    /* Theme Toggle Extra Small */
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-right: var(--space-1);
    }

    /* Feature Cards Extra Small */
    .feature-card {
        padding: var(--space-4);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    /* Flow Cards Extra Small */
    .flow-badge {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .flow-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    /* Values Example Extra Small */
    .values-example {
        padding: var(--space-4);
    }

    .values-example h3 {
        font-size: 18px;
    }

    .example-step {
        padding: var(--space-3);
    }

    .step-badge {
        font-size: 11px;
        padding: 6px 10px;
    }

    .example-step p {
        font-size: 13px;
    }

    .step-separator {
        font-size: 18px;
    }

    /* Team Cards Extra Small */
    .team-rank {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .team-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    /* Benefits Extra Small */
    .benefit-card i {
        font-size: 36px;
    }

    /* Partners Extra Small */
    .partners-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Extra Small */
    .contact-info-panel,
    .contact-form-panel {
        padding: var(--space-5);
    }

    .contact-title {
        font-size: 22px;
    }

    .form-group {
        margin-bottom: var(--space-3);
    }

    /* Footer Extra Small */
    .footer-logo-img {
        height: 40px;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-title {
        font-size: 15px;
    }

    .footer-links a,
    .footer-contact a {
        font-size: 13px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* CTA Extra Small */
    .cta h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 15px;
    }

    /* Stats Extra Small */
    .stat-item h3 {
        font-size: 22px;
    }

    .stat-item p {
        font-size: 12px;
    }
}

/* ==================== Large Screens (> 1440px) ==================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 44px;
    }

    .features-grid {
        gap: var(--space-6);
    }

    .teams-grid {
        gap: var(--space-6);
    }

    .benefits-grid {
        gap: var(--space-6);
    }
}

/* ==================== Print Styles ==================== */
@media print {

    .header,
    .hero-shapes,
    .cta,
    .footer,
    .theme-toggle {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ======================================
   Editable Elements - Layout Fix
   يمنع wrappers من كسر flex/grid layouts
   ====================================== */
.nav-links .editable-element,
.nav-actions .editable-element,
.navbar .editable-element,
.hero-actions .editable-element,
.hero-stats>.editable-element:not(.stat-item),
.hero-text>.editable-element,
.hero-content>.editable-element,
.hero-visual>.editable-element,
.section-header>.editable-element,
.section-header .editable-element,
.features-grid>.editable-element:not(.feature-card),
.values-grid>.editable-element,
.activities-grid>.editable-element:not(.activity-card),
.partners-grid>.editable-element,
.testimonials-grid>.editable-element,
.values-flow>.editable-element:not(.flow-card):not(.flow-arrow),
.support-content>.editable-element,
.support-actions>.editable-element,
.footer-content>.editable-element,
.footer-links>.editable-element,
.footer-social>.editable-element,
.teams-visual>.editable-element,
.benefits-grid>.editable-element,
.footer-grid>.editable-element,
.footer-brand>.editable-element,
.footer-col>.editable-element,
.cta-content>.editable-element,
.cta-actions>.editable-element,
.contact-info-panel>.editable-element {
    display: contents;
}

/* العناصر المدمجة (class + editable-element) */
.stat-item.editable-element {
    display: flex;
    flex-direction: column;
}

.flow-arrow.editable-element {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo.editable-element {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer links list items */
.footer-links li.editable-element {
    display: list-item;
    margin-bottom: 14px;
}