/* ═══════════════════════════════════════════════════════════════════════
   XIAOLI — Aurora Noir Design System
   A premium glassmorphism theme with electric violet, cyan frost,
   and magenta accents over a deep-space background.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   § 1.  CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────── */
:root {
    /* Primary: Muted Purple */
    --purple-main: #4f3b68;
    --purple-hover: #5a437a;
    --purple-dim: rgba(79, 59, 104, 0.3);
    --purple-glow: #a882dd;
    --purple-mid: #4f3b68;

    /* Secondary: Silver/Muted */
    --cyan: #bfbcc2;
    --cyan-glow: #ffffff;

    /* Tertiary: Soft Lilac */
    --magenta: #a882dd;
    --magenta-glow: #bda3e5;

    /* Backgrounds: Dark Fluid */
    --bg-base: #050505;
    --bg-panel: rgba(16, 13, 20, 0.9);
    --bg-panel-hover: rgba(20, 16, 26, 0.95);
    --bg-surface-1: rgba(10, 10, 10, 0.8);
    --bg-surface-2: rgba(20, 16, 26, 0.9);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: rgba(191, 188, 194, 0.6);
    --text-main: #ffffff;

    /* Semantic */
    --accent: #a882dd;
    --red-glow: #d4183d;
    --green-glow: #10b981;
    --warning: #f59e0b;

    /* Legacy aliases (used in old inline HTML) */
    --silver-main: #bfbcc2;
    --silver-dim: rgba(191, 188, 194, 0.5);

    /* Borders */
    --border-main: rgba(255, 255, 255, 0.05);
    --border-active: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(79, 59, 104, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.8);
    --shadow-flat: 0 4px 20px rgba(0, 0, 0, 0.5);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-head: 'Inter', sans-serif; /* Fallback from Outfit to Inter for minimalist look */
    --font-mono: 'JetBrains Mono', monospace;

    /* Motion */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────────
   § 2.  RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--purple-main) var(--bg-base);
}

/* Custom scrollbar — gradient thumb */
::-webkit-scrollbar {
    width: 8px;
}

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

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

body {
    font-family: var(--font-main);
    background-color: #050214;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2073&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Simulate the grayscale and opacity effects from Tailwind */
    background-blend-mode: multiply;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 300; /* font-light */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition);
}

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

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

/* ─────────────────────────────────────────────
   § 3.  PARTICLE CANVAS
   ───────────────────────────────────────────── */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ─────────────────────────────────────────────
   § 4.  BUTTONS
   ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--purple-main);
    color: var(--text-primary);
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}
.btn-primary:hover {
    background: var(--purple-mid);
}

.btn-primary:hover {
    background: var(--purple-hover);
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(124, 58, 237, 0.08);
    color: var(--text-primary);
}

.btn-social {
    background: rgba(15, 10, 40, 0.5);
    color: var(--text-primary);
    border: 1px solid var(--border-main);
    flex: 1;
    padding: 12px 16px;
    backdrop-filter: blur(12px);
}

.btn-social:hover {
    border-color: var(--border-active);
    background: rgba(25, 18, 55, 0.7);
    box-shadow: none;
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

.btn-danger {
    background: rgba(244, 63, 94, 0.12);
    color: var(--red-glow);
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.btn-danger:hover {
    background: rgba(244, 63, 94, 0.22);
    box-shadow: none;
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.8125rem; }
.btn-full { width: 100%; }

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ─────────────────────────────────────────────
   § 5.  NAVBAR
   ───────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 10px 0;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(3, 0, 20, 0.75);
    border-bottom: 1px solid var(--border-main);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

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

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-main);
    transition: width 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;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(3, 0, 20, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border-main);
    transform: translateY(-20px);
    opacity: 0;
    transition: all var(--transition);
}

.mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-main);
}

