﻿/* ==============================
   Theme Variables
   ============================== */

:root {
    /* Dark mode (default) */
    color-scheme: light only;
    --bg-main: #f8fafc;
    --bg-sidebar: rgba(10, 10, 10, 0.95);
    --bg-panel: rgba(10, 10, 10, 0.85);
    --bg-panel-strong: rgba(10, 10, 10, 0.95);
    --accent-a: #38bdf8;
    --accent-b: #6366f1;
    --accent-c: #22c55e;
    --accent-danger: #f97373;
    --text-primary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.35);
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 32px rgba(56, 189, 248, 0.6);
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.25s ease-out;
}

[data-theme="light"] {
    /* Light mode */
    color-scheme: light only;
    --bg-main: #f8fafc;
    --bg-sidebar: rgba(255, 255, 255, 0.95);
    --bg-panel: rgba(255, 255, 255, 0.85);
    --bg-panel-strong: rgba(255, 255, 255, 0.95);
    --accent-a: #0284c7;
    --accent-b: #4f46e5;
    --accent-c: #16a34a;
    --accent-danger: #dc2626;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --border-subtle: rgba(100, 116, 139, 0.25);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 24px rgba(2, 132, 199, 0.3);
}

/* Hide Blazor Server Reconnect Error Message */
#components-reconnect-modal {
    display: none !important;
}

#components-reconnect-show,
#components-reconnect-hide,
#components-reconnect-failed,
#components-reconnect-rejected {
    display: none !important;
}

/* ==============================
   Base - POPPINS FONT
   ============================== */

body, html {
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

p, li, span, label, button, input, textarea, select {
    /*color: var(--text-muted);*/
    font-family: 'Poppins', sans-serif;
}

.card, .panel {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.app-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.06), transparent 50%), radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.08), transparent 50%), var(--bg-main);
    background-attachment: fixed;
    overflow-x: hidden;
    transition: background 0.3s ease;
}

[data-theme="light"] .app-body {
    background: radial-gradient(circle at 0% 0%, rgba(2, 132, 199, 0.08), transparent 50%), radial-gradient(circle at 100% 100%, rgba(79, 70, 229, 0.08), transparent 50%), var(--bg-main);
}

/* ==============================
   Animated Background Orbits
   ============================== */

.bg-orbit {
    position: fixed;
    z-index: -2;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 60%);
    filter: blur(6px);
    opacity: 0.32;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .bg-orbit {
    opacity: 0.08;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.3), transparent 60%);
}

[data-theme="light"] .orbit-2 {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25), transparent 60%);
}

[data-theme="light"] .orbit-3 {
    background: radial-gradient(circle, rgba(22, 163, 74, 0.2), transparent 60%);
}

.orbit-1 {
    top: -80px;
    left: -40px;
    animation: float-orbit 26s linear infinite;
}

.orbit-2 {
    bottom: -50px;
    right: -30px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 60%);
    animation: float-orbit 30s linear infinite reverse;
}

.orbit-3 {
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.35), transparent 60%);
    animation: float-orbit 32s linear infinite;
}

@keyframes float-orbit {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(40px, -40px, 0) scale(1.1);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

/* ==============================
   Logo
   ============================== */

.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .logo-circle:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
    }

    .logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

[data-theme="light"] .logo-circle {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

    [data-theme="light"] .logo-circle:hover {
        box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    }

/* ==============================
   Theme Toggle Switch
   ============================== */

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-top: auto;
    border-radius: 999px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-med);
}

    .theme-toggle:hover {
        background: var(--bg-panel-strong);
        border-color: var(--accent-a);
    }

.theme-toggle-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    user-select: none;
}

.theme-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition-med);
}

.theme-switch-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    border-radius: 50%;
    transition: transform var(--transition-med);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .theme-switch {
    background: rgba(251, 191, 36, 0.3);
}

[data-theme="light"] .theme-switch-handle {
    transform: translateX(24px);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--glass-bg, rgba(255, 255, 255, 0.1));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 1.5rem;
    color: var(--text-primary, #fff);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .mobile-menu-toggle:hover {
        background: var(--glass-bg-hover, rgba(255, 255, 255, 0.15));
        transform: scale(1.05);
    }

/* Mobile Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-overlay {
        display: block;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }

    .app-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

        .app-sidebar.mobile-open {
            left: 0;
        }

    .app-main {
        width: 100%;
        margin-left: 0;
    }

    .app-header {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.5rem;
    }

        .app-header .btn-ghost-cta {
            font-size: 0.875rem;
            padding: 0.5rem 1rem;
        }

        .app-header .btn-text {
            display: none;
        }

        .app-header .header-pill-up,
        .app-header .header-pill-down {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
        }

    .app-footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    [data-theme="light"] .app-footer a:hover {
        text-shadow: none;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .app-sidebar {
        width: 100%;
        max-width: 100vw;
    }

    .nav-logo {
        padding: 1rem;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .app-content {
        padding: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==============================
   App shell layout
   ============================== */

.app-shell {
    display: flex;
    min-height: 100vh;
    /*max-width: 1400px;
    margin: 0 auto;*/
    padding: 20px;
    gap: 18px;
}

.app-sidebar {
    width: 260px;
    padding: 18px 16px;
    border-radius: var(--radius-xl);
    background: var(--bg-sidebar);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid var(--border-subtle);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .app-sidebar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*border-radius: var(--radius-xl);*/
    background: var(--bg-panel);
    box-shadow: var(--shadow-soft);
    /*border: 1px solid var(--border-subtle);*/
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-main,
.app-main {
    border-radius: 0;
}

[data-theme="light"] .app-main {
    background: var(--bg-panel);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.app-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.3) 0%, transparent 40%, rgba(10, 10, 10, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .app-main::before {
    opacity: 0;
}

.app-header,
.app-content,
.app-footer {
    position: relative;
    z-index: 1;
}

.app-header {
    padding: 20px 26px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.app-title {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.app-subtitle {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.app-content {
    padding: 20px 26px 26px;
    flex: 1;
    overflow-y: auto;
}

.app-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-panel);
    transition: background 0.3s ease, border-color 0.3s ease;
}

    .app-footer a {
        color: var(--text-muted);
        text-decoration: none;
        transition: color var(--transition-fast), text-shadow var(--transition-fast);
    }

        .app-footer a:hover {
            color: var(--accent-a);
            text-shadow: 0 0 16px rgba(56, 189, 248, 0.8);
        }

.footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* header chip - UP */
.header-pill-up {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.4), transparent 60%), var(--bg-panel-strong);
    border: 1px solid rgba(34, 197, 94, 0.5);
    font-size: 0.8rem;
    color: #bbf7d0;
    transition: background 0.3s ease;
}

[data-theme="light"] .header-pill-up {
    color: #15803d;
    background: radial-gradient(circle at 0 0, rgba(22, 163, 74, 0.2), transparent 60%), var(--bg-panel-strong);
    border-color: rgba(22, 163, 74, 0.4);
}

/* header chip - DOWN */
.header-pill-down {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.4), transparent 60%), var(--bg-panel-strong);
    border: 1px solid rgba(239, 68, 68, 0.5);
    font-size: 0.8rem;
    color: #fecaca;
    transition: background 0.3s ease;
}

