/* ==========================================================================
   IBTIKAR · 2026 Cyber-Minimalist / Spatial Tech Design System
   Company Website — Arabic (RTL) & English (LTR)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens · Color Space & Surface Physics
   -------------------------------------------------------------------------- */
:root {
    /* --- Aurora spectrum --- */
    --indigo: #4f46e5;
    --cyan: #06b6d4;
    --violet: #8b5cf6;
    --emerald: #10b981;

    /* --- Type --- */
    --font-ar: 'Cairo', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-main: var(--font-ar);

    /* --- Light · ceramic glass --- */
    --bg-primary: #f6f8fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef2f8;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-glass: rgba(255, 255, 255, 0.6);

    --text-primary: #0b1120;
    --text-secondary: #3f4c63;
    --text-muted: #64748b;
    --text-white: #ffffff;

    --brand-primary: #4f46e5;
    --brand-primary-hover: #4338ca;
    --brand-secondary: #06b6d4;
    --brand-accent: #8b5cf6;

    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
    --gradient-text: linear-gradient(120deg, #4f46e5, #06b6d4 55%, #8b5cf6);

    --border-color: rgba(15, 23, 42, 0.09);
    --border-light: rgba(15, 23, 42, 0.06);

    /* --- Hyper-glassmorphism surface --- */
    --glass-border: 1px solid rgba(255, 255, 255, 0.55);
    --specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
    --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.28);
    --shadow-glow: 0 0 28px rgba(79, 70, 229, 0.3);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    /* --- Aurora mesh bloom intensity --- */
    --aurora-1: 0.2;
    --aurora-2: 0.18;
    --aurora-3: 0.16;
    --aurora-4: 0.12;
}

/* --- Dark · deep void obsidian --- */
[data-theme="dark"] {
    --bg-primary: #030712;
    --bg-secondary: #060913;
    --bg-tertiary: #0c1222;
    --bg-card: rgba(12, 18, 34, 0.72);
    --bg-glass: rgba(6, 9, 19, 0.6);

    --text-primary: #f8fafc;
    --text-secondary: #c3cde3;
    --text-muted: #8595ad;

    --brand-primary: #6366f1;
    --brand-primary-hover: #818cf8;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);

    --specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 34px rgba(99, 102, 241, 0.45);
    --gradient-text: linear-gradient(120deg, #a5b4fc, #22d3ee 55%, #c4b5fd);

    --aurora-1: 0.42;
    --aurora-2: 0.34;
    --aurora-3: 0.3;
    --aurora-4: 0.2;
}

/* LTR font swap */
html[lang="en"] { --font-main: var(--font-en); }

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* --- Aurora mesh · ambient multi-layered radial blooms --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(38rem 26rem at 12% 6%, color-mix(in srgb, var(--indigo) calc(var(--aurora-1) * 100%), transparent), transparent 62%),
        radial-gradient(34rem 24rem at 88% 12%, color-mix(in srgb, var(--cyan) calc(var(--aurora-2) * 100%), transparent), transparent 62%),
        radial-gradient(32rem 30rem at 72% 92%, color-mix(in srgb, var(--violet) calc(var(--aurora-3) * 100%), transparent), transparent 62%),
        radial-gradient(28rem 22rem at 4% 88%, color-mix(in srgb, var(--emerald) calc(var(--aurora-4) * 100%), transparent), transparent 62%);
}

/* --- Hyper-fine engineering grid --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(color-mix(in srgb, var(--border-color) 70%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--border-color) 70%, transparent) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 20%, transparent 78%);
}

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: color-mix(in srgb, var(--brand-primary) 28%, transparent); color: var(--text-primary); }

/* Container */
.container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.section-padding { padding-top: 5.5rem; padding-bottom: 5.5rem; }

.bg-light {
    background: color-mix(in srgb, var(--bg-secondary) 72%, transparent);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
}

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

.text-gradient {
    background: var(--gradient-text);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 9s ease infinite;
}

/* --------------------------------------------------------------------------
   3. Buttons · spatial tactile modules
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #06b6d4, #8b5cf6, #4f46e5);
    background-size: 300% 300%;
    color: var(--text-white);
    box-shadow: var(--specular), 0 8px 22px -8px rgba(79, 70, 229, 0.55);
    position: relative;
    overflow: hidden;
    animation: gradientShift 9s ease infinite;
}

/* sheen sweep */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::after { left: 130%; }

