/* ============================================
   NovaPulse VPS — Design System & Styles
   Theme: Purple / Black / Light Blue accent
   ============================================ */

/* --- Cursor Animation --- */
@keyframes cursorGlow {
    0% { opacity: 0.6; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3); }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.5); }
    100% { opacity: 0.6; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3); }
}

@keyframes trailFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.1); }
}

body {
    /* cursor: none removed to fix on-site cursor */
}

.cursor-glow {
    position: fixed;
    width: 18px;
    height: 18px;
    border: 1.6px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: cursorGlow 2s ease-in-out infinite;
    transform: translate(-9px, -9px);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.45), 0 0 16px rgba(255, 255, 255, 0.28);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: trailFade 0.8s ease-out forwards;
    transform: translate(-4px, -4px);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: trailFade 0.6s ease-out forwards;
    transform: translate(-2px, -2px);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}
/* --- Custom cursor elements hidden since standard cursor is restored --- */
.cursor-glow, .cursor-trail, .cursor-dot {
    display: none !important;
}
/* --- Hide default pointer for clickable elements (use custom cursor) --- */
/* Custom cursor removed */


/* --- CSS Variables --- */
:root {
    /* Core Palette */
    --bg-primary: #09090f;
    --bg-secondary: #0e0e18;
    --bg-card: rgba(16, 16, 28, 0.65);
    --bg-card-hover: rgba(22, 22, 40, 0.8);
    --bg-elevated: rgba(20, 20, 36, 0.9);

    /* Purple spectrum */
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-800: #6b21a8;
    --purple-900: #581c87;

    /* Light blue accent (used sparingly) */
    --blue-300: #7dd3fc;
    --blue-400: #6dd5ed;
    --blue-500: #38bdf8;

    /* Text */
    --text-primary: #f1f1f6;
    --text-secondary: #9d9db8;
    --text-tertiary: #6b6b88;
    --text-accent: #c084fc;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(168, 85, 247, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6dd5ed 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7, #7c3aed);
    --gradient-glow: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-purple: 0 4px 30px rgba(168, 85, 247, 0.2);
    --shadow-purple-lg: 0 8px 60px rgba(168, 85, 247, 0.25);

    /* Sizing */
    --container-max: 1200px;
    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* --- Particle Canvas --- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility Classes --- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Animation on Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(9, 9, 15, 0.75);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(9, 9, 15, 0.92);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    z-index: 10;
}

.logo-icon {
    display: flex;
    align-items: center;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

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

/* --- Buttons --- */
.btn-ghost {
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f8fafc;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(12px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    border-color: var(--purple-400);
    background: rgba(168, 85, 247, 0.05);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(168, 85, 247, 0.12);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(109, 213, 237, 0.06);
    bottom: 0;
    right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero-container {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

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

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

/* --- Hero Terminal --- */
.hero-terminal {
    margin-top: 56px;
    max-width: 620px;
    width: 100%;
    background: rgba(12, 12, 22, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), 0 0 80px rgba(168, 85, 247, 0.06);
    margin-left: auto;
    margin-right: auto;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

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

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
}

.terminal-line.hidden {
    display: none;
}

.terminal-prompt {
    color: var(--purple-400);
    font-weight: 600;
}

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

.terminal-output {
    color: var(--text-secondary);
}

.terminal-output.success {
    color: #22c55e;
}

.terminal-cursor {
    color: var(--purple-400);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.brands-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.brands-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.brand-item {
    transition: opacity 0.3s ease;
}

.brand-item:hover {
    opacity: 0.8;
}

/* ============================================
   SECTION HEADER (Shared)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-400);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.feature-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-500), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--purple-400);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.3);
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

/* --- Pricing Tabs --- */
.pricing-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-tertiary);
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.pricing-tab:hover {
    color: var(--text-secondary);
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-tab.active {
    color: #fff;
    background: var(--gradient-purple);
    border-color: var(--purple-600);
    box-shadow: 0 2px 16px rgba(168, 85, 247, 0.25);
}

/* --- Pricing Panels --- */
.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
    animation: fadeInPanel 0.35s ease;
}

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

/* --- Plans Grid --- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* --- Plan Card --- */
.plan-card {
    position: relative;
    padding: 28px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.plan-card.featured {
    border-color: var(--purple-600);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, var(--bg-card) 40%);
    box-shadow: var(--shadow-purple);
}

.plan-card.featured:hover {
    box-shadow: var(--shadow-purple-lg);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-purple);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Sold out state */
.plan-card.sold-out {
    opacity: 0.5;
}

.plan-card.sold-out:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-subtle);
}

.soldout-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.plan-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.plan-card-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1;
}

.plan-card-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.plan-card-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.plan-card-specs li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.plan-card-specs li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.plan-card-specs li span {
    color: var(--text-tertiary);
}

.plan-card-specs li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.plan-card-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
}

