/* ============================================================
   GhostPatch Smart Solutions — the public homepage (home.html)

   A software company's front page: a dark hero with the product
   itself (an illustrated dashboard and phone, built in HTML so it
   translates and stays sharp), then light sections that explain the
   platform — connected, solution by solution, by industry — and
   dark bands for the "why" and the call to action.

   Everything is namespaced under .ss-home; the brand purple comes from
   the GhostPatch logo (see brand.css), with a cyan second accent for
   the "smart" gradient. Logical properties throughout, so the Arabic
   page mirrors cleanly.
   ============================================================ */

.ss-home {
    --ss-ink: #0B0820;
    --ss-ink-2: #120D2E;
    --ss-ink-3: #1A1340;
    --ss-paper: #FFFFFF;
    --ss-soft: #F6F5FC;
    --ss-text: #16122B;
    --ss-muted: #5E5A78;
    --ss-mist: #B9B3D6;
    --ss-line: #E7E4F2;
    --ss-line-dark: rgba(185, 179, 214, 0.16);
    --ss-purple: #6B4FE0;
    --ss-purple-2: #8C74F5;
    --ss-purple-3: #B3A2FA;
    --ss-cyan: #22D3EE;
    --ss-grad: linear-gradient(120deg, #9B85FF 0%, #6B4FE0 45%, #22D3EE 100%);
    --ss-grad-soft: linear-gradient(120deg, rgba(107, 79, 224, 0.12), rgba(34, 211, 238, 0.12));
    --ss-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
    --ss-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ss-radius: 20px;
    --ss-shadow: 0 1px 2px rgba(22, 18, 43, 0.04), 0 14px 40px -18px rgba(22, 18, 43, 0.22);

    margin: 0;
    background: var(--ss-paper);
    color: var(--ss-text);
    font-family: var(--ss-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[lang="ar"] .ss-home, .ss-home:lang(ar) {
    --ss-display: 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif;
    --ss-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

.ss-home * { box-sizing: border-box; }
.ss-home a { color: inherit; text-decoration: none; }
.ss-home img { max-width: 100%; display: block; }
.ss-home h1, .ss-home h2, .ss-home h3 {
    font-family: var(--ss-display);
    color: inherit;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}
.ss-home h1, .ss-home h2, .ss-home h3 { line-height: 1.2; }
.ss-home p { margin: 0; }
.ss-home :focus-visible { outline: 2px solid var(--ss-cyan); outline-offset: 3px; border-radius: 6px; }

.ss-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ss-grad-text {
    background: var(--ss-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---- Buttons ---- */

.ss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ss-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 15px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
    white-space: nowrap;
}
.ss-btn i, .ss-btn svg { width: 18px; height: 18px; }
.ss-btn:hover { transform: translateY(-2px); }
.ss-btn-primary { background: var(--ss-grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(107, 79, 224, 0.75); }
.ss-btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(107, 79, 224, 0.9); }
.ss-btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.ss-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.ss-btn-light { background: #fff; color: var(--ss-text); border-color: var(--ss-line); box-shadow: var(--ss-shadow); }
.ss-btn-light:hover { border-color: var(--ss-purple-2); }
.ss-btn-small { padding: 11px 18px; font-size: 14px; border-radius: 10px; }

.ss-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ss-purple);
    background: var(--ss-grad-soft);
    border: 1px solid rgba(107, 79, 224, 0.18);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.ss-eyebrow i, .ss-eyebrow svg { width: 15px; height: 15px; }
.ss-dark .ss-eyebrow, .ss-hero .ss-eyebrow { color: var(--ss-purple-3); background: rgba(140, 116, 245, 0.12); border-color: var(--ss-line-dark); }

/* ---- Nav ---- */

.ss-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 8, 32, 0.78);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--ss-line-dark);
    color: #fff;
}
.ss-nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.ss-logo { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.ss-logo img { width: 36px; height: 36px; }
.ss-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.ss-logo-word { font-family: 'Chakra Petch', var(--ss-display); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.ss-logo-word span:last-child { color: var(--ss-purple-2); }
.ss-logo-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ss-mist); }
[lang="ar"] .ss-logo-tag { letter-spacing: 0; }
.ss-nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--ss-mist); }
.ss-nav-links a:hover { color: #fff; }
.ss-nav .lang-toggle { border-color: var(--ss-line-dark); border-radius: 10px; overflow: hidden; }
.ss-nav .lang-toggle-btn { color: var(--ss-mist); padding: 7px 10px; font-size: 13px; }
.ss-nav .lang-toggle-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.ss-nav .lang-toggle-btn.active { background: rgba(140, 116, 245, 0.28); color: #fff; }
.ss-nav .lang-toggle-btn + .lang-toggle-btn { border-inline-start-color: var(--ss-line-dark); }
@media (max-width: 980px) { .ss-nav-links { display: none; } }
@media (max-width: 560px) {
    .ss-nav-inner { gap: 12px; }
    .ss-nav-cta span { display: none; }
    .ss-nav-cta { padding: 11px 12px; }
    .ss-logo-tag { display: none; }
}

/* ---- Hero ---- */

.ss-hero {
    position: relative;
    background: var(--ss-ink);
    color: #fff;
    overflow: hidden;
    overflow: clip; /* clipped, never scrollable: focus can't shift the hero */
    padding: 72px 0 56px;
}
.ss-hero::before {
    /* A faint grid that fades out towards the edges. */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(185, 179, 214, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(185, 179, 214, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
    pointer-events: none;
}
.ss-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.55; }
.ss-glow.one { width: 520px; height: 520px; background: #6B4FE0; top: -160px; inset-inline-end: -80px; }
.ss-glow.two { width: 420px; height: 420px; background: #0EA5B7; bottom: -220px; inset-inline-start: -120px; opacity: 0.35; }

.ss-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ss-hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; font-weight: 700; margin-bottom: 22px; }
.ss-hero-dek { font-size: 18.5px; color: var(--ss-mist); max-width: 52ch; margin-bottom: 32px; }
.ss-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ss-mist); }
.ss-chips li { display: inline-flex; align-items: center; gap: 8px; }
.ss-chips i, .ss-chips svg { width: 17px; height: 17px; color: var(--ss-cyan); }

@media (max-width: 980px) {
    .ss-hero { padding-top: 48px; }
    .ss-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* The product, illustrated: a dashboard window with a phone in front. */
.ss-product { position: relative; padding: 10px 0 40px; }
.ss-window {
    position: relative;
    background: linear-gradient(180deg, rgba(34, 26, 74, 0.92), rgba(18, 13, 46, 0.96));
    border: 1px solid var(--ss-line-dark);
    border-radius: 18px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    margin-inline-end: 64px;
}
.ss-window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--ss-line-dark); font-size: 12.5px; color: var(--ss-mist); }
.ss-window-bar b { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.ss-window-bar span { margin-inline-start: 8px; font-weight: 600; }
.ss-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #4ADE80; }
.ss-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
.ss-window-body { padding: 18px; display: grid; gap: 14px; }
.ss-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ss-kpi { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ss-line-dark); border-radius: 12px; padding: 12px; }
.ss-kpi span { display: block; font-size: 12px; color: var(--ss-mist); }
.ss-kpi strong { display: block; font-family: var(--ss-display); font-size: 24px; letter-spacing: -0.02em; }
.ss-kpi em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #4ADE80; }
.ss-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ss-line-dark); border-radius: 12px; }
.ss-chart i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #9B85FF, rgba(107, 79, 224, 0.35)); }
.ss-chart i:last-child { background: linear-gradient(180deg, #22D3EE, rgba(34, 211, 238, 0.3)); }
.ss-feed { display: grid; gap: 8px; }
.ss-feed div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #E9E6F7; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ss-line-dark); border-radius: 10px; padding: 9px 12px; }
.ss-feed i, .ss-feed svg { width: 16px; height: 16px; flex: none; }
/* Kept clear of the phone, which sits over the window's end corner. */
.ss-feed div { padding-inline-end: 112px; }
.ss-feed .c1 { color: var(--ss-purple-3); }
.ss-feed .c2 { color: #FBBF24; }
.ss-feed .c3 { color: var(--ss-cyan); }

.ss-phone {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: 168px;
    border-radius: 26px;
    padding: 8px;
    background: #0A0718;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
    animation: ss-float 7s ease-in-out infinite;
}
.ss-phone-screen { border-radius: 19px; overflow: hidden; background: #fff; color: var(--ss-text); }
.ss-phone-hero { background: linear-gradient(160deg, #2A1B63, #1C1233); color: #fff; padding: 18px 12px 16px; }
.ss-phone-hero small { display: block; font-size: 9px; opacity: 0.75; margin-bottom: 4px; }
.ss-phone-hero strong { display: block; font-family: var(--ss-display); font-size: 15px; line-height: 1.15; margin-bottom: 10px; }
.ss-phone-hero span { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 6px 9px; border-radius: 7px; background: var(--ss-grad); }
.ss-phone-body { padding: 10px 12px 14px; display: grid; gap: 6px; }
.ss-phone-body b { display: block; height: 7px; border-radius: 4px; background: #ECE9F7; }
.ss-phone-body b:nth-child(2) { width: 70%; }
.ss-phone-body b:nth-child(3) { width: 85%; }

.ss-float-chip {
    position: absolute;
    top: 40%;
    inset-inline-start: -24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ss-text);
    background: #fff;
    border-radius: 999px;
    padding: 9px 14px;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
    animation: ss-float 6s ease-in-out infinite reverse;
}
.ss-float-chip i, .ss-float-chip svg { width: 16px; height: 16px; color: #16A34A; }

@keyframes ss-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ss-phone, .ss-float-chip { animation: none; } }
@media (max-width: 560px) {
    .ss-window { margin-inline-end: 44px; }
    .ss-phone { width: 124px; bottom: -12px; inset-inline-end: -4px; }
    .ss-phone-hero strong { font-size: 12px; }
    .ss-kpi strong { font-size: 19px; }
    .ss-float-chip { inset-inline-start: -6px; top: auto; bottom: -22px; }
    .ss-feed div { padding-inline-end: 88px; font-size: 12px; }
    .ss-hero-actions .ss-btn { flex: 1 1 100%; }
}

/* Facts: what the platform is, in numbers. */
.ss-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; list-style: none; padding: 0; }
.ss-facts li { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ss-line-dark); border-radius: 16px; padding: 18px 20px; }
.ss-facts strong { display: block; font-family: var(--ss-display); font-size: 34px; line-height: 1; margin-bottom: 6px; }
.ss-facts span { font-size: 14px; color: var(--ss-mist); }
@media (max-width: 760px) { .ss-facts { grid-template-columns: repeat(2, 1fr); } }

/* ---- Sections ---- */

.ss-section { padding: 96px 0; }
.ss-section.soft { background: var(--ss-soft); }
.ss-dark { background: var(--ss-ink); color: #fff; }
.ss-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.ss-head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 700; margin-bottom: 14px; }
.ss-head p { font-size: 17.5px; color: var(--ss-muted); }
.ss-dark .ss-head p { color: var(--ss-mist); }
@media (max-width: 640px) { .ss-section { padding: 72px 0; } }

/* Connected: the flow from website to accounts. */
.ss-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; position: relative; }
.ss-flow::before {
    content: '';
    position: absolute;
    top: 38px;
    inset-inline: 10%;
    height: 2px;
    background: var(--ss-grad);
    opacity: 0.5;
}
.ss-flow li { position: relative; text-align: center; display: grid; justify-items: center; gap: 12px; }
.ss-flow-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ss-line);
    box-shadow: var(--ss-shadow);
    color: var(--ss-purple);
}
.ss-flow-icon i, .ss-flow-icon svg { width: 30px; height: 30px; }
.ss-flow li:last-child .ss-flow-icon { background: var(--ss-grad); color: #fff; border: 0; }
.ss-flow strong { font-family: var(--ss-display); font-size: 16px; }
@media (max-width: 760px) {
    .ss-flow { grid-template-columns: 1fr; gap: 12px; max-width: 360px; margin: 0 auto; }
    .ss-flow::before { top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 37px; width: 2px; height: auto; }
    .ss-flow li { grid-template-columns: 76px 1fr; justify-items: start; align-items: center; text-align: start; }
}

/* Solutions. */
.ss-solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ss-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius);
    padding: 26px 24px;
    box-shadow: var(--ss-shadow);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ss-card:hover { transform: translateY(-4px); border-color: rgba(107, 79, 224, 0.35); box-shadow: 0 2px 4px rgba(22, 18, 43, 0.05), 0 24px 50px -22px rgba(76, 52, 180, 0.4); }
.ss-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ss-grad-soft);
    color: var(--ss-purple);
    margin-bottom: 18px;
}
.ss-card-icon i, .ss-card-icon svg { width: 24px; height: 24px; }
.ss-card h3 { font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.ss-card p { font-size: 15px; color: var(--ss-muted); }
@media (max-width: 1080px) { .ss-solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ss-solutions { grid-template-columns: 1fr; } }

/* Industries. */
.ss-industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ss-industry { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); overflow: hidden; box-shadow: var(--ss-shadow); }
.ss-industry-top { position: relative; height: 112px; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.ss-industry-top::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.28), transparent 55%); }
.ss-industry-top i, .ss-industry-top svg { width: 44px; height: 44px; position: relative; z-index: 1; }
.ss-industry.food .ss-industry-top { background: linear-gradient(135deg, #F97316, #DB2777); }
.ss-industry.care .ss-industry-top { background: linear-gradient(135deg, #3A9BD5, #8A3FC8); }
.ss-industry.shop .ss-industry-top { background: linear-gradient(135deg, #10B981, #0E7490); }
.ss-industry.move .ss-industry-top { background: linear-gradient(135deg, #6B4FE0, #1E1B4B); }
.ss-industry-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ss-industry h3 { font-size: 19px; }
.ss-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ss-muted); }
.ss-checks li { display: flex; gap: 10px; align-items: flex-start; }
.ss-checks li::before {
    content: '✓';
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--ss-grad);
}
.ss-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ss-purple); }
.ss-link i, .ss-link svg { width: 16px; height: 16px; }
[dir="rtl"] .ss-link svg, [dir="rtl"] .ss-btn .flip { transform: scaleX(-1); }
@media (max-width: 1080px) { .ss-industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ss-industries { grid-template-columns: 1fr; } }

/* How it works. */
.ss-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.ss-step { position: relative; padding-top: 70px; }
.ss-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ss-display);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: var(--ss-grad);
    box-shadow: 0 12px 26px -10px rgba(107, 79, 224, 0.8);
}
.ss-step::after { content: ''; position: absolute; top: 26px; inset-inline-start: 66px; inset-inline-end: -12px; height: 2px; background: var(--ss-line); }
.ss-step:last-child::after { display: none; }
.ss-step h3 { font-size: 20px; margin-bottom: 8px; }
.ss-step p { color: var(--ss-muted); font-size: 15.5px; }
@media (max-width: 900px) {
    .ss-steps { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
    .ss-step::after { display: none; }
}
@media (max-width: 520px) { .ss-steps { grid-template-columns: 1fr; } }

/* Why us (dark). */
.ss-why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ss-why .ss-head { text-align: start; margin: 0; }
.ss-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ss-why-item { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ss-line-dark); border-radius: 18px; padding: 22px; }
.ss-why-item i, .ss-why-item svg { width: 26px; height: 26px; color: var(--ss-cyan); margin-bottom: 12px; }
.ss-why-item h3 { font-size: 18px; margin-bottom: 6px; }
.ss-why-item p { font-size: 14.5px; color: var(--ss-mist); }
@media (max-width: 900px) { .ss-why { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .ss-why-grid { grid-template-columns: 1fr; } }

/* For customers. */
.ss-customers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: 24px;
    padding: 34px 36px;
    box-shadow: var(--ss-shadow);
}
.ss-customers h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 8px; }
.ss-customers p { color: var(--ss-muted); }
.ss-customers-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ss-customers-actions .ss-btn-ghost { color: var(--ss-text); border-color: var(--ss-line); background: #fff; }
.ss-customers-actions .ss-btn-ghost:hover { border-color: var(--ss-purple-2); }
.ss-drive { margin-top: 14px; font-size: 14.5px; color: var(--ss-muted); }
.ss-drive a { color: var(--ss-purple); font-weight: 700; }
@media (max-width: 900px) {
    .ss-customers { grid-template-columns: 1fr; padding: 28px 24px; }
    .ss-customers-actions { justify-content: flex-start; }
}

/* FAQ. */
.ss-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.ss-faq details { background: #fff; border: 1px solid var(--ss-line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--ss-shadow); }
.ss-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-family: var(--ss-display);
    font-weight: 700;
    font-size: 17px;
}
.ss-faq summary::-webkit-details-marker { display: none; }
.ss-faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ss-purple); background: var(--ss-grad-soft); transition: transform 200ms ease; }
.ss-faq details[open] summary::after { transform: rotate(45deg); }
.ss-faq details p { padding: 0 0 20px; color: var(--ss-muted); font-size: 15.5px; }