[data-theme="light"] .header-pill-down {
    color: #991b1b;
    background: radial-gradient(circle at 0 0, rgba(220, 38, 38, 0.2), transparent 60%), var(--bg-panel-strong);
    border-color: rgba(220, 38, 38, 0.4);
}

/* dots */
.dot {
    display: inline-flex;
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.dot-live {
    background: radial-gradient(circle, #22c55e 0, #15803d 40%, transparent 70%);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.dot-down {
    background: radial-gradient(circle, #991b1b 0, #991b1b 40%, transparent 70%);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.dot-secure {
    background: radial-gradient(circle, #38bdf8 0, #0ea5e9 40%, transparent 70%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}

[data-theme="light"] .dot-live {
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

[data-theme="light"] .dot-down {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

[data-theme="light"] .dot-secure {
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* ==============================
   Nav (sidebar)
   ============================== */

.nav-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 14px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.logo-orbit {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #38bdf8, transparent 60%), radial-gradient(circle at 70% 80%, #6366f1, transparent 60%);
    position: relative;
    animation: spin-orbit 20s linear infinite;
}

.logo-dot {
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    border: 1px solid var(--border-subtle);
    box-shadow: inset 0 0 12px rgba(10, 10, 10, 0.9);
    transition: box-shadow 0.3s ease;
}

[data-theme="light"] .logo-dot {
    box-shadow: inset 0 0 12px rgba(100, 116, 139, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-secondary {
    margin-top: 4px;
    gap: 2px;
}

.nav-item-btn {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-muted);
    padding: 8px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: left;
    transition: background var(--transition-med), color var(--transition-med), transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

    .nav-item-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 60%);
        opacity: 0;
        transition: opacity var(--transition-med);
        text-decoration: none;
    }

[data-theme="light"] .nav-item-btn::before {
    background: radial-gradient(circle at 0 0, rgba(2, 132, 199, 0.15), transparent 60%);
}

.nav-item-btn .nav-icon {
    font-size: 1rem;
    opacity: 0.9;
    text-decoration: none;
}

.nav-item-btn:hover {
    background: var(--bg-panel);
    color: var(--text-primary);
    transform: translateX(5px);
    text-decoration: none;
}

    .nav-item-btn:hover::before {
        opacity: 1;
        text-decoration: none;
    }

.nav-item-btn.active {
    background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
    color: white !important;
    font-weight: 600;
    transform: translateX(3px);
    text-decoration: none;
}

    .nav-item-btn.active .nav-icon {
        color: white !important;
        opacity: 1;
        text-decoration: none;
    }

.nav-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
    margin: 8px 0;
}

.nav-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
}

.nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--bg-panel-strong);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #bae6fd;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .nav-chip {
    background: rgba(240, 249, 255, 0.9);
    border-color: rgba(2, 132, 199, 0.4);
    color: #0284c7;
}

.nav-icon {
    font-size: 1rem;
    width: 20px;
    opacity: 0.9;
}

.cart-count {
    background: var(--accent-a);
    color: #000;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: auto;
}

.badge-cart {
    min-width: 20px;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ==============================
   Generic glass panel / page shell
   ============================== */

.glass-panel {
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px) saturate(140%);
}

.page-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ==============================
   Hero section (home)
   ============================== */

.hero-main-focus {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle,
.hero-subtitle-large {
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

.hero-meta-minor {
    margin-top: 2rem;
    opacity: 0.85;
    font-size: 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 18px;
}

.hero-main {
    padding: 22px 22px 20px;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hero-main::before,
[data-theme="light"] .hero-main::after {
    opacity: 0;
}

    .hero-main::before,
    .hero-main::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 999px;
        background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.45), transparent 60%);
        filter: blur(6px);
        opacity: 0.7;
        pointer-events: none;
    }

    .hero-main::after {
        background: radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.5), transparent 60%);
        width: 320px;
        height: 320px;
        right: -120px;
        bottom: -140px;
    }

.hero-title {
    position: relative;
    margin: 0 0 12px;
    font-size: 2rem;
    letter-spacing: 0.03em;
}

.hero-gradient-text {
    background: linear-gradient(120deg, #38bdf8, #6366f1, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 22px rgba(56, 189, 248, 0.8);
}

[data-theme="light"] .hero-gradient-text {
    background: linear-gradient(120deg, #0284c7, #4f46e5, #16a34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    position: relative;
    margin: 0 0 18px;
    color: var(--text-muted);
    max-width: 520px;
}

.hero-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

[data-theme="light"] .meta-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.hero-side {
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-plans-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.plan-pill {
    width: 100%;
    text-align: left;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 50%), rgba(15, 23, 42, 0.9);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

    .plan-pill:hover {
        transform: translateY(-1px) translateX(1px);
        box-shadow: var(--shadow-glow);
        border-color: rgba(129, 140, 248, 0.9);
        background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.45), transparent 60%), rgba(15, 23, 42, 0.98);
    }

.plan-pill-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pill-name {
    font-size: 0.88rem;
}

.pill-price {
    font-size: 0.92rem;
    font-weight: 600;
}

.pill-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ==============================
   Section generic styles
   ============================== */

.section-block {
    margin-top: 10px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), transparent 55%), rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .section-block {
    background: radial-gradient(circle at 0 0, rgba(2, 132, 199, 0.08), transparent 55%), rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.3);
}

.section-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ==============================
   Buttons
   ============================== */

.btn-primary-cta,
.btn-ghost-cta {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary-cta {
    background: linear-gradient(120deg, #38bdf8, #6366f1);
    color: #ffffff !important;
    box-shadow: 0 16px 35px rgba(56, 189, 248, 0.5);
}

    .btn-primary-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 20px 45px rgba(56, 189, 248, 0.7);
        color: #ffffff !important;
    }

.btn-ghost-cta {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.8);
}

    .btn-ghost-cta:hover {
        background: rgba(15, 23, 42, 0.95);
        border-color: rgba(56, 189, 248, 0.8);
    }

.btn,
button,
input[type="submit"] {
    border-radius: 999px !important;
}

    button.btn-primary.btn-lg {
        background: linear-gradient(120deg, #38bdf8, #6366f1) !important;
        border: none !important;
        color: #ffffff !important;
        box-shadow: 0 16px 35px rgba(56, 189, 248, 0.5);
        transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    }

        button.btn-primary.btn-lg:hover {
            transform: translateY(-1px);
            box-shadow: 0 22px 48px rgba(56, 189, 248, 0.8);
            color: #ffffff !important;
        }

/* Light mode button overrides */
[data-theme="light"] .btn-primary-cta {
    background: linear-gradient(120deg, #0284c7, #4f46e5);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.3);
}

    [data-theme="light"] .btn-primary-cta:hover {
        box-shadow: 0 16px 36px rgba(2, 132, 199, 0.4);
        color: #ffffff !important;
    }

[data-theme="light"] .btn-ghost-cta {
    border-color: rgba(100, 116, 139, 0.5);
}

    [data-theme="light"] .btn-ghost-cta:hover {
        background: rgba(248, 250, 252, 0.95);
        border-color: rgba(2, 132, 199, 0.6);
    }

[data-theme="light"] button.btn-primary.btn-lg {
    background: linear-gradient(120deg, #0284c7, #4f46e5) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.3);
}

    [data-theme="light"] button.btn-primary.btn-lg:hover {
        box-shadow: 0 16px 36px rgba(2, 132, 199, 0.4);
        color: #ffffff !important;
    }

.btn-primary-cta:active {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.4);
    color: #ffffff !important;
}

.btn-ghost-cta:active {
    transform: translateY(0);
}

/* Pricing card button */
.pricing-card-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(90deg, #00d4ff, #007bff);
    border: none;
    border-radius: 12px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

    .pricing-card-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
        color: #ffffff !important;
    }

[data-theme="light"] .pricing-card-button {
    background: linear-gradient(90deg, #0284c7, #0369a1);
    color: #ffffff !important;
}

    [data-theme="light"] .pricing-card-button:hover {
        box-shadow: 0 12px 32px rgba(2, 132, 199, 0.4);
        color: #ffffff !important;
    }

/* ==============================
   Tables & cards (Cart, Products, etc.)
   ============================== */

.table {
    color: var(--text-primary);
    border-color: rgba(55, 65, 81, 0.8);
}

    .table thead {
        background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
    }

        .table thead th {
            border-bottom-color: rgba(55, 65, 81, 0.8);
        }

    .table tbody tr {
        background: rgba(15, 23, 42, 0.8);
        transition: background var(--transition-fast), transform var(--transition-fast);
    }

        .table tbody tr:hover {
            background: rgba(15, 23, 42, 1);
            transform: translateY(-1px);
        }

[data-theme="light"] .table {
    color: var(--text-primary);
    border-color: rgba(100, 116, 139, 0.3);
}

    [data-theme="light"] .table thead {
        background: linear-gradient(to right, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.9));
    }

        [data-theme="light"] .table thead th {
            border-bottom-color: rgba(100, 116, 139, 0.3);
            color: var(--text-primary);
        }

    [data-theme="light"] .table tbody tr {
        background: rgba(255, 255, 255, 0.9);
    }

        [data-theme="light"] .table tbody tr:hover {
            background: rgba(248, 250, 252, 1);
        }

[data-theme="light"] .badge.bg-primary {
    background: linear-gradient(120deg, #0284c7, #4f46e5) !important;
}

.card {
    border-radius: var(--radius-lg);
    background: var(--bg-panel-strong);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

    .card h3 {
        font-size: 1.1rem;
    }

.badge.bg-primary {
    background: linear-gradient(120deg, #38bdf8, #6366f1) !important;
}

/* ==============================
   Form styling (Checkout page)
   ============================== */

.form-label {
    font-size: 0.86rem;
}

.form-control {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

    .form-control:focus {
        border-color: rgba(56, 189, 248, 0.9);
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
        background: rgba(15, 23, 42, 0.98);
    }

.form-text {
    color: var(--text-muted);
    font-size: 0.78rem;
}

[data-theme="light"] .form-control {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.3);
    color: var(--text-primary);
}

    [data-theme="light"] .form-control:focus {
        border-color: rgba(2, 132, 199, 0.6);
        box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.3);
        background: rgba(255, 255, 255, 1);
    }

/* ==============================
   Page-specific vibes
   ============================== */

.page-cart .table {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-checkout .section-block {
    border-style: solid;
    border-image: linear-gradient(120deg, #38bdf8, #6366f1) 1;
}

.page-order-success h1 {
    background: linear-gradient(120deg, #22c55e, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-order-success .lead {
    color: #bbf7d0;
}

.page-order-cancelled h1 {
    background: linear-gradient(120deg, #f97373, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-order-cancelled .lead {
    color: #fecaca;
}

.page-discord-access .section-block,
.page-faq .section-block,
.page-terms .section-block {
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 55%), rgba(15, 23, 42, 0.95);
}

[data-theme="light"] .page-discord-access .section-block,
[data-theme="light"] .page-faq .section-block,
[data-theme="light"] .page-terms .section-block {
    background: radial-gradient(circle at 0 0, rgba(2, 132, 199, 0.1), transparent 55%), rgba(255, 255, 255, 0.98);
}

/* ==============================
   FAQ PAGE STYLING
   ============================== */

/* FAQ Hero Section */
.faq-hero {
    text-align: center;
    padding: 40px 32px;
    margin-bottom: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15), transparent 70%), var(--bg-panel);
    border: 2px solid rgba(148, 163, 184, 0.3);
    animation: fadeInDown 0.6s ease-out;
}

[data-theme="light"] .faq-hero {
    background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08), transparent 70%), var(--bg-panel);
}

.faq-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.faq-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2));
    border: 2px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    margin-bottom: 24px;
    animation: float-badge 3s ease-in-out infinite;
}

[data-theme="light"] .faq-icon-badge {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(79, 70, 229, 0.1));
    border-color: rgba(2, 132, 199, 0.3);
}