.btn-primary:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: var(--specular), 0 14px 32px -8px rgba(79, 70, 229, 0.7);
}

.btn-primary:active { transform: translateY(-1px) scale(1.005); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: var(--specular), var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: color-mix(in srgb, var(--brand-primary) 45%, transparent);
    color: var(--brand-primary);
    box-shadow: var(--specular), var(--shadow-md);
}

.btn-lg { padding: 0.95rem 2rem; font-size: clamp(1rem, 1.6vw, 1.08rem); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* LTR arrow flip */
html[lang="en"] .btn-arrow { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   4. Section Headers & Micro-Pill Badges
   -------------------------------------------------------------------------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.05rem;
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    color: var(--brand-primary);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 22%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-primary) 8%, transparent), 0 0 22px color-mix(in srgb, var(--brand-primary) 16%, transparent);
}

.section-title {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-desc {
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.75;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.section-header { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   5. Header · Floating Glass Island Navbar (Fixed & Optimized)
   -------------------------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 1000;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--bg-glass) 62%, transparent);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), 0 14px 40px -14px rgba(15, 23, 42, 0.22);
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
}

.navbar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 2px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #8b5cf6, #10b981, #4f46e5);
    background-size: 300% 100%;
    animation: gradientShift 6s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
    box-shadow: 0 0 14px color-mix(in srgb, var(--brand-primary) 60%, transparent);
}

.navbar-header.scrolled {
    background: color-mix(in srgb, var(--bg-glass) 82%, transparent);
    box-shadow: var(--specular), 0 22px 50px -16px rgba(15, 23, 42, 0.34);
    transform: translateY(2px);
}

.navbar-header.scrolled::before { opacity: 1; }

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 1rem;
    transition: height var(--transition-normal);
}

.navbar-header.scrolled .navbar-container { height: 62px; }

/* منع الشعار من الانكماش والتداخل مع القائمة */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-normal);
    animation: glowPulse 3.5s ease-in-out infinite;
    flex-shrink: 0;
}

.logo:hover .logo-icon {
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 38px rgba(79, 70, 229, 0.65);
}

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

.brand-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.brand-sub {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* القائمة وترتيب الروابط */
.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-weight: 600;
    font-size: 0.84rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0.2rem;
    white-space: nowrap; /* منع انقسام الكلمات على سطرين */
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    box-shadow: 0 0 10px color-mix(in srgb, var(--brand-primary) 65%, transparent);
}

/* أزرار الإجراءات */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0; /* منع انكماش الأزرار */
}

.nav-cta {
    white-space: nowrap;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
}

.icon-btn, .lang-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.82rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--specular);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.icon-btn:hover, .lang-btn:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 45%, transparent);
    background: var(--bg-card);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: var(--specular), 0 8px 20px -6px color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 10px;
    box-shadow: var(--specular);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.hamburger-btn:hover { border-color: var(--brand-primary); }

.hamburger-btn span {
    width: 22px;
    height: 2.5px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background-color: var(--brand-primary); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background-color: var(--brand-primary); }

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: 9.5rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.28;
    z-index: -1;
    animation: float 9s ease-in-out infinite;
}

.shape-1 { width: 420px; height: 420px; background: var(--indigo); top: -110px; inset-inline-end: -90px; }
.shape-2 { width: 360px; height: 360px; background: var(--cyan); bottom: 40px; inset-inline-start: -100px; animation-delay: 3s; }
.shape-3 { width: 260px; height: 260px; background: var(--violet); top: 48%; inset-inline-start: 42%; animation-delay: 5s; }

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

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.15rem;
    background: color-mix(in srgb, var(--brand-primary) 9%, transparent);
    color: var(--brand-primary);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 2%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 24px color-mix(in srgb, var(--brand-primary) 16%, transparent);
}

.hero-title {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.35rem 0.25rem 0.35rem 1.1rem;
    border-inline-start: 1px solid var(--border-color);
}

.stat-item:first-child { padding-inline-start: 0; border-inline-start: none; }

