/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #07070a;
    --bg-secondary: #0d0d14;
    --bg-card: #111119;
    --bg-card-hover: #16161f;
    --bg-elevated: #1a1a25;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.15);
    --accent-gradient: linear-gradient(135deg, #f97316, #ef4444);

    --qb-color: #22c55e;
    --esx-color: #3b82f6;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
}

.btn--primary {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.btn--primary:hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.35);
    transform: translateY(-1px);
}

.btn--ghost {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
}

.btn--ghost:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 1px;
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}

.nav__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: var(--transition);
}

.nav__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.nav__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(7, 7, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateY(20px);
    transition: var(--transition);
}

.mobile-menu.active .mobile-menu__inner {
    transform: translateY(0);
}

.mobile-menu__link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu__link:hover {
    color: var(--text-primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1), transparent 70%);
    bottom: -100px;
    right: -100px;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__inner {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.15);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Code Window */
.hero__visual {
    margin-top: 72px;
    width: 100%;
    max-width: 560px;
    perspective: 1000px;
}

.hero__code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(249, 115, 22, 0.05);
    transform: rotateX(2deg);
    transition: var(--transition-slow);
}

.hero__code-window:hover {
    transform: rotateX(0deg);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(249, 115, 22, 0.08);
}

.code-window__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.code-window__dots {
    display: flex;
    gap: 7px;
}

.code-window__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.code-window__title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.code-window__body {
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    overflow-x: auto;
    text-align: left;
}

.code-window__body code {
    font-family: inherit;
}

.code-fn { color: #c084fc; }
.code-str { color: #34d399; }
.code-key { color: #60a5fa; }
.code-comment { color: var(--text-muted); font-style: italic; }

/* ===== STATS ===== */
.stats {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex-shrink: 0;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat__suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.stat__divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ===== PRODUCTS ===== */
.products {
    padding: 120px 0;
}

.products__filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.filter-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    color: white;
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.2);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card--featured {
    border-color: rgba(249, 115, 22, 0.2);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.03), transparent);
}

.product-card--featured:hover {
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(249, 115, 22, 0.05);
}

.product-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--accent-gradient);
    color: white;
}