.faq-icon {
    font-size: 2.5rem;
}

/* FAQ Container */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* FAQ Item */
.faq-item {
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.05), transparent 60%), var(--bg-panel);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.5s ease-out backwards;
}

[data-theme="light"] .faq-item {
    background: radial-gradient(circle at 0% 0%, rgba(2, 132, 199, 0.03), transparent 60%), var(--bg-panel);
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.15s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.25s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.35s;
}

.faq-item:hover {
    border-color: rgba(56, 189, 248, 0.6);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

[data-theme="light"] .faq-item:hover {
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
}

.faq-item.expanded {
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.3);
}

[data-theme="light"] .faq-item.expanded {
    border-color: rgba(2, 132, 199, 0.7);
    box-shadow: 0 12px 32px rgba(2, 132, 199, 0.2);
}

/* FAQ Question */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    gap: 16px;
    user-select: none;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

    .faq-question-content h2 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-primary);
        transition: color 0.3s;
    }

.faq-item:hover .faq-question-content h2 {
    color: #38bdf8;
}

[data-theme="light"] .faq-item:hover .faq-question-content h2 {
    color: #0284c7;
}

.faq-emoji {
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item:hover .faq-emoji {
    transform: scale(1.2) rotate(10deg);
}

/* Toggle Icon */
.faq-toggle-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    border: 2px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s;
}

