@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-main: #07080d;
    --bg-card: rgba(18, 20, 32, 0.65);
    --bg-card-hover: rgba(26, 29, 46, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.25);
    
    --color-primary: #a855f7;       /* Glowing Purple */
    --color-secondary: #06b6d4;     /* Electric Cyan */
    --color-accent: #6366f1;        /* Indigo */
    --color-success: #10b981;       /* Emerald green */
    --color-danger: #ef4444;        /* Rose red */
    --color-warning: #f59e0b;       /* Amber */
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-dark: linear-gradient(180deg, #07080d 0%, #0c0e1a 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    
    /* Layout properties */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.2);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    background-image: var(--gradient-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Cyber grid background decoration */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Dynamic Gradient Text Helper */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Elements */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

.glow-bg-left {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -200px;
    pointer-events: none;
    z-index: 0;
}

/* Header & Navbar */
header {
    background: rgba(7, 8, 13, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links .active {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
    background: rgba(6, 182, 212, 0.08);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #c084fc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.05);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Stats Section */
.stats-container {
    max-width: 1000px;
    margin: 3rem auto 6rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Node Status Widget */
.status-section {
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.status-header {
    text-align: center;
    margin-bottom: 3rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.node-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.node-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.node-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.node-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.node-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.node-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 10px var(--color-success);
}

.status-dot.online {
    background: var(--color-success);
    box-shadow: 0 0 10px var(--color-success);
}

.status-dot.maintenance {
    background: var(--color-warning);
    box-shadow: 0 0 10px var(--color-warning);
}

.node-ping {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Plans Section */
.plans-section {
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.plan-card.popular::before {
    background: var(--gradient-primary);
}

.plan-card.popular {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.08);
    transform: translateY(-5px);
}

.plan-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.plan-card:hover::before {
    background: var(--gradient-primary);
}

.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.plan-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    min-height: 45px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    font-family: 'Outfit', sans-serif;
}

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

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
}

.plan-features svg {
    color: var(--color-secondary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Form Styles (Login, Register, Buying Form) */
.form-container {
    max-width: 500px;
    margin: 4rem auto;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-input, .form-select {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}

.form-select option {
    background: #0f111a;
    color: #ffffff;
}

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

.form-footer a {
    color: var(--color-secondary);
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 550;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

/* Buy Page / Custom Plan config */
.buy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .buy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.summary-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Checkout Page Smart Buttons styling */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-stripe {
    background: #5433ff;
    color: white;
    box-shadow: 0 4px 15px rgba(84, 51, 255, 0.3);
}

.btn-stripe:hover {
    background: #4122d6;
    transform: translateY(-2px);
}

.btn-paypal {
    background: #ffc439;
    color: #111;
    box-shadow: 0 4px 15px rgba(255, 196, 57, 0.3);
}

.btn-paypal:hover {
    background: #e5af2f;
    transform: translateY(-2px);
}

/* Dashboard styles */
.dashboard-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.server-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.server-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.server-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.server-badge.running {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.server-badge.creating {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.server-badge.suspended {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.server-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.server-detail-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.server-detail-item strong {
    color: var(--text-primary);
}

/* Legal & Info Pages */
.legal-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.legal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.legal-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.legal-tab-btn:hover,
.legal-tab-btn.active {
    color: var(--text-primary);
}

.legal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.legal-content-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.legal-content-section.active {
    display: block;
}

.legal-content-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.legal-content-section p {
    margin-bottom: 1rem;
}

.legal-content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* About Us and Info Grid */
.info-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-content p {
    margin-bottom: 1.5rem;
}

.info-image {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-image-overlay {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--bg-main);
    border-radius: calc(var(--radius-lg) - 1px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem 2rem;
    background: rgba(7, 8, 13, 0.9);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-about p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links-col a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

/* Custom Table style for client transactions */
.table-container {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

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

th, td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-weight: 700;
}

td {
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Dashboard Layout & Interactive Panel Styles
   ========================================================================== */

.dashboard-layout {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto 6rem auto;
    gap: 2.5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .dashboard-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.db-sidebar {
    width: 280px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    height: fit-content;
}

@media (max-width: 992px) {
    .db-sidebar {
        width: 100%;
        padding: 1.25rem;
    }
}

.db-sidebar-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    padding-left: 0.5rem;
}

.db-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 992px) {
    .db-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

.db-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.db-nav-item:hover,
.db-nav-item.active {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-left: 3px solid var(--color-primary);
}

@media (max-width: 992px) {
    .db-nav-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

.db-main-panel {
    flex: 1;
}

/* Dashboard sub-panels mapping */
.db-panel-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.db-panel-section.active {
    display: block;
}

/* Metric usage bars */
.usage-container {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.usage-item {
    display: flex;
    flex-direction: column;
}

.usage-title {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.usage-bar-bg {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 0.4rem;
}

.usage-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Power actions buttons group */
.power-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.btn-power {
    flex: 1;
    padding: 0.6rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-power-start {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-power-start:hover {
    background: var(--color-success);
    color: white;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.btn-power-stop {
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-power-stop:hover {
    background: var(--color-danger);
    color: white;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.btn-power-restart {
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-power-restart:hover {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.btn-power-terminate {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-power-terminate:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

/* Profile components */
.profile-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.profile-info-row:last-child {
    border-bottom: none;
}

/* Pricing Tiers Categories CSS */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0 3.5rem 0;
    flex-wrap: wrap;
}

.pricing-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pricing-tab-btn:hover,
.pricing-tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.pricing-grid-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.pricing-grid-section.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

