﻿
:root {
    --bg-color: #080c14;
    --bg-secondary: #0f172a;
    --card-bg: rgba(12, 18, 32, 0.9);
    --glass: rgba(255, 255, 255, 0.08);
    --accent: #a1abc1;
    --accent-2: #465a94;

    /* Scrollbar theme */
    --scrollbar-size: 11px;
    --scrollbar-track: rgba(255, 255, 255, 0.05);
    --scrollbar-thumb: linear-gradient(180deg, rgba(161, 171, 193, 0.95), rgba(139, 92, 246, 0.72), rgba(70, 90, 148, 0.92));
    --scrollbar-thumb-border: rgba(5, 7, 16, 0.72);
    --scrollbar-glow: rgba(70, 90, 148, 0.35);
    --surface-border: rgba(255, 255, 255, 0.06);
    --text-light: #e5e7eb;
    --text-muted: #cdd9f5;
    --font-body: "IBM Plex Sans Arabic", "Vazirmatn", "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "IBM Plex Sans Arabic", "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Prevent tap highlight from tinting icons/text on mobile (iOS/Android) */
:where(a, button, input, select, textarea, [role="button"]) {
    -webkit-tap-highlight-color: transparent;
}

/* Consistent focus ring without changing element colors */
:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus {
    outline: none;
}
:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
    outline: 2px solid rgba(14, 165, 233, 0.7);
    outline-offset: 3px;
}

/* Custom scrollbars (Chromium/WebKit + Firefox) */
html {
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(70, 90, 148, 0.65) var(--scrollbar-track);
}
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(70, 90, 148, 0.65) var(--scrollbar-track);
}
*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}
*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
*::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
    border: 2px solid var(--scrollbar-thumb-border);
    background-clip: padding-box;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.10),
        0 0 0 1px rgba(70, 90, 148, 0.14);
}
*::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.06) saturate(1.08);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 18px var(--scrollbar-glow);
}
*::-webkit-scrollbar-corner {
    background: transparent;
}

@media (pointer: coarse) {
    :root { --scrollbar-size: 8px; }
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    color: var(--text-light);
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(6, 182, 212, 0.05), transparent 35%),
        #05070d;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.hero-title, .hero-tag, .navbar-brand, .pill, .brand-icon {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.hero-card {
    background: linear-gradient(135deg, rgba(12, 18, 32, 0.95), rgba(6, 10, 20, 0.92));
    border: 1px solid var(--surface-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.panel-card, .workspace-card, .plan-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    color: var(--text-light);
}

.panel-card .card-header, .workspace-card .card-header {
    color: var(--text-muted);
}

.plan-price, .metric-value {
    color: #f8fafc;
}

.text-white-50 { color: var(--text-muted) !important; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    color: #0b1220;
    font-weight: 700;
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-outline-light { border-color: var(--accent); color: var(--accent); }
.btn-outline-light:hover { background: var(--accent); color: #05101c; }

.form-control, .form-select {
    background-color: rgba(255,255,255,0.06);
    border-color: var(--surface-border);
    color: #f8fafc;
}
.form-control::placeholder { color: var(--text-muted); }

.table { color: #e5e7eb; }
.table-hover tbody tr:hover { background-color: rgba(34, 211, 238, 0.05); }

.list-group-item { color: #e5e7eb; border-color: var(--surface-border); }

.badge.bg-success { background-color: #22c55e !important; }
.badge.bg-secondary, .badge.bg-info, .badge.bg-dark { color: #0b1220; }

.navbar-nav .nav-link { color: var(--text-muted) !important; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: #f8fafc !important; }

.bg-surface {
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.25), transparent),
        #050913;
}

.background-glow {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.4), transparent 50%),
        radial-gradient(circle at 80% 0%, rgba(236, 72, 153, 0.35), transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.glass-nav {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.55));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.58));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Match Bootstrap stacking so modals always overlay header/nav */
.app-menu.offcanvas { z-index: 1045; }
.offcanvas-backdrop { z-index: 1040; }
.app-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding: 0.85rem clamp(1rem, 3vw, 2.25rem);
}
.app-topbar__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.app-topbar__logo { color: #f8fafc; text-decoration: none; min-width: 0; }
.app-topbar__logo:hover { color: #fff; }
.app-topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}
.app-topbar__logo-img {
    height: clamp(50px, 3vw, 54px);
    width: clamp(50px, 3vw, 54px);
    object-fit: contain;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.72), transparent 58%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.16), transparent 55%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(139, 92, 246, 0.16)),
        rgba(255, 255, 255, 0.06);
    padding: 1px;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.app-topbar .brand-icon {
    width: clamp(46px, 3vw, 54px);
    height: clamp(46px, 3vw, 54px);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border: 1px solid rgba(34, 211, 238, 0.22);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}