[data-theme="light"] .faq-toggle-icon {
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.3);
}

.faq-item.expanded .faq-toggle-icon {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border-color: transparent;
    transform: rotate(180deg);
}

[data-theme="light"] .faq-item.expanded .faq-toggle-icon {
    background: linear-gradient(135deg, #0284c7, #4f46e5);
}

.toggle-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    line-height: 1;
}

[data-theme="light"] .toggle-plus {
    color: #0284c7;
}

.faq-item.expanded .toggle-plus {
    color: #ffffff;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.expanded .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 28px 28px 68px;
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeIn 0.4s ease-out;
}

    .faq-answer-content p {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .faq-answer-content strong {
        color: var(--text-primary);
        font-weight: 600;
    }

/* Highlight text */
.highlight-text {
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2));
    padding: 2px 8px;
    border-radius: 6px;
    color: #38bdf8;
    font-weight: 600;
}

[data-theme="light"] .highlight-text {
    background: linear-gradient(120deg, rgba(2, 132, 199, 0.15), rgba(79, 70, 229, 0.15));
    color: #0284c7;
}

/* FAQ List */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

    .faq-list li {
        display: flex;
        gap: 12px;
        margin-bottom: 12px;
        padding: 12px 16px;
        background: rgba(15, 23, 42, 0.5);
        border-left: 3px solid rgba(56, 189, 248, 0.6);
        border-radius: 8px;
        font-size: 0.95rem;
    }

[data-theme="light"] .faq-list li {
    background: rgba(241, 245, 249, 0.8);
    border-left-color: rgba(2, 132, 199, 0.5);
}

.list-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* FAQ Note */
.faq-note {
    padding: 16px 18px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    color: #fbbf24;
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
}

[data-theme="light"] .faq-note {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
    color: #d97706;
}

/* FAQ CTA Section */
.faq-cta {
    text-align: center;
    padding: 32px 28px;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12), transparent 70%), var(--bg-panel);
    border: 2px dashed rgba(148, 163, 184, 0.4);
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

[data-theme="light"] .faq-cta {
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.08), transparent 70%), var(--bg-panel);
}

.faq-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(120deg, #38bdf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .faq-cta-title {
    background: linear-gradient(120deg, #0284c7, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-cta-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-hero {
        padding: 32px 24px;
    }

    .faq-question {
        padding: 20px 20px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }

    .faq-question-content {
        gap: 12px;
    }

    .faq-emoji {
        font-size: 1.5rem;
    }

    .faq-question-content h2 {
        font-size: 1rem;
    }

    .faq-icon-badge {
        width: 60px;
        height: 60px;
    }

    .faq-icon {
        font-size: 2rem;
    }

    .faq-toggle-icon {
        width: 28px;
        height: 28px;
    }

    .toggle-plus {
        font-size: 1.3rem;
    }

    .faq-cta {
        padding: 24px 20px;
    }

    .faq-cta-title {
        font-size: 1.3rem;
    }

    .faq-cta-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 24px 16px;
    }

    .faq-icon-badge {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }

    .faq-icon {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .faq-question {
        padding: 16px;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
    }

    .faq-question-content h2 {
        font-size: 0.95rem;
    }

    .faq-emoji {
        font-size: 1.3rem;
    }

    .faq-list li {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .faq-note {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* ==============================
   PRICING CARDS - MODERN LAYOUT
   ============================== */

.pricing-panel {
    animation: fadeInUp 0.6s ease;
}

/* Hide old table on desktop, show cards */
.pricing-table {
    display: none;
}

/* Pricing cards grid */
.pricing-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

/* Individual pricing card */
.pricing-card {
    position: relative;
    background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.08), transparent 60%), rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

/* Card header */
.pricing-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Badge */
.plan-badge {
    background: linear-gradient(90deg, #00eaff, #007bff);
    color: #000;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Description */
.pricing-card-description {
    color: #a9bfd8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Price container */
.pricing-card-price-block {
    margin: 8px 0;
}

.pricing-card-price {
    font-size: 3rem;
    font-weight: 800;
    color: #4de0ff;
    text-shadow: 0 0 20px rgba(77, 224, 255, 0.5);
    line-height: 1;
    margin: 0;
}

/* Ideal for section */
.pricing-card-ideal {
    padding: 16px 18px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 12px;
    border-left: 3px solid rgba(56, 189, 248, 0.6);
    color: #c8d7ee;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Add to cart button */
.pricing-card-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(90deg, #00d4ff, #007bff);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

    .pricing-card-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
    }

[data-theme="light"] .pricing-card {
    background: radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.05), transparent 60%), rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.25);
}

[data-theme="light"] .pricing-card-name {
    color: var(--text-primary);
}

[data-theme="light"] .pricing-card-description {
    color: var(--text-muted);
}

[data-theme="light"] .pricing-card-price {
    color: #0284c7;
    text-shadow: none;
}

[data-theme="light"] .pricing-card-ideal {
    background: rgba(241, 245, 249, 0.9);
    border-left-color: rgba(2, 132, 199, 0.5);
    color: var(--text-muted);
}

[data-theme="light"] .pricing-card-button {
    background: linear-gradient(90deg, #0284c7, #0369a1);
    color: #fff;
}

    [data-theme="light"] .pricing-card-button:hover {
        box-shadow: 0 12px 32px rgba(2, 132, 199, 0.4);
    }

[data-theme="light"] .pricing-card.plan-basic:hover {
    background: radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.12), transparent 60%), rgba(255, 255, 255, 1);
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: 0 12px 36px rgba(2, 132, 199, 0.25);
}

    [data-theme="light"] .pricing-card.plan-basic:hover .pricing-card-price {
        color: #0369a1;
    }

[data-theme="light"] .pricing-card.plan-medium::before {
    background: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.3), transparent 70%);
}