.product-card__badge--soon {
    background: linear-gradient(135deg, #64748b, #475569);
}

.product-card__badge--new {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.product-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.product-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-card__version {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.product-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid;
}

.tag--qb {
    color: var(--qb-color);
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
}

.tag--esx {
    color: var(--esx-color);
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.tag--ox {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.2);
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.product-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.product-card__price--tba {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 0;
}

.cta-banner__inner {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: 72px 48px;
    text-align: center;
    overflow: hidden;
}

.cta-banner__glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-banner__content {
    position: relative;
}

.cta-banner__title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-banner__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-banner__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: var(--border-hover);
}

.faq__item.active {
    border-color: rgba(249, 115, 22, 0.2);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq__question:hover {
    color: var(--accent);
}

.faq__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq__item.active .faq__chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    padding-bottom: 48px;
}

.footer__brand {
    max-width: 300px;
}

.footer__brand .nav__logo {
    margin-bottom: 16px;
}

.footer__brand-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer__links {
    display: flex;
    gap: 64px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer__col a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__socials a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
}

.footer__socials a:hover {
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__menu-btn {
        display: flex;
    }

    .nav__actions .btn {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__visual {
        margin-top: 48px;
    }

    .hero__code-window {
        transform: none;
    }

    .stats__grid {
        gap: 24px;
    }

    .stat__divider {
        display: none;
    }

    .stat__number {
        font-size: 2rem;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .cta-banner__inner {
        padding: 48px 24px;
    }

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .code-window__body {
        font-size: 0.75rem;
        padding: 16px;
    }

    .product-card {
        padding: 20px;
    }

    .feature-card {
        padding: 24px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== CURRENCY SWITCHER ===== */
.currency-switcher {
    position: relative;
}

.currency-switcher__btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.currency-switcher__btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.currency-switcher__btn #currencySymbol {
    color: var(--accent);
    font-weight: 700;
}

.currency-switcher__chevron {
    transition: var(--transition);
}

.currency-switcher.open .currency-switcher__chevron {
    transform: rotate(180deg);
}

.currency-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.currency-switcher.open .currency-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
}

.currency-option:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.currency-option.active {
    color: var(--accent);
    background: var(--accent-glow);
}

.currency-option__symbol {
    font-weight: 700;
    min-width: 20px;
}

.mobile-currency__btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.mobile-currency__btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.mobile-currency__btn.active {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: rgba(249, 115, 22, 0.3);
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: relative;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.lang-switcher__btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.lang-switcher__chevron {
    transition: var(--transition);
}

.lang-switcher.open .lang-switcher__chevron {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.lang-switcher.open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
}

.lang-option:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-option.active {
    color: var(--accent);
    background: var(--accent-glow);
}

.lang-option__flag {
    font-size: 1.1rem;
    line-height: 1;
}

/* Mobile Language Switcher */
.mobile-lang {
    display: flex;
    gap: 8px;
}

.mobile-lang__btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.mobile-lang__btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.mobile-lang__btn.active {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: rgba(249, 115, 22, 0.3);
}

/* ===== TEBEX CHECKOUT ===== */
.btn--loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== CART BUTTON ===== */
.cart-btn {
    position: relative;
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-btn:hover {
    color: #f97316;
    border-color: rgba(249,115,22,0.3);
    background: rgba(249,115,22,0.05);
}
.cart-btn__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f97316;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===== CART OVERLAY ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ===== CART PANEL ===== */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #12121e;
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.cart-panel.open {
    transform: translateX(0);
}
.cart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cart-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.cart-panel__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.cart-panel__close:hover {
    color: #fff;
}
.cart-panel__items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.cart-panel__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 0;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* ===== CART ITEM ===== */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-item__name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}
.cart-item__price {
    color: #f97316;
    font-weight: 500;
    font-size: 0.9rem;
}
.cart-item__remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}
.cart-item__remove:hover {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
}

/* ===== CART FOOTER ===== */
.cart-panel__footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cart-panel__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}
.cart-panel__total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.btn--full {
    width: 100%;
    justify-content: center;
}

.tebex-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid #22c55e;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.tebex-notification.show {
    transform: translateX(0);
}
.tebex-notification--error {
    border-color: #ef4444;
}

/* ===== AUTH REQUIRED MODAL ===== */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}

.auth-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.auth-modal__close:hover {
    color: var(--text-primary);
}

.auth-modal__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.auth-modal__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.auth-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.auth-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.auth-modal__btn--discord {
    color: white;
    background: #5865F2;
    border-color: #5865F2;
}

.auth-modal__btn--discord:hover {
    background: #4752c4;
}

.auth-modal__btn--cfx {
    color: white;
    background: #f97316;
    border-color: #f97316;
}

.auth-modal__btn--cfx:hover {
    background: #ea580c;
}

/* ===== AUTH / LOGIN ===== */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.auth-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.auth-btn--cfx:hover {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.08);
}

.auth-btn--discord:hover {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.08);
}

.auth-btn--discord svg {
    width: 16px;
    height: 16px;
}

/* User Profile Dropdown */
.user-profile {
    position: relative;
}

.user-profile__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.user-profile__btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.user-profile__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile__name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile__chevron {
    transition: transform 0.2s ease;
}

.user-profile.open .user-profile__chevron {
    transform: rotate(180deg);
}

.user-profile__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
    padding: 8px;
}

.user-profile.open .user-profile__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Account items in dropdown */
.user-profile__accounts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.account-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
}

.account-item__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.account-item__info {
    display: flex;
    flex-direction: column;
}

.account-item__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.account-item__provider {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-item--discord .account-item__provider {
    color: #5865F2;
}

.account-item--cfx .account-item__provider {
    color: #f97316;
}

/* Connect more button */
.user-profile__connect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 4px;
}

.user-profile__connect:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.user-profile__logout {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.user-profile__logout:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* Mobile Auth */
.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
}

.mobile-auth__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-auth__btn--cfx:hover {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.08);
}

.mobile-auth__btn--discord:hover {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.08);
}

/* Mobile User Profile */
.mobile-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.mobile-user__info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-user__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-user__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-user__logout {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-user__logout:hover {
    background: rgba(239, 68, 68, 0.15);
}

.mobile-user__details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.mobile-user__tag {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.mobile-user__tag--discord {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.3);
}

.mobile-user__tag--cfx {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
}

/* Auth responsive */
@media (max-width: 768px) {
    .auth-buttons,
    .user-profile {
        display: none !important;
    }
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(249, 115, 22, 0.3);
    color: white;
}