/* ─────────────────────────────────────────────
   § 6.  HERO SECTION
   ───────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 700px;
    height: 700px;
    background:
        radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.25), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.15), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.08), transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-glow);
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--purple-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-main);
}

/* Hero Visual — Client Preview */
.hero-visual {
    flex: 1;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.client-preview {
    background: rgba(15, 10, 40, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(124, 58, 237, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: var(--red-glow); }
.preview-dots span:nth-child(2) { background: var(--warning); }
.preview-dots span:nth-child(3) { background: var(--green-glow); }

.preview-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.preview-body {
    padding: 8px;
}

.module-list-preview {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.module-item-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: default;
}

.module-item-preview.active {
    background: rgba(124, 58, 237, 0.12);
    color: var(--text-primary);
}

.module-item-preview:hover {
    background: rgba(124, 58, 237, 0.08);
}

.module-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-secondary);
    flex-shrink: 0;
    transition: all var(--transition);
}

.module-dot.on {
    background: var(--purple-glow);
    box-shadow: none;
}

.module-item-preview span:nth-child(2) {
    flex: 1;
    font-weight: 500;
}

.module-toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-main);
    position: relative;
    transition: all var(--transition);
}

.module-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: all var(--transition);
}

.module-toggle.on {
    background: var(--purple-main);
    border-color: rgba(255,255,255,0.05);
}

.module-toggle.on::after {
    left: 18px;
    background: white;
}

/* ─────────────────────────────────────────────
   § 7.  SECTIONS (Shared)
   ───────────────────────────────────────────── */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple-glow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ─────────────────────────────────────────────
   § 8.  FEATURES
   ───────────────────────────────────────────── */
.features {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(15, 10, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.12);
            border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

/* Gradient overlay on hover */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(6, 182, 212, 0.04));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

.feature-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(124, 58, 237, 0.2),
        inset 0 0 0 1px rgba(168, 85, 247, 0.1);
    background: rgba(25, 18, 55, 0.5);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-main);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   § 9.  MODULES
   ───────────────────────────────────────────── */
.modules {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.modules-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 24px;
    border: 1px solid var(--border-main);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
}

.tab:hover {
    border-color: var(--border-active);
    color: var(--text-primary);
}

.tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: none;
}

.modules-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.modules-panel.active {
    display: grid;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(15, 10, 40, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-left: 3px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.module-card:hover {
    border-left-color: var(--cyan);
    transform: translateX(4px);
    background: rgba(25, 18, 55, 0.5);
    box-shadow: -3px 0 20px rgba(6, 182, 212, 0.15);
}

.module-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.module-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─────────────────────────────────────────────
   § 10.  PRICING
   ───────────────────────────────────────────── */
.pricing {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: rgba(15, 10, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-left: 3px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    box-shadow: none;
}

.price-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-left-color: var(--purple-hover);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

/* Featured price card — animated gradient border */
.price-card.featured {
    border: none;
    background: rgba(15, 10, 40, 0.6);
    transform: scale(1.03);
    box-shadow:
        0 12px 48px rgba(124, 58, 237, 0.25),
        0 0 60px rgba(124, 58, 237, 0.1);
}

.price-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: var(--purple-main);
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
    z-index: -1;
}

.price-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: rgba(15, 10, 40, 0.9);
    z-index: -1;
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: var(--purple-main);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.price-tier {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 600;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.price-features li svg {
    width: 18px;
    height: 18px;
    color: var(--cyan);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   § 11.  FOOTER
   ───────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border-main);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 12px;
    max-width: 240px;
}

.footer-links-group {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-main);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   § 12.  AUTH MODAL
   ───────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 0, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: none;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}

.modal-close:hover { color: var(--text-primary); }
.modal-close svg { width: 20px; height: 20px; }

.auth-form.hidden { display: none; }

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.auth-logo svg { width: 100%; height: 100%; }

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ─────────────────────────────────────────────
   § 13.  FORM ELEMENTS
   ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    color: #ffffff;
    font-weight: 500;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.1);
}

.input-wrapper svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9375rem;
    outline: none;
}

.legal-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