.app-topbar__brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.app-topbar__auth { display: inline-flex; align-items: center; gap: 0.45rem; flex: 0 0 auto; }
.app-topbar__actions :is(.btn, button.btn) {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding-inline: 0.95rem;
    border-radius: 14px;
    font-weight: 700;
}
.app-topbar__menu-btn {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding-inline: 0.75rem;
}

.app-menu .list-group-item {
    border-color: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    padding: 0.85rem 1rem;
}
.app-menu .list-group-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* App menu animation + mobile bottom-sheet behavior */
.app-menu.offcanvas {
    --app-menu-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
    --app-menu-duration: 280ms;
}
.app-menu .offcanvas-body {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform var(--app-menu-duration) var(--app-menu-ease);
}
.app-menu.show .offcanvas-body {
    opacity: 1;
    transform: translateY(0);
}

.app-menu.offcanvas-start {
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    width: min(520px, calc(100vw - 1.5rem));
    height: min(72vh, calc(100dvh - 1rem));
    max-height: calc(100dvh - 1rem);
    border-radius: 22px 22px 0 0;
    border-inline: 0;
    border-bottom: 0;
    transform: translate3d(-50%, 100%, 0);
    transition: transform var(--app-menu-duration) var(--app-menu-ease);
}
.app-menu.offcanvas-start.show,
.app-menu.offcanvas-start.showing {
    transform: translate3d(-50%, 0, 0);
}
.app-menu.offcanvas-start.hiding {
    transform: translate3d(-50%, 100%, 0);
}

.app-bottom-nav {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 1030;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 0.25rem;
    padding: 0.55rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(5, 7, 16, 0.0), rgba(5, 7, 16, 0.72) 25%, rgba(5, 7, 16, 0.92));
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.app-bottom-nav__item {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.1;
    user-select: none;
}
.app-bottom-nav__item i { font-size: 1.25rem; line-height: 1; }
.app-bottom-nav__item:hover { color: #f8fafc; }
.app-bottom-nav__item.is-active { color: #0ea5e9; }
.app-bottom-nav__item.is-active i { color: #0ea5e9; }

.app-bottom-nav__item--home {
    color: #0b1220;
    transform: translateY(-10px);
}
.app-bottom-nav__home-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.app-bottom-nav__home-icon i { color: #f8fafc; }
.app-bottom-nav__item--home span:last-child { color: #f8fafc; font-weight: 700; }
.app-bottom-nav__item--home i { font-size: 1.5rem; }
.app-bottom-nav__item--home.is-active .app-bottom-nav__home-icon {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(14, 165, 233, 0.25);
}

@media (max-width: 992px) {
    .app-bottom-nav { display: grid; }
    .app-topbar__menu-btn { display: none !important; }
    .landing-menu-btn { display: none !important; }
    body { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom)); }
    main.container-fluid { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom)); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .app-topbar,
    .app-bottom-nav {
        backdrop-filter: none;
    }
}

/* Auth pages (login/register) */
.auth-shell {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}
.auth-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.auth-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
}
.auth-main {
    padding: clamp(1.35rem, 2.5vw, 2.1rem);
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.82), rgba(6, 10, 20, 0.62));
}
.auth-side {
    padding: clamp(1.1rem, 2.2vw, 1.75rem);
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.16), transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.14), transparent 52%),
        rgba(6, 10, 20, 0.74);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
