/* ===== Design tokens ===== */
:root {
    --bg-void: #030308;
    --accent-blue-dark: #0b5fa6;
    --accent-blue: #20a0fc;
    --accent-cyan: #22d3ee;
    --accent-gradient: linear-gradient(120deg, var(--accent-blue-dark), var(--accent-blue) 55%, var(--accent-cyan) 100%);
    --accent-gradient-soft: linear-gradient(120deg, rgba(32, 160, 252, 0.18), rgba(34, 211, 238, 0.12));
    --glass: rgba(255, 255, 255, 0.05);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
}

/* ===== Reset & base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

::selection { background: var(--accent-blue); color: #ffffff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-blue-dark), var(--accent-blue));
    border-radius: 10px;
    border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue)); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    padding-top: 84px;
    min-height: 100vh;
    background: linear-gradient(180deg, #030308 0%, #05070f 45%, #070b1a 100%);
    position: relative;
}

/* Drifting aurora glow behind all content */
body::before {
    content: '';
    position: fixed;
    inset: -10%;
    z-index: -2;
    background:
        radial-gradient(38% 28% at 15% 20%, rgba(32, 160, 252, 0.28), transparent 60%),
        radial-gradient(42% 32% at 85% 12%, rgba(34, 211, 238, 0.20), transparent 60%),
        radial-gradient(46% 38% at 50% 95%, rgba(11, 95, 166, 0.22), transparent 60%);
    filter: blur(60px);
    animation: auroraDrift 22s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Fine grain for texture/depth */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes auroraDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(2%, -3%) scale(1.06); }
    100% { transform: translate(-2%, 2%) scale(1); }
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

.hero-title,
.section-title,
.card h2,
.info-row h4,
.highlight-card h4,
.footer-col h5 {
    font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(6, 10, 23, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}
.brand:hover .brand-logo { opacity: 0.85; }

.brand-logo-lg { height: 62px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-inline-start: auto;
}

.site-nav a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.site-nav a {
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--accent-gradient);
    box-shadow: 0 0 8px rgba(32, 160, 252, 0.6);
    transition: inset-inline-end 0.25s ease;
}
.site-nav a:hover,
.site-nav a.is-active { color: #ffffff; }
.site-nav a:hover::after,
.site-nav a.is-active::after { inset-inline-end: 0; }

/* ===== Language dropdown ===== */
.lang-switch {
    position: relative;
    flex: none;
}
.lang-switch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lang-switch-toggle::-webkit-details-marker { display: none; }
.lang-switch-toggle:hover,
.lang-switch[open] .lang-switch-toggle {
    color: #ffffff;
    background: rgba(32, 160, 252, 0.1);
    border-color: rgba(32, 160, 252, 0.55);
}
.lang-switch-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 160, 252, 0.35);
}
.lang-switch-toggle .ti-world { font-size: 1.05rem; color: var(--accent-cyan); }
.lang-switch-caret { font-size: 0.85rem; transition: transform 0.2s ease; }
.lang-switch[open] .lang-switch-caret { transform: rotate(180deg); }

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    min-width: 170px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(6, 10, 23, 0.97);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: fadeInUp 0.18s ease both;
}
.lang-switch-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch-menu a:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.lang-switch-menu a.is-current { color: #ffffff; background: rgba(32, 160, 252, 0.12); }
.lang-switch-menu a i { color: var(--accent-cyan); }
.lang-switch-menu a[lang="ar"] { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn i { font-size: 1.05rem; }

.btn-pill {
    background: var(--accent-gradient-soft);
    border: 1px solid rgba(32, 160, 252, 0.35);
    padding: 8px 18px;
    font-size: 0.88rem;
}
.btn-pill:hover {
    background: linear-gradient(120deg, rgba(32, 160, 252, 0.32), rgba(34, 211, 238, 0.2));
    box-shadow: 0 8px 22px -8px rgba(32, 160, 252, 0.55);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(32, 160, 252, 0.1);
    border-color: rgba(32, 160, 252, 0.55);
    box-shadow: 0 0 24px -8px rgba(32, 160, 252, 0.5);
}

.btn-solid {
    background: var(--accent-gradient);
    color: #04030a;
    border: 1px solid transparent;
    font-weight: 600;
    box-shadow: 0 6px 20px -6px rgba(32, 160, 252, 0.45);
}
.btn-solid:hover {
    box-shadow: 0 14px 32px -8px rgba(32, 160, 252, 0.65), 0 4px 16px -4px rgba(34, 211, 238, 0.4);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 90px;
    --mx: 50%;
    --my: 30%;
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mx) var(--my), rgba(32, 160, 252, 0.20), transparent 55%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(32, 160, 252, 0.12);
    border: 1px solid rgba(32, 160, 252, 0.35);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
    animation: fadeInUp 0.8s ease both;
}
.hero-badge i { color: var(--accent-cyan); font-size: 1rem; }

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 28%, rgba(32, 160, 252, 0.35), transparent 42%),
        radial-gradient(circle at 30% 55%, rgba(34, 211, 238, 0.16), transparent 45%);
    filter: blur(10px);
    pointer-events: none;
    animation: glowPulse 9s ease-in-out infinite;
}

