/* ==========================================
   قافلة الجزيرة — نظام ضمان البطاريات
   Landing Page — Professional Redesign
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --l-primary: #fea500;
    --l-primary-light: #ffc04d;
    --l-primary-dark: #e08e00;
    --l-primary-soft: rgba(254, 165, 0, 0.12);
    --l-ink: #0d1117;
    --l-ink-2: #161b22;
    --l-ink-3: #1f2733;
    --l-text: #1f2937;
    --l-text-soft: #5b6675;
    --l-muted: #94a3b8;
    --l-line: #eceef1;
    --l-bg: #ffffff;
    --l-bg-soft: #f7f8fa;
    --l-radius: 16px;
    --l-radius-lg: 24px;
    --l-radius-xl: 32px;
    --l-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --l-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.18);
    --l-shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
    --l-shadow-brand: 0 20px 45px -15px rgba(254, 165, 0, 0.55);
    --l-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
.main-content { overflow-x: clip; }

section.hero,
section.section {
    font-family: 'Cairo', sans-serif;
}

.section {
    padding: 100px 0;
    position: relative;
}
/* soft, professional transition into shaded sections */
.section.section-alt {
    background: linear-gradient(180deg, #ffffff 0%, var(--l-bg-soft) 7%, var(--l-bg-soft) 100%);
}

.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: var(--l-primary-soft);
    color: var(--l-primary-dark);
    border: 1px solid rgba(254, 165, 0, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 22px;
}
.section-badge::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--l-primary);
    box-shadow: 0 0 0 4px var(--l-primary-soft);
}
.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 800;
    color: var(--l-ink);
    line-height: 1.45;
    letter-spacing: normal;
}
.section-description {
    margin-top: 14px;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--l-text-soft);
    max-width: 600px;
    margin-inline: auto;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    padding: 92px 0 200px;
    background:
        radial-gradient(1100px 520px at 82% -8%, rgba(254, 165, 0, 0.22), transparent 60%),
        radial-gradient(760px 520px at 8% 110%, rgba(254, 165, 0, 0.10), transparent 55%),
        linear-gradient(160deg, #0d1117 0%, #131a24 55%, #0d1117 100%);
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 100%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e7ebf1;
    margin-bottom: 26px;
}
.hero-eyebrow b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--l-primary);
    color: #1a1200;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.hero-title {
    font-size: clamp(2.1rem, 4.8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: normal;
    margin-bottom: 24px;
}
.hero-title span {
    position: relative;
    color: var(--l-primary);
    white-space: nowrap;
}
.hero-title span::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 6px;
    height: 14px;
    background: rgba(254, 165, 0, 0.22);
    border-radius: 4px;
    z-index: -1;
}
.hero-description {
    font-size: 1.12rem;
    line-height: 2;
    color: #c3ccd8;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
}
.hero .btn-primary {
    background: var(--l-primary);
    color: #1a1200;
    border: none;
    padding: 15px 32px;
    border-radius: 14px;
    font-weight: 800;
    box-shadow: var(--l-shadow-brand);
    transition: transform 0.25s var(--l-ease), box-shadow 0.25s var(--l-ease), background 0.25s;
}
.hero .btn-primary:hover {
    transform: translateY(-3px);
    background: var(--l-primary-light);
    box-shadow: 0 26px 55px -15px rgba(254, 165, 0, 0.7);
}
.hero .btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 15px 30px;
    border-radius: 14px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    transition: transform 0.25s var(--l-ease), background 0.25s, border-color 0.25s;
}
.hero .btn-outline-light:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Trust row inside hero */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    color: #aeb8c6;
    font-size: 0.9rem;
    font-weight: 600;
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.hero-trust-item svg { width: 20px; height: 20px; color: var(--l-primary); flex-shrink: 0; }
.hero-trust .divider { width: 1px; height: 22px; background: rgba(255,255,255,0.14); }