.stat-number {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    font-weight: 900;
    color: var(--brand-primary);
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 0 26px color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

.stat-divider { display: none; }

.hero-visual { position: relative; }
.visual-card-wrapper { position: relative; }

.glass-card.main-card {
    background: linear-gradient(160deg, #0c1222, #060913 60%, #030712);
    color: #f8fafc;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12), 0 30px 70px -24px rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.glass-card.main-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(20rem 12rem at 85% -10%, rgba(6, 182, 212, 0.22), transparent 65%),
        radial-gradient(18rem 12rem at -10% 110%, rgba(139, 92, 246, 0.2), transparent 65%);
}

.card-header-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.dot.red { background-color: #ef4444; color: #ef4444; }
.dot.yellow { background-color: #f59e0b; color: #f59e0b; }
.dot.green { background-color: #10b981; color: #10b981; }

.card-title-text {
    margin-inline-start: auto;
    font-size: 0.72rem;
    font-family: ui-monospace, 'SF Mono', 'Courier New', monospace;
    color: #8595ad;
    letter-spacing: 0.04em;
}

.code-body {
    padding: 1.6rem;
    font-family: ui-monospace, 'SF Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.95;
    direction: ltr;
    text-align: left;
    position: relative;
    z-index: 1;
}

.code-line.tab { margin-left: 1.6rem; }
.code-keyword { color: #f472b6; font-weight: bold; }
.code-var { color: #38bdf8; }
.code-func { color: #c4b5fd; }
.code-prop { color: #fbbf24; }
.code-str { color: #34d399; }
.code-number { color: #fb923c; }

.floating-badge {
    position: absolute;
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), var(--shadow-lg);
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    animation: float 4.5s ease-in-out infinite;
}

.badge-top-right { top: -22px; inset-inline-end: -22px; }
.badge-bottom-left { bottom: -22px; inset-inline-start: -22px; animation-delay: 2.2s; }

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bg-blue { background: rgba(79, 70, 229, 0.16); color: #6366f1; }
.bg-green { background: rgba(16, 185, 129, 0.16); color: #10b981; }

.floating-badge strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.floating-badge p { font-size: 0.74rem; color: var(--text-muted); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* --------------------------------------------------------------------------
   7. About Section
   -------------------------------------------------------------------------- */
.about-images { position: relative; }

.main-img-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--specular), var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.main-img-box img { width: 100%; height: 430px; object-fit: cover; }

.experience-card {
    position: absolute;
    bottom: -25px;
    inset-inline-end: -25px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1.4rem 1.9rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--specular), 0 26px 50px -18px rgba(79, 70, 229, 0.65);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

html[lang="en"] .experience-card { inset-inline-end: auto; inset-inline-start: -25px; }

.exp-num { font-size: 2.4rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.exp-text { font-size: 0.88rem; font-weight: 700; line-height: 1.4; }

.about-features-list { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 2rem; }

.feature-item { display: flex; gap: 1rem; align-items: flex-start; }

.check-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--brand-primary) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 22%, transparent);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 0 16px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}

.feature-item h4 { font-size: 1.03rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.15rem; }
.feature-item p { font-size: 0.9rem; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.28) 50%, transparent 68%);
    opacity: 0;
    transform: translateX(-115%);
    transition: opacity 0.45s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: var(--specular), var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--brand-primary) 14%, transparent);
    border-color: color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

.service-card:hover::after { opacity: 1; transform: translateX(115%); }

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    box-shadow: var(--specular), 0 10px 24px -12px currentColor;
}

.icon-blue { background: rgba(79, 70, 229, 0.12); color: #4f46e5; }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.icon-rose { background: rgba(244, 63, 94, 0.12); color: #f43f5e; }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #06b6d4; }

.service-title { font-size: 1.16rem; font-weight: 800; margin-bottom: 0.65rem; color: var(--text-primary); letter-spacing: -0.01em; }
.service-desc { font-size: 0.93rem; color: var(--text-secondary); margin-bottom: 1.4rem; flex-grow: 1; line-height: 1.7; }

.service-link {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.service-link:hover { gap: 0.6rem; text-shadow: 0 0 16px color-mix(in srgb, var(--brand-primary) 45%, transparent); }

/* --------------------------------------------------------------------------
   9. Why Choose Us · Bento advantages
   -------------------------------------------------------------------------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
    margin-top: 2rem;
}

.adv-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), var(--shadow-sm);
    grid-column: span 3;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

.adv-card:nth-child(3), .adv-card:nth-child(4) { grid-column: span 3; }
.adv-card:nth-child(1) { grid-column: span 4; }
.adv-card:nth-child(2) { grid-column: span 2; }

.adv-card:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--specular), var(--shadow-lg); }

.adv-card::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    top: -70px;
    inset-inline-end: -50px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 26%, transparent), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.adv-card:hover::before { opacity: 1; }

.adv-number {
    font-size: 1.05rem;
    font-weight: 900;
    color: transparent;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
}

.adv-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 0.3rem; position: relative; }
.adv-card p { font-size: 0.85rem; color: var(--text-secondary); position: relative; }

.graphic-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.25rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--specular), var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.graphic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(16rem 10rem at 90% -15%, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 65%),
        radial-gradient(14rem 10rem at -15% 115%, color-mix(in srgb, var(--violet) 15%, transparent), transparent 65%);
}

.graphic-card h3 { font-size: 1.25rem; margin-bottom: 1.85rem; color: var(--text-primary); position: relative; letter-spacing: -0.01em; }

.progress-bar-group { margin-bottom: 1.4rem; position: relative; }

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.progress-track {
    width: 100%;
    height: 9px;
    background: color-mix(in srgb, var(--text-primary) 8%, transparent);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #8b5cf6, #4f46e5);
    background-size: 220% 100%;
    animation: gradientShift 5s ease infinite;
    border-radius: var(--radius-full);
    transition: width 1s ease-in-out;
    box-shadow: 0 0 14px color-mix(in srgb, var(--brand-primary) 55%, transparent);
}

/* --------------------------------------------------------------------------
   10. Portfolio
   -------------------------------------------------------------------------- */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.55rem 1.35rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--specular);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--brand-primary);
    border-color: color-mix(in srgb, var(--brand-primary) 45%, transparent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-glow), var(--specular);
}

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

.project-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--specular), var(--shadow-lg); }

.project-img { position: relative; height: 225px; overflow: hidden; }

.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }

.project-card:hover .project-img img { transform: scale(1.09); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.82), rgba(3, 7, 18, 0.4));
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-info { padding: 1.5rem; }

.project-cat {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-title { font-size: 1.2rem; font-weight: 800; margin: 0.35rem 0 0.5rem 0; color: var(--text-primary); letter-spacing: -0.01em; }
.project-desc { font-size: 0.9rem; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.testimonial-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover { transform: translateY(-5px) scale(1.012); box-shadow: var(--specular), var(--shadow-lg); }

.testimonial-card::before {
    content: '”';
    position: absolute;
    top: 0.35rem;
    inset-inline-end: 1.25rem;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: color-mix(in srgb, var(--brand-primary) 16%, transparent);
}

.stars { color: #f59e0b; font-size: 1.05rem; margin-bottom: 1rem; letter-spacing: 2px; text-shadow: 0 0 12px rgba(245, 158, 11, 0.45); }

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    position: relative;
}

.client-info { display: flex; align-items: center; gap: 0.85rem; }

.client-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.client-name { font-size: 1rem; font-weight: 800; color: var(--text-primary); }
.client-role { font-size: 0.8rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   12. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.85rem; }

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--specular), var(--shadow-sm);
    transition: all var(--transition-fast);
}

.faq-item:hover { box-shadow: var(--specular), var(--shadow-md); }

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    text-align: inherit;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--brand-primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-answer { max-height: 0; overflow: hidden; padding: 0 1.5rem; transition: max-height 0.35s ease-out, padding 0.35s ease-out; }
.faq-answer p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.75; padding-bottom: 1.25rem; }