.hero-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    pointer-events: none;
    opacity: 0.9;
}
.hero-waves svg {
    width: 100%;
    height: 100%;
    display: block;
}
.hero-waves path {
    transform-box: fill-box;
    transform-origin: center;
}
.wave-1 { fill: rgba(32, 160, 252, 0.35); animation: waveDrift 11s ease-in-out infinite; }
.wave-2 { fill: rgba(20, 130, 220, 0.30); animation: waveDrift 15s ease-in-out infinite reverse; }
.wave-3 { fill: rgba(11, 95, 166, 0.45); animation: waveDrift 19s ease-in-out infinite; }

@keyframes glowPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.045); }
}

@keyframes waveDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-2.5%); }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
    animation: fadeInUp 0.8s ease both;
}

.hero-subtitle {
    max-width: 560px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.02rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ===== Scroll-reveal animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }

/* ===== Page sections (Solutions / How it works / Location / Contact) ===== */
.page-section {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    scroll-margin-top: 90px;
}

.page-section + .page-section {
    position: relative;
}
.page-section + .page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(32, 160, 252, 0.5), rgba(34, 211, 238, 0.5), transparent);
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gradient);
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 22px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 32px -12px rgba(32, 160, 252, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}
.card:hover::before { opacity: 1; }

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.info-row:last-child { margin-bottom: 0; }

.icon-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: #fff;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover .icon-badge {
    transform: scale(1.08);
    border-color: rgba(32, 160, 252, 0.4);
}
.icon-badge i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.info-row .icon-badge {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
}

.info-row h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-row p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 32px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 26px;
    margin-bottom: 24px;
}
.map-header-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
}
.map-header-address i { color: var(--accent-cyan); font-size: 1.1rem; }

.map-header-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}
.map-header-hours li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}
.map-header-hours li span:first-child { color: rgba(255, 255, 255, 0.45); }
.map-header-hours li span:first-child::after { content: ':'; }
.map-header-hours li span:last-child { color: rgba(255, 255, 255, 0.8); font-weight: 500; }

.map-frame {
    width: 100%;
    min-height: 340px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}
.map-frame-full { min-height: 460px; }
.map-frame-full iframe { min-height: 460px; }

/* Contact form */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(32, 160, 252, 0.6);
    box-shadow: 0 0 0 4px rgba(32, 160, 252, 0.15), 0 0 20px -6px rgba(34, 211, 238, 0.35);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Reusable 3-column feature grid (Solutions / How it works / Visit Us) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

.feature-grid-center {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
}

.highlight-card {
    text-align: center;
    padding: 28px 20px;
    overflow: hidden;
}
.highlight-card .icon-badge {
    margin: 0 auto 16px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
}
.highlight-card h4 { margin: 0 0 6px; font-size: 1rem; position: relative; }
.highlight-card p { margin: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); position: relative; }

/* Cards that lead with a small illustrative UI mockup (Solutions / How it works) */
.card-with-visual {
    text-align: start;
}
.card-with-visual .icon-badge {
    margin: 0 0 14px;
}
.card-with-visual h4,
.card-with-visual p {
    text-align: start;
}