html[dir="ltr"] .auth-side { border-right: 0; border-left: 1px solid rgba(255, 255, 255, 0.06); }

.auth-head { margin-bottom: 1.2rem; }
.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(226, 232, 240, 0.9);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
}
.auth-title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 950; color: #f8fafc; }
.auth-subtitle { color: rgba(226, 232, 240, 0.75); line-height: 1.85; }

.auth-form .form-label { font-weight: 700; }
.auth-submit { height: 48px; border-radius: 16px; font-weight: 900; }
.auth-foot { margin-top: 1rem; font-size: 0.95rem; }
.auth-mono { font-family: "Space Grotesk", "IBM Plex Sans Arabic", "Vazirmatn", ui-monospace, monospace; color: #e2e8f0; }

.auth-side__card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    padding: 1.1rem 1.15rem;
}
.auth-side__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(14, 165, 233, 0.28);
    color: #e0f2fe;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}
.auth-side__title { margin: 0 0 0.75rem; font-weight: 900; font-size: 1.05rem; color: #f8fafc; }
.auth-side__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; color: rgba(226, 232, 240, 0.8); }
.auth-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
    margin-inline: 0.2rem 0.55rem;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
    transform: translateY(-1px);
}
.auth-side__actions { display: grid; gap: 0.6rem; margin-top: 1rem; }
.auth-side__actions .btn { border-radius: 16px; height: 44px; font-weight: 800; }

.auth-steps { display: grid; gap: 0.75rem; margin: 1.25rem 0; }
.auth-step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}
.auth-step__num {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: #e0f2fe;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(139, 92, 246, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}
.auth-step__title { font-weight: 900; color: #f8fafc; margin-bottom: 0.2rem; }
.auth-step__text { color: rgba(226, 232, 240, 0.75); line-height: 1.8; }
.auth-primary-actions { display: grid; gap: 0.65rem; margin-top: 0.5rem; }
.auth-primary-actions .btn { height: 48px; border-radius: 16px; font-weight: 900; }

@media (max-width: 992px) {
    .auth-grid { grid-template-columns: 1fr; }
    .auth-side { border-right: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
    html[dir="ltr"] .auth-side { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
    .auth-shell { min-height: auto; }
}
.page-preloader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.16), transparent 38%),
        radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.16), transparent 42%),
        radial-gradient(circle at 40% 85%, rgba(14, 165, 233, 0.10), transparent 45%),
        #05070d;
    z-index: 2000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    isolation: isolate;
}
.page-preloader::before,
.page-preloader::after {
    content: "";
    position: absolute;
    inset: -25%;
    pointer-events: none;
}
.page-preloader::before {
    background:
        radial-gradient(circle at 25% 20%, rgba(56, 189, 248, 0.22), transparent 42%),
        radial-gradient(circle at 70% 35%, rgba(236, 72, 153, 0.12), transparent 44%),
        radial-gradient(circle at 55% 80%, rgba(139, 92, 246, 0.18), transparent 48%);
    filter: blur(22px);
    opacity: 0.85;
    animation: preloader-aurora 7.5s ease-in-out infinite;
    z-index: 0;
}
.page-preloader::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 35%, rgba(255, 255, 255, 0.05)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 10px);
    opacity: 0.25;
    mix-blend-mode: overlay;
    animation: preloader-scan 3.6s linear infinite;
    z-index: 0;
}
.page-preloader--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1.4rem 1.6rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.62);
    z-index: 1;
}
.preloader-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}
.preloader-mark {
    position: relative;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    margin-bottom: 0.1rem;
    animation: preloader-float 2.6s ease-in-out infinite;
}
.preloader-mark::before {
    content: "";
    position: absolute;
    inset: -44px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.16), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(56, 189, 248, 0.14), transparent 55%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(139, 92, 246, 0.10)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    z-index: 0;
}
.preloader-mark > * { position: relative; z-index: 1; }
.preloader-mark :is(.preloader-logo-frame, .preloader-logo, .preloader-logo-img) { position: relative; z-index: 2; }
.preloader-logo-frame {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    padding: 7px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.18), transparent 55%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(139, 92, 246, 0.14)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255,255,255,0.06);
}
.preloader-logo-frame :is(.preloader-logo, .preloader-logo-img) {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}
.preloader-logo-img {
    object-fit: contain;
    display: block;
}
.preloader-title {
    color: #e5e7eb;
    font-weight: 600;
}
.preloader-dots {
    display: inline-flex;
    gap: 0.35rem;
    height: 14px;
    align-items: center;
    justify-content: center;
}
.preloader-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.7);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 18px rgba(56,189,248,0.16);
    animation: preloader-dot 1.05s ease-in-out infinite;
}
.preloader-dots span:nth-child(2) { animation-delay: 0.16s; background: rgba(56,189,248,0.72); }
.preloader-dots span:nth-child(3) { animation-delay: 0.32s; background: rgba(139,92,246,0.72); }