[data-theme="light"] .pricing-card.plan-medium:hover {
    background: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.15), transparent 60%), rgba(255, 255, 255, 1);
    border-color: rgba(79, 70, 229, 0.6);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.3);
}

    [data-theme="light"] .pricing-card.plan-medium:hover .pricing-card-price {
        color: #4338ca;
    }

[data-theme="light"] .pricing-card.plan-vip::after {
    background: linear-gradient(120deg, #f59e0b, #a855f7, #0284c7);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .pricing-card.plan-vip:hover {
    background: radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.18), transparent 50%), radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.18), transparent 50%), rgba(255, 255, 255, 1);
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 16px 48px rgba(245, 158, 11, 0.4);
}

    [data-theme="light"] .pricing-card.plan-vip:hover .pricing-card-price {
        background: linear-gradient(120deg, #f59e0b, #a855f7, #0284c7);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    [data-theme="light"] .pricing-card.plan-vip:hover .plan-badge {
        background: linear-gradient(120deg, #f59e0b, #a855f7);
    }

    [data-theme="light"] .pricing-card.plan-vip:hover .pricing-card-button {
        background: linear-gradient(120deg, #f59e0b, #a855f7, #0284c7);
    }

/* ==============================
   TIER-SPECIFIC STYLES
   ============================== */

/* Basic tier - Cyan glow */
.pricing-card.plan-basic:hover {
    background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.18), transparent 60%), rgba(15, 23, 42, 0.95);
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 16px 48px rgba(56, 189, 248, 0.3), 0 0 60px rgba(56, 189, 248, 0.2);
    transform: translateY(-8px) scale(1.02);
}

    .pricing-card.plan-basic:hover .pricing-card-price {
        color: #00eaff;
        text-shadow: 0 0 32px rgba(0, 234, 255, 0.9);
    }

/* Medium tier - Purple energy */
.pricing-card.plan-medium {
    position: relative;
}

    .pricing-card.plan-medium::before {
        content: "";
        position: absolute;
        inset: -3px;
        background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.4), transparent 70%);
        border-radius: 20px;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        z-index: -1;
        filter: blur(20px);
    }

    .pricing-card.plan-medium:hover::before {
        opacity: 1;
    }

    .pricing-card.plan-medium:hover {
        background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.22), transparent 60%), rgba(15, 23, 42, 0.95);
        border-color: rgba(99, 102, 241, 0.8);
        box-shadow: 0 20px 56px rgba(99, 102, 241, 0.4), 0 0 80px rgba(99, 102, 241, 0.25);
        transform: translateY(-10px) scale(1.03);
    }

        .pricing-card.plan-medium:hover .pricing-card-price {
            color: #a5b4fc;
            text-shadow: 0 0 36px rgba(165, 180, 252, 1);
        }

        .pricing-card.plan-medium:hover .plan-badge {
            animation: pulse-badge 1.2s ease-in-out infinite;
        }

