/* ==========================================================================
   Mixora ERP — نظام التصميم (Design System)
   عربى RTL · خط Cairo · هوية نيلى/ذهبى
   ========================================================================== */
:root {
    --indigo-900: #12175e;
    --indigo-800: #1a237e;
    --indigo-700: #283593;
    --indigo-600: #3949ab;
    --indigo-500: #5c6bc0;
    --indigo-400: #7986cb;
    --gold: #ffd54f;
    --gold-deep: #ffb300;
    --green: #22c55e;
    --green-deep: #16a34a;

    --ink: #0f1230;
    --body: #3a3f5c;
    --muted: #6b7192;
    --line: #e7e9f5;
    --bg: #ffffff;
    --bg-soft: #f5f7fc;
    --bg-softer: #eef1fb;
    --white: #fff;

    --grad-brand: linear-gradient(135deg, #1a237e 0%, #3949ab 55%, #5c6bc0 100%);
    --grad-brand-deep: linear-gradient(140deg, #0d123f 0%, #1a237e 45%, #3949ab 100%);
    --grad-gold: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
    --grad-green: linear-gradient(135deg, #34d399 0%, #16a34a 100%);

    --radius: 18px;
    --radius-lg: 28px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 14px rgba(26, 35, 126, .08);
    --shadow: 0 18px 45px rgba(26, 35, 126, .12);
    --shadow-lg: 0 30px 70px rgba(15, 18, 48, .22);
    --shadow-gold: 0 14px 34px rgba(255, 179, 0, .35);
    --shadow-green: 0 14px 34px rgba(34, 197, 94, .32);

    --container: 1180px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 76px;
    scroll-behavior: smooth;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Cairo', system-ui, -apple-system, Segoe UI, Tahoma, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 800; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.section { padding: 96px 0; position: relative; }
.section-soft { background: var(--bg-soft); }

/* عناوين الأقسام */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 700; letter-spacing: .3px;
    color: var(--indigo-600);
    background: var(--bg-softer);
    border: 1px solid var(--line);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 58px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 900; margin-bottom: 14px; }
.section-head h2 .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* أزرار */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: inherit; font-weight: 800; font-size: 1.02rem;
    padding: 15px 30px; border-radius: 999px; border: none; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
    white-space: nowrap;
}
.btn-gold { background: var(--grad-gold); color: #4a2d00; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(255, 179, 0, .5); }
.btn-green { background: var(--grad-green); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(34, 197, 94, .48); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--indigo-700); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--indigo-500); color: var(--indigo-600); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.12rem; }
.btn-block { width: 100%; }

/* ============================ Navbar ============================ */
.nav {
    position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
    display: flex; align-items: center;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(26, 35, 126, .08); }
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 900; color: #fff; letter-spacing: -.5px; }
.nav.scrolled .brand { color: var(--indigo-800); }
.brand .dot { color: var(--gold); }
.brand .logo-mark {
    width: 40px; height: 40px; border-radius: 11px; background: var(--grad-gold);
    display: grid; place-items: center; color: #3a2400; font-weight: 900; font-size: 1.15rem;
    box-shadow: var(--shadow-gold);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255, 255, 255, .92); font-weight: 600; font-size: .98rem; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--gold); }