.legal-content h3 {
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.legal-content p {
    margin-bottom: 12px;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.25rem;
    color: white;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 2px;
    display: flex;
    transition: color var(--transition);
}

.toggle-password:hover { color: var(--text-primary); }
.toggle-password svg { width: 18px; height: 18px; }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input { display: none; }

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-active);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.checkbox-label input:checked + .custom-checkbox {
    background: var(--purple-main);
    border-color: rgba(255,255,255,0.05);
}

.checkbox-label input:checked + .custom-checkbox::after {
    content: '✓';
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

.forgot-link {
    font-size: 0.8125rem;
    color: var(--purple-glow);
}

/* Password strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.strength-bars {
    display: flex;
    gap: 4px;
    flex: 1;
}

.strength-bars span {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: var(--bg-surface-2);
    transition: background var(--transition);
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-main);
}

.auth-divider span {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.social-logins {
    display: flex;
    gap: 12px;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-switch a {
    font-weight: 600;
    color: var(--purple-glow);
}

/* Form error states */
.input-wrapper.error {
    border-color: var(--red-glow);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.form-error {
    font-size: 0.75rem;
    color: var(--red-glow);
    margin-top: 4px;
    display: none;
}

.form-error.show { display: block; }

/* ─────────────────────────────────────────────
   § 14.  DASHBOARD
   ───────────────────────────────────────────── */
.dashboard {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.hidden { display: none !important; }

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(16, 13, 20, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(124, 58, 237, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform var(--transition);
}

.sidebar-header {
    padding: 30px 32px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.sidebar-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-link.active {
    color: white;
    background-color: rgba(53, 40, 70, 0.8);
    border-left-color: transparent;
    box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.5);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-avatar.large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.user-plan {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    display: block;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dash-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.sidebar-toggle svg { width: 24px; height: 24px; }

.dash-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.dash-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-main);
    border-radius: 20px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.dash-search:focus-within {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
}

.dash-search svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.dash-search input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.8125rem;
    outline: none;
    width: 160px;
}

.dash-search input::placeholder {
    color: var(--text-muted);
}

.notification-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-main);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.notification-btn:hover { 
    color: var(--text-primary); 
    border-color: rgba(124, 58, 237, 0.5);
    background: rgba(124, 58, 237, 0.1);
}
.notification-btn svg { width: 20px; height: 20px; }

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--red-glow);
    border-radius: 50%;
    border: 2px solid var(--bg-panel-hover);
}

/* Dashboard Pages */
.dash-page {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease-out;
}

.dash-page.active { display: block; }

/* Welcome Banner */
.welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    background:
        linear-gradient(135deg,
            rgba(124, 58, 237, 0.2),
            rgba(6, 182, 212, 0.1),
            rgba(236, 72, 153, 0.08));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: none;
}

.welcome-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.welcome-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(15, 10, 40, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.1);
            border-radius: var(--radius-md);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.stat-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.stat-card-icon svg { width: 24px; height: 24px; }

.stat-card-icon.purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(168, 85, 247, 0.15));
    color: var(--purple-glow);
}
.stat-card-icon.blue {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(34, 211, 238, 0.1));
    color: var(--cyan-glow);
}
.stat-card-icon.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.1));
    color: var(--green-glow);
}
.stat-card-icon.orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 146, 60, 0.1));
    color: var(--warning);
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 2px;
}

.stat-card-value {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

.status-active { color: var(--green-glow); }

/* Dashboard Grid */
.dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Dashboard Cards */
.dash-card {
    background: rgba(20, 16, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.dash-card:hover {
    transform: translateY(-2px);
}

.dash-card:last-child { margin-bottom: 0; }

.dash-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.view-all {
    font-size: 0.8125rem;
    color: var(--purple-glow);
    font-weight: 600;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon svg { width: 16px; height: 16px; }

.activity-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--green-glow); }
.activity-icon.purple { background: rgba(124, 58, 237, 0.2); color: var(--purple-glow); }
.activity-icon.blue { background: rgba(6, 182, 212, 0.15); color: var(--cyan-glow); }
.activity-icon.orange { background: rgba(245, 158, 11, 0.15); color: var(--warning); }

.activity-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

.activity-time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: rgba(15, 10, 40, 0.4);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.quick-action-btn svg { width: 24px; height: 24px; }

.quick-action-btn:hover {
    border-color: var(--purple-main);
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: none;
}

/* Server Status */
.status-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green-glow);
}