/* Call to action. */
.ss-cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 64px 40px;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.45), transparent 50%), linear-gradient(135deg, #4E3AAE, #241A55 70%);
    box-shadow: 0 40px 80px -40px rgba(76, 52, 180, 0.8);
}
.ss-cta h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 12px; }
.ss-cta p { font-size: 18px; color: rgba(255, 255, 255, 0.82); margin-bottom: 28px; }
.ss-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ss-cta .ss-btn-primary { background: #fff; color: var(--ss-text); box-shadow: none; }
@media (max-width: 560px) { .ss-cta { padding: 48px 22px; } }

/* ---- Footer ---- */

.ss-footer { background: var(--ss-ink); color: var(--ss-mist); padding: 72px 0 32px; font-size: 14.5px; }
.ss-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.ss-footer .ss-logo { margin-bottom: 14px; color: #fff; }
.ss-footer p { max-width: 34ch; }
.ss-footer h3 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
[lang="ar"] .ss-footer h3 { letter-spacing: 0; }
.ss-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ss-footer a:hover { color: #fff; }
.ss-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--ss-line-dark); font-size: 13px; }
@media (max-width: 860px) { .ss-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ss-footer-grid { grid-template-columns: 1fr; } }

/* Sections ease in as they come into view (only when the script runs). */
.ss-js .ss-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.ss-js .ss-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ss-js .ss-reveal { opacity: 1; transform: none; transition: none; } }