.plan-card-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- API Loading State --- */
.api-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 64px 24px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.api-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--purple-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.locations-map {
    position: relative;
}

.map-container {
    position: relative;
    aspect-ratio: 2/1;
    max-width: 900px;
    margin: 0 auto;
}

.world-map {
    width: 100%;
    height: 100%;
    color: var(--purple-500);
}

.location-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    cursor: pointer;
    z-index: 2;
}

.dot-pulse {
    display: block;
    width: 12px;
    height: 12px;
    background: var(--purple-500);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
    transition: transform 0.3s ease;
}

.dot-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--purple-400);
    animation: ping 2s ease-out infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.location-dot:hover .dot-pulse {
    transform: scale(1.3);
}

.dot-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-elevated);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.location-dot:hover .dot-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-item.active {
    border-color: var(--purple-600);
    box-shadow: var(--shadow-purple);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--purple-300);
}

.faq-chevron {
    color: var(--text-tertiary);
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--purple-400);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.cta-card {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-tagline {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    max-width: 260px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-tertiary);
    padding: 5px 0;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--purple-400);
}

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

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--purple-400);
    border-color: var(--purple-500);
    background: rgba(168, 85, 247, 0.08);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(9, 9, 15, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 5;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links .nav-link {
        font-size: 1.3rem;
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .features-grid,
    .plans-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-tabs {
        gap: 4px;
    }

    .pricing-tab {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-terminal {
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .amount {
        font-size: 2.5rem;
    }
}

/* ============================================
   AUTH MODAL & FORMS
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(135deg, rgba(13, 13, 23, 0.95), rgba(20, 20, 35, 0.98));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-out);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.1);
}

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

/* Premium API Social Buttons */
.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-api-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-api-discord:hover {
    background: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.btn-api-google:hover {
    background: #fff;
    color: #12121e;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-api-social svg {
    flex-shrink: 0;
}

/* Animated Login Button (Navbar) */
.btn-login-nav {
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple-300);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login-nav:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--purple-400);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(34, 197, 94, 0.5);
}

/* Shimmer Animation */
.btn-login-nav::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.btn-login-nav:hover::after {
    left: 140%;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

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

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding-left: 4px;
}

.auth-error {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 12px;
    text-align: center;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: none;
    animation: authErrorFade 0.3s ease;
}

.auth-success {
    color: #34d399;
    font-size: 0.85rem;
    margin-top: 12px;
    text-align: center;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: none;
    animation: authErrorFade 0.3s ease;
}

@keyframes authErrorFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--purple-500);
    background: rgba(168, 85, 247, 0.05);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

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

.auth-footer button {
    background: none;
    border: none;
    color: var(--purple-400);
    font-weight: 600;
    cursor: pointer;
    padding: 0 4px;
}

.auth-footer button:hover {
    text-decoration: underline;
    color: var(--purple-300);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
}

.logout-link {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    transition: color 0.2s;
    text-decoration: none;
}

.logout-link:hover {
    color: #ef4444;
}

.logout-link:hover {
    color: #ef4444;
}

/* ============================================
   GLASSMORPHISM 2.0 CUSTOMER PANEL
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #020204;
}
::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}
.dashboard-v3 {
    background: #020204 radial-gradient(circle at 10% 10%, rgba(168, 85, 247, 0.2) 0%, transparent 40%), radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Allow text selection where needed */
.dashboard-v3 p, .dashboard-v3 h1, .dashboard-v3 h2, .dashboard-v3 h3, .dashboard-v3 input, .plan-card-price {
    user-select: text;
    -webkit-user-select: text;
}

.dash-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: 100vh;
    padding: 24px;
    gap: 24px;
}