.server-status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.server-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: rgba(15, 10, 40, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(124, 58, 237, 0.08);
}

.server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.server-dot.online {
    background: var(--green-glow);
    box-shadow: none;
}

.server-name {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 500;
}

.server-uptime {
    font-size: 0.8125rem;
    color: var(--green-glow);
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Downloads Page */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all var(--transition);
    margin-bottom: 12px;
}

.download-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.download-item:last-child {
    margin-bottom: 0;
}

.download-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-md);
    color: var(--purple-glow);
    flex-shrink: 0;
}

.download-icon svg { width: 24px; height: 24px; }

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.download-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Changelog */
.changelog {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.changelog-entry {
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.changelog-version {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple-glow);
    font-family: var(--font-mono);
}

.changelog-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.changelog-entry ul {
    list-style: none;
}

.changelog-entry li {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 3px 0;
    position: relative;
    padding-left: 16px;
}

.changelog-entry li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
}

/* Configs Page */
.config-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.config-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(15, 10, 40, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-main);
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.config-item:hover {
    border-color: var(--border-active);
    background: rgba(25, 18, 55, 0.5);
}

.config-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.12);
    border-radius: var(--radius-sm);
}

.config-info { flex: 1; }

.config-info h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.config-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.config-actions {
    display: flex;
    gap: 8px;
}

/* Subscription Page */
.current-plan {
    text-align: center;
    padding: 32px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.plan-price {
    font-size: 1rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 16px;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.plan-table-wrapper {
    overflow-x: auto;
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
}

.plan-table th,
.plan-table td {
    padding: 12px 20px;
    text-align: center;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-main);
}

.plan-table th {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.plan-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.plan-table .highlight {
    background: rgba(124, 58, 237, 0.08);
    color: var(--purple-glow);
    font-weight: 600;
}

/* Account Page */
.account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Danger Zone */
.danger-zone {
    border-color: rgba(244, 63, 94, 0.2);
}

.danger-zone .dash-card-header h3 {
    color: var(--red-glow);
}

.danger-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.danger-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(244, 63, 94, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(244, 63, 94, 0.1);
}

.danger-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.danger-item p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ─────────────────────────────────────────────
   § 15.  TOASTS
   ───────────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(15, 10, 40, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    box-shadow: none;
    font-size: 0.875rem;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.toast.success {
    border-left: 3px solid var(--green-glow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.1);
}
.toast.error {
    border-left: 3px solid var(--red-glow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(244, 63, 94, 0.1);
}
.toast.info {
    border-left: 3px solid var(--cyan);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ─────────────────────────────────────────────
   § 16.  ANIMATIONS
   ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes border-glow {
    0%, 100% { border-color: rgba(255, 255, 255, 0.05); }
    50% { border-color: rgba(6, 182, 212, 0.5); }
}

/* ─────────────────────────────────────────────
   § 17.  ACCOUNT TABS
   ───────────────────────────────────────────── */
.account-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: none;
    padding: 4px;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.05);
}

.account-panel {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.account-panel.active {
    display: block;
}

/* ─────────────────────────────────────────────
   § 18.  CONFIG FORUM
   ───────────────────────────────────────────── */
.publish-config-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-main);
    line-height: 1.5;
}

select.form-input {
    appearance: none;
    
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.file-upload-area {
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--purple-main);
    background: rgba(124, 58, 237, 0.1);
}

.file-upload-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.file-upload-text span {
    color: var(--purple-glow);
    font-weight: 600;
    text-decoration: underline;
}

.file-upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-surface-1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-top: 8px;
}

.file-selected.hidden { display: none; }

.file-selected svg { color: var(--purple-glow); flex-shrink: 0; }
.file-selected span { flex: 1; }

.file-remove {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 2px;
    transition: color var(--transition);
}

.file-remove:hover { color: var(--red-glow); }

/* Config Forum Controls */
.config-forum-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.config-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(15, 10, 40, 0.5);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    flex: 1;
    max-width: 320px;
    backdrop-filter: blur(8px);
}

