/* Genetix — light "make your DNA" theme (loaded after style.css).
   Directions use logical properties (inline-start/end) so Arabic RTL works. */

:root {
    --gx-bg: #ffffff;
    --gx-bg-2: #f5f8fc;
    --gx-surface: #ffffff;
    --gx-ink: #0b1633;
    --gx-text: #26324d;
    --gx-muted: #5d6987;
    --gx-line: #e3e9f3;
    --gx-teal: #14b8a6;
    --gx-teal-d: #0f766e;
    --gx-indigo: #6366f1;
    --gx-navy: #0b1633;
    --gx-grad: linear-gradient(120deg, #14b8a6 0%, #6366f1 100%);
    --gx-shadow: 0 1px 2px rgba(11, 22, 51, .04), 0 12px 32px -12px rgba(11, 22, 51, .12);
    --gx-shadow-lg: 0 30px 70px -30px rgba(11, 22, 51, .28);
    --gx-radius: 20px;
    --gx-ease: cubic-bezier(.2, .7, .2, 1);
    --gx-head: 'Space Grotesk', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--gx-bg);
    color: var(--gx-text);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--gx-head); color: var(--gx-ink); letter-spacing: -0.02em; }
a { color: var(--gx-teal-d); text-decoration: none; }
a:hover { color: var(--gx-indigo); }
::selection { background: rgba(20, 184, 166, .25); }

section { padding: 0; }
.gx-section { padding: 110px 0; position: relative; }
.gx-section-sm { padding: 40px 0 100px; position: relative; }
.gx-band { background: var(--gx-bg-2); border-top: 1px solid var(--gx-line); border-bottom: 1px solid var(--gx-line); }
.gx-grad-text { background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Headings ---------- */
.gx-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gx-teal-d);
}
.gx-eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--gx-grad); }
.gx-h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.15; margin: .9rem 0 1rem; }
.gx-sub { color: var(--gx-muted); font-size: 1.08rem; line-height: 1.75; max-width: 680px; }
.gx-head-center { text-align: center; margin-bottom: 3.5rem; }
.gx-head-center .gx-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.gx-btn {
    display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: 14px;
    font-weight: 600; font-size: .97rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--gx-ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.gx-btn-primary { background: var(--gx-grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .6); }
.gx-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(99, 102, 241, .7); }
.gx-btn-ghost { background: #fff; color: var(--gx-ink); border-color: var(--gx-line); box-shadow: var(--gx-shadow); }
.gx-btn-ghost:hover { color: var(--gx-ink); border-color: var(--gx-teal); transform: translateY(-2px); }
.gx-btn-light { background: #fff; color: var(--gx-navy); }
.gx-btn-light:hover { color: var(--gx-navy); transform: translateY(-2px); }
.gx-btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.gx-btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

/* ---------- Brand mark ---------- */
.gx-g-mark {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gx-grad);
    color: #fff; font-family: var(--gx-head); font-weight: 700; font-size: 1.2rem; box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .7);
}
.gx-g-mark.sm { width: 34px; height: 34px; font-size: 1rem; border-radius: 50%; }
.gx-g-mark.lg { width: 56px; height: 56px; font-size: 1.7rem; border-radius: 16px; }

/* ---------- Navbar ---------- */
.gx-nav.navbar { background: rgba(255, 255, 255, .8) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: .9rem 0; box-shadow: none; border-bottom: 1px solid transparent; transition: padding .3s, border-color .3s, box-shadow .3s; }
.gx-nav.navbar.is-scrolled { padding: .55rem 0; border-color: var(--gx-line); box-shadow: 0 8px 24px -18px rgba(11, 22, 51, .35); }
.gx-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; color: var(--gx-ink) !important; font-family: var(--gx-head); font-weight: 700; font-size: 1.4rem; }
.gx-nav .nav-link { color: var(--gx-muted) !important; font-weight: 600; font-size: .93rem; padding: .5rem .8rem !important; border-radius: 10px; }
.gx-nav .nav-link:hover { color: var(--gx-ink) !important; background: var(--gx-bg-2); }
.gx-nav .nav-link.active { color: var(--gx-teal-d) !important; }
.gx-nav .gx-btn { padding: .6rem 1.1rem; font-size: .9rem; border-radius: 12px; }
.gx-lang { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 12px; border: 1px solid var(--gx-line); background: #fff; color: var(--gx-ink); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.gx-lang:hover { border-color: var(--gx-teal); color: var(--gx-ink); }
.gx-lang i { color: var(--gx-teal); }
.gx-lang[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
@media (max-width: 991.98px) {
    .gx-nav .navbar-collapse { background: #fff; border: 1px solid var(--gx-line); border-radius: 16px; padding: .8rem; margin-top: .7rem; box-shadow: var(--gx-shadow); }
}

/* ---------- Hero ---------- */
.gx-hero { position: relative; overflow: hidden; padding: 150px 0 90px; background: radial-gradient(60% 70% at 85% 10%, rgba(99, 102, 241, .10), transparent 70%), radial-gradient(50% 60% at 5% 90%, rgba(20, 184, 166, .12), transparent 70%), #fff; }
.gx-hero > .container { width: 100%; }
.gx-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 22, 51, .08) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 20%, transparent 75%); }
.gx-blob, .gx-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.gx-blob.a, .gx-glow.a { width: 380px; height: 380px; background: #c7d2fe; top: -120px; inset-inline-end: -80px; }
.gx-blob.b, .gx-glow.b { width: 340px; height: 340px; background: #99f6e4; bottom: -140px; inset-inline-start: -100px; }
.gx-hero .gx-eyebrow { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); }
.gx-hero .gx-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; }
.gx-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; line-height: 1.08; margin: 1.4rem 0 1.3rem; }
.gx-lead { font-size: 1.15rem; line-height: 1.8; color: var(--gx-muted); max-width: 600px; margin-bottom: 2rem; }
.gx-hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.gx-trust { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--gx-line); }
.gx-trust strong { display: block; font-family: var(--gx-head); font-size: 2rem; line-height: 1; color: var(--gx-ink); }
.gx-trust span { color: var(--gx-muted); font-size: .88rem; }