/* Sidebar V3 */
.dash-sidebar {
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    padding: 40px 24px 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding: 0 12px;
}

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

.brand-area .logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #fff 0%, var(--purple-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #475569;
    margin-bottom: 12px;
    padding-left: 16px;
    font-weight: 800;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-out);
    margin-bottom: 4px;
}

.dash-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(4px);
}

.dash-nav-item.active {
    background: rgba(168, 85, 247, 0.15);
    color: #fff;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.sidebar-user-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.user-avatar-small {
    width: 36px;
    height: 36px;
    background: var(--purple-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.user-status {
    font-size: 0.65rem;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-status::before {
    content: '';
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

.btn-logout {
    color: #64748b;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Main Area V3 */
.dash-main {
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    padding: 48px 64px;
    overflow-y: auto;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.workspace-actions {
    display: flex;
    gap: 12px;
}

.btn-ghost-v3 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost-v3:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Hide Number Input Spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.dash-tab-content {
    display: none;
    animation: workspaceFade 0.4s var(--ease-out);
}

.dash-tab-content.active {
    display: block;
}

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

/* Glass Components V3 */
.stats-grid-v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.glass-stat {
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 60%);
    pointer-events: none;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 800;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
}

.stat-growth {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
}

/* Featured Deal V3 */
.featured-card {
    background: #0a0a0f;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.05);
}

.badge-timer {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Table V3 */
.glass-table-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
}

.data-table-v3 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.data-table-v3 th {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 800;
}

.data-table-v3 td {
    padding: 20px 24px;
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-out);
}

.data-table-v3 tr {
    transition: none;
}

.data-table-v3 tr:hover td {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.1);
    cursor: default;
}

.data-table-v3 tr td:first-child { border-left: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px 0 0 16px; }
.data-table-v3 tr td:last-child { border-right: 1px solid rgba(255, 255, 255, 0.05); border-radius: 0 16px 16px 0; }

/* Connection Guides V3 */
.tutorial-card-v3 {
    max-width: 800px;
}

.tut-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.tut-tab-btn {
    flex: 1;
    padding: 16px;
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.tut-tab-btn.active {
    border-color: var(--purple-500);
    color: #fff;
    background: rgba(168, 85, 247, 0.05);
}

.code-terminal {
    background: #000;
    padding: 24px;
    border-radius: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #22c55e;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.reveal-anim {
    opacity: 0;
    transform: translateY(20px);
    animation: v3Reveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes v3Reveal {
    to { opacity: 1; transform: translateY(0); }
}
/* Mobile Dashboard Toggle UI */
.dash-mobile-toggle {
    display: none;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1500;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 8px;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.dash-mobile-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.dash-mobile-close:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 1024px) {
    .dash-container {
        grid-template-columns: 1fr;
    }
    
    .dash-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 320px;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
    }
    
    .dash-sidebar.open {
        transform: translateX(0);
    }
    
    .dash-mobile-toggle {
        display: block;
    }

    .dash-sidebar.open .dash-mobile-close {
        display: flex;
    }
    
    .dash-main {
        padding: 80px 24px 40px 24px;
    }

    .specs-grid {
        grid-template-columns: 1fr; /* Stack the system specs vertically */
    }
    
    .workspace-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.divider-v3 { margin: 24px 0 16px; text-align: center; color: #9d9db8; font-size: 0.85rem; } 
.ltc-box-v3 { background: rgba(168, 85, 247, 0.07); border: 1px dashed rgba(168, 85, 247, 0.3); padding: 16px; border-radius: 8px; color: #c084fc; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; text-align: center; word-break: break-all; } 
.ltc-box-v3.error { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.3); color: #ef4444; font-family: inherit; }

/* --- Ticket System Styles --- */
.tickets-v3-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-item {
    transition: all 0.3s var(--ease-out);
    border: 1px solid var(--border-subtle);
}

.ticket-item:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.03);
    transform: translateX(6px);
    box-shadow: -4px 0 15px rgba(168, 85, 247, 0.1);
}

.status-badge {
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-open { background: rgba(56, 189, 248, 0.1); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.2); }
.status-answered { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.status-closed { background: rgba(157, 157, 184, 0.1); color: #9d9db8; border: 1px solid rgba(157, 157, 184, 0.2); }
.status-active { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.25); }
.status-inactive { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }
.status-pending { background: rgba(168, 85, 247, 0.1); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.25); }

/* Premium VPS Card styling */
.vps-card {
    background: rgba(30, 27, 75, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.vps-card:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
    background: rgba(30, 27, 75, 0.35);
}

.vps-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vps-card:hover .vps-icon-container {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}


#messageHistory::-webkit-scrollbar {
    width: 6px;
}
#messageHistory::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.glass-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.data-table-v3 {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table-v3 th {
    padding: 16px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-subtle);
}

.data-table-v3 td {
    padding: 16px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
}

.data-table-v3 tr:last-child td {
    border-bottom: none;
}

.btn-ghost-v3 {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-ghost-v3:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: var(--border-light);
}

/* ============================================
   CUSTOM FORM ELEMENTS (Selects, Inputs, etc.)
   ============================================ */
.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.form-input:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus {
    outline: none;
    border-color: var(--purple-500);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
    transform: translateY(-1px);
}

/* Premium Select Styling */
select.form-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 16px !important;
    padding-right: 48px !important;
    cursor: pointer !important;
}

/* Styling the option tags */
select.form-input option {
    background-color: #0e0e18;
    color: #fff;
    padding: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

textarea.form-input {
    min-height: 120px;
    line-height: 1.6;
    resize: none;
}

/* VPS Management Modal Sidebar Styling */
.vps-nav-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vps-nav-link {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    outline: none !important;
}

.vps-nav-link:focus,
.vps-nav-link:active,
.vps-nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent;
}

.vps-nav-link:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.03);
    padding-left: 28px;
}