.card-visual {
    height: 100px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.step-num {
    color: var(--accent-cyan);
    font-weight: 700;
    margin-inline-end: 2px;
}

/* --- Mockup toolkit: small illustrative UI fragments used inside .card-visual --- */
.mockup { width: 100%; height: 100%; display: flex; align-items: center; }

.mockup-chart { align-items: flex-end; gap: 6px; }
.mockup-bar {
    flex: 1;
    height: var(--h, 30%);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px 4px 0 0;
}
.mockup-bar-accent { background: var(--accent-gradient); }

.mockup-rows { flex-direction: column; gap: 10px; align-items: stretch; }
.mockup-row { display: flex; align-items: center; gap: 10px; }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-gradient); flex: none; }
.mockup-line { flex: 1; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.mockup-pill {
    flex: none;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(32, 160, 252, 0.2);
    color: rgba(255, 255, 255, 0.85);
}
.mockup-pill-low { background: rgba(34, 211, 238, 0.22); }

.mockup-stack { position: relative; }
.mockup-deal {
    position: absolute;
    left: 0;
    right: 12%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 12px;
    transform: translateY(-50%) rotate(var(--r, 0deg));
}
.mockup-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-gradient); flex: none; }

.mockup-week { justify-content: space-between; width: 100%; }
.mockup-week span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}
.mockup-week span.is-active { background: var(--accent-gradient); color: #04030a; }

.mockup-flow { justify-content: center; gap: 10px; }
.mockup-node {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    flex: none;
}
.mockup-node-accent { background: var(--accent-gradient); color: #04030a; border-color: transparent; }
.mockup-flow-line { flex: 1; max-width: 60px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), var(--accent-blue)); }

.mockup-score { display: flex; align-items: center; gap: 12px; }
.mockup-score-track { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mockup-score-fill { height: 100%; width: var(--p, 50%); border-radius: 999px; background: var(--accent-gradient); }
.mockup-score-label { font-size: 0.85rem; font-weight: 700; color: #ffffff; flex: none; }

.mockup-chat { flex-direction: column; align-items: stretch; gap: 8px; }
.mockup-bubble {
    font-size: 0.72rem;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: rgba(255, 255, 255, 0.75);
    max-width: 88%;
}
.mockup-bubble-accent {
    align-self: flex-end;
    background: var(--accent-gradient);
    color: #04030a;
    border-color: transparent;
    font-weight: 600;
}

.mockup-status { flex-direction: column; align-items: stretch; gap: 10px; }
.mockup-status-top { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; color: #ffffff; }
.mockup-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.2); }


/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 2;
    background: rgba(4, 7, 16, 0.6);
    padding-top: 64px;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(32, 160, 252, 0.5), rgba(34, 211, 238, 0.5), transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-brand p {
    margin: 14px 0 20px;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: var(--accent-gradient);
    border-color: transparent;
    color: #04030a;
    box-shadow: 0 8px 20px -6px rgba(32, 160, 252, 0.6);
}

.footer-col h5 {
    margin: 0 0 18px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li:last-child { margin-bottom: 0; }

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
    padding-inline-start: 4px;
}

.footer-col i {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--accent-gradient);
    border-color: transparent;
    color: #04030a;
    box-shadow: 0 8px 20px -6px rgba(32, 160, 252, 0.6);
}

/* ===== WhatsApp sticky button ===== */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #04030a;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px -8px rgba(37, 211, 102, 0.65);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.8);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.55;
    animation: whatsappPulse 2.4s ease-out infinite;
}
@keyframes whatsappPulse {
    0%   { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.9); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(6, 10, 23, 0.95);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(6, 10, 23, 0.95);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ===== Arabic / right-to-left ===== */
html[lang="ar"] body,
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] .card h2,
html[lang="ar"] .info-row h4,
html[lang="ar"] .highlight-card h4,
html[lang="ar"] .footer-col h5,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] button {
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}
/* Letter-spacing breaks the joins between Arabic letters. */
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] .section-eyebrow,
html[lang="ar"] .footer-col h5 { letter-spacing: 0; }
html[lang="ar"] .hero-title { line-height: 1.35; }
[dir="rtl"] .mockup-flow-line { background: linear-gradient(270deg, rgba(255, 255, 255, 0.15), var(--accent-blue)); }

/* ===== Responsive ===== */
@media (max-width: 1024px) and (min-width: 861px) {
    .feature-grid:not(.feature-grid-center) { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .header-inner { gap: 12px; }
    .lang-switch { margin-inline-start: auto; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(6, 10, 23, 0.97);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 24px 22px;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav a { padding: 10px 4px; }
    .site-nav .btn-pill { margin-top: 8px; align-self: flex-start; }


    .info-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .whatsapp-float { right: 14px; bottom: 14px; width: 40px; height: 40px; font-size: 1.1rem; }
}