/* VIP tier - Gold/rainbow PREMIUM */
.pricing-card.plan-vip {
    position: relative;
}

    .pricing-card.plan-vip::before {
        content: "";
        position: absolute;
        inset: -4px;
        background: linear-gradient( 135deg, rgba(251, 191, 36, 0.5) 0%, rgba(168, 85, 247, 0.5) 33%, rgba(56, 189, 248, 0.5) 66%, rgba(251, 191, 36, 0.5) 100% );
        background-size: 300% 300%;
        border-radius: 20px;
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
        z-index: -1;
        filter: blur(24px);
    }

    .pricing-card.plan-vip::after {
        content: "⭐ BEST VALUE ⭐";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-8deg);
        font-size: 3.5rem;
        font-weight: 900;
        background: linear-gradient(120deg, #fbbf24, #a855f7, #38bdf8);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        z-index: 0;
        white-space: nowrap;
    }

    .pricing-card.plan-vip:hover::before {
        opacity: 1;
        animation: rainbow-pulse 4s ease-in-out infinite;
    }

    .pricing-card.plan-vip:hover::after {
        opacity: 0.1;
    }

    .pricing-card.plan-vip:hover {
        background: radial-gradient(circle at 10% 10%, rgba(251, 191, 36, 0.25), transparent 50%), radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.25), transparent 50%), rgba(15, 23, 42, 0.95);
        border-color: rgba(251, 191, 36, 0.9);
        box-shadow: 0 24px 64px rgba(251, 191, 36, 0.5), 0 0 100px rgba(168, 85, 247, 0.4);
        transform: translateY(-12px) scale(1.05);
    }

        .pricing-card.plan-vip:hover * {
            position: relative;
            z-index: 2;
        }

        .pricing-card.plan-vip:hover .pricing-card-price {
            background: linear-gradient(120deg, #fbbf24, #a855f7, #38bdf8);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: none;
            animation: rainbow-shift 3s linear infinite;
        }

        .pricing-card.plan-vip:hover .plan-badge {
            background: linear-gradient(120deg, #fbbf24, #a855f7);
            animation: float-badge 2s ease-in-out infinite;
        }

        .pricing-card.plan-vip:hover .pricing-card-button {
            background: linear-gradient(120deg, #fbbf24, #a855f7, #38bdf8);
            background-size: 200% 200%;
            animation: rainbow-button 3s linear infinite;
            transform: scale(1.05);
        }

/* Recommended section */
.plan-guide li {
    margin-bottom: 14px;
    color: #c8d7ee;
    line-height: 1.5;
}

/* Lead notes */
.lead-note {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ==============================
   Animations
   ============================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(3deg);
    }
}

@keyframes rainbow-pulse {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes rainbow-shift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes rainbow-button {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes spin-orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-glow-up {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
}

@keyframes pulse-glow-down {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Utility animation classes */
.fade-up {
    animation: fade-up 0.5s ease-out both;
}

.fade-down {
    animation: fade-down 0.5s ease-out both;
}

.slide-in-left {
    animation: slide-in-left 0.6s ease-out both;
}

.pulse-glow-up {
    animation: pulse-glow-up 1.6s ease-out infinite;
}

.pulse-glow-down {
    animation: pulse-glow-down 1.6s ease-out infinite;
}

.bounce-in {
    animation: bounce-in 0.4s ease-out;
}

/* ==============================
   Responsive Design
   ============================== */

@media (max-width: 960px) {
    .app-shell {
        flex-direction: column;
        padding: 12px;
    }

    .app-sidebar {
        width: 100%;
        order: 2;
    }

    .app-main {
        order: 1;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-main {
        padding: 18px 14px;
    }

    .app-content {
        padding: 16px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-card-price {
        font-size: 2.5rem;
    }
}

/* ==============================
   INDEX PAGE - INSANE ANIMATIONS
   ============================== */

/* Premium animated header text */
/*.hero-premium-text {
    background: linear-gradient(120deg, #fbbf24, #a855f7, #38bdf8, #fbbf24);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-flow 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.3);
    display: inline-block;
}

[data-theme="light"] .hero-premium-text {
    background: linear-gradient(120deg, #f59e0b, #a855f7, #0284c7, #f59e0b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}*/

.hero-premium-text,
.hero-gradient-text {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    display: inline;
    vertical-align: middle;
}

.hero-title-inline {
    display: block;
    white-space: normal;
    text-align: center;
}

.hero-premium-text.hero-premium-large,
.hero-gradient-text.hero-gradient-large {
    display: inline;
    vertical-align: middle;
}

.typing-text {
    display: inline;
}

@media (max-width: 768px) {
    .hero-premium-text,
    .hero-gradient-text {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-title-large {
        font-size: 1.75rem !important;
    }

    .hero-main-focus {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-premium-text,
    .hero-gradient-text {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero-title-large {
        font-size: 1.2rem !important;
    }

    .hero-main-focus {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-subtitle-large {
        font-size: 0.875rem;
        line-height: 1.5;
    }

        .hero-subtitle-large br {
            display: none;
        }

    .btn-large {
        font-size: 0.9375rem;
        padding: 0.8125rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

        .hero-actions a {
            width: 100%;
            justify-content: center;
        }
}

@media (max-width: 375px) {
    .hero-premium-text,
    .hero-gradient-text {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .hero-title-large {
        font-size: 1.1rem !important;
    }

    .hero-subtitle-large {
        font-size: 0.8125rem;
    }

    .btn-large {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
}











@media (max-width: 640px) {
    .hero-premium-text {
        font-size: 1.5rem;
    }
}

@keyframes rainbow-flow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced hero title */
.hero-title {
    position: relative;
    margin: 0 0 12px;
    font-size: 2rem;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

/* Hero entrance animations */
.hero-entrance {
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing cursor */
.typing-cursor {
    animation: blink 1s infinite;
    color: #38bdf8;
    font-weight: 700;
}

[data-theme="light"] .typing-cursor {
    color: #0284c7;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

/* Hero glow effect */
.hero-glow-effect {
    position: relative;
    animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75), 0 0 60px rgba(56, 189, 248, 0.1);
    }

    50% {
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75), 0 0 80px rgba(56, 189, 248, 0.25);
    }
}

/* Animated particles in hero */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #38bdf8, transparent);
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

[data-theme="light"] .particle {
    background: radial-gradient(circle, #0284c7, transparent);
    opacity: 0.6;
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.particle-3 {
    top: 30%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.particle-4 {
    top: 80%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.particle-5 {
    top: 40%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 15s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translate(30px, -50px) scale(1.5);
        opacity: 0.8;
    }

    90% {
        opacity: 0.5;
    }
}

/* Staggered hero elements */
.hero-fade-in {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-slide-up {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-bounce-in {
    animation: bounceIn 0.8s ease-out 0.6s backwards;
}

.hero-stagger {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Meta items pulse */
.meta-pulse {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Gradient shimmer title */
.gradient-shimmer {
    background: linear-gradient(90deg, #38bdf8, #6366f1, #22c55e, #38bdf8);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* Hero side float */
.hero-side-float {
    animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Cascading plan pills */
.pill-cascade {
    opacity: 0;
    animation: cascadeIn 0.5s ease-out forwards;
}

@keyframes cascadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Plan pill tier effects */
.plan-pill {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .plan-pill {
    background: radial-gradient(circle at 0% 0%, rgba(2, 132, 199, 0.08), transparent 60%), rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.3);
}

.pill-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    filter: blur(10px);
}

.plan-pill:hover .pill-glow {
    opacity: 1;
    animation: rotateGlow 2s linear infinite;
}

[data-theme="light"] .plan-pill:hover {
    background: radial-gradient(circle at 0% 0%, rgba(2, 132, 199, 0.15), transparent 60%), rgba(255, 255, 255, 1);
    border-color: rgba(2, 132, 199, 0.6);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.plan-pill-basic:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.4);
}

[data-theme="light"] .plan-pill-basic {
    border-color: rgba(2, 132, 199, 0.3);
}

    [data-theme="light"] .plan-pill-basic::before {
        background: linear-gradient(135deg, transparent, rgba(2, 132, 199, 0.5), transparent);
    }

    [data-theme="light"] .plan-pill-basic:hover {
        background: radial-gradient(circle at 0% 0%, rgba(2, 132, 199, 0.15), transparent 60%), rgba(255, 255, 255, 1);
        border-color: rgba(2, 132, 199, 0.7);
        box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
    }

[data-theme="light"] .plan-pill-medium {
    border-color: rgba(79, 70, 229, 0.3);
}

    [data-theme="light"] .plan-pill-medium::before {
        background: linear-gradient(135deg, transparent, rgba(79, 70, 229, 0.5), transparent);
    }

    [data-theme="light"] .plan-pill-medium:hover {
        background: radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.15), transparent 60%), rgba(255, 255, 255, 1);
        border-color: rgba(79, 70, 229, 0.7);
        box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    }

[data-theme="light"] .plan-pill-vip {
    border-color: rgba(245, 158, 11, 0.4);
}

    [data-theme="light"] .plan-pill-vip:hover {
        background: radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.15), transparent 40%), radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.15), transparent 40%), rgba(255, 255, 255, 1);
        border-color: rgba(245, 158, 11, 0.8);
        box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    }

.plan-pill-medium:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.5);
}

.plan-pill-vip:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.6), 0 0 80px rgba(168, 85, 247, 0.4);
}

[data-theme="light"] .pill-price {
    color: #0284c7;
    text-shadow: none;
}

[data-theme="light"] .plan-pill-basic:hover .pill-price {
    color: #0369a1;
    text-shadow: none;
}

[data-theme="light"] .plan-pill-medium:hover .pill-price {
    color: #4338ca;
    text-shadow: none;
}

[data-theme="light"] .pill-icon {
    color: #0284c7;
}

.pill-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-pill:hover .pill-icon {
    transform: translateY(-50%) scale(1) rotate(90deg);
}

/* Price pop effect */
.pill-price-pop {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-pill:hover .pill-price-pop {
    transform: scale(1.15);
    color: #00eaff;
}

/* Magnetic button effect */
.btn-magnetic {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-magnetic:hover .btn-shine {
    left: 100%;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s;
}

.btn-ghost-cta:hover .btn-arrow {
    transform: translateX(5px);
}

/* Steps grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.step-card {
    position: relative;
    padding: 28px 24px;
    background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.08), transparent 60%), rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.step-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    animation: revealStep 0.6s ease-out forwards;
}

@keyframes revealStep {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.3);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.5);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step-desc {
    color: #a9bfd8;
    font-size: 0.9rem;
    line-height: 1.6;
}

[data-theme="light"] .step-card {
    background: radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.05), transparent 60%), rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.25);
}

    [data-theme="light"] .step-card:hover {
        border-color: rgba(2, 132, 199, 0.5);
        box-shadow: 0 12px 32px rgba(2, 132, 199, 0.25);
    }

[data-theme="light"] .step-number {
    background: linear-gradient(135deg, #0284c7, #4f46e5);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .step-title {
    color: var(--text-primary);
}

[data-theme="light"] .step-desc {
    color: var(--text-muted);
}

/* Link glow */
.link-glow {
    color: #38bdf8;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

    .link-glow::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #38bdf8, #6366f1);
        transition: width 0.3s;
    }

    .link-glow:hover::after {
        width: 100%;
    }

    .link-glow:hover {
        text-shadow: 0 0 16px rgba(56, 189, 248, 0.8);
    }

[data-theme="light"] .link-glow {
    color: #0284c7;
}

    [data-theme="light"] .link-glow::after {
        background: linear-gradient(90deg, #0284c7, #4f46e5);
    }

    [data-theme="light"] .link-glow:hover {
        text-shadow: none;
    }

[data-theme="light"] .cart-sync-badge {
    background: rgba(220, 252, 231, 0.8);
    border-color: rgba(22, 163, 74, 0.3);
    color: #16a34a;
}

[data-theme="light"] .gradient-shimmer {
    background: linear-gradient(90deg, #0284c7, #4f46e5, #16a34a, #0284c7);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .title-underline-gradient::after {
    background: linear-gradient(90deg, #0284c7, #4f46e5, #16a34a);
}

[data-theme="light"] .hero-glow-effect {
    box-shadow: var(--shadow-soft);
}

[data-theme="light"] .badge-cart {
    background: rgba(241, 245, 249, 0.95);
    color: var(--text-primary);
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-card {
    padding: 24px 20px;
    background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.08), transparent 60%), rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
}

.feature-hover-tilt.visible {
    opacity: 1;
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.4s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.feature-desc {
    color: #a9bfd8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.features-note {
    margin-top: 32px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

[data-theme="light"] .feature-card {
    background: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.05), transparent 60%), rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.25);
}

    [data-theme="light"] .feature-card:hover {
        border-color: rgba(79, 70, 229, 0.5);
        box-shadow: 0 12px 36px rgba(79, 70, 229, 0.3);
    }

[data-theme="light"] .feature-title {
    color: var(--text-primary);
}

[data-theme="light"] .feature-desc {
    color: var(--text-muted);
}

/* Security split */
.security-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.security-card {
    padding: 28px 24px;
    background: radial-gradient(circle at 10% 10%, rgba(34, 197, 94, 0.08), transparent 60%), rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-stripe {
    background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.1), transparent 60%), rgba(15, 23, 42, 0.9);
}

.security-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.3);
}

.security-stripe:hover {
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.4);
}

.security-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.security-icon {
    font-size: 2rem;
}

.security-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .security-list li {
        padding: 12px 0 12px 28px;
        position: relative;
        color: #c8d7ee;
        font-size: 0.95rem;
        line-height: 1.5;
    }

        .security-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #22c55e;
            font-weight: 700;
            font-size: 1.2rem;
        }

.security-note {
    margin-top: 32px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
    padding: 16px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 12px;
    border-left: 3px solid #22c55e;
}

[data-theme="light"] .security-card {
    background: radial-gradient(circle at 10% 10%, rgba(22, 163, 74, 0.05), transparent 60%), rgba(255, 255, 255, 0.95);
    border-color: rgba(100, 116, 139, 0.25);
}

[data-theme="light"] .security-stripe {
    background: radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.06), transparent 60%), rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .security-card:hover {
    border-color: rgba(22, 163, 74, 0.5);
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.25);
}

[data-theme="light"] .security-stripe:hover {
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: 0 12px 32px rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .security-header h3 {
    color: var(--text-primary);
}

[data-theme="light"] .security-list li {
    color: var(--text-muted);
}

    [data-theme="light"] .security-list li::before {
        color: #16a34a;
    }

[data-theme="light"] .security-note {
    background: rgba(240, 253, 244, 0.9);
    border-left-color: #16a34a;
    color: var(--text-muted);
}

/* Section hover lift */
.section-hover-lift {
    transition: transform 0.3s ease;
}

    .section-hover-lift:hover {
        transform: translateY(-4px);
    }

/* Title underline gradient */
.title-underline-gradient {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

    .title-underline-gradient::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #38bdf8, #6366f1, #22c55e);
        border-radius: 999px;
    }

/* Cart sync badge */
.cart-sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 999px;
    color: #22c55e;
    font-size: 0.8rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Quick add header */
.quick-add-header {
    margin-bottom: 16px;
}

    .quick-add-header .section-title {
        margin-bottom: 8px;
    }

/* Enhanced home page pricing pills */
.hero-plans-list {
    position: relative;
    z-index: 2;
}

.plan-pill {
    position: relative;
    padding: 12px 16px;
    border: 2px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 60%), rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

    .plan-pill::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 2px;
        background: linear-gradient(135deg, transparent, rgba(56, 189, 248, 0.5), transparent);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.35s;
    }

    .plan-pill:hover::before {
        opacity: 1;
    }

.plan-pill-basic {
    border-color: rgba(56, 189, 248, 0.4);
}

    .plan-pill-basic::before {
        background: linear-gradient(135deg, transparent, rgba(56, 189, 248, 0.6), transparent);
    }

    .plan-pill-basic:hover {
        background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 60%), rgba(15, 23, 42, 0.98);
        border-color: rgba(56, 189, 248, 0.8);
    }

.plan-pill-medium {
    border-color: rgba(99, 102, 241, 0.4);
}

    .plan-pill-medium::before {
        background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.6), transparent);
    }

    .plan-pill-medium:hover {
        background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.25), transparent 60%), rgba(15, 23, 42, 0.98);
        border-color: rgba(99, 102, 241, 0.8);
    }

.plan-pill-vip {
    border-color: rgba(251, 191, 36, 0.4);
    position: relative;
}

    .plan-pill-vip::before {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(168, 85, 247, 0.6), rgba(56, 189, 248, 0.6), rgba(251, 191, 36, 0.6));
        background-size: 200% 200%;
        animation: rainbow-border-flow 3s linear infinite;
    }

@keyframes rainbow-border-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.plan-pill-vip:hover {
    background: radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.2), transparent 40%), radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.2), transparent 40%), rgba(15, 23, 42, 0.98);
    border-color: rgba(251, 191, 36, 0.9);
}

    .plan-pill-vip:hover .pill-price-pop {
        background: linear-gradient(120deg, #fbbf24, #a855f7, #38bdf8);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: rainbow-shift 2s linear infinite;
    }

/* Pill price enhancement */
.pill-price {
    font-weight: 700;
    color: #4de0ff;
    text-shadow: 0 0 12px rgba(77, 224, 255, 0.4);
}

.plan-pill-basic:hover .pill-price {
    color: #00eaff;
    text-shadow: 0 0 16px rgba(0, 234, 255, 0.8);
}

.plan-pill-medium:hover .pill-price {
    color: #a5b4fc;
    text-shadow: 0 0 16px rgba(165, 180, 252, 0.8);
}

/* Pill description */
.pill-desc {
    color: #9ca3af;
    transition: color 0.3s;
}

.plan-pill:hover .pill-desc {
    color: #c8d7ee;
}

/* Icon positioning for home pills */
.plan-pill {
    padding-right: 48px;
}

.pill-icon {
    right: 20px;
    font-size: 1.3rem;
}

/* Responsive tuning for hero pills */
@media (max-width: 960px) {
    .hero-plans-list {
        max-height: 400px;
    }

    .plan-pill {
        padding: 14px 18px;
        padding-right: 52px;
    }
}

@media (max-width: 640px) {
    .plan-pill-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pill-price {
        font-size: 1.1rem;
    }
}

/* Text muted enhancement */
.text-muted {
    color: #9ca3af;
    transition: color 0.3s;
}

.hero-side:hover .text-muted {
    color: #c8d7ee;
}

/* Scrollbar styling for plans list */
.hero-plans-list::-webkit-scrollbar {
    width: 6px;
}

.hero-plans-list::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 999px;
}