.vps-nav-link.active {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 100%) !important;
    border-left-color: var(--purple-500) !important;
    font-weight: 600;
    padding-left: 28px;
}

/* Hide inactive tab contents */
.vps-tab-content {
    display: none;
}

.vps-tab-content.active {
    display: block;
}

/* Table Action Buttons */
.btn-action-restore {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}
.btn-action-restore:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

.btn-action-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}
.btn-action-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
}

/* Futuristic Cyber HUD Styles */
.cyber-hud-card {
    background: rgba(10, 10, 18, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 12px rgba(139, 92, 246, 0.05);
    position: relative;
    overflow: hidden;
}
.cyber-hud-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}
.cyber-terminal {
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    color: #38bdf8;
    padding: 16px;
    height: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 16px rgba(59, 130, 246, 0.1), 0 0 15px rgba(59, 130, 246, 0.1);
    text-shadow: 0 0 4px rgba(56, 189, 248, 0.35);
}
.cyber-terminal-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 12px;
    padding-right: 8px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}
.cyber-terminal-input-row {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    padding-top: 8px;
}
.cyber-terminal-prompt {
    color: #a78bfa;
    margin-right: 8px;
    font-weight: 700;
    user-select: none;
}
.cyber-terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #f1f1f6;
    flex: 1;
    font-family: inherit;
    font-size: inherit;
}
.cyber-telemetry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding: 8px 0;
}
.cyber-telemetry-label {
    color: #9d9db8;
}
.cyber-telemetry-value {
    color: #f1f1f6;
    font-family: monospace;
    text-align: right;
    overflow-wrap: anywhere;
    min-width: 0;
}
.cyber-access-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 0 12px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.cyber-access-btn {
    min-height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
    color: #f1f1f6;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.cyber-access-btn:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-1px);
}
.cyber-access-btn-primary {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.12);
    color: #e9d5ff;
}
.ssh-session-window {
    display: none;
    margin-top: 16px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(3, 7, 18, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 18px rgba(56, 189, 248, 0.08);
}
.ssh-session-window.active {
    display: block;
}
.ssh-session-window.fullscreen {
    position: fixed;
    inset: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    margin: 0;
    border-radius: 14px;
    background: rgba(3, 7, 18, 0.96);
}
.ssh-session-window.fullscreen .ssh-terminal {
    flex: 1;
    height: auto;
    min-height: 0;
}
.ssh-window-titlebar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.16);
    background: rgba(15, 23, 42, 0.7);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
}
.ssh-window-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}
.ssh-window-title {
    color: #38bdf8;
    font-weight: 800;
}
.ssh-title-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ssh-title-btn,
.ssh-tool-btn {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    min-height: 30px;
    padding: 0 10px;
}
.ssh-title-btn:hover,
.ssh-tool-btn:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.08);
}
.ssh-toolbar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ssh-tool-btn-primary {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.12);
    color: #e9d5ff;
}
.ssh-terminal {
    height: 230px;
    overflow-y: auto;
    padding: 14px;
    color: #cbd5e1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}
.ssh-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(56, 189, 248, 0.12);
    background: rgba(2, 6, 23, 0.78);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
}
.ssh-prompt {
    color: #a78bfa;
    font-weight: 800;
    white-space: nowrap;
}
.ssh-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font: inherit;
}
@media (max-width: 820px) {
    .ssh-session-window.fullscreen {
        inset: 8px;
    }
    .ssh-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.glow-text-cyan {
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.glow-text-purple {
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
}
.glow-text-green {
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}
.glow-text-red {
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}



/* ============================================
   Monochrome Glassmorphism + Cyber Minimalism
   Premium infrastructure dashboard aesthetic
   ============================================ */
:root {
    --bg-primary: #020203;
    --bg-secondary: #070708;
    --bg-card: rgba(255, 255, 255, 0.045);
    --bg-card-hover: rgba(255, 255, 255, 0.075);
    --bg-elevated: rgba(14, 14, 15, 0.82);
    --purple-50: #ffffff;
    --purple-100: #f5f5f5;
    --purple-200: #e8e8e8;
    --purple-300: #d6d6d6;
    --purple-400: #c7c7c7;
    --purple-500: #f4f4f4;
    --purple-600: #d9d9d9;
    --purple-700: #b8b8b8;
    --purple-800: #8f8f8f;
    --purple-900: #626262;
    --blue-300: #f2f2f2;
    --blue-400: #dcdcdc;
    --blue-500: #bcbcbc;
    --text-primary: #f7f7f7;
    --text-secondary: #a5a5a8;
    --text-tertiary: #6f6f73;
    --text-accent: #ffffff;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.16);
    --border-accent: rgba(255, 255, 255, 0.28);
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #d6d6d6 48%, #777777 100%);
    --gradient-purple: linear-gradient(135deg, #ffffff, #9b9b9b);
    --gradient-glow: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, transparent 68%);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.46);
    --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.56);
    --shadow-purple: 0 18px 60px rgba(255, 255, 255, 0.08);
    --shadow-purple-lg: 0 28px 100px rgba(255, 255, 255, 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
}

html {
    background: #020203;
}

body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.11), transparent 28%),
        radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.055), transparent 30%),
        linear-gradient(180deg, #020203 0%, #070707 46%, #000 100%);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    color: var(--text-primary);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 49.7%, rgba(255, 255, 255, 0.05) 50%, transparent 50.3%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.035));
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    opacity: 0.75;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
    mix-blend-mode: screen;
    opacity: 0.17;
}