.config-search:focus-within { border-color: var(--cyan); }
.config-search svg { color: var(--text-secondary); flex-shrink: 0; }

.config-search input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.8125rem;
    outline: none;
    width: 100%;
}

.config-search input::placeholder { color: var(--text-muted); }

.config-filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 6px 16px;
    border: 1px solid var(--border-main);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.filter-tab.active {
    background: var(--purple-main);
    border-color: rgba(255,255,255,0.05);
    color: white;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

/* Config Feed */
.config-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.config-feed-card {
    background: rgba(15, 10, 40, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-left: 3px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.config-feed-card:hover {
    border-left-color: var(--cyan);
    transform: translateX(4px);
    background: rgba(25, 18, 55, 0.5);
}

.config-feed-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.config-feed-card-title {
    font-size: 1rem;
    font-weight: 700;
}

.config-feed-card-category {
    padding: 3px 10px;
    background: rgba(124, 58, 237, 0.15);
    color: var(--purple-glow);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.config-feed-card-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.config-feed-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.config-feed-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.config-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--purple-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: white;
}

.config-feed-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(124, 58, 237, 0.04);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.config-action-btn svg { width: 14px; height: 14px; }

.config-action-btn:hover {
    border-color: var(--purple-main);
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
}

.config-action-btn.liked {
    color: var(--purple-glow);
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.1);
}

.config-feed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    color: var(--text-secondary);
}

.config-feed-empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.config-feed-empty h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.config-feed-empty p {
    font-size: 0.8125rem;
}

.config-feed-card-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   § 19.  USER DROPDOWN
   ───────────────────────────────────────────── */
.user-dropdown {
    position: absolute;
    background: rgba(10, 6, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 150px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.user-dropdown.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

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

.dropdown-item svg {
    width: 16px;
    height: 16px;
}

.dropdown-item:hover {
    background: rgba(124, 58, 237, 0.15);
    color: var(--text-primary);
}

.dropdown-item.danger:hover {
    background: rgba(244, 63, 94, 0.12);
    color: var(--red-glow);
}

.dash-user-menu {
    position: relative;
    cursor: pointer;
}

.dash-user-menu .user-avatar {
    cursor: pointer;
}

#dash-user-dropdown {
    top: 100%;
    right: 0;
    margin-top: 8px;
}

/* ─────────────────────────────────────────────
   § 20.  COMING SOON + MINI-GAME
   ───────────────────────────────────────────── */
.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 20px;
    position: relative;
    overflow: hidden;
}

.coming-soon-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(6, 182, 212, 0.1), transparent 50%);
    filter: blur(60px);
    pointer-events: none;
    animation: coming-soon-pulse 3s ease-in-out infinite;
}

@keyframes coming-soon-pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.coming-soon-content {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.coming-soon-icon {
    color: var(--purple-glow);
    margin-bottom: 16px;
    animation: coming-soon-spin 8s linear infinite;
}

@keyframes coming-soon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.coming-soon-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 380px;
    margin: 0 auto;
}

.minigame-container {
    position: relative;
    width: 480px;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-main);
    background: rgba(5, 2, 20, 0.9);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(124, 58, 237, 0.1);
}

.minigame-hud {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(10, 6, 30, 0.95);
    border-bottom: 1px solid var(--border-main);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.minigame-hud strong {
    color: var(--purple-glow);
}

#minigame-canvas {
    display: block;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg, var(--bg-base) 0%, rgba(15, 10, 40, 0.5) 100%);
}