.preloader-orbit {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 1px rgba(56,189,248,0.10) inset;
    animation: preloader-orbit 2.2s linear infinite;
    z-index: 1;
}
.preloader-orbit::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(56,189,248,0.35));
    top: 8px;
    left: 10px;
    box-shadow: 0 0 18px rgba(56,189,248,0.22);
}
.preloader-orbit--2 {
    inset: -18px;
    animation-duration: 3.1s;
    opacity: 0.7;
}
.preloader-orbit--2::after {
    width: 8px;
    height: 8px;
    top: auto;
    bottom: 10px;
    left: auto;
    right: 10px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(139,92,246,0.3));
    box-shadow: 0 0 16px rgba(139,92,246,0.2);
}
.preloader-orbit--3 {
    inset: -32px;
    opacity: 0.55;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.10);
    animation-duration: 4.6s;
    animation-direction: reverse;
}
.preloader-orbit--3::after {
    width: 7px;
    height: 7px;
    top: 16px;
    left: auto;
    right: 14px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.78), rgba(34,211,238,0.28));
    box-shadow: 0 0 14px rgba(34,211,238,0.18);
}
.preloader-bar {
    position: relative;
    width: 190px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}
.preloader-bar-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #22d3ee);
    animation: preloader-move 1.4s ease-in-out infinite;
}
@keyframes preloader-move {
    0% { transform: translateX(-70%); }
    50% { transform: translateX(10%); }
    100% { transform: translateX(100%); }
}
@keyframes preloader-dot {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-5px); opacity: 1; }
}
@keyframes preloader-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes preloader-orbit {
    to { transform: rotate(360deg); }
}
@keyframes preloader-aurora {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3%, -2%, 0) scale(1.03); }
}
@keyframes preloader-scan {
    0% { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
    100% { transform: translate3d(4%, 2%, 0) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .page-preloader::before,
    .page-preloader::after,
    .preloader-bar-fill,
    .preloader-dots span {
        animation: none !important;
    }
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 600;
}

.hero-card {
    background: linear-gradient(135deg, rgba(12, 18, 32, 0.95), rgba(6, 10, 20, 0.92));
    border-radius: 32px;
    padding: 2.5rem;
    color: #f1f5f9;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--surface-border);
}

.metric-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(6, 12, 24, 0.8);
    padding: 1.5rem;
    height: 100%;
    color: #e2e8f0;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}
.action-group .btn {
    min-width: 90px;
}
@media (max-width: 576px) {
    .action-group {
        width: 100%;
    }
    .action-group .btn {
        flex: 1 1 100%;
        min-width: 0;
    }
}

.workspace-card,
.panel-card {
    border-radius: 22px;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    box-shadow: 0 15px 30px rgba(5, 10, 20, 0.3);
}

.panel-card .card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--card-bg);
    color: var(--text-light);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 14px 40px rgba(34, 211, 238, 0.18);
}