#particleCanvas {
    opacity: 0.22;
    filter: grayscale(1) contrast(1.8) brightness(1.2);
}

.navbar {
    background: rgba(5, 5, 6, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.03);
}

.navbar.scrolled {
    background: rgba(3, 3, 4, 0.86);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
}

.nav-logo span,
.section-title,
.hero-title,
.plan-card-name,
.feature-title,
.cta-title {
    letter-spacing: -0.03em;
}

.nav-logo svg,
.footer .nav-logo svg {
    filter: grayscale(1) brightness(1.8) contrast(1.15);
}

.nav-link {
    color: rgba(255, 255, 255, 0.58);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    height: 1px;
    background: #fff;
}

.btn-primary,
.btn-outline,
.btn-login-nav,
.plan-card-btn,
.btn-api-social {
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.btn-primary,
.plan-card-btn {
    background: #f4f4f4;
    color: #020203;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 44px rgba(255, 255, 255, 0.11);
}

.btn-primary:hover,
.plan-card-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 70px rgba(255, 255, 255, 0.16);
}

.btn-outline,
.btn-login-nav {
    background: rgba(255, 255, 255, 0.035);
    color: #f2f2f2;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.btn-outline:hover,
.btn-login-nav:hover,
.btn-api-social:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

.hero {
    min-height: 96vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 86px 24px auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.hero-glow {
    filter: grayscale(1);
    opacity: 0.5;
}

.hero-glow-1,
.hero-glow-2,
.cta-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, transparent 68%);
}