.faq-item.active { border-color: color-mix(in srgb, var(--brand-primary) 4%, transparent); box-shadow: var(--specular), var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--brand-primary) 16%, transparent); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-answer { max-height: 220px; }

/* --------------------------------------------------------------------------
   13. Contact & Forms
   -------------------------------------------------------------------------- */
.contact-details { display: flex; flex-direction: column; gap: 1.35rem; margin-top: 2rem; }

.contact-detail-item { display: flex; gap: 1rem; align-items: center; }

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--brand-primary) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 2%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 18px color-mix(in srgb, var(--brand-primary) 14%, transparent);
    flex-shrink: 0;
}

.contact-detail-item h4 { font-size: 0.95rem; font-weight: 800; color: var(--text-primary); }
.contact-detail-item p { font-size: 0.9rem; color: var(--text-secondary); }

.contact-form-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--specular), var(--shadow-lg);
}

.form-group { margin-bottom: 1.2rem; }

.form-group label { display: block; font-size: 0.88rem; font-weight: 800; margin-bottom: 0.45rem; color: var(--text-primary); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-secondary) 72%, transparent);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 14%, transparent), 0 0 22px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: none;
    text-align: center;
    font-weight: 700;
}

.form-status.success { display: block; background-color: rgba(16, 185, 129, 0.13); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.form-status.error { display: block; background-color: rgba(239, 68, 68, 0.13); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: color-mix(in srgb, var(--bg-secondary) 78%, transparent);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

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

.footer-text { font-size: 0.9rem; color: var(--text-secondary); margin-top: 1rem; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: 0.7rem; }

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.06);
    box-shadow: var(--shadow-glow);
}