.nav.scrolled .nav-links a { color: var(--body); }
.nav.scrolled .nav-links a:hover { color: var(--indigo-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.6rem; }
.nav.scrolled .nav-toggle { color: var(--indigo-800); }

/* ============================ Hero ============================ */
.hero {
    position: relative; padding: calc(var(--header-h) + 70px) 0 110px;
    background: var(--grad-brand-deep); color: #fff; overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 55% at 85% 10%, rgba(255, 213, 79, .22), transparent 60%),
        radial-gradient(50% 50% at 10% 90%, rgba(92, 107, 192, .5), transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
    mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .9rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    padding: 8px 18px; border-radius: 999px; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero-badge .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 213, 79, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 213, 79, .6); } 70% { box-shadow: 0 0 0 12px rgba(255, 213, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 213, 79, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 900; line-height: 1.22; margin-bottom: 22px; letter-spacing: -.5px; }
.hero h1 .g { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.16rem; color: rgba(255, 255, 255, .9); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-mini .m { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero-mini .m i { color: var(--gold); font-style: normal; }

/* لوحة الهيرو (Mockup) */
.hero-visual { position: relative; }
.mock {
    background: rgba(255, 255, 255, .96); border-radius: var(--radius-lg); padding: 20px;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .5);
    transform: perspective(1400px) rotateY(6deg) rotateX(3deg); transition: transform .5s var(--ease);
}
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(2deg) rotateX(1deg); }
.mock-top { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.mock-top span { width: 11px; height: 11px; border-radius: 50%; background: #e0e3f0; }
.mock-top span:nth-child(1) { background: #ff6b6b; }
.mock-top span:nth-child(2) { background: #ffd93d; }
.mock-top span:nth-child(3) { background: #6bcb77; }
.mock-top .u { margin-inline-start: auto; height: 9px; width: 120px; border-radius: 6px; background: var(--bg-softer); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--bg-soft); border-radius: 14px; padding: 14px; text-align: center; border: 1px solid var(--line); }
.kpi .v { font-size: 1.35rem; font-weight: 900; color: var(--indigo-700); }
.kpi .l { font-size: .72rem; color: var(--muted); }
.mock-chart { height: 132px; background: var(--bg-soft); border-radius: 14px; border: 1px solid var(--line); padding: 14px; display: flex; align-items: flex-end; gap: 9px; }
.mock-chart .bar { flex: 1; border-radius: 7px 7px 0 0; background: var(--grad-brand); opacity: .85; animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { height: 0 !important; } }
.mock-rows { margin-top: 14px; display: grid; gap: 9px; }
.mock-rows .r { height: 11px; border-radius: 6px; background: var(--bg-softer); }
.mock-rows .r:nth-child(2) { width: 82%; }
.mock-rows .r:nth-child(3) { width: 64%; }
.float-card {
    position: absolute; background: #fff; border-radius: 16px; padding: 13px 17px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem; color: var(--ink);
    animation: floaty 4s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; color: #fff; }
.float-card.fc1 { top: -22px; inset-inline-start: -26px; }
.float-card.fc1 .ic { background: var(--grad-green); }
.float-card.fc2 { bottom: -20px; inset-inline-end: -18px; animation-delay: 1.5s; }
.float-card.fc2 .ic { background: var(--grad-gold); color: #3a2400; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================ Stats ============================ */
.stats-wrap { margin-top: -56px; position: relative; z-index: 5; }
.stats {
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
    border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat { padding: 34px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: none; }
.stat .num { font-size: 2.5rem; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: .96rem; margin-top: 4px; }

/* ============================ Modules ============================ */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px; position: relative; overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.mcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--indigo-600)); transform: scaleX(0); transform-origin: inline-start; transition: transform .35s var(--ease); }
.mcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.mcard:hover::before { transform: scaleX(1); }
.mcard .m-icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.7rem; margin-bottom: 18px; color: #fff;
    background: var(--accent, var(--indigo-600));
    box-shadow: 0 12px 26px color-mix(in srgb, var(--accent, #3949ab) 40%, transparent);
}
.mcard h3 { font-size: 1.25rem; margin-bottom: 9px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge-new { font-size: .66rem; font-weight: 800; color: #fff; background: var(--grad-green); padding: 3px 9px; border-radius: 999px; letter-spacing: .3px; }
.mcard p.desc { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.mcard ul { list-style: none; display: grid; gap: 7px; }
.mcard li { position: relative; padding-inline-start: 26px; font-size: .92rem; color: var(--body); }
.mcard li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent, #3949ab) 14%, #fff); color: var(--accent, var(--indigo-600)); font-size: .7rem; font-weight: 900; display: grid; place-items: center; }

/* ============================ Benefits ============================ */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { text-align: center; padding: 30px 20px; border-radius: var(--radius); transition: transform .3s var(--ease), background .3s; }
.benefit:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.benefit .b-icon { width: 66px; height: 66px; border-radius: 20px; background: var(--grad-brand); color: #fff; font-size: 1.7rem; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: var(--shadow-sm); }
.benefit h4 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .92rem; }

/* ============================ Showcase ============================ */
.showcase { background: var(--grad-brand-deep); color: #fff; border-radius: var(--radius-lg); padding: 60px; position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 0, rgba(255, 213, 79, .2), transparent 60%); }
.showcase .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.showcase h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 18px; }
.showcase p { color: rgba(255, 255, 255, .88); margin-bottom: 24px; }
.showcase .checks { display: grid; gap: 13px; }
.showcase .checks div { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.showcase .checks i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-style: normal; color: var(--gold); flex-shrink: 0; }
.ring-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ring { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 26px; text-align: center; backdrop-filter: blur(4px); }
.ring .rv { font-size: 2.1rem; font-weight: 900; color: var(--gold); }
.ring .rl { font-size: .9rem; color: rgba(255, 255, 255, .82); }

/* ============================ Clients ============================ */
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 18px; display: flex; align-items: center; gap: 14px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.client-logo {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; color: #fff;
    background: var(--accent, var(--indigo-600));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--accent, #3949ab) 38%, transparent);
    letter-spacing: -1px;
}
.client-logo.has-img { background: #fff; border: 1px solid var(--line); box-shadow: none; padding: 6px; }
.client-logo.has-img img { width: 100%; height: 100%; object-fit: contain; }
.client-info { min-width: 0; }
.client-name { font-weight: 800; color: var(--ink); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-industry { color: var(--muted); font-size: .82rem; }

/* ============================ Pricing ============================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.pop { border-color: transparent; background: var(--grad-brand-deep); color: #fff; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan.pop:hover { transform: scale(1.03) translateY(-6px); }
.plan .tag-pop { position: absolute; top: 20px; inset-inline-end: 24px; background: var(--grad-gold); color: #3a2400; font-weight: 800; font-size: .74rem; padding: 5px 13px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan.pop h3 { color: #fff; }
.plan .p-tag { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.plan.pop .p-tag { color: rgba(255, 255, 255, .8); }
.plan .p-price { font-size: 1.9rem; font-weight: 900; color: var(--indigo-800); margin-bottom: 4px; }
.plan.pop .p-price { color: var(--gold); }
.plan .p-per { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { position: relative; padding-inline-start: 27px; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 900; }
.plan.pop li::before { color: var(--gold); }

/* ============================ FAQ ============================ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: var(--indigo-500); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; color: var(--ink); font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-softer); display: grid; place-items: center; color: var(--indigo-600); font-weight: 900; transition: transform .3s, background .3s; flex-shrink: 0; }
.faq[open] summary .chev { transform: rotate(45deg); background: var(--indigo-600); color: #fff; }
.faq .a { padding: 0 24px 22px; color: var(--muted); }

/* ============================ Trial CTA / Form ============================ */
.cta-final { background: var(--grad-brand-deep); position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 15% 20%, rgba(255, 213, 79, .16), transparent 60%), radial-gradient(45% 60% at 90% 90%, rgba(92, 107, 192, .5), transparent 60%); }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.cta-copy { color: #fff; }
.cta-copy .eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--gold); }
.cta-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; margin-bottom: 18px; }
.cta-copy p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; margin-bottom: 26px; }
.cta-copy .cta-points { display: grid; gap: 14px; }
.cta-copy .cta-points div { display: flex; align-items: center; gap: 13px; font-weight: 600; }
.cta-copy .cta-points i { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-gold); color: #3a2400; display: grid; place-items: center; font-style: normal; flex-shrink: 0; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: #ef4444; }
.field input, .field select, .field textarea {
    font-family: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
    transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-500); background: #fff; box-shadow: 0 0 0 4px rgba(92, 107, 192, .14); }
.field textarea { resize: vertical; min-height: 90px; }
.field .val-err { color: #ef4444; font-size: .82rem; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; text-align: center; }

.alert { padding: 15px 20px; border-radius: 12px; font-weight: 700; margin-bottom: 22px; display: flex; align-items: center; gap: 11px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================ Footer ============================ */
.footer { background: var(--indigo-900); color: rgba(255, 255, 255, .78); padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p { font-size: .94rem; line-height: 1.9; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: rgba(255, 255, 255, .72); font-size: .94rem; transition: color .2s, padding .2s; }
.footer ul a:hover { color: var(--gold); padding-inline-start: 5px; }
.footer .contact-row { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: .94rem; }
.footer .contact-row .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.footer-bottom .socials a:hover { background: var(--grad-gold); color: #3a2400; transform: translateY(-3px); }

/* واتساب عائم */
.wa-float { position: fixed; bottom: 26px; inset-inline-start: 26px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 30px rgba(37, 211, 102, .5); z-index: 90; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }

/* ============================ Reveal on scroll ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================ Responsive ============================ */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 460px; margin-inline: auto; }
    .cta-grid, .showcase .inner { grid-template-columns: 1fr; gap: 34px; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-inline-start: none; }
    .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .plan.pop { transform: none; }
    .plan.pop:hover { transform: translateY(-6px); }
}
@media (max-width: 680px) {
    .section { padding: 66px 0; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open { display: flex; position: absolute; top: var(--header-h); inset-inline: 12px; flex-direction: column; background: #fff; padding: 18px; border-radius: 16px; box-shadow: var(--shadow); gap: 16px; }
    .nav-links.open a { color: var(--body); }
    .modules-grid, .benefits, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .showcase { padding: 40px 26px; }
    .form-card { padding: 26px; }
    .hero-actions .btn { width: 100%; }
}