.hero-badge,
.section-tag,
.featured-badge,
.sold-out-badge {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0;
    text-transform: uppercase;
}

.badge-dot,
.dot-pulse,
.dot-red,
.dot-yellow,
.dot-green {
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.72);
}

.hero-title {
    color: #f7f7f7;
    text-shadow: 0 0 44px rgba(255, 255, 255, 0.1);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #b8b8b8 55%, #5f5f5f 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle,
.section-subtitle,
.cta-text,
.footer-tagline {
    color: rgba(255, 255, 255, 0.62);
}

.hero-stats,
.hero-terminal,
.feature-card,
.plan-card,
.pricing-tabs,
.locations-map,
.testimonial-card,
.faq-item,
.cta-card,
.auth-modal,
.brand-item {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(10, 10, 11, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 24px 80px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.hero-stats {
    border-radius: 10px;
}

.stat-number,
.plan-card-price,
.terminal-prompt,
.terminal-output.success,
.author-name {
    color: #fff;
}

.stat-label,
.terminal-title,
.plan-card-specs li span,
.author-role,
.footer-links a {
    color: rgba(255, 255, 255, 0.52);
}

.stat-divider,
.plan-card-specs li,
.faq-answer,
.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-terminal {
    border-radius: 10px;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.terminal-body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        rgba(0, 0, 0, 0.1);
    background-size: 100% 28px;
}

.terminal-output,
.terminal-text {
    color: rgba(255, 255, 255, 0.72);
}

.brands-section,
.features-section,
.pricing-section,
.locations-section,
.testimonials-section,
.faq-section,
.cta,
.footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.brand-item {
    min-height: 64px;
    filter: grayscale(1);
}

.feature-card,
.plan-card,
.testimonial-card,
.faq-item,
.cta-card {
    border-radius: 8px;
}

.feature-card::before,
.plan-card::before,
.cta-card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
}

.feature-card:hover,
.plan-card:hover,
.testimonial-card:hover,
.faq-item:hover {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
        rgba(12, 12, 13, 0.66);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 34px 95px rgba(0, 0, 0, 0.56);
}

.feature-icon,
.pricing-tab,
.social-link,
.modal-close {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
}

.feature-card:hover .feature-icon,
.pricing-tab.active,
.social-link:hover,
.modal-close:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 0 32px rgba(255, 255, 255, 0.08);
}

.feature-desc,
.plan-card-specs li strong,
.testimonial-text,
.faq-answer p {
    color: rgba(255, 255, 255, 0.64);
}

.pricing-tab {
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0;
}

.plan-card.featured {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035) 40%),
        rgba(12, 12, 13, 0.68);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 28px 100px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.plan-card.sold-out {
    opacity: 0.52;
    filter: grayscale(1);
}