/* Hero visual */
.hero-image { display: flex; justify-content: center; }
.hero-illustration {
    position: relative;
    width: 340px;
    height: 340px;
    display: grid;
    place-items: center;
}
.hero-orb {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 210deg, rgba(254,165,0,0.0), rgba(254,165,0,0.35), rgba(254,165,0,0.0));
    filter: blur(10px);
    animation: spin 14s linear infinite;
}
.hero-ring {
    position: absolute;
    border: 1px solid rgba(254, 165, 0, 0.25);
    border-radius: 50%;
}
.hero-ring.r1 { inset: 6%; }
.hero-ring.r2 { inset: 20%; border-color: rgba(254,165,0,0.18); }
.hero-ring.r3 { inset: 34%; border-color: rgba(255,255,255,0.08); }
.battery-icon {
    position: relative;
    z-index: 3;
    width: 168px; height: 168px;
    display: grid; place-items: center;
    color: var(--l-primary);
    background: radial-gradient(circle at 35% 30%, #202a37, #0f141c);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 40px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -20px rgba(0,0,0,0.7);
}
.battery-icon svg { width: 92px; height: 92px; }
.shield-badge {
    position: absolute;
    z-index: 4;
    bottom: 40px; left: 30px;
    width: 68px; height: 68px;
    display: grid; place-items: center;
    color: var(--l-primary);
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--l-shadow-lg);
    animation: float 4s ease-in-out infinite;
}
.shield-badge svg { width: 40px; height: 40px; }
.hero-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.95);
    color: var(--l-ink);
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--l-shadow-lg);
}
.hero-chip svg { width: 18px; height: 18px; color: #22c55e; }
.hero-chip.chip-top { top: 22px; right: 6px; animation: float 5s ease-in-out infinite; }
.hero-chip.chip-bottom { bottom: 8px; right: 40px; animation: float 4.5s ease-in-out infinite 0.6s; }

/* ==========================================
   STATS — premium dark glass panel (overlaps hero)
   ========================================== */
.stats-strip {
    position: relative;
    z-index: 5;
    margin-top: -132px;
}
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 940px;
    margin: 0 auto;
}
.stat-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
    border: 1px solid #f1ead9;
    border-radius: 18px;
    padding: 24px 16px 22px;
    text-align: center;
    box-shadow: 0 16px 34px -20px rgba(15, 23, 42, 0.20), 0 2px 6px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.35s var(--l-ease), box-shadow 0.35s var(--l-ease), border-color 0.35s;
}
/* top accent bar */
.stat-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--l-primary), var(--l-primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--l-ease);
    transition-delay: var(--rd, 0s);
    z-index: 3;
}
.reveal-group.in .stat-card::before { transform: scaleX(1); }
/* professional shine sweep */
.stat-card::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: -65%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-18deg);
    animation: cardShine 5.5s ease-in-out infinite;
    animation-delay: calc(var(--rd, 0s) * 4);
    z-index: 2;
    pointer-events: none;
}
.stat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 52px -24px rgba(15, 23, 42, 0.30);
    border-color: rgba(254, 165, 0, 0.45);
}
/* faint watermark icon */
.stat-card .stat-wm {
    position: absolute;
    bottom: -18px;
    inset-inline-start: -12px;
    width: 98px; height: 98px;
    color: rgba(254, 165, 0, 0.06);
    z-index: 0;
    pointer-events: none;
}
.stat-card .stat-ic {
    position: relative;
    z-index: 1;
    width: 50px; height: 50px;
    margin: 0 auto 14px;
    display: grid; place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff2d6, #ffe1a6);
    color: var(--l-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(254, 165, 0, 0.22), 0 8px 18px -8px rgba(254, 165, 0, 0.5);
    animation: icGlow 3.2s ease-in-out infinite;
    animation-delay: calc(var(--rd, 0s) * 3);
    transition: transform 0.35s var(--l-ease);
}
.stat-card:hover .stat-ic { transform: translateY(-3px) scale(1.08); }
.stat-card .stat-ic svg { width: 24px; height: 24px; }
.stat-number {
    position: relative;
    z-index: 1;
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    background: linear-gradient(180deg, #fea500, #de7c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    position: relative;
    z-index: 1;
    margin-top: 7px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--l-text-soft);
}

/* ==========================================
   FEATURES
   ========================================== */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 40px 32px;
    overflow: hidden;
    transition: transform 0.3s var(--l-ease), box-shadow 0.3s var(--l-ease), border-color 0.3s;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--l-primary), var(--l-primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--l-ease);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--l-shadow-lg);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 68px; height: 68px;
    display: grid; place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff6e6, #ffe9c2);
    color: var(--l-primary-dark);
    margin-bottom: 24px;
    box-shadow: inset 0 0 0 1px rgba(254,165,0,0.18);
    transition: transform 0.35s var(--l-ease);
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }
.feature-icon svg { width: 34px; height: 34px; }
.feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--l-ink);
    margin-bottom: 12px;
}
.feature-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--l-text-soft);
}