.minigame-overlay,
.minigame-gameover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(3, 0, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: 12px;
    z-index: 2;
}

.minigame-hint {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.minigame-gameover h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--purple-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.minigame-gameover p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.minigame-gameover strong {
    color: var(--purple-glow);
    font-size: 1.25rem;
}

.sidebar-user {
    position: relative;
    cursor: pointer;
}

#sidebar-user-dropdown {
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
}

/* ─────────────────────────────────────────────
   § 21.  INTERACTIVE / ADMIN DASHBOARD (V2)
   ───────────────────────────────────────────── */
.interactive-banner {
    position: relative;
    overflow: hidden;
}

.interactive-banner::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.interactive-banner:hover::after {
    opacity: 1;
}

.animate-text {
    animation: text-shimmer 3s ease infinite alternate;
}

@keyframes text-shimmer {
    from { text-shadow: 0 0 10px rgba(124, 58, 237, 0.2); }
    to { text-shadow: 0 0 30px rgba(168, 85, 247, 0.5); }
}

.interactive-btn {
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-btn:hover {
    box-shadow: none;
    transform: translateY(-2px) scale(1.05);
}

.interactive-card {
    transition: all 0.3s ease;
}
.interactive-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(20, 16, 26, 1);
}

.interactive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(124, 58, 237, 0.15),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

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

.interactive-card:hover {
    background: rgba(25, 18, 55, 0.5);
    border-color: var(--border-active);
}

.interactive-card:hover::before {
    opacity: 1;
}

.empty-state-mini {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    background: rgba(15, 10, 40, 0.3);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(124, 58, 237, 0.2);
}

.interactive-item {
    transition: background 0.2s;
    cursor: default;
}

.interactive-item:hover {
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-sm);
}

.pulse-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background-color: var(--purple-glow);
    border-radius: 50%;
    box-shadow: none;
    animation: pulse-purple 1.5s infinite;
}

@keyframes pulse-purple {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.danger-zone {
    border-top: 3px solid var(--red-glow);
}

.interactive-area {
    transition: border-color 0.3s, background 0.3s;
}

.interactive-area:hover {
    border-color: var(--purple-main);
    background: rgba(124, 58, 237, 0.04);
}

/* ─────────────────────────────────────────────
   § 22.  ADMIN PANEL STYLES
   (Mirrors inline <style> from index.html —
    so external CSS can override/complement)
   ───────────────────────────────────────────── */
.glass-panel {
    background: rgba(15, 10, 40, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: none;
}

.list-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.12);
    background: rgba(5, 2, 20, 0.4);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.list-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.06);
    align-items: center;
    transition: all 0.2s;
    cursor: pointer;
}

.list-row:hover { background: rgba(124, 58, 237, 0.06); }
.list-row:last-child { border-bottom: none; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green-glow);
    box-shadow: none;
}

.badge.banned {
    background: rgba(244, 63, 94, 0.15);
    color: var(--red-glow);
    box-shadow: none;
}