.sold-out-badge {
    background: rgba(255, 255, 255, 0.08);
}

.world-map {
    color: #fff;
    filter: grayscale(1);
}

.location-dot::before {
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}

.dot-label {
    background: rgba(8, 8, 9, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.testimonial-stars {
    color: rgba(255, 255, 255, 0.84);
    letter-spacing: 2px;
    filter: grayscale(1);
}

.author-avatar {
    background: linear-gradient(135deg, #f7f7f7, #777) !important;
    color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.faq-question {
    color: #f5f5f5;
}

.faq-chevron {
    color: rgba(255, 255, 255, 0.72);
}

.form-input {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 6px;
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}

.auth-divider,
.auth-footer,
.form-group label {
    color: rgba(255, 255, 255, 0.58);
}

.auth-footer button,
#toForgot {
    color: #fff !important;
}

.btn-api-discord,
.btn-api-google {
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
}

.footer {
    background: rgba(0, 0, 0, 0.28);
}

.footer-links h4 {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        background: rgba(5, 5, 6, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .hero {
        min-height: auto;
    }

    .hero-stats,
    .hero-terminal {
        border-radius: 8px;
    }
}

/* ============================================
   Dashboard Revamp: monochrome glass console
   ============================================ */
.dashboard-v3 {
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.105), transparent 28%),
        radial-gradient(circle at 86% 88%, rgba(255, 255, 255, 0.06), transparent 32%),
        #020203;
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.dashboard-v3::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0 49.85%, rgba(255, 255, 255, 0.045) 50%, transparent 50.15%);
    opacity: 0.72;
}

.dash-container {
    gap: 18px;
    padding: 18px;
}

.dash-sidebar,
.dash-main,
.modal-v3,
.featured-card,
.glass-stat,
.vps-card,
.cyber-hud-card,
.tutorial-card-v3,
.ticket-console-card,
.ticket-metric-card,
.ticket-empty-state,
.ticket-state-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.026)),
        rgba(8, 8, 9, 0.68) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 24px 86px rgba(0, 0, 0, 0.52) !important;
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.dash-sidebar,
.dash-main {
    border-radius: 12px;
}

.dash-main {
    padding: 42px 54px;
}

.brand-area .logo-text,
.page-title,
.section-title-dash,
.auth-title,
.glow-text-purple,
.glow-text-cyan {
    background: linear-gradient(135deg, #fff, #b9b9b9 58%, #5f5f5f) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.brand-area .logo-icon,
.user-avatar-small {
    background: linear-gradient(135deg, #fff, #777) !important;
    color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.1);
}

.nav-label,
.page-subtitle,
.ticket-date,
.ticket-card-main p,
.tickets-console-subtitle,
.ticket-form-hint,
.ticket-message-meta,
.data-table-v3 th,
.auth-subtitle {
    color: rgba(255, 255, 255, 0.54) !important;
}

.dash-nav-item {
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.58);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dash-nav-item:hover,
.dash-nav-item.active {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    color: #fff !important;
    box-shadow: 0 0 34px rgba(255, 255, 255, 0.08) !important;
}

.sidebar-user-card,
.btn-ghost-v3,
.tut-tab-btn,
.form-input,
.vps-nav-link,
.ltc-box-v3 {
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    border-radius: 7px !important;
}

.btn-success,
.cyber-access-btn {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    color: #040405 !important;
    border-radius: 6px !important;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0;
}

.data-table-v3 td {
    background: rgba(255, 255, 255, 0.045) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.data-table-v3 tr:hover td {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32) !important;
}

.glass-stat::before,
.featured-card::before,
.vps-card::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.11), transparent 62%) !important;
}