/* ==========================================
   HOW IT WORKS — clean numbered process cards
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.step-card {
    position: relative;
    text-align: start;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 28px 26px 26px;
    box-shadow: var(--l-shadow-sm);
    overflow: hidden;
    transition: transform 0.35s var(--l-ease), box-shadow 0.35s var(--l-ease), border-color 0.35s;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--l-shadow-lg);
    border-color: rgba(254, 165, 0, 0.4);
}
/* top accent that draws in with the section */
.step-accent {
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--l-primary), var(--l-primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.55s var(--l-ease);
    transition-delay: var(--rd, 0s);
}
.steps-grid.in .step-accent { transform: scaleX(1); }
/* chevron connector between cards (flow: right -> left) */
.step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    left: -19px;
    width: 9px; height: 9px;
    border: solid var(--l-primary);
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
    opacity: 0.5;
    z-index: 3;
}
.step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.step-no {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--l-primary), var(--l-primary-dark));
    color: #2a1c00;
    font-size: 1.55rem;
    font-weight: 900;
    box-shadow: 0 12px 26px -10px rgba(254, 165, 0, 0.75);
}
.step-ic {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff2d6, #ffe1a6);
    color: var(--l-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(254, 165, 0, 0.2);
    transition: transform 0.35s var(--l-ease);
}
.step-card:hover .step-ic { transform: rotate(-6deg) scale(1.08); }
.step-ic svg { width: 26px; height: 26px; }
.step-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--l-ink);
    margin-bottom: 10px;
}
.step-text {
    font-size: 0.96rem;
    line-height: 1.85;
    color: var(--l-text-soft);
}

/* ==========================================
   CTA BAND
   ========================================== */
.cta-band { padding: 84px 0; }
.cta-inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--l-radius-xl);
    padding: 62px 56px;
    background: linear-gradient(135deg, var(--l-primary) 0%, #ff8a00 100%);
    box-shadow: var(--l-shadow-brand);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(400px 200px at 90% 10%, rgba(255,255,255,0.28), transparent 60%),
        radial-gradient(300px 200px at 5% 100%, rgba(0,0,0,0.12), transparent 60%);
    pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #201400;
    line-height: 1.4;
    letter-spacing: normal;
}
.cta-text p {
    margin-top: 12px;
    font-size: 1.08rem;
    color: rgba(32, 20, 0, 0.75);
    font-weight: 600;
}
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-btn-dark {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--l-ink);
    color: #fff;
    padding: 15px 32px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.25s var(--l-ease), box-shadow 0.25s;
    box-shadow: 0 16px 30px -12px rgba(0,0,0,0.45);
}
.cta-btn-dark:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(0,0,0,0.55); }
.cta-btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.25);
    color: #201400;
    border: 1px solid rgba(32,20,0,0.25);
    padding: 15px 30px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.25s var(--l-ease), background 0.25s;
}
.cta-btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.4); }