.service-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(5, 13, 25, 0.8), rgba(6, 9, 19, 0.95));
    box-shadow: 0 20px 40px rgba(5, 11, 21, 0.5);
}
.service-card .service-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
}
.service-card .btn {
    margin-top: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.chip {
    display: inline-flex;
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(34, 211, 238, 0.1);
    color: var(--text-light);
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}
.panel-card .form-label,
.panel-card label {
    color: var(--text-light);
}
# ensure select dropdown text/background stay legible when opened
.form-select option,
select option {
    background-color: #0f172a;
    color: #e2e8f0;
}
.form-select option:checked,
.form-select option:focus,
.form-select option:active,
select option:checked {
    background-color: rgba(59, 130, 246, 0.25);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.form-select option {
    background-color: #101a32;
    color: #e2e8f0;
}
.form-select option:checked,
.form-select option:focus,
.form-select option:active {
    background-color: rgba(59, 130, 246, 0.25);
    color: #fff;
}
.list-group-item {
    background-color: rgba(15, 23, 42, 0.6);
    color: #cbd5f5;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.table {
    color: var(--text-light);
}

.table thead {
    color: #f8fbff;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(88, 28, 135, 0.12));
}
.table thead th { font-weight: 700; }
.table tbody td, .table tbody th { color: var(--text-light); }
.table > :not(caption) > * > * {
    background-color: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.message-list .list-group-item {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.message-list .list-group-item:last-child {
    border-bottom: 0;
}

.category-chip {
    border: 0;
    font-weight: 700;
    color: #0b1220;
}
.category-chip.cat-1 { background: #a5d8ff; }
.category-chip.cat-2 { background: #c3f0ca; }
.category-chip.cat-3 { background: #ffd6a5; }
.category-chip.cat-4 { background: #ffc9de; }
.category-chip.cat-5 { background: #e0c3fc; }
.navbar-nav .nav-link {
    color: rgba(226, 232, 240, 0.85) !important;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #fff !important;
}
.navbar .navbar-brand {
    color: #fff;
}
.navbar .navbar-brand:hover {
    color: #e2e8f0;
}
.dropdown-menu {
    background-color: var(--bg-secondary);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.dropdown-item {
    color: var(--text-light);
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.target-management .targets-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.targets-page-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}
@media (min-width: 576px) {
    .targets-page-actions {
        flex-direction: row;
    }
}
@media (min-width: 992px) {
    .targets-page-actions {
        width: auto;
        min-width: 360px;
    }
}

.targets-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.target-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.category-card {
    border-radius: 22px;
}
.category-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0.5rem;
}
.category-card-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}
.category-card-actions .btn {
    min-width: 150px;
}
.category-card .badge {
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-2);
}
.category-card-body {
    padding: 0 1.5rem 1.5rem;
}
@media (max-width: 576px) {
    .category-card-header {
        flex-direction: column;
        align-items: stretch;
    }
    .category-card-actions {
        justify-content: space-between;
    }
    .category-card-actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}
.target-card.empty-card .card-body {
    padding: 2.5rem 1.5rem;
}
.target-form-card .card-body + .card-body {
    border-top: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.01);
}

.target-row {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem 1.25rem;
}
.list-group .target-row:last-child {
    border-bottom: 0;
}
.target-row-actions .btn {
    min-width: 88px;
}
@media (max-width: 576px) {
    .target-row {
        padding: 0.75rem 1rem;
    }
    .target-row-actions {
        width: 100%;
    }
    .target-row-actions .btn {
        flex: 1 1 48%;
        min-width: 0;
    }
}
.category-modal-layer[hidden] {
    display: none;
}
.category-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(3, 6, 13, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}
.category-modal-card {
    width: min(720px, 95vw);
    max-height: 90vh;
    background: rgba(9, 14, 26, 0.98);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    color: var(--text-light);
}
.category-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.category-modal-body {
    overflow-y: auto;
    max-height: min(65vh, 560px);
    padding-right: 0.5rem;
}
.category-modal-body .list-group {
    border-radius: 16px;
    overflow: hidden;
}
.category-modal-body .target-row {
    background: rgba(11, 17, 31, 0.85);
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.category-modal-card::-webkit-scrollbar,
.category-modal-body::-webkit-scrollbar {
    width: 10px;
}
.category-modal-card::-webkit-scrollbar-track,
.category-modal-body::-webkit-scrollbar-track {
    background: rgba(6, 10, 20, 0.6);
}
.category-modal-card::-webkit-scrollbar-thumb,
.category-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #0ea5e9);
    border-radius: 8px;
}
@media (max-width: 576px) {
    .category-modal-card {
        padding: 1.25rem;
    }
    .category-modal-body {
        max-height: 70vh;
    }
}
body.modal-open {
    overflow: hidden;
}
.storefront {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.store-toolbar {
    display: flex;
    justify-content: flex-end;
}
.language-switcher {
    display: inline-flex;
    gap: 0.5rem;
}
.language-switcher a {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
}
.language-switcher a.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05101c;
    border-color: transparent;
}
.language-switcher a:hover {
    border-color: var(--accent);
}
.store-hero {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    background: linear-gradient(135deg, rgba(12, 18, 32, 0.95), rgba(8, 28, 48, 0.85));
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.store-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-tag {
    font-size: 0.85rem;
    color: var(--accent-2);
    letter-spacing: 0.05em;
}
.hero-title {
    font-size: clamp(1.8rem, 2.6vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.hero-text {
    margin: 0;
    color: var(--text-muted);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hero-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.domain-pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    font-size: 0.9rem;
}
.store-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-illustration {
    width: 100%;
    max-width: 320px;
    height: 100%;
    min-height: 220px;
    border-radius: 28px;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.25), rgba(9, 14, 26, 0.85));
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    color: #fff;
    padding: 1.5rem;
}
.hero-illustration strong {
    font-size: 2rem;
}
.store-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 20px;
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(34, 211, 238, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.store-products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}
.wallet-chip i {
    color: var(--accent-2);
}
.store-products-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 1.25rem;
    align-items: flex-start;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.apple-card {
    padding: 1.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.92), rgba(8, 14, 26, 0.9));
    box-shadow: 0 18px 40px rgba(3, 7, 18, 0.6);
}
.apple-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.apple-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-domain {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f8fbff;
}
.product-badges {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: end;
    align-items: flex-end;
}
.badge-soft {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(103, 232, 249, 0.3);
    color: #67e8f9;
    font-weight: 600;
    font-size: 0.85rem;
}
.price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}
.price-main {
    font-weight: 800;
    font-size: 1.05rem;
    color: #f8fafc;
}
.price-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.option-group {
    margin-bottom: 1rem;
}
.option-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.option-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--text-light);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.option-btn:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}
.option-btn.is-selected {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #041426;
}
.selection-summary {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.card-actions {
    margin-top: 1rem;
}
.cart-panel {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 16, 30, 0.95), rgba(6, 10, 20, 0.9));
    box-shadow: 0 18px 38px rgba(2, 8, 20, 0.6);
    padding: 1.4rem;
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.cart-count {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.14);
    color: #67e8f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.cart-wallet {
    margin: 0.5rem 0 0;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 120px;
}
.cart-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.cart-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.cart-item-title {
    font-weight: 700;
    color: #f8fafc;
}
.cart-item-options {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.cart-item-price {
    color: #e2e8f0;
    font-weight: 600;
}
.cart-remove {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    padding: 0.25rem;
    border-radius: 10px;
}
.cart-remove:hover {
    color: var(--accent-2);
    background: rgba(255, 255, 255, 0.05);
}
.cart-empty {
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.85rem;
}
.cart-summary {
    margin-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cart-summary .summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e2e8f0;
}
.cart-panel .btn {
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.25);
}
.topup-card {
    position: relative;
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.2), rgba(29, 78, 216, 0.25), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.5);
    color: #e2e8f0;
    overflow: hidden;
}
.topup-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.2), transparent 35%);
    pointer-events: none;
}
.topup-card__chip {
    width: 36px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f4d35e, #f59e0b);
    margin-bottom: 0.85rem;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.topup-card__bank {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.topup-card__number {
    font-family: "Space Grotesk", "Courier New", monospace;
    letter-spacing: 0.16em;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 0.75rem;
}
.copy-card-btn {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.copy-card-btn:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}
.topup-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topup-card .label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .store-products-layout {
        grid-template-columns: 1fr;
    }
}
.store-faq {
    padding: 2.75rem;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(12, 20, 34, 0.95), rgba(6, 8, 16, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(2, 8, 20, 0.7);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.store-faq .faq-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.store-faq .faq-intro {
    flex: 1 1 320px;
    min-width: 260px;
}
.store-faq .faq-description {
    margin-bottom: 0;
}
.store-faq .faq-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
}
.store-faq .faq-pill {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}
.store-faq .faq-actions {
    flex: 0 0 min(360px, 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 18px 40px rgba(2, 8, 20, 0.55);
}
.store-faq .faq-actions-text p {
    margin: 0;
}
.store-faq .faq-action-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.store-faq .faq-action-buttons .btn {
    flex: 1 1 140px;
}
.store-faq .faq-body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 1.5rem;
}
.store-faq .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.store-faq .faq-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(4, 8, 16, 0.85);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.store-faq .faq-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.6);
}
.store-faq .faq-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}
.store-faq .faq-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: #f8fbff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.35rem;
    text-align: left;
    font-size: 1rem;
}
.store-faq .faq-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
}
.store-faq .faq-question-text {
    flex: 1;
}
.store-faq .faq-chevron {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.store-faq .faq-chevron::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}
.store-faq .faq-toggle[aria-expanded="true"] .faq-chevron {
    border-color: rgba(14, 165, 233, 0.8);
}
.store-faq .faq-toggle[aria-expanded="true"] .faq-chevron::after {
    transform: rotate(-135deg);
}
.store-faq .faq-card-body {
    padding: 1rem 1.35rem 1.5rem;
}
.store-faq .faq-answer {
    margin: 0;
    line-height: 1.6;
}
.store-faq .faq-summary-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 100%;
}
.store-faq .summary-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.store-faq .summary-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.store-faq .summary-point {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.store-faq .summary-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    margin-top: 0.35rem;
}
@media (max-width: 900px) {
    .store-faq .faq-body {
        grid-template-columns: 1fr;
    }
}
.app-footer {
    margin: 0 auto 4.5rem;
    width: min(1200px, 100%);
    max-width: 1200px;
    padding: 3rem 0 1.5rem;
    background: linear-gradient(180deg, rgba(5, 7, 16, 0.95), rgba(7, 10, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}
.app-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}
.app-footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.app-footer__logo {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.18), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.18), transparent 52%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.14)),
        rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.app-footer__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    display: block;
}
.app-footer__logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
}
.app-footer__brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}
.app-footer__description {
    margin: 0.35rem 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.app-footer__socials {
    display: inline-flex;
    gap: 0.5rem;
}
.app-footer__social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s ease;
}
.app-footer__social:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}
.app-footer__section {
    min-width: 180px;
}
.app-footer__section-title {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}
.app-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.app-footer__links a {
    color: #f8fbff;
    text-decoration: none;
    font-size: 0.95rem;
}
.app-footer__links a:hover {
    color: var(--accent-2);
}
.app-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.app-footer__contact-link {
    color: var(--accent-2);
    text-decoration: none;
    font-size: 0.95rem;
}
.app-footer__contact-link:hover {
    text-decoration: underline;
}
.app-footer__trust-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.app-footer__trust-badge {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.55rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 56px;
}
.app-footer__trust-badge-img {
    height: 56px;
    width: auto;
    display: block;
}
.app-footer__trust-badge--script {
    min-width: 130px;
}

.app-footer__trust-badge--script a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.app-footer__trust-badge--script img {
    max-height: 44px;
    width: auto;
    display: block;
}
.app-footer__meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.85rem;
}
@media (max-width: 768px) {
    .app-footer__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .app-footer__meta {
        justify-content: flex-start;
    }
}
@media (max-width: 576px) {
    .app-footer {
        padding: 2.5rem 0 1.25rem;
    }
    .app-footer__brand {
        flex-direction: column;
        align-items: flex-start;
    }
    .app-footer__socials {
        flex-wrap: wrap;
    }
}
.profile-pill {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
    padding-inline: 0.9rem;
    transition: all 0.2s ease;
}
.profile-pill:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.25);
}