.code-terminal,
.ssh-terminal-window,
.cyber-terminal-output {
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        #000 !important;
    background-size: 100% 28px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.tickets-console-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ticket-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.ticket-metric-card {
    border-radius: 8px;
    padding: 18px;
}

.ticket-metric-label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ticket-metric-card strong {
    display: block;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.tickets-v3-list {
    gap: 14px;
}

.ticket-console-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
}

.ticket-console-card:hover {
    border-color: rgba(255, 255, 255, 0.32) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.034)),
        rgba(10, 10, 11, 0.76) !important;
    transform: translateY(-2px);
}

.ticket-card-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ticket-id {
    color: rgba(255, 255, 255, 0.46);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
}

.ticket-card-main h4 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 1rem;
}

.ticket-card-main p {
    max-width: 720px;
    margin-bottom: 12px;
    line-height: 1.55;
}

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

.ticket-empty-state,
.ticket-state-card {
    border-radius: 8px;
    padding: 30px;
}

.ticket-empty-state h3,
.ticket-state-card h3 {
    margin-bottom: 8px;
    color: #fff;
}

.ticket-empty-state p,
.ticket-state-card p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.58);
}

.ticket-error-state {
    border-color: rgba(255, 255, 255, 0.26) !important;
}

.ticket-modal {
    max-width: 620px;
}

.ticket-form-hint {
    margin-top: 10px;
    font-size: 0.78rem;
}

.ticket-conversation-modal {
    max-width: 780px;
    width: 92%;
}

.ticket-conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.ticket-message-history {
    max-height: 430px;
    overflow-y: auto;
    margin-top: 22px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.ticket-message {
    margin-bottom: 14px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
}

.ticket-message.support-reply {
    margin-left: 34px;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.075);
}

.ticket-message.user-reply {
    margin-right: 34px;
}

.ticket-message-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.ticket-message-meta span {
    color: #fff;
}

.ticket-message p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.ticket-admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ticket-admin-actions .btn-outline,
.ticket-admin-actions .btn-primary {
    padding: 6px 12px;
    font-size: 0.72rem;
}

.status-badge {
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0;
}

.status-open,
.status-working,
.status-in-progress,
.status-answered,
.status-closed,
.status-pending,
.status-active,
.status-inactive {
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.status-open,
.status-working {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
}

.dashboard-v3 [style*="#a855f7"],
.dashboard-v3 [style*="#c084fc"],
.dashboard-v3 [style*="#a78bfa"],
.dashboard-v3 [style*="#38bdf8"],
.dashboard-v3 [style*="#6dd5ed"],
.dashboard-v3 [style*="168, 85, 247"],
.dashboard-v3 [style*="56, 189, 248"],
.dashboard-v3 [style*="59, 130, 246"] {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.dashboard-v3 [style*="var(--purple"],
.dashboard-v3 [style*="var(--blue"] {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.dashboard-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 3000;
    max-width: min(420px, calc(100vw - 44px));
    padding: 13px 16px;
    border-radius: 8px;
    background: rgba(10, 10, 11, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(12px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.dashboard-toast.visible {
    transform: translateY(0);
    opacity: 1;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.32);
}

@media (max-width: 900px) {
    .dash-main {
        padding: 78px 20px 32px;
    }

    .tickets-console-header,
    .ticket-conversation-header {
        flex-direction: column;
    }

    .ticket-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ticket-console-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ticket-metrics-grid {
        grid-template-columns: 1fr;
    }

    .ticket-message.support-reply,
    .ticket-message.user-reply {
        margin-left: 0;
        margin-right: 0;
    }
}