.footer-heading { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.2rem; color: var(--text-primary); }

.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-links a { font-size: 0.9rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--brand-primary); padding-inline-start: 0.3rem; }

.newsletter-form { display: flex; flex-direction: column; gap: 0.7rem; }

.newsletter-form input {
    padding: 0.78rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-form input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 14%, transparent); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. Responsive (Enhanced Breakpoints for Navbar)
   -------------------------------------------------------------------------- */
/* للشاشات المتوسطة واللابتوب قبل التحول للـ hamburger */
@media (max-width: 1280px) {
    .nav-list { gap: 0.5rem; }
    .nav-link { font-size: 0.78rem; padding: 0.35rem 0.1rem; }
    .nav-actions { gap: 0.45rem; }
    .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
    .icon-btn, .lang-btn { padding: 0.45rem 0.65rem; font-size: 0.78rem; }
}

/* تفعيل القائمة الجانبية فوراً عند الشاشات الأقل من 1100px لتجنب أي تداخل */
@media (max-width: 1100px) {
    html { scroll-padding-top: 92px; }

    .navbar-container { height: 66px; }

    .hamburger-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 92px;
        left: 14px;
        right: 14px;
        background: color-mix(in srgb, var(--bg-glass) 94%, transparent);
        backdrop-filter: blur(24px) saturate(190%);
        -webkit-backdrop-filter: blur(24px) saturate(190%);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 1.25rem 1.5rem;
        box-shadow: var(--specular), var(--shadow-lg);
        transform: translateY(-160%);
        transition: transform var(--transition-normal);
        max-height: 75vh;
        overflow-y: auto;
        display: block;
    }

    .nav-menu.active { transform: translateY(0); }

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
        align-items: stretch;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--border-light);
        font-size: 0.95rem;
    }

    .nav-link::after { display: none; }

    .nav-cta { display: none; }
    .lang-text { display: none; }
}

@media (max-width: 992px) {
    .section-grid,
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }

    .hero-visual { max-width: 560px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-card,
    .adv-card:nth-child(1),
    .adv-card:nth-child(2),
    .adv-card:nth-child(3),
    .adv-card:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 768px) {
    .hero-section { padding-top: 7.5rem; }

    .hero-stats { flex-wrap: wrap; gap: 1.1rem; }
    .stat-item { padding: 0.35rem 0.9rem; border-inline-start: 1px solid var(--border-color); }
    .stat-item:first-child { padding-inline-start: 0.9rem; border-inline-start: none; }

    .footer-grid { grid-template-columns: 1fr; }

    .badge-top-right, .badge-bottom-left { position: static; margin-top: 1rem; animation: none; }
    .badge-bottom-left { margin-top: 0.75rem; }

    .experience-card { bottom: -18px; inset-inline-end: 0; max-width: 240px; padding: 1rem 1.4rem; }
    html[lang="en"] .experience-card { inset-inline-start: 0; }
}

@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .contact-form-card, .graphic-card { padding: 1.5rem; }
}

/* --------------------------------------------------------------------------
   16. Keyframes & Scroll-Reveal
   -------------------------------------------------------------------------- */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(79, 70, 229, 0.3); }
    50% { box-shadow: 0 0 32px rgba(6, 182, 212, 0.52); }
}

@keyframes shimmer {
    from { background-position: -200% 0; }
    to { background-position: 200% 0; }
}

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

/* Scroll-reveal (IntersectionObserver in script.js) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}