.badge.expired {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   § 23.  RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-panel.active { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card.featured { grid-column: 1 / -1; max-width: 400px; justify-self: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .server-status-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 60px;
    }

    .hero-title { font-size: 2.5rem; letter-spacing: -1.5px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 100%; }

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

    .features-grid { grid-template-columns: 1fr; }
    .modules-panel.active { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { max-width: none; }

    .footer-main { flex-direction: column; }
    .footer-links-group { flex-wrap: wrap; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .modal { padding: 28px; }

    /* Dashboard responsive */
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .dashboard-content {
        margin-left: 0;
    }

    .sidebar-toggle { display: block; }

    .dash-header {
        padding: 12px 20px;
    }

    .dash-search { display: none; }

    .dash-page { padding: 20px; }

    .stats-grid { grid-template-columns: 1fr; }
    .server-status-grid { grid-template-columns: 1fr; }

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

    .form-row { grid-template-columns: 1fr; }

    .download-item {
        flex-direction: column;
        text-align: center;
    }

    /* Admin list responsive */
    .list-header,
    .list-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; letter-spacing: -1px; }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    .social-logins { flex-direction: column; }
    .modules-tabs { gap: 4px; }
    .tab { padding: 8px 16px; font-size: 0.8125rem; }
    .account-tabs { justify-content: center; margin-bottom: 24px; }
}


/* ─────────────────────────────────────────────
   § NEW DASHBOARD LAYOUT CLASSES (Dark Fluid)
   ───────────────────────────────────────────── */

.dash-stat-card {
    background: rgba(16, 13, 20, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-stat-card .icon-wrapper {
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-stat-card .icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.dash-stat-card .stat-label {
    display: block;
    font-size: 10px;
    color: rgba(191,188,194,0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-align: right;
}

.dash-stat-card .stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    text-align: right;
}

.filter-pill {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: #bfbcc2;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-pill:hover {
    background: rgba(255,255,255,0.1);
}

.filter-pill.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--purple-glow);
    border-color: rgba(255, 255, 255, 0.05);
}

.changelog-item {
    position: relative;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple-glow);
    box-shadow: none;
}

/* =========================================================
   REACT DESIGN PORT (Vanilla HTML Translation)
   ========================================================= */

.rt-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-color: #020202;
    color: #f8fafc;
}

/* Background Texture */
.rt-bg-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.rt-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 5, 5, 0.7);
    z-index: 10;
    mix-blend-mode: multiply;
}
.rt-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    filter: grayscale(50%);
}
.rt-bg-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), transparent, #050505);
    z-index: 20;
}

/* Typography & Utilities */
.rt-section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}
.rt-section-header h2 {
    font-size: 2.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: white;
}
.rt-section-header h2 span {
    font-weight: 700;
    color: #bfbcc2;
}
.rt-section-header p {
    font-size: 0.875rem;
    color: rgba(191, 188, 194, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rt-flex-center {
    display: flex;
    align-items: center;
}
.rt-flex-baseline {
    display: flex;
    align-items: baseline;
}
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Hero Section */
.rt-hero-section {
    position: relative;
    z-index: 10;
    padding-top: 10rem;
    padding-bottom: 5rem;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.rt-hero-content {
    text-align: center;
    padding: 0 1rem;
    max-width: 56rem;
    margin: 0 auto;
    animation: rtFadeUp 0.8s ease-out forwards;
}
.rt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #bfbcc2;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
}
.rt-badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #a882dd;
    animation: rtPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.rt-title {
    font-size: 3.75rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}
@media (min-width: 768px) {
    .rt-title { font-size: 6rem; }
}
.rt-title-glow {
    font-weight: 700;
    color: #bfbcc2;
}
.rt-subtitle {
    font-size: 0.875rem;
    color: rgba(191, 188, 194, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.625;
}
@media (min-width: 768px) {
    .rt-subtitle { font-size: 1rem; }
}
.rt-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .rt-hero-buttons { flex-direction: row; }
}
.rt-btn-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.25rem;
    background-color: #4f3b68;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s;
    box-shadow: none;
    border: none;
    cursor: pointer;
}
.rt-btn-primary:hover {
    background-color: #5a437a;
    box-shadow: none;
}
.rt-btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.rt-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.rt-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: rtFadeIn 1s 1s forwards;
    opacity: 0;
}
.rt-scroll-text {
    font-size: 10px;
    color: rgba(191, 188, 194, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.rt-scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(191, 188, 194, 0.4), transparent);
}