/* ==========================================
   AGENTS
   ========================================== */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.agent-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 26px 24px;
    box-shadow: var(--l-shadow-sm);
    transition: transform 0.3s var(--l-ease), box-shadow 0.3s var(--l-ease), border-color 0.3s;
}
.agent-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--l-primary), var(--l-primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--l-ease);
}
.reveal-group.in .agent-card::before { transform: scaleX(1); }
.agent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--l-shadow-lg);
    border-color: rgba(254,165,0,0.4);
}
.agent-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--l-line);
}
.agent-avatar {
    position: relative;
    width: 56px; height: 56px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--l-primary), var(--l-primary-dark));
    color: #2a1c00;
    font-size: 1.45rem;
    font-weight: 900;
    box-shadow: 0 10px 22px -10px rgba(254,165,0,0.8);
}
/* verified badge */
.agent-avatar::after {
    content: "";
    position: absolute;
    bottom: -5px; inset-inline-end: -5px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #22c55e center/12px no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    border: 2.5px solid #fff;
    box-shadow: 0 2px 6px rgba(34,197,94,0.5);
}
.agent-info { min-width: 0; }
.agent-info h4 {
    font-size: 1.1rem; font-weight: 800; color: var(--l-ink); margin-bottom: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.agent-info p {
    font-size: 0.8rem; font-weight: 700;
    color: #16a34a;
    display: inline-flex; align-items: center; gap: 6px;
}
.agent-info p::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}
.agent-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; flex: 1; }
.agent-detail {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.92rem;
    color: var(--l-text-soft);
    line-height: 1.6;
}
.agent-detail .d-ic {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: var(--l-primary-soft);
    color: var(--l-primary-dark);
}
.agent-detail .d-ic svg { width: 15px; height: 15px; }
.agent-detail span {
    padding-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.agent-detail span[dir="ltr"] { text-align: right; }
.agent-actions { display: flex; gap: 10px; }
.agent-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s var(--l-ease), background 0.2s, color 0.2s;
}
.agent-btn svg { width: 16px; height: 16px; }
.agent-btn-primary { background: var(--l-ink); color: #fff; }
.agent-btn-primary:hover { background: var(--l-primary); color: #1a1200; transform: translateY(-2px); }
.agent-btn-outline { background: var(--l-bg-soft); color: var(--l-text); border: 1px solid var(--l-line); }
.agent-btn-outline:hover { background: #fff; border-color: var(--l-primary); color: var(--l-primary-dark); transform: translateY(-2px); }
.agents-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--l-muted);
    font-weight: 600;
}
.agents-more { text-align: center; margin-top: 48px; }
.agents-more .btn { padding: 14px 34px; border-radius: 14px; }

/* ==========================================
   MAP / LOCATIONS — branches
   ========================================== */
.map-shell {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 26px;
    align-items: stretch;
}
.map-container {
    position: relative;
    border-radius: var(--l-radius-lg);
    overflow: hidden;
    box-shadow: var(--l-shadow);
    border: 1px solid var(--l-line);
    min-height: 460px;
}
.map-container iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(1.05); }
.map-badge {
    position: absolute;
    top: 18px; inset-inline-end: 18px;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--l-ink);
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 10px 26px -10px rgba(15, 23, 42, 0.4);
}
.map-badge svg { width: 16px; height: 16px; color: var(--l-primary); }