/* DNA helix */
.gx-helix { position: relative; height: 540px; max-width: 460px; margin-inline: auto; }
.gx-rung {
    position: absolute; left: 50%; top: calc(var(--i) * 37px + 14px); width: 190px; margin-left: -95px; height: 2px;
    background: linear-gradient(90deg, rgba(20, 184, 166, .55), rgba(99, 102, 241, .55));
    animation: gxTwist 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.26s);
}
.gx-rung b { position: absolute; top: -7px; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 4px 12px -2px rgba(11, 22, 51, .3); }
.gx-rung b:first-child { left: -8px; background: var(--gx-teal); }
.gx-rung b:last-child { right: -8px; background: var(--gx-indigo); }
@keyframes gxTwist { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.gx-gene {
    position: absolute; top: calc(var(--r) * 37px + 1px); display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow);
    font-size: .85rem; font-weight: 700; color: var(--gx-ink); z-index: 2; animation: gxFloat 6s ease-in-out infinite; animation-delay: calc(var(--r) * -0.5s);
}
.gx-gene i { color: var(--c); }
.gx-gene.start { inset-inline-start: 0; }
.gx-gene.end { inset-inline-end: 0; }
.gx-core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.1rem; border-radius: 14px; background: var(--gx-navy); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap;
    box-shadow: 0 20px 40px -16px rgba(11, 22, 51, .6);
}
.gx-core i { color: #5eead4; }
@keyframes gxFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (max-width: 575.98px) {
    .gx-helix { height: 430px; }
    .gx-rung { top: calc(var(--i) * 29px + 12px); width: 140px; margin-left: -70px; }
    .gx-gene { top: calc(var(--r) * 29px); font-size: .78rem; padding: .35rem .6rem; }
}

/* ---------- Cards ---------- */
.gx-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 1.7rem; box-shadow: var(--gx-shadow); transition: transform .35s var(--gx-ease), box-shadow .35s, border-color .35s; }
.gx-card:hover { transform: translateY(-5px); box-shadow: var(--gx-shadow-lg); border-color: color-mix(in srgb, var(--c, #14b8a6) 40%, var(--gx-line)); }
.gx-card h3, .gx-card h4 { font-weight: 700; }
.gx-card p { color: var(--gx-muted); margin-bottom: 0; line-height: 1.7; }
.gx-icon {
    display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-size: 1.25rem; flex: 0 0 auto;
    color: var(--c, var(--gx-teal-d)); background: color-mix(in srgb, var(--c, #14b8a6) 12%, #fff);
}
.gx-num { font-family: var(--gx-head); font-weight: 700; font-size: .9rem; color: var(--gx-teal-d); }
.gx-dna-point h3 { font-size: 1.15rem; margin: .5rem 0; }
.gx-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; padding: .3rem .65rem; border-radius: 8px; color: var(--gx-muted); background: var(--gx-bg-2); border: 1px solid var(--gx-line); }
.gx-kicker { display: block; font-size: .78rem; font-weight: 700; color: var(--c, var(--gx-teal-d)); margin-top: 1.1rem; }

/* ---------- Five questions ---------- */
.gx-questions { margin-top: 100px; }
.gx-q-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.gx-q { position: relative; padding: 1.5rem 1.3rem; border-radius: var(--gx-radius); background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); }
.gx-q::before { content: ''; position: absolute; inset-inline: 1.3rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); }
.gx-q h4 { font-size: 1.05rem; margin: 1rem 0 .5rem; line-height: 1.4; }
.gx-q p { color: var(--gx-muted); font-size: .9rem; margin: 0; line-height: 1.65; }
@media (max-width: 1199.98px) { .gx-q-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .gx-q-grid { grid-template-columns: 1fr; } }

/* ---------- Journey ---------- */
.gx-journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.gx-journey::before { content: ''; position: absolute; top: 31px; inset-inline: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--gx-teal) 0 8px, transparent 8px 16px); opacity: .5; }
.gx-journey li { position: relative; text-align: center; padding: 0 .4rem; }
.gx-journey-dot { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--gx-teal); color: var(--gx-teal-d); font-size: 1.35rem; box-shadow: 0 0 0 6px var(--gx-bg-2), var(--gx-shadow); transition: background .3s, color .3s; }
.gx-journey li:hover .gx-journey-dot { background: var(--gx-grad); color: #fff; border-color: transparent; }
.gx-journey small { display: block; margin-top: .9rem; font-family: var(--gx-head); font-weight: 700; color: var(--gx-indigo); }
.gx-journey h4 { font-size: 1.05rem; margin: .25rem 0 .4rem; }
.gx-journey p { color: var(--gx-muted); font-size: .88rem; margin: 0; line-height: 1.6; }
.gx-pm-bar { margin: 2.6rem auto 0; max-width: 760px; text-align: center; padding: .85rem 1rem; border-radius: 14px; background: #fff; border: 1px dashed color-mix(in srgb, var(--gx-indigo) 50%, var(--gx-line)); color: var(--gx-ink); font-weight: 600; }
.gx-pm-bar i { color: var(--gx-indigo); margin-inline-end: .4rem; }
@media (max-width: 991.98px) {
    .gx-journey { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
    .gx-journey::before { display: none; }
}

/* ---------- Tracks (think / build / grow) ---------- */
.gx-track { height: 100%; border-radius: 24px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); overflow: hidden; }
.gx-track-head { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.6rem; background: color-mix(in srgb, var(--c) 8%, #fff); border-bottom: 1px solid var(--gx-line); }
.gx-track-head h3 { margin: 0; font-size: 1.6rem; }
.gx-track-head small { color: var(--gx-muted); font-weight: 600; }
.gx-track-head .gx-icon { color: #fff; background: var(--c); }
.gx-track.is-core { border-color: color-mix(in srgb, var(--c) 45%, var(--gx-line)); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.gx-track ul { list-style: none; margin: 0; padding: .6rem 1.6rem 1.2rem; }
.gx-track li { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px dashed var(--gx-line); }
.gx-track li:last-child { border-bottom: 0; }
.gx-track li > i { color: var(--c); font-size: 1.05rem; margin-top: .25rem; width: 20px; text-align: center; }
.gx-track h5 { font-size: 1rem; margin: 0 0 .25rem; }
.gx-track p { color: var(--gx-muted); font-size: .9rem; margin: 0 0 .45rem; line-height: 1.6; }
.gx-by { display: inline-block; font-size: .7rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; color: var(--gx-teal-d); background: rgba(20, 184, 166, .1); }
.gx-by.partner { color: #6d28d9; background: rgba(139, 92, 246, .1); }

/* ---------- Flagship products ---------- */
.gx-flag { position: relative; background: #fff; border: 1px solid var(--gx-line); border-radius: 28px; padding: 2.6rem; box-shadow: var(--gx-shadow); margin-bottom: 1.6rem; overflow: hidden; }
.gx-flag::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.gx-flag-sm { padding: 2rem; margin-bottom: 0; }
.gx-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.gx-flag-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; margin: .9rem 0 .4rem; }
.gx-flag-tagline { font-size: 1.12rem; font-weight: 600; color: var(--c); margin-bottom: .8rem; }
.gx-flag p { color: var(--gx-muted); line-height: 1.75; }
.gx-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.gx-chips span { font-size: .8rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--gx-line); color: var(--gx-text); background: var(--gx-bg-2); }
.gx-note { font-size: .88rem; font-weight: 600; color: var(--gx-teal-d); }
.gx-note i { margin-inline-end: .3rem; }
.gx-modules { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dashed var(--gx-line); }
.gx-modules span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px; background: color-mix(in srgb, var(--c) 7%, #fff); color: var(--gx-ink); font-weight: 600; font-size: .88rem; }
.gx-modules i { color: var(--c); }

/* App mock (purchasing system) */
.gx-app { border-radius: 18px; border: 6px solid #0f1f1c; background: #fff; box-shadow: var(--gx-shadow-lg); overflow: hidden; font-size: .82rem; }
.gx-app-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .9rem; background: #e7f3f0; color: var(--gx-text); font-size: .75rem; }
.gx-app-bar em { font-style: normal; font-weight: 700; color: var(--gx-teal-d); background: #fff; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }
.gx-app-bar em i { font-size: .45rem; vertical-align: middle; }
.gx-app-main { padding: .9rem; display: grid; gap: .8rem; }
.gx-app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.gx-kpi { border: 1px solid var(--gx-line); border-radius: 10px; padding: .6rem .7rem; }
.gx-kpi small { display: block; color: var(--gx-muted); font-size: .68rem; }
.gx-kpi strong { font-family: 'JetBrains Mono', monospace; font-size: .92rem; color: var(--gx-ink); }
.gx-app-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: .6rem; }
.gx-app-chart, .gx-app-alerts { border: 1px solid var(--gx-line); border-radius: 10px; padding: .7rem; }
.gx-bars { height: 110px; display: flex; align-items: flex-end; gap: 6%; }
.gx-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #cfe9e4; transform-origin: bottom; animation: gxGrow 1.2s var(--gx-ease) both; }
.gx-bars span:last-child { background: var(--gx-teal-d); }
@keyframes gxGrow { from { transform: scaleY(0); } }
.gx-app-alerts h6 { font-size: .8rem; margin-bottom: .5rem; }
.gx-app-alerts div { display: flex; align-items: center; gap: .4rem; font-size: .72rem; padding: .3rem 0; color: var(--gx-text); }
.gx-app-alerts em { font-style: normal; font-size: .64rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; white-space: nowrap; }
.gx-app-alerts em.warn { background: #fdecc8; color: #92400e; }
.gx-app-alerts em.info { background: #fde4e4; color: #9f1239; }
.gx-app-alerts em.ok { background: #d9f2ec; color: var(--gx-teal-d); }
@media (max-width: 575.98px) {
    .gx-flag { padding: 1.6rem; }
    .gx-app-kpis, .gx-app-split { grid-template-columns: 1fr; }
}

/* AI sales */
.gx-checks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.gx-checks li { display: flex; gap: .6rem; align-items: baseline; color: var(--gx-text); font-weight: 500; }
.gx-checks i { color: var(--c, var(--gx-teal)); }
.gx-channels { display: flex; flex-wrap: wrap; gap: .5rem; }
.gx-channels span { font-size: .8rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; }
.gx-channels .available { background: #dcfce7; color: #166534; }
.gx-channels .soon { background: #eef0ff; color: #4338ca; }
.gx-phone { width: min(340px, 100%); margin-inline: auto; border-radius: 36px; border: 10px solid #0b1633; background: #efe9e1; overflow: hidden; box-shadow: var(--gx-shadow-lg); }
.gx-phone-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: #075e54; color: #fff; }
.gx-phone-head b { display: block; font-size: .92rem; }
.gx-phone-head small { opacity: .8; font-size: .74rem; }
.gx-phone-body { padding: 1rem .8rem 1.4rem; display: grid; gap: .55rem; min-height: 330px; align-content: start; }
.gx-msg { max-width: 82%; padding: .55rem .75rem; border-radius: 12px; font-size: .84rem; line-height: 1.55; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); animation: gxPop .5s var(--gx-ease) both; animation-delay: var(--d); }
.gx-msg.them { background: #fff; justify-self: start; border-start-start-radius: 4px; }
.gx-msg.bot { background: #d9fdd3; justify-self: end; border-start-end-radius: 4px; }
@keyframes gxPop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.gx-caption { text-align: center; color: var(--gx-muted); font-size: .82rem; margin-top: .8rem; }

/* Pegasus + protocol */
.gx-sparkles { display: flex; gap: .7rem; margin-top: 1.6rem; }
.gx-sparkles i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); }
.gx-protocol { list-style: none; counter-reset: p; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.gx-protocol li { counter-increment: p; position: relative; padding: .7rem .6rem; border-radius: 12px; background: var(--gx-bg-2); font-size: .82rem; font-weight: 600; color: var(--gx-ink); text-align: center; }
.gx-protocol li::before { content: counter(p); display: block; font-family: var(--gx-head); color: var(--c); font-weight: 700; }
.gx-alert-card { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; border: 1px solid #fecaca; background: #fff7f7; }
.gx-alert-card b { display: block; color: #b91c1c; font-size: .9rem; }
.gx-alert-card span { display: block; color: var(--gx-ink); font-size: .88rem; }
.gx-alert-card small { display: block; color: #15803d; font-weight: 600; margin-top: .2rem; }
.gx-pulse { position: relative; flex: 0 0 12px; height: 12px; margin-top: .3rem; border-radius: 50%; background: #ef4444; }
.gx-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #ef4444; animation: gxPulse 1.6s ease-out infinite; }
@keyframes gxPulse { to { transform: scale(2.8); opacity: 0; } }
@media (max-width: 575.98px) { .gx-protocol { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Partner ecosystem ---------- */
.gx-orbit { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto; }
.gx-orbit-ring { position: absolute; inset: 9%; border: 1.5px dashed #cbd5e1; border-radius: 50%; animation: gxSpin 70s linear infinite; }
.gx-orbit-ring.r2 { inset: 26%; border-style: solid; border-color: rgba(20, 184, 166, .25); animation-duration: 45s; animation-direction: reverse; }
@keyframes gxSpin { to { transform: rotate(360deg); } }
.gx-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gx-orbit svg line { stroke: #94a3b8; stroke-width: .4; stroke-dasharray: 2 2; animation: gxDash 1.6s linear infinite; }
@keyframes gxDash { to { stroke-dashoffset: -8; } }
.gx-orbit-core { position: absolute; inset: 33%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; background: #fff; border: 1px solid var(--gx-line); box-shadow: 0 30px 60px -24px rgba(99, 102, 241, .45); text-align: center; }
.gx-orbit-core b { font-family: var(--gx-head); color: var(--gx-ink); margin-top: .3rem; }
.gx-orbit-core small { color: var(--gx-muted); font-size: .7rem; font-weight: 600; }
.gx-orbit-node { position: absolute; width: 118px; margin: -48px 0 0 -59px; padding: .7rem .5rem; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center; background: #fff; border: 1px solid var(--gx-line); border-top: 3px solid var(--c); box-shadow: var(--gx-shadow); }
.gx-orbit-node i { color: var(--c); font-size: 1.3rem; }
.gx-orbit-node b { font-family: var(--gx-head); color: var(--gx-ink); font-size: .95rem; }
.gx-orbit-node small { color: var(--gx-muted); font-size: .66rem; line-height: 1.3; }
.gx-orbit-node.n1 { top: 10%; left: 50%; }
.gx-orbit-node.n2 { top: 72%; left: 15%; }
.gx-orbit-node.n3 { top: 72%; left: 85%; }
.gx-partner .gx-chip i { color: var(--c); }
.gx-partner h3 { font-size: 1.5rem; margin: .2rem 0 .6rem; }
.gx-points { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.gx-points li { display: flex; gap: .6rem; font-size: .9rem; color: var(--gx-text); }
.gx-points i { color: var(--c); margin-top: .3rem; font-size: .8rem; }
.gx-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.gx-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gx-bg-2); border: 1px solid var(--gx-line); color: var(--gx-ink); transition: all .25s; }
.gx-social a:hover { transform: translateY(-3px); background: var(--c, var(--gx-teal)); border-color: transparent; color: #fff; }

/* ---------- Portfolio ---------- */
.gx-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.4rem; }
.gx-filter { border: 1px solid var(--gx-line); background: #fff; color: var(--gx-muted); border-radius: 999px; padding: .5rem 1.05rem; font-size: .88rem; font-weight: 600; transition: all .2s; }
.gx-filter:hover { color: var(--gx-ink); border-color: var(--gx-teal); }
.gx-filter.is-active { background: var(--gx-navy); border-color: var(--gx-navy); color: #fff; }
.gx-filter .count { opacity: .6; margin-inline-start: .2rem; font-size: .78rem; }
.gx-product { display: flex; flex-direction: column; }
.gx-product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.gx-product h4 { font-size: 1.12rem; margin-bottom: .45rem; }
.gx-product p { font-size: .92rem; }
.gx-product-features { list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; gap: .4rem; }
.gx-product-features li { display: flex; gap: .55rem; align-items: baseline; font-size: .87rem; color: var(--gx-text); }
.gx-product-features li::before { content: ''; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }
.gx-product-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; padding-top: 1rem; border-top: 1px dashed var(--gx-line); }
.gx-chip-sector { color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); border-color: color-mix(in srgb, var(--c) 25%, var(--gx-line)); }
.gx-tag { font-size: .7rem; font-weight: 700; padding: .32rem .65rem; border-radius: 999px; white-space: nowrap; }
.gx-tag.product { background: #ccfbf1; color: #115e59; }
.gx-tag.client { background: #fef3c7; color: #92400e; }
.gx-tag.partner { background: #ede9fe; color: #5b21b6; }
.gx-product-col.is-hidden { display: none; }

/* ---------- CTA ---------- */
.gx-cta { position: relative; overflow: hidden; border-radius: 28px; padding: 3.6rem 3rem; background: radial-gradient(80% 140% at 0% 0%, rgba(20, 184, 166, .45), transparent 55%), radial-gradient(80% 140% at 100% 100%, rgba(99, 102, 241, .55), transparent 55%), var(--gx-navy); color: #fff; }
.gx-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
.gx-cta p { color: rgba(255, 255, 255, .78); font-size: 1.06rem; line-height: 1.75; }
@media (max-width: 575.98px) { .gx-cta { padding: 2.4rem 1.5rem; } }

/* ---------- Footer ---------- */
.gx-footer { background: var(--gx-navy) !important; color: rgba(255, 255, 255, .65); padding: 70px 0 30px; margin-top: 0 !important; }
.gx-footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--gx-head); font-weight: 700; font-size: 1.4rem; margin-bottom: 1rem; }
.gx-footer-brand:hover { color: #fff; }
.gx-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.gx-footer a { color: rgba(255, 255, 255, .65); }
.gx-footer a:hover { color: #5eead4; }
.gx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.gx-footer .gx-social a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.gx-footer .gx-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- Contact page ---------- */
.gx-page-hero { padding: 160px 0 70px; text-align: center; }
.gx-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.gx-page-hero .gx-lead { margin-inline: auto; }
.gx-contact-line { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--gx-line); color: var(--gx-ink); }
.gx-contact-line:last-of-type { border-bottom: 0; }
.gx-contact-line small { display: block; color: var(--gx-muted); font-size: .78rem; }
a.gx-contact-line:hover { color: var(--gx-teal-d); }
.gx-form .form-control { background: var(--gx-bg-2); border: 1px solid var(--gx-line); border-radius: 12px; padding: .8rem 1rem; color: var(--gx-ink); }
.gx-form .form-control:focus { background: #fff; border-color: var(--gx-teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .12); }
.gx-form .form-label { font-weight: 600; font-size: .9rem; color: var(--gx-ink); }
.gx-alert { display: flex; gap: .6rem; align-items: center; border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.gx-alert.ok { background: #dcfce7; color: #166534; }
.gx-alert.err { background: #fee2e2; color: #991b1b; }
.gx-alert.d-none { display: none !important; }

/* ---------- Legacy inner pages ---------- */
.content > section:first-child:not(.gx-hero):not(.hero-section) { padding-top: 110px !important; }
.hero-section { background: var(--gx-bg-2) !important; color: var(--gx-ink); padding: 150px 0 60px !important; }
.hero-section::before { display: none; }
.hero-section h1 { color: var(--gx-ink); }
.hero-section .lead { color: var(--gx-muted); }

/* ---------- Reveal on scroll ---------- */
.gx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--gx-ease), transform .8s var(--gx-ease); }
.gx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .gx-reveal { opacity: 1; transform: none; }
    .gx-rung, .gx-gene, .gx-orbit-ring, .gx-orbit svg line, .gx-pulse::after, .gx-msg, .gx-bars span { animation: none; }
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .gx-trust strong, [dir="rtl"] .gx-journey small, [dir="rtl"] .gx-num {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif; letter-spacing: 0;
}
[dir="rtl"] .gx-hero h1 { line-height: 1.3; font-weight: 800; }
[dir="rtl"] .gx-h2 { line-height: 1.4; font-weight: 800; }
[dir="rtl"] .gx-eyebrow { letter-spacing: 0; }
[dir="rtl"] .gx-nav .navbar-brand, [dir="rtl"] .gx-footer-brand, [dir="rtl"] .gx-orbit-core b, [dir="rtl"] .gx-orbit-node b { font-family: var(--gx-head); }
[dir="rtl"] .gx-flip { transform: scaleX(-1); }
[dir="rtl"] .gx-journey::before { background: repeating-linear-gradient(270deg, var(--gx-teal) 0 8px, transparent 8px 16px); }

/* Bootstrap's g-5 gutter is wider than the container padding on phones and causes sideways scroll */
@media (max-width: 575.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* Category example box (offline systems / automation) */
.gx-example { margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 16px; background: color-mix(in srgb, var(--c) 6%, #fff); border: 1px dashed color-mix(in srgb, var(--c) 40%, var(--gx-line)); }
.gx-example small { display: block; font-size: .76rem; font-weight: 700; color: var(--c); margin-bottom: .35rem; }
.gx-example b { display: block; color: var(--gx-ink); }
.gx-example b i { color: var(--c); margin-inline-end: .35rem; }
.gx-example span { display: block; color: var(--gx-muted); font-size: .9rem; }
.gx-example .gx-channels span { display: inline-block; color: inherit; font-size: .8rem; }

/* Partner blocks (automation / marketing) */
.gx-partner-block::before { width: 5px; }
.gx-pb-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.gx-pb-head h3 { font-size: 1.9rem; margin: 0; }
.gx-pb-head .gx-icon { background: var(--c); color: #fff; width: 56px; height: 56px; font-size: 1.4rem; }
.gx-pb-summary { margin: 1.2rem 0 1.6rem; font-size: 1.04rem; }
.gx-pb-title { font-size: 1rem; font-weight: 700; margin-bottom: .9rem; }
.gx-pb-title i { color: var(--c); margin-inline-end: .3rem; }
.gx-partner-block .gx-checks { margin: 0; gap: .55rem; }
.gx-partner-block .gx-checks li { font-size: .92rem; }
.gx-touch { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.gx-touch li { position: relative; padding: .65rem .9rem; padding-inline-start: 2.2rem; border-radius: 12px; background: color-mix(in srgb, var(--c) 7%, #fff); color: var(--gx-ink); font-size: .9rem; font-weight: 500; }
.gx-touch li::before { content: '\f471'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset-inline-start: .85rem; top: .7rem; color: var(--c); font-size: .8rem; }
.gx-impact { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dashed var(--gx-line); }
.gx-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gx-impact-grid div { padding: .9rem 1rem; border-radius: 14px; background: var(--gx-bg-2); border: 1px solid var(--gx-line); }
.gx-impact-grid small { display: block; font-weight: 700; color: var(--c); font-size: .8rem; margin-bottom: .2rem; }
.gx-impact-grid span { color: var(--gx-ink); font-size: .9rem; line-height: 1.5; }
@media (max-width: 991.98px) { .gx-impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .gx-impact-grid { grid-template-columns: 1fr; } }
.gx-funnel { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; justify-items: center; }
.gx-funnel li { width: var(--w); padding: .95rem 1rem; border-radius: 14px; text-align: center; font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--c), #8b5cf6); box-shadow: 0 12px 24px -16px var(--c); }
.gx-funnel li:nth-child(2) { opacity: .9; } .gx-funnel li:nth-child(3) { opacity: .82; } .gx-funnel li:nth-child(4) { opacity: .74; }

/* ================= Partner pages ================= */
.gx-pp-hero { padding-bottom: 70px; }
.gx-pp-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.gx-pp-tagline { font-size: 1.25rem; font-weight: 700; color: var(--c); margin: 1.2rem 0 .6rem; }
.gx-back { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--gx-muted); }
.gx-back:hover { color: var(--c); }
.gx-more-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; font-weight: 700; font-size: .9rem; color: var(--c); }
.gx-channels-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 3rem; padding: 1rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); }
.gx-channels-row b { color: var(--gx-ink); margin-inline-end: .4rem; }
.gx-channels-row span { padding: .4rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--gx-ink); font-weight: 600; font-size: .86rem; }
.gx-value { height: 100%; padding: 1.8rem 1.5rem; border-radius: 22px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); border-top: 4px solid var(--c); }
.gx-value > i { font-size: 1.6rem; color: var(--c); }
.gx-value h3 { font-size: 1.12rem; margin: 1rem 0 .45rem; }
.gx-value p { color: var(--gx-muted); margin: 0; line-height: 1.65; font-size: .93rem; }
.gx-impact-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 575.98px) { .gx-impact-grid.two { grid-template-columns: 1fr; } }
.gx-journey.four { grid-template-columns: repeat(4, 1fr); }
.gx-journey.four::before { inset-inline: 12%; }
@media (max-width: 991.98px) { .gx-journey.four { grid-template-columns: repeat(2, 1fr); } }
.gx-mini { display: flex; gap: 1rem; align-items: center; height: 100%; padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); transition: transform .25s, border-color .25s; }
.gx-mini:hover { transform: translateY(-3px); border-color: var(--c); }
.gx-mini h4 { font-size: 1.05rem; margin: 0 0 .15rem; }
.gx-mini p { margin: 0; color: var(--gx-muted); font-size: .88rem; }
.gx-monitor { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.gx-monitor div { display: flex; align-items: center; gap: .6rem; padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); font-weight: 600; color: var(--gx-ink); font-size: .9rem; }
.gx-monitor i { color: var(--c); }
.gx-monitor span { margin-inline-start: auto; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.gx-monitor div.warn { border-color: #fecaca; }
.gx-monitor div.warn span { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .15); animation: gxBlink 1.2s ease-in-out infinite; }
@keyframes gxBlink { 50% { opacity: .35; } }

/* ================= What we build ================= */
.gx-build-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
.gx-build { grid-column: span 2; display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); overflow: hidden; transition: transform .35s var(--gx-ease), box-shadow .35s, border-color .35s; }
.gx-build.is-website, .gx-build.is-webapp { grid-column: span 3; }
.gx-build:hover { transform: translateY(-6px); box-shadow: var(--gx-shadow-lg); border-color: color-mix(in srgb, var(--c) 45%, var(--gx-line)); }
.gx-build-visual { position: relative; height: 210px; display: flex; align-items: flex-end; justify-content: center; padding: 1.4rem 1.4rem 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 16%, #fff), color-mix(in srgb, var(--c) 5%, #fff)); }
.gx-build-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.gx-build-title { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.gx-build-title .gx-icon { width: 44px; height: 44px; font-size: 1.05rem; }
.gx-build-title h3 { font-size: 1.25rem; margin: 0; }
.gx-build p { color: var(--gx-muted); line-height: 1.7; margin-bottom: 1rem; }
.gx-build-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.gx-build-tags span { font-size: .76rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); }
@media (max-width: 991.98px) {
    .gx-build-grid { grid-template-columns: repeat(2, 1fr); }
    .gx-build, .gx-build.is-website, .gx-build.is-webapp { grid-column: span 1; }
    .gx-build.is-offline { grid-column: span 2; }
}
@media (max-width: 575.98px) {
    .gx-build-grid { grid-template-columns: 1fr; }
    .gx-build.is-offline { grid-column: span 1; }
}

/* Browser frame (website / web app) */
.gx-v-browser { width: 100%; max-width: 420px; height: 100%; border-radius: 14px 14px 0 0; background: #fff; border: 1px solid var(--gx-line); border-bottom: 0; box-shadow: 0 -10px 30px -18px rgba(11, 22, 51, .35); overflow: hidden; direction: ltr; }
.gx-v-bar { display: flex; align-items: center; gap: 5px; padding: .5rem .7rem; background: var(--gx-bg-2); border-bottom: 1px solid var(--gx-line); }
.gx-v-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.gx-v-bar i:nth-child(1) { background: #f87171; } .gx-v-bar i:nth-child(2) { background: #fbbf24; } .gx-v-bar i:nth-child(3) { background: #34d399; }
.gx-v-bar span { margin-left: .6rem; flex: 1; height: 14px; border-radius: 6px; background: #fff; border: 1px solid var(--gx-line); font-size: .58rem; color: var(--gx-muted); padding-left: .4rem; line-height: 12px; }
.gx-v-site { padding: .7rem .9rem; }
.gx-v-nav { display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }
.gx-v-nav b { font-size: .7rem; color: var(--gx-ink); margin-right: auto; }
.gx-v-nav em { width: 26px; height: 5px; border-radius: 3px; background: #e2e8f0; }
.gx-v-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: .8rem; align-items: center; }
.gx-v-hero span { display: block; height: 8px; border-radius: 4px; background: #e2e8f0; margin-bottom: .4rem; }
.gx-v-hero .l1 { height: 12px; width: 90%; background: var(--gx-ink); opacity: .85; }
.gx-v-hero .l2 { width: 75%; } .gx-v-hero .l3 { width: 55%; }
.gx-v-hero u { display: inline-block; text-decoration: none; margin-top: .3rem; padding: .25rem .6rem; border-radius: 6px; background: var(--c); color: #fff; font-size: .6rem; font-weight: 700; }
.gx-v-hero figure { margin: 0; height: 86px; border-radius: 10px; background: linear-gradient(135deg, var(--c), #6366f1); opacity: .85; }
.gx-v-app { display: grid; grid-template-columns: 80px 1fr; height: calc(100% - 31px); }
.gx-v-app aside { background: var(--gx-navy); padding: .6rem .45rem; display: grid; align-content: start; gap: .3rem; }
.gx-v-app aside span { font-size: .55rem; color: rgba(255, 255, 255, .6); padding: .25rem .35rem; border-radius: 5px; }
.gx-v-app aside span.on { background: rgba(255, 255, 255, .12); color: #fff; }
.gx-v-app > div { padding: .6rem; display: grid; gap: .5rem; align-content: start; }
.gx-v-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.gx-v-kpis span { height: 26px; border-radius: 6px; border: 1px solid var(--gx-line); border-top: 2px solid var(--c); }
.gx-v-bars { height: 82px; display: flex; align-items: flex-end; gap: 6%; padding: .4rem; border: 1px solid var(--gx-line); border-radius: 6px; }
.gx-v-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--c), #14b8a6); }

/* Phone (mobile apps) */
.gx-v-phone { position: relative; z-index: 1; width: 128px; height: 190px; border-radius: 22px 22px 0 0; border: 6px solid var(--gx-navy); border-bottom: 0; background: #fff; padding: 1.2rem .55rem 0; display: grid; align-content: start; gap: .4rem; box-shadow: 0 -10px 30px -16px rgba(11, 22, 51, .45); }
.gx-v-phone.back { position: absolute; z-index: 0; width: 110px; height: 150px; bottom: 0; margin-left: 150px; background: color-mix(in srgb, var(--c) 25%, #fff); border-color: #cbd5e1; transform: rotate(8deg); box-shadow: none; }
.gx-v-notch { position: absolute; top: 6px; left: 50%; width: 38px; height: 6px; margin-left: -19px; border-radius: 4px; background: var(--gx-navy); }
.gx-v-phone .head { height: 26px; border-radius: 8px; background: linear-gradient(120deg, var(--c), #8b5cf6); }
.gx-v-phone .card { height: 22px; border-radius: 7px; background: var(--gx-bg-2); border: 1px solid var(--gx-line); }
.gx-v-phone .card.short { width: 70%; }
.gx-v-tabbar { display: flex; justify-content: space-around; margin-top: .3rem; }
.gx-v-tabbar i { width: 10px; height: 10px; border-radius: 3px; background: #cbd5e1; }
.gx-v-tabbar i:first-child { background: var(--c); }

/* Cloud / LAN (online / offline systems) */
.gx-v-cloud, .gx-v-lan { position: relative; width: 100%; max-width: 300px; height: 100%; }
.gx-v-cloud i, .gx-v-lan i { position: absolute; display: grid; place-items: center; border-radius: 16px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); color: var(--gx-ink); }
.gx-v-cloud .core, .gx-v-lan .core { left: 50%; top: 22px; width: 76px; height: 64px; margin-left: -38px; font-size: 2rem; color: var(--c); }
.gx-v-cloud .d1, .gx-v-lan .d1 { left: 4%; top: 104px; width: 52px; height: 46px; font-size: 1.15rem; }
.gx-v-cloud .d2 { left: 50%; top: 122px; width: 44px; height: 46px; margin-left: -22px; font-size: 1.15rem; }
.gx-v-cloud .d3, .gx-v-lan .d2 { right: 4%; top: 104px; width: 52px; height: 46px; font-size: 1.15rem; }
.gx-v-cloud::before, .gx-v-lan::before { content: ''; position: absolute; left: 18%; right: 18%; top: 86px; height: 40px; border: 2px dashed color-mix(in srgb, var(--c) 45%, #cbd5e1); border-bottom: 0; border-radius: 14px 14px 0 0; }
.gx-v-cloud::after { content: ''; position: absolute; left: 50%; top: 86px; height: 36px; border-left: 2px dashed color-mix(in srgb, var(--c) 45%, #cbd5e1); }
.gx-v-state { position: absolute; top: 2px; right: 0; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 700; background: #fff; box-shadow: var(--gx-shadow); }
.gx-v-state.on { color: #15803d; }
.gx-v-state.on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.gx-v-state.off { color: var(--c); }
.gx-v-state i { position: static; display: inline; border: 0; box-shadow: none; background: none; color: inherit; }

.gx-slogan { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2.2rem; padding: 1.4rem 1.8rem; border-radius: 22px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); }
.gx-slogan > i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gx-grad); color: #fff; font-size: 1.4rem; }
.gx-slogan strong { display: block; font-size: 1.35rem; color: var(--gx-ink); }
.gx-slogan span { color: var(--gx-muted); }
.gx-slogan .gx-btn { margin-inline-start: auto; }
[dir="rtl"] .gx-slogan strong { font-family: 'Cairo', sans-serif; font-weight: 800; }

/* Brand lockup + "Make your DNA" */
.gx-nav .navbar-brand img, .gx-footer-brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .7); }
.gx-brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--gx-head); }
.gx-brand-text small { margin-top: .25rem; font-family: 'Inter', sans-serif; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gx-teal-d); }
.gx-footer .gx-brand-text small { color: #5eead4; }
.gx-orbit-core img { border-radius: 16px; }
.gx-brandline { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 1.4rem 1.8rem; margin-bottom: 90px; padding: 1.8rem 2.2rem; border-radius: 26px; background: radial-gradient(90% 140% at 0% 0%, rgba(20, 184, 166, .12), transparent 60%), radial-gradient(90% 140% at 100% 100%, rgba(99, 102, 241, .12), transparent 60%), #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); }
.gx-brandline img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 14px 28px -14px rgba(99, 102, 241, .8); }
.gx-brandline strong { display: block; font-family: var(--gx-head); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-brandline em { display: block; font-style: normal; font-weight: 700; color: var(--gx-ink); margin-top: .3rem; font-size: 1.05rem; }
.gx-brandline p { margin: 0; color: var(--gx-muted); line-height: 1.75; padding-inline-start: 1.8rem; border-inline-start: 1px solid var(--gx-line); }
@media (max-width: 991.98px) {
    .gx-brandline { grid-template-columns: auto 1fr; }
    .gx-brandline p { grid-column: 1 / -1; padding-inline-start: 0; border-inline-start: 0; }
}
.gx-cta-slogan { display: inline-block; margin-bottom: .8rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); font-size: .85rem; }
.gx-cta-slogan b { color: #5eead4; font-family: var(--gx-head); }
[dir="rtl"] .gx-brandline em { font-family: 'Cairo', sans-serif; font-weight: 800; }

.gx-dna-pill { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); color: var(--gx-ink); font-weight: 700; font-size: .92rem; }
.gx-dna-pill i { color: var(--gx-teal); }
.gx-dna-pill b { font-family: var(--gx-head); background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-coding { display: block; font-family: 'JetBrains Mono', monospace; font-size: .78rem; font-weight: 600; color: var(--gx-indigo); margin-bottom: .2rem; text-align: start; }
[dir="rtl"] .gx-coding { text-align: right; }

/* FAQ */
.gx-faq { max-width: 860px; margin: 0 auto; display: grid; gap: .8rem; }
.gx-faq details { border-radius: 18px; background: #fff; border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); padding: 0 1.4rem; transition: border-color .25s; }
.gx-faq details[open] { border-color: color-mix(in srgb, var(--gx-teal) 45%, var(--gx-line)); }
.gx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 700; color: var(--gx-ink); font-size: 1.04rem; }
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary i { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--gx-bg-2); color: var(--gx-teal-d); font-size: .8rem; transition: transform .25s; }
.gx-faq details[open] summary i { transform: rotate(45deg); background: var(--gx-grad); color: #fff; }
.gx-faq p { margin: 0 0 1.2rem; color: var(--gx-muted); line-height: 1.8; }
