/**
 * Public homepage — soft dark + light blue (match dashboard / checkout shapes)
 */

:root {
    --gx-bg: #000000;
    --gx-bg2: #0a0a0c;
    --gx-box: #12141a;
    --gx-box2: #1a2f52;
    --gx-ink: #f2f4f8;
    --gx-muted: rgba(242, 244, 248, 0.55);
    --gx-line: rgba(255, 255, 255, 0.1);
    --gx-blue: #60a5fa;
    --gx-blue2: #93c5fd;
    --gx-violet: #8b5cf6;
    --gx-shell: 430px;
    --gx-font: "Outfit", "Space Grotesk", sans-serif;
    --gx-body: "Outfit", "Manrope", sans-serif;
    --gx-urdu: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    margin: 0;
    background: var(--gx-bg);
}

body.gx-app {
    margin: 0;
    font-family: var(--gx-body);
    color: var(--gx-ink);
    background: var(--gx-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

a { color: inherit; text-decoration: none; }

.gx-shell {
    position: relative;
    width: 100%;
    max-width: var(--gx-shell);
    min-height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    background:
        radial-gradient(55% 40% at 88% 6%, rgba(96, 165, 250, 0.18), transparent 55%),
        radial-gradient(50% 35% at 12% 28%, rgba(139, 92, 246, 0.12), transparent 58%),
        linear-gradient(168deg, #0a0c12 0%, #000 42%, #05070c 100%);
}

.gx-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gx-orb,
.gx-shine { display: none; }

/* ─── Nav ─── */
.gx-nav {
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: max(10px, env(safe-area-inset-top)) 12px 6px;
}

.gx-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gx-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #93c5fd, #60a5fa 50%, #8b5cf6);
    border: 1.5px solid rgba(147, 197, 253, 0.35);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.35);
}

.gx-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gx-brand__fallback {
    font-size: 0.62rem;
    font-weight: 800;
    color: #0a0a0c;
}

.gx-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.gx-brand__name {
    margin: 0;
    font-family: var(--gx-font);
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}

.gx-brand__tag {
    font-size: 0.58rem;
    font-weight: 500;
    color: rgba(191, 219, 254, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.gx-menu {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: linear-gradient(145deg, #5b6cff, #60a5fa);
    display: grid;
    place-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.35);
}

.gx-menu span {
    display: block;
    width: 13px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.15s ease;
}

.gx-menu.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.gx-menu.is-open span:nth-child(2) { opacity: 0; }
.gx-menu.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.gx-menu-panel {
    position: relative;
    z-index: 35;
    margin: 0 12px 6px;
    padding: 6px;
    border-radius: 14px;
    background: #12141a;
    border: 1px solid rgba(147, 197, 253, 0.14);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    display: grid;
    gap: 2px;
}

.gx-menu-panel[hidden] { display: none; }

.gx-menu-panel a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e0f2fe;
}

.gx-menu-panel a:active {
    background: rgba(96, 165, 250, 0.12);
}

/* ─── Hero ─── */
.gx-hero {
    position: relative;
    z-index: 5;
    padding: 6px 14px 0;
}

.gx-banner {
    position: relative;
    width: 100%;
    height: clamp(160px, 42vw, 200px);
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(90% 80% at 80% 15%, rgba(96, 165, 250, 0.28), transparent 50%),
        linear-gradient(155deg, #122038 0%, #1a2f52 45%, #0e1728 100%);
    border: 1px solid rgba(147, 197, 253, 0.16);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.gx-banner__track { position: absolute; inset: 0; }

.gx-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gx-banner__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.gx-banner__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gx-banner__dots {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.gx-banner__dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.28);
}

.gx-banner__dot.is-active {
    width: 16px;
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.55);
}

.gx-banner__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
    color: #fff;
    background:
        radial-gradient(80% 70% at 90% 10%, rgba(96, 165, 250, 0.35), transparent 50%),
        linear-gradient(145deg, #122038 0%, #1a2f52 50%, #0e1728 100%);
}

.gx-banner__headline {
    margin: 0;
    font-family: var(--gx-font);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    max-width: 90%;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.gx-banner__sub {
    margin: 8px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(191, 219, 254, 0.8);
    max-width: 90%;
}

.gx-banner__hint {
    display: inline-flex;
    margin-top: 12px;
    padding: 0.22rem 0.65rem;
    width: fit-content;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a0a0c;
    background: linear-gradient(105deg, #93c5fd, #8b5cf6);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.gx-banner__rocket { display: none; }

.gx-welcome {
    margin: 6px 0 0;
    text-align: center;
}

.gx-welcome__line {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--gx-muted);
}

/* ─── CTAs — arrow blade (deposit family) ── */
.gx-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0 0;
}

.gx-cta--stack {
    grid-template-columns: 1fr;
    gap: 10px;
}

.gx-oil-btn {
    --gx-btn-skew: 14px;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px 0 14px !important;
    border: none !important;
    border-radius: 0 !important;
    clip-path: polygon(
        0 0,
        calc(100% - var(--gx-btn-skew)) 0,
        100% 50%,
        calc(100% - var(--gx-btn-skew)) 100%,
        0 100%,
        8px 50%
    ) !important;
    cursor: pointer;
    font: inherit;
    color: #0a0a0c !important;
    overflow: hidden;
    transition: transform 0.14s ease, filter 0.14s ease;
}

.gx-oil-btn:active {
    transform: scale(0.98);
    filter: brightness(1.05);
}

.gx-oil-btn--register {
    background: linear-gradient(105deg, #93c5fd 0%, #60a5fa 40%, #8b5cf6 100%) !important;
    box-shadow:
        0 10px 24px rgba(59, 130, 246, 0.35),
        0 4px 14px rgba(139, 92, 246, 0.22);
}

.gx-oil-btn--login {
    background: linear-gradient(105deg, #1e293b 0%, #334155 100%) !important;
    color: #e0f2fe !important;
    box-shadow:
        inset 0 0 0 1.5px rgba(147, 197, 253, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.35);
}

.gx-oil-btn__orb {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    clip-path: none;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    background: rgba(10, 10, 12, 0.28);
    border: 0;
    color: inherit;
}

.gx-oil-btn__orb i {
    font-size: 0.95rem;
    line-height: 1;
    color: inherit;
}

.gx-oil-btn--login .gx-oil-btn__orb {
    background: rgba(96, 165, 250, 0.22);
    color: #e0f2fe !important;
}

.gx-oil-btn--login .gx-oil-btn__orb i {
    color: #e0f2fe !important;
}

.gx-oil-btn--register .gx-oil-btn__orb {
    background: rgba(10, 10, 12, 0.28);
    color: #0a0a0c !important;
}

.gx-oil-btn--register .gx-oil-btn__orb i {
    color: #0a0a0c !important;
}

.gx-oil-btn__txt {
    flex: 1;
    font-family: var(--gx-font);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    color: inherit !important;
}

/* ─── Guide steps ─── */
.gx-guide {
    position: relative;
    z-index: 8;
    margin: 12px 14px 0;
    padding: 10px 8px 8px;
    border-radius: 16px;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(96, 165, 250, 0.12), transparent 55%),
        linear-gradient(165deg, #12141a 0%, #0e1218 100%);
    border: 1px solid rgba(147, 197, 253, 0.14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    flex: 0 0 auto;
}

.gx-guide__title {
    margin: 0 0 8px;
    text-align: center;
    font-family: var(--gx-urdu);
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.45;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gx-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.gx-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 12px 8px 10px;
    border-radius: 14px;
    overflow: visible;
    isolation: isolate;
    background: linear-gradient(160deg, #1a2438 0%, #121a28 100%);
    border: 1px solid rgba(147, 197, 253, 0.22);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-height: 0;
}

.gx-card::before {
    display: none;
}

.gx-card > * { position: relative; z-index: 1; }

.gx-card--half {
    grid-column: span 1;
    direction: rtl;
}

.gx-card--full {
    grid-column: 1 / -1;
    flex-direction: row;
    direction: ltr;
    text-align: right;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 8px 8px;
    min-height: 0;
    overflow: hidden;
}

.gx-card--full:nth-of-type(3) {
    border-color: rgba(96, 165, 250, 0.32);
}

.gx-card__num {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 20px;
    height: 20px;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: grid;
    place-items: center;
    font-family: var(--gx-font);
    font-size: 0.6rem;
    font-weight: 800;
    color: #0a0a0c;
    background: linear-gradient(145deg, #bfdbfe, #60a5fa 45%, #818cf8);
    border: 0;
    box-shadow:
        0 0 0 2px #0e1522,
        0 3px 8px rgba(59, 130, 246, 0.4);
}

.gx-card--full .gx-card__num {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    font-size: 0.62rem;
    box-shadow:
        0 0 0 2px rgba(15, 23, 42, 0.9),
        0 3px 8px rgba(59, 130, 246, 0.35);
}

.gx-card__ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    clip-path: none;
    background: #e0f2fe;
    box-shadow: 0 0 0 1.5px rgba(96, 165, 250, 0.4);
    color: #0f172a;
}

.gx-card__ico i {
    font-size: 0.95rem;
    color: #1e3a8a !important;
    line-height: 1;
    filter: none;
    opacity: 1;
}

.gx-card--full .gx-card__ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.gx-card--full .gx-card__ico i {
    font-size: 0.9rem;
}

/* legacy img hide if any remain */
.gx-card__img { display: none !important; }

.gx-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    direction: rtl;
    text-align: right;
}

.gx-card__title {
    margin: 0;
    font-family: var(--gx-urdu) !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.45 !important;
    letter-spacing: 0.01em;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.gx-card__txt {
    margin: 0;
    font-family: var(--gx-urdu) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #bfdbfe !important;
    line-height: 1.45 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gx-card--half .gx-card__title {
    font-size: 0.84rem !important;
    margin-top: 0;
    white-space: normal;
}

.gx-card--half .gx-card__txt {
    font-size: 0.66rem !important;
    color: #93c5fd !important;
}

.gx-card--half {
    padding-top: 14px;
}

.gx-step,
.gx-step__arrow,
.gx-step__tile,
.gx-step__ring,
.gx-step__num,
.gx-step__label,
.gx-guide__video { display: none; }

/* ─── Footer ─── */
.gx-footer {
    position: relative;
    z-index: 5;
    margin-top: 14px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #0a0a0c;
    border-top: 1px solid rgba(147, 197, 253, 0.12);
}

.gx-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #93c5fd;
}

.gx-footer__mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-size: 0.42rem;
    font-weight: 800;
    background: linear-gradient(145deg, #60a5fa, #8b5cf6);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #0a0a0c;
}

.gx-footer__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gx-footer__links {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.56rem;
    font-weight: 600;
    color: rgba(191, 219, 254, 0.55);
}

.gx-footer__links a:hover {
    color: #93c5fd;
}

@media (min-width: 431px) {
    body.gx-app {
        background: #05070c;
    }
    .gx-shell {
        box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
        border-left: 1px solid rgba(147, 197, 253, 0.08);
        border-right: 1px solid rgba(147, 197, 253, 0.08);
    }
}