.hero-plans-list::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.4);
    border-radius: 999px;
}

    .hero-plans-list::-webkit-scrollbar-thumb:hover {
        background: rgba(56, 189, 248, 0.6);
    }

/* Button text wrapper */
.btn-text {
    position: relative;
    z-index: 2;
}

/* Enhanced button states */
.btn-primary-cta,
.btn-ghost-cta {
    position: relative;
    font-weight: 600;
}


[data-theme="light"] .btn-primary-cta {
    background: linear-gradient(120deg, #0284c7, #4f46e5);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.3);
}

    [data-theme="light"] .btn-primary-cta:hover {
        box-shadow: 0 16px 36px rgba(2, 132, 199, 0.4);
    }

[data-theme="light"] .btn-ghost-cta {
    border-color: rgba(100, 116, 139, 0.5);
}

    [data-theme="light"] .btn-ghost-cta:hover {
        background: rgba(248, 250, 252, 0.95);
        border-color: rgba(2, 132, 199, 0.6);
    }

[data-theme="light"] button.btn-primary.btn-lg {
    background: linear-gradient(120deg, #0284c7, #4f46e5) !important;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.3);
}

    [data-theme="light"] button.btn-primary.btn-lg:hover {
        box-shadow: 0 16px 36px rgba(2, 132, 199, 0.4);
    }

    .btn-primary-cta:active {
        transform: translateY(0);
        box-shadow: 0 12px 28px rgba(56, 189, 248, 0.4);
    }

    .btn-ghost-cta:active {
        transform: translateY(0);
    }

/* ==============================
   Light Mode: Page-Specific
   ============================== */

[data-theme="light"] .page-order-success h1 {
    background: linear-gradient(120deg, #16a34a, #0284c7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .page-order-success .lead {
    color: #16a34a;
}

[data-theme="light"] .page-order-cancelled h1 {
    background: linear-gradient(120deg, #dc2626, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .page-order-cancelled .lead {
    color: #dc2626;
}

/* ==============================
   Light Mode: Scrollbar
   ============================== */

[data-theme="light"] .hero-plans-list::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.5);
}

[data-theme="light"] .hero-plans-list::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.3);
}

    [data-theme="light"] .hero-plans-list::-webkit-scrollbar-thumb:hover {
        background: rgba(2, 132, 199, 0.5);
    }