/* Interface Section */
.rt-interface-section {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
    background-color: rgba(2, 2, 2, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}
.rt-gui-container {
    width: 100%;
    max-width: 1400px;
    overflow-x: auto;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .rt-gui-container { padding-left: 2rem; padding-right: 2rem; }
}
.rt-gui-flex {
    display: flex;
    gap: 1rem;
    width: max-content;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .rt-gui-flex { gap: 1.5rem; }
}
.rt-gui-panel {
    width: 240px;
    background-color: rgba(16, 13, 20, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
@media (min-width: 768px) {
    .rt-gui-panel { width: 260px; }
}
.rt-gui-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(20, 16, 26, 0.8);
}
.rt-gui-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.025em;
}
.rt-gui-count {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 10px;
    color: rgba(191, 188, 194, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.rt-gui-items {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 0.5rem 0;
}
@media (min-width: 768px) {
    .rt-gui-items { max-height: 500px; }
}
.rt-gui-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #bfbcc2;
    position: relative;
}
.rt-gui-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}
.rt-gui-item-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: rgba(53, 40, 70, 0.8);
    color: white;
    position: relative;
}
.rt-active-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #a882dd;
    box-shadow: none;
}
.rt-gui-item-text {
    font-size: 13px;
    transition: color 0.2s;
}
.rt-gui-item-active .rt-gui-item-text {
    font-weight: 500;
}

/* Pricing Section */
.rt-pricing-section {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
    background-color: rgba(2, 2, 2, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rt-pricing-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    .rt-pricing-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .rt-pricing-container { padding: 0 2rem; }
}
.rt-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .rt-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
.rt-plan-card {
    background: rgba(20, 16, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
}
.rt-plan-card-popular {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(24px);
    background-color: rgba(20, 16, 26, 0.9);
    border: 1px solid rgba(79, 59, 104, 0.5);
    box-shadow: none;
}
.rt-popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4f3b68;
    border: 1px solid rgba(168, 130, 221, 0.3);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    box-shadow: none;
}
.rt-plan-name {
    font-size: 1.25rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.rt-plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
}
.rt-plan-period {
    font-size: 0.75rem;
    color: rgba(191, 188, 194, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.rt-plan-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 2rem;
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.25rem;
}
.rt-plan-btn {
    width: 100%;
    padding: 1rem 0;
    border-radius: 0.25rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}
.rt-plan-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.rt-plan-btn-popular {
    width: 100%;
    padding: 1rem 0;
    border-radius: 0.25rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background-color: #4f3b68;
    color: white;
    box-shadow: none;
    border: none;
    cursor: pointer;
}
.rt-plan-btn-popular:hover {
    background-color: #5a437a;
    box-shadow: none;
}

/* Footer Section */
.rt-footer {
    position: relative;
    z-index: 10;
    background-color: #020202;
    padding: 4rem 0;
}
.rt-footer-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    .rt-footer-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .rt-footer-container { padding: 0 2rem; }
}
.rt-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 3rem;
}
@media (min-width: 768px) {
    .rt-footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.rt-footer-brand {
    grid-column: span 1;
}
@media (min-width: 768px) {
    .rt-footer-brand { grid-column: span 2; }
}
.rt-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}
.rt-footer-brand p {
    font-size: 0.75rem;
    color: rgba(191, 188, 194, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: 24rem;
    line-height: 2;
}
.rt-footer-col h4 {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.rt-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.rt-footer-col a {
    font-size: 0.75rem;
    color: rgba(191, 188, 194, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
}
.rt-footer-col a:hover {
    color: white;
}
.rt-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
@media (min-width: 768px) {
    .rt-footer-bottom { flex-direction: row; }
}
.rt-footer-bottom p {
    font-size: 10px;
    color: rgba(191, 188, 194, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.rt-footer-icons {
    display: flex;
    gap: 1rem;
    opacity: 0.4;
}
.rt-footer-icons div {
    width: 2rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes rtFadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rtFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes rtPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes liquidFlow {
    0% { transform: scale(1.05) translate(0, 0); }
    33% { transform: scale(1.1) translate(1%, 1%); }
    66% { transform: scale(1.08) translate(-1%, 2%); }
    100% { transform: scale(1.05) translate(0, 0); }
}

.liquid-bg-image {
    animation: liquidFlow 8s ease-in-out infinite alternate;
}