.map-info { display: flex; flex-direction: column; gap: 14px; }
.map-info-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius);
    padding: 22px;
    box-shadow: var(--l-shadow-sm);
    transition: transform 0.3s var(--l-ease), box-shadow 0.3s var(--l-ease), border-color 0.3s;
}
.map-info-card::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    inset-inline-start: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--l-primary), var(--l-primary-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--l-ease);
}
.map-info-card:hover::before { transform: scaleY(1); }
.map-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--l-shadow);
    border-color: rgba(254, 165, 0, 0.35);
}
.map-info-icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff2d6, #ffe1a6);
    color: var(--l-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(254, 165, 0, 0.2);
    transition: transform 0.3s var(--l-ease);
}
.map-info-card:hover .map-info-icon { transform: scale(1.06); }
.map-info-icon svg { width: 25px; height: 25px; }
.map-info-content h4 { font-size: 1.06rem; font-weight: 800; color: var(--l-ink); margin-bottom: 6px; }
.map-info-content p, .map-info-content a { font-size: 0.95rem; line-height: 1.75; color: var(--l-text-soft); }
.map-info-content a { font-weight: 700; color: var(--l-primary-dark); }
/* directions button fills the column */
.map-directions {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: var(--l-radius);
    background: var(--l-ink);
    color: #fff;
    font-weight: 800;
    font-size: 0.98rem;
    box-shadow: 0 16px 30px -14px rgba(15, 23, 42, 0.5);
    transition: transform 0.25s var(--l-ease), background 0.25s;
}
.map-directions:hover { transform: translateY(-3px); background: var(--l-primary); color: #2a1c00; }
.map-directions svg { width: 18px; height: 18px; }

/* ==========================================
   Reveal animation
   ========================================== */
/* Single reveal (direction variants) */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.75s var(--l-ease), transform 0.75s var(--l-ease);
    transition-delay: var(--rd, 0s);
    will-change: opacity, transform;
}
.reveal.rv-left  { transform: translateX(46px); }
.reveal.rv-right { transform: translateX(-46px); }
.reveal.rv-zoom  { transform: scale(0.9); }
.reveal.rv-blur  { filter: blur(10px); transition: opacity 0.75s var(--l-ease), transform 0.75s var(--l-ease), filter 0.75s var(--l-ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Staggered group — children animate in sequence when the group enters view */
.reveal-group > * {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.65s var(--l-ease), transform 0.65s var(--l-ease);
    will-change: opacity, transform;
}
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.in > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-group.in > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-group.in > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-group.in > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-group.in > *:nth-child(6) { transition-delay: 0.50s; }

body.no-anim .reveal,
body.no-anim .reveal-group > * { opacity: 1 !important; transform: none !important; filter: none !important; }
body.no-anim .steps-grid::before { transform: scaleX(1) !important; }
body.no-anim .stat-card::before, body.no-anim .step-accent, body.no-anim .agent-card::before { transform: scaleX(1) !important; }
body.no-anim .hero { min-height: 620px !important; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes navDrop { from { transform: translateY(-140%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes borderSpin { to { transform: rotate(360deg); } }
@property --sa { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes statBorder { to { --sa: 360deg; } }
@keyframes stepPulseTravel {
    0% { right: 12.5%; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { right: 87.5%; opacity: 0; }
}
@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.12); opacity: 0; }
}
@keyframes sheen {
    0% { left: -45%; }
    55%, 100% { left: 115%; }
}
@keyframes cardShine {
    0% { left: -65%; }
    24%, 100% { left: 135%; }
}
@keyframes icGlow {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(254,165,0,0.22), 0 8px 18px -8px rgba(254,165,0,0.5); }
    50% { box-shadow: inset 0 0 0 1px rgba(254,165,0,0.38), 0 12px 24px -6px rgba(254,165,0,0.8); }
}

/* ==========================================
   Floating glass navbar (landing page only)
   ========================================== */
.landing-page .header {
    background: transparent;
    box-shadow: none;
    height: auto;
    top: 18px;
    padding: 0 16px;
    transition: top 0.4s var(--l-ease), transform 0.55s var(--l-ease);
    will-change: transform;
}
.landing-page .header .container {
    max-width: 1160px;
    padding: 9px 14px 9px 24px;
    border-radius: 999px;
    background: rgba(15, 20, 28, 0.42);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 44px -18px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.4s var(--l-ease), border-color 0.4s var(--l-ease), box-shadow 0.4s var(--l-ease), padding 0.4s var(--l-ease);
    animation: navDrop 0.8s var(--l-ease) both;
}

/* nav links — light over the dark hero */
.landing-page .header .nav-menu a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    padding: 6px 2px;
}
.landing-page .header .nav-menu a:hover,
.landing-page .header .nav-menu a.active { color: #fff; }
.landing-page .header .nav-menu a::after {
    content: "";
    position: absolute;
    right: 0; left: 0; bottom: -3px;
    height: 2px;
    border-radius: 2px;
    background: var(--l-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--l-ease);
}
.landing-page .header .nav-menu a:hover::after,
.landing-page .header .nav-menu a.active::after { transform: scaleX(1); }

.landing-page .header .header-cta {
    box-shadow: 0 12px 26px -12px rgba(254, 165, 0, 0.85);
}
.landing-page .header .mobile-toggle span { background: #fff; }

/* Scrolled — morph to light frosted pill */
.landing-page .header.scrolled { top: 10px; }
.landing-page .header.scrolled .container {
    padding: 7px 12px 7px 24px;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 44px -20px rgba(15, 23, 42, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.landing-page .header.scrolled .nav-menu a { color: var(--l-text); }
.landing-page .header.scrolled .nav-menu a:hover,
.landing-page .header.scrolled .nav-menu a.active { color: var(--l-primary-dark); }
.landing-page .header.scrolled .mobile-toggle span { background: var(--l-ink); }

@media (max-width: 640px) {
    .landing-page .header { top: 12px; padding: 0 12px; }
    .landing-page .header.scrolled { top: 8px; }
    .landing-page .header .container { padding: 8px 12px 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-page .header .container { animation: none; }
    .landing-page .header, .landing-page .header .container { transition: none; }
    .stats-panel::before, .steps-pulse, .step-num::after { animation: none; }
    .stat-card::after, .stat-card .stat-ic { animation: none; }
    .steps-pulse { display: none; }
}

/* ==========================================
   FEATURES — Bento Grid
   ========================================== */
.features { position: relative; overflow: hidden; }
.features::before,
.features::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.features::before {
    width: 520px; height: 520px;
    top: -180px; right: -160px;
    background: radial-gradient(circle, rgba(254,165,0,0.12), transparent 70%);
}
.features::after {
    width: 460px; height: 460px;
    bottom: -200px; left: -140px;
    background: radial-gradient(circle, rgba(59,130,246,0.06), transparent 70%);
}
.features .container { position: relative; z-index: 1; }

.bento {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-areas:
        "feat b c"
        "feat d e";
    gap: 22px;
}

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 30px;
    overflow: hidden;
    transition: transform 0.35s var(--l-ease), box-shadow 0.35s var(--l-ease), border-color 0.35s;
}
.bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 220px at var(--mx, 50%) -10%, rgba(254,165,0,0.14), transparent 62%);
    opacity: 0;
    transition: opacity 0.4s var(--l-ease);
    pointer-events: none;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--l-shadow-lg); border-color: rgba(254,165,0,0.35); }
.bento-card:hover::after { opacity: 1; }

.b-icon {
    position: relative;
    z-index: 1;
    width: 60px; height: 60px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff6e6, #ffe6bd);
    color: var(--l-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(254,165,0,0.2);
    margin-bottom: 20px;
    transition: transform 0.35s var(--l-ease);
}
.b-icon svg { width: 30px; height: 30px; }
.bento-card:hover .b-icon { transform: rotate(-8deg) scale(1.08); }
.b-title { position: relative; z-index: 1; font-size: 1.25rem; font-weight: 800; color: var(--l-ink); margin-bottom: 10px; }
.b-text { position: relative; z-index: 1; font-size: 0.98rem; line-height: 1.85; color: var(--l-text-soft); }
.b-tag { position: relative; z-index: 1; margin-top: auto; padding-top: 18px; }
.b-tag span {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--l-primary-soft); color: var(--l-primary-dark);
    font-weight: 700; font-size: 0.82rem;
}
.b-tag span svg { width: 15px; height: 15px; }

/* Featured dark card */
.b-feat {
    grid-area: feat;
    color: #fff;
    padding: 40px;
    background:
        radial-gradient(600px 320px at 82% -12%, rgba(254,165,0,0.30), transparent 60%),
        linear-gradient(160deg, #131a22 0%, #0b0f14 100%);
    border: 1px solid rgba(255,255,255,0.08);
}
.b-feat:hover { border-color: rgba(254,165,0,0.4); box-shadow: 0 44px 80px -30px rgba(0,0,0,0.65); }
.b-feat::after { background: radial-gradient(460px 260px at var(--mx, 50%) -10%, rgba(254,165,0,0.20), transparent 62%); }
.b-feat .b-icon {
    width: 70px; height: 70px;
    background: linear-gradient(145deg, var(--l-primary), var(--l-primary-dark));
    color: #1a1200;
    box-shadow: var(--l-shadow-brand);
}
.b-feat .b-icon svg { width: 36px; height: 36px; }
.b-feat .b-title { color: #fff; font-size: 1.65rem; }
.b-feat .b-text { color: #c3ccd8; font-size: 1.05rem; }
.b-badge {
    position: absolute;
    top: 24px; left: 24px;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 15px; border-radius: 999px;
    background: var(--l-primary); color: #1a1200;
    font-size: 0.76rem; font-weight: 800;
    box-shadow: 0 8px 20px -8px rgba(254,165,0,0.8);
}
.b-badge svg { width: 14px; height: 14px; }
.b-list {
    position: relative; z-index: 1;
    list-style: none; margin-top: 24px;
    display: flex; flex-direction: column; gap: 13px;
}
.b-list li { display: flex; align-items: center; gap: 11px; color: #dbe2ea; font-weight: 600; font-size: 1rem; }
.b-list li svg { width: 22px; height: 22px; color: var(--l-primary); flex-shrink: 0; }
.b-feat-glyph {
    position: absolute;
    bottom: -46px; left: -30px;
    width: 240px; height: 240px;
    color: rgba(254,165,0,0.07);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 992px) {
    .bento {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "feat feat"
            "b c"
            "d e";
    }
}
@media (max-width: 640px) {
    .bento {
        grid-template-columns: 1fr;
        grid-template-areas: "feat" "b" "c" "d" "e";
    }
    .b-feat { padding: 32px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-orb, .shield-badge, .hero-chip { animation: none; }
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 992px) {
    .hero { padding: 72px 0 180px; }
    .hero .container { grid-template-columns: 1fr; gap: 44px; text-align: center; }
    .hero-description { margin-inline: auto; }
    .hero-buttons, .hero-trust { justify-content: center; }
    .hero-image { order: -1; }
    .stats-cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .features-grid-3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .step-card::after { display: none; }
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .map-shell { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    /* الهيرو: ارتفاع طبيعي + مساحة تكفي للقائمة العائمة */
    .hero { min-height: auto !important; padding: 104px 0 150px; }
    .map-container, .map-container iframe { min-height: 330px; }
    .b-feat { padding: 30px 24px; }
    /* على الجوال نعرض 4 وكلاء فقط لتقصير الصفحة */
    .agents-grid .agent-card:nth-child(n+5) { display: none; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 38px; }
    .section-title { font-size: 1.65rem; line-height: 1.5; }
    .section-description { font-size: 0.98rem; line-height: 1.9; }
    .section-badge { font-size: 0.76rem; padding: 6px 14px; margin-bottom: 16px; }

    /* الهيرو */
    .hero { padding: 100px 0 125px; }
    .hero .container { gap: 26px; }
    .hero-eyebrow { font-size: 0.76rem; margin-bottom: 20px; padding: 6px 12px 6px 6px; }
    .hero-eyebrow b { font-size: 0.7rem; padding: 3px 9px; }
    .hero-title { font-size: 1.95rem; line-height: 1.45; margin-bottom: 16px; }
    .hero-title span { white-space: normal; }
    .hero-description { font-size: 0.98rem; line-height: 1.95; margin-bottom: 26px; }
    .hero-buttons { flex-direction: column; gap: 12px; margin-bottom: 30px; }
    .hero-buttons .btn { width: 100%; padding: 15px 20px; font-size: 0.98rem; }
    .hero-trust { flex-direction: column; align-items: center; gap: 12px; font-size: 0.85rem; }
    .hero-trust .divider { display: none; }
    .hero-illustration { width: 240px; height: 240px; }
    .battery-icon { width: 124px; height: 124px; border-radius: 32px; }
    .battery-icon svg { width: 70px; height: 70px; }
    .shield-badge { width: 54px; height: 54px; bottom: 30px; left: 16px; }
    .shield-badge svg { width: 30px; height: 30px; }
    .hero-chip { font-size: 0.74rem; padding: 8px 11px; }

    /* الإحصائيات */
    .stats-strip { margin-top: -95px; }
    .stats-cards { gap: 12px; }
    .stat-card { padding: 18px 10px 16px; border-radius: 16px; }
    .stat-number { font-size: 1.85rem; }
    .stat-card .stat-ic { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 9px; }
    .stat-card .stat-ic svg { width: 21px; height: 21px; }
    .stat-label { font-size: 0.78rem; margin-top: 5px; }
    .stat-card .stat-wm { width: 78px; height: 78px; }

    /* المميزات */
    .bento { gap: 14px; }
    .bento-card { padding: 24px 20px; border-radius: 18px; }
    .b-feat { padding: 28px 22px; }
    .b-feat .b-title { font-size: 1.3rem; }
    .b-feat .b-text { font-size: 0.97rem; }
    .b-title { font-size: 1.14rem; }
    .b-text { font-size: 0.94rem; }
    .b-list li { font-size: 0.93rem; gap: 9px; }
    .b-icon { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px; }
    .b-icon svg { width: 26px; height: 26px; }

    /* الخطوات */
    .steps-grid { grid-template-columns: 1fr; gap: 14px; }
    .step-card { padding: 22px 20px; border-radius: 18px; }
    .step-head { margin-bottom: 16px; }
    .step-no { width: 46px; height: 46px; font-size: 1.35rem; border-radius: 14px; }
    .step-ic { width: 46px; height: 46px; border-radius: 14px; }
    .step-title { font-size: 1.12rem; }
    .step-text { font-size: 0.93rem; }

    /* شريط الدعوة */
    .cta-band { padding: 62px 0; }
    .cta-inner { padding: 34px 22px; flex-direction: column; text-align: center; border-radius: 24px; }
    .cta-actions { justify-content: center; width: 100%; flex-direction: column; }
    .cta-btn-dark, .cta-btn-ghost { width: 100%; justify-content: center; padding: 15px 20px; }

    /* الوكلاء */
    .agents-grid { grid-template-columns: 1fr; gap: 14px; }
    .agent-card { padding: 22px 20px; }
    .agents-more { margin-top: 32px; }
    .agents-more .btn { width: 100%; }

    /* الفروع */
    .map-shell { gap: 16px; }
    .map-container, .map-container iframe { min-height: 280px; }
    .map-badge { font-size: 0.78rem; padding: 8px 13px; top: 12px; }
    .map-info-card { padding: 18px; border-radius: 15px; }
    .map-info-icon { width: 46px; height: 46px; border-radius: 13px; }
    .map-directions { padding: 15px; }
}

@media (max-width: 400px) {
    .hero-title { font-size: 1.7rem; }
    .stats-cards { gap: 10px; }
    .stat-card { padding: 16px 8px 14px; }
    .stat-number { font-size: 1.65rem; }
    .stat-label { font-size: 0.72rem; }
    .section-title { font-size: 1.5rem; }
    .landing-page .header .header-cta { padding: 9px 16px; font-size: 0.85rem; }
}