/* ==============================
   Light Mode: Glass Panel
   ============================== */

[data-theme="light"] .glass-panel {
    background: var(--bg-panel);
    box-shadow: var(--shadow-soft);
}

/* ==============================
   Light Mode: Additional Adjustments
   ============================== */

[data-theme="light"] .plan-badge {
    background: linear-gradient(90deg, #0284c7, #0369a1);
    color: #fff;
}

[data-theme="light"] .features-note {
    color: var(--text-muted);
}

[data-theme="light"] .lead-note {
    color: var(--text-muted);
}

[data-theme="light"] .plan-guide li {
    color: var(--text-muted);
}

/* ==============================
   Light Mode: Hero Subtitle Fix
   ============================== */

[data-theme="light"] .hero-subtitle {
    color: var(--text-muted);
}

/* ==============================
   Light Mode: Theme Toggle Cursor
   ============================== */

.theme-toggle {
    cursor: pointer;
}

.theme-switch {
    user-select: none;
}

/* EMAIL VERIFICATION */

.page-email-verify .page-shell,
.page-register .page-shell,
.page-login .page-shell {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.page-email-verify .auth-container,
.page-register .auth-container,
.page-login .auth-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.auth-card {
    background: var(--bg-panel);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
}

.glass-panel {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--text-primary);
        font-size: 0.9375rem;
    }

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

    .form-input:focus {
        outline: none;
        border-color: var(--accent-a);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.alert {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

[data-theme="light"] .alert-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.3);
    color: #16a34a;
}

[data-theme="light"] .alert-error {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

.alert-icon {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .auth-footer p {
        margin: 0;
        color: var(--text-muted);
        font-size: 0.9375rem;
    }

.btn-full {
    width: 100%;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 1.5rem;
    }
}