/* =========================================================
   TrimHost — Premium Design System
   Dark Theme | Glassmorphism | NVMe-Speed Aesthetics
   ========================================================= */

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

/* ── CSS Variables ── */
:root {
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #A855F7;
    --accent: #06B6D4;
    --accent-dark: #0891B2;
    --accent-light: #22D3EE;
    --amber: #F59E0B;
    --amber-light: #FCD34D;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    --bg-base: #07070D;
    --bg-surface: #0F0F1A;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --bg-elevated: rgba(255,255,255,0.06);
    --bg-panel: var(--bg-card);

    --border: rgba(255,255,255,0.08);
    --border-color: var(--border);
    --border-hover: rgba(124,58,237,0.4);
    --border-accent: rgba(6,182,212,0.3);

    --text-primary: #F8F8FF;
    --text-secondary: #C4C4D4;
    --text-muted: #6B7280;
    --text-faint: #374151;

    --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #06B6D4 50%, #10B981 100%);
    --gradient-primary: linear-gradient(135deg, #7C3AED, #A855F7);
    --gradient-accent: linear-gradient(135deg, #06B6D4, #22D3EE);
    --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
    --gradient-text: linear-gradient(135deg, #A855F7, #22D3EE);
    --gradient-amber: linear-gradient(135deg, #F59E0B, #FCD34D);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
    --shadow-glow-purple: 0 0 40px rgba(124,58,237,0.3);
    --shadow-glow-cyan: 0 0 40px rgba(6,182,212,0.3);
    --shadow-card: 0 4px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --nav-height: 72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p { color: var(--text-secondary); }
a { color: inherit; text-decoration: none; transition: var(--transition); }
code { font-family: var(--font-mono); background: var(--bg-elevated); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; }

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

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
/* Fix navbar container height */
.navbar > .container { height: 100%; display: flex; align-items: center; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(7,7,13,0.8);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(7,7,13,0.95);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    z-index: 2;
}
.navbar-brand.has-custom-logo {
    gap: 0;
}
.site-brand-logo {
    display: block;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
}
.navbar-logo {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-glow-purple);
}
.navbar-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 2;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--bg-elevated); }
.nav-link svg { width: 14px; height: 14px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 220px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    z-index: 100;
}
.nav-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.navbar-actions .nav-item:hover .nav-dropdown,
.navbar-actions .nav-item.open .nav-dropdown {
    transform: translateY(0) !important;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.dropdown-item .icon { display:inline-flex;align-items:center;justify-content:center;font-size:1rem;width:28px;height:28px;flex:0 0 28px;color:#a78bfa;text-align:center; }
.dropdown-item .icon i { width:18px;line-height:1; }
.dropdown-item .icon-linux { color:#f5c542; }
.dropdown-item .icon-windows { color:#00a4ef; }
.dropdown-item .icon-gamer { color:#ec4899; }
.dropdown-item .icon-server { color:#22d3ee; }
.dropdown-item .icon-reseller { color:#a78bfa; }
.dropdown-item .icon-status { color:#10b981; }
.dropdown-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 12px 4px; }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

.navbar-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.navbar-toggle { display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:42px;height:42px;padding:0;cursor:pointer;color:var(--text-primary);background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:8px;appearance:none;box-shadow:none; }
.navbar-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.navbar-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.navbar-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100dvh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    padding: 0 16px 20px;
    overflow-y: auto;
    z-index: 1301;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
    box-shadow: -24px 0 60px rgba(0,0,0,.5);
}
.navbar-mobile.open { transform:translateX(0);visibility:visible; }
.navbar-mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(3px);z-index:1300;opacity:0;visibility:hidden;transition:.25s ease}.navbar-mobile-overlay.open{opacity:1;visibility:visible}.mobile-nav-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;height:70px;background:var(--bg-surface);border-bottom:1px solid var(--border)}.mobile-nav-head strong{font-size:1rem}.mobile-nav-close{display:grid;place-items:center;width:38px;height:38px;background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:8px;color:var(--text-primary);cursor:pointer}.mobile-nav-profile{display:flex;align-items:center;gap:12px;margin:16px 0;padding:12px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:8px}.mobile-nav-profile>div{display:flex;flex-direction:column;min-width:0}.mobile-nav-profile strong,.mobile-nav-profile span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-nav-profile strong{font-size:.88rem}.mobile-nav-profile>div span{font-size:.72rem;color:var(--text-muted)}.mobile-nav-groups details{border-bottom:1px solid var(--border)}.mobile-nav-groups summary{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 4px;cursor:pointer;color:var(--text-primary);font-size:.9rem;font-weight:700;list-style:none}.mobile-nav-groups summary::-webkit-details-marker{display:none}.mobile-nav-groups summary span{display:flex;align-items:center;gap:10px}.mobile-nav-groups summary span>i{width:20px;color:var(--primary-light);text-align:center}.mobile-nav-groups summary>i{font-size:.7rem;color:var(--text-muted);transition:transform .2s}.mobile-nav-groups details[open] summary>i{transform:rotate(180deg)}.mobile-nav-groups details>div{display:grid;gap:3px;padding:0 0 10px 30px}.mobile-nav-groups a{display:flex;align-items:center;gap:11px;min-height:40px;padding:8px 10px;border-radius:7px;color:var(--text-secondary);font-size:.84rem}.mobile-nav-groups a:hover{background:rgba(124,58,237,.13);color:var(--text-primary)}.mobile-nav-groups a i{width:18px;text-align:center;color:#a78bfa}.mobile-nav-actions{display:grid;grid-template-columns:1fr;gap:9px;padding-top:18px}.mobile-nav-actions form,.mobile-nav-actions .btn{width:100%}.mobile-nav-actions .btn{min-height:43px}body.mobile-nav-open{overflow:hidden}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.05); }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.5); }

.btn-accent {
    background: var(--gradient-accent);
    color: #07070D;
    box-shadow: 0 4px 20px rgba(6,182,212,0.4);
    font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(6,182,212,0.5); }

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(124,58,237,0.08); }

.btn-ghost {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }

.btn-hero {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card::before { content: ''; position: absolute; inset: 0; background: var(--gradient-card); opacity: 0; transition: var(--transition); pointer-events: none; z-index: 0; }
.card > * { position: relative; z-index: 1; }
.card:hover::before { opacity: 1; }

/* Plan Cards */
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}
.plan-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow-purple); }
.plan-card:hover::before { opacity: 1; }
.plan-card.popular {
    border-color: rgba(124,58,237,0.5);
    background: rgba(124,58,237,0.06);
    transform: scale(1.02);
    box-shadow: 0 0 0 1px rgba(124,58,237,0.3), var(--shadow-lg);
}
.plan-card.popular::before { opacity: 1; }
.plan-card.popular:hover { transform: scale(1.02) translateY(-6px); }

.plan-popular-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-name { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.plan-price { margin-bottom: 24px; }
.plan-price-value { font-size: 1.5rem; font-weight: 800; font-family: var(--font-display); }
.plan-price-period { font-size: 0.9rem; color: var(--text-muted); margin-left: 4px; }
.plan-specs { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-spec { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; }
.plan-spec-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(124,58,237,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan-spec-icon svg { width: 10px; height: 10px; color: var(--primary-light); }

/* =========================================================
   BADGES & TAGS
   ========================================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}
.badge-primary { background: rgba(124,58,237,0.2); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.3); }
.badge-accent { background: rgba(6,182,212,0.15); color: var(--accent-light); border: 1px solid rgba(6,182,212,0.25); }
.badge-success { background: rgba(16,185,129,0.15); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.25); }
.badge-warning { background: rgba(245,158,11,0.15); color: #FCD34D; border: 1px solid rgba(245,158,11,0.25); }
.badge-danger { background: rgba(239,68,68,0.15); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.25); }
.badge-shimmer {
    background: linear-gradient(90deg, rgba(124,58,237,0.2), rgba(6,182,212,0.2), rgba(124,58,237,0.2));
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Status indicators */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.operational { background: var(--success); box-shadow: 0 0 6px var(--success); animation: pulse-green 2s infinite; }
.status-dot.degraded { background: var(--warning); }
.status-dot.down { background: var(--danger); }
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 6px var(--success); }
    50% { box-shadow: 0 0 12px var(--success), 0 0 20px rgba(16,185,129,0.3); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin-bottom: 48px; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 16px auto 0; }

/* =========================================================
   GRID
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}
.hero-glow-1 { width: 600px; height: 600px; background: var(--primary); top: -100px; left: -100px; animation: float1 8s ease-in-out infinite; }
.hero-glow-2 { width: 500px; height: 500px; background: var(--accent); bottom: -100px; right: 0; animation: float2 10s ease-in-out infinite; }
.hero-glow-3 { width: 400px; height: 400px; background: var(--success); top: 40%; right: 20%; animation: float3 12s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-20px) scale(1.05); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,40px) scale(0.95); } }

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; padding: 60px 24px; }
.hero-badge { margin-bottom: 32px; }
.hero-title { margin-bottom: 24px; letter-spacing: -2px; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 60px; }
.hero-social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.hero-proof-item { text-align: center; }
.hero-proof-value { font-size: 1.6rem; font-weight: 800; font-family: var(--font-display); }
.hero-proof-label { font-size: 0.8rem; color: var(--text-muted); }
.hero-proof-divider { width: 1px; height: 40px; background: var(--border); }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 2.2rem; font-weight: 800; font-family: var(--font-display); background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* =========================================================
   FEATURES
   ========================================================= */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.22);
}
.card:hover .feature-icon { transform: scale(1.08); background: rgba(124,58,237,0.2); }

/* =========================================================
   OS LOGOS
   ========================================================= */
.os-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.os-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    min-width: 100px;
    text-align: center;
}
.os-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-3px); }
.os-icon { font-size: 2.5rem; }
.os-name { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; }
.footer-brand-logo.has-custom-logo { gap: 0; }
.footer-site-logo {
    display: block;
    height: 48px;
    max-width: 220px;
    object-fit: contain;
}
.footer-brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.footer-brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-muted);
}
.social-btn:hover { background: rgba(124,58,237,0.2); border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }

.footer-col-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.875rem; color: var(--text-muted); transition: var(--transition); }
.footer-link:hover { color: var(--text-primary); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.payment-badge {
    padding: 4px 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 6px; }

/* =========================================================
   TABLES
   ========================================================= */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg-elevated); }
th { padding: 14px 16px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); text-align: left; }
td { padding: 14px 16px; font-size: 0.9rem; color: var(--text-secondary); border-top: 1px solid var(--border); }
tr:hover td { background: var(--bg-card-hover); }

/* =========================================================
   ALERTS
   ========================================================= */
.alert { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--radius-md); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #6EE7B7; }
.alert-danger { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #FCA5A5; }
.alert-info { background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.25); color: var(--accent-light); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 75%,100% { transform: scale(1.5); opacity: 0; } }

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-scale-in { animation: scaleIn 0.4s ease forwards; }

[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary-color { color: var(--primary-light); }
.text-accent { color: var(--accent-light); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }

.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: var(--radius-full); }

/* Divider */
.divider { height: 1px; background: var(--border); }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Comparison Table */
.compare-table th:first-child, .compare-table td:first-child { padding-left: 24px; }
.compare-table .check { color: var(--success); font-size: 1.1rem; }
.compare-table .cross { color: var(--danger); font-size: 1.1rem; }
.compare-table .partial { color: var(--warning); font-size: 1.1rem; }

/* Dashboard specific */
.dashboard-sidebar {
    width: 268px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    height: calc(100vh - var(--nav-height));
    position: sticky;
    top: var(--nav-height);
    overflow-y: auto;
    padding: 20px 14px 24px;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.dashboard-main {
    flex: 1;
    padding: 28px 32px;
    overflow-y: auto;
    min-height: calc(100vh - var(--nav-height));
    max-width: calc(100vw - 268px);
}
.dashboard-layout { display: flex; }

/* ── Sidebar User Card ── */
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: var(--radius-lg);
    margin-bottom: 22px;
}
.sidebar-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: var(--font-display);
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.3);
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-email { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-status-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    color: var(--success);
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 20px;
    padding: 3px 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Sidebar Nav ── */
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}
.sidebar-link:hover { background: var(--bg-elevated); color: var(--text-primary); }
.sidebar-link.active {
    background: rgba(124,58,237,0.13);
    color: var(--primary-light);
    border-color: rgba(124,58,237,0.22);
    font-weight: 600;
}
.sidebar-svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: var(--transition);
}
.sidebar-link:hover .sidebar-svg, .sidebar-link.active .sidebar-svg { opacity: 1; }
.sidebar-section {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 16px 12px 6px;
    font-weight: 600;
}
.sidebar-logout { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--danger);
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}
.sidebar-logout-btn:hover { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); }

/* ── Dashboard Header ── */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.dashboard-welcome {
    font-size: 1.65rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.dashboard-date {
    color: var(--text-muted);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Stats Grid ── */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.dash-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
}
.dash-stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
}
.dash-stat-body { flex: 1; min-width: 0; }
.dash-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.dash-stat-value { font-size: 1.7rem; font-weight: 800; font-family: var(--font-display); line-height: 1; margin-bottom: 6px; }
.dash-stat-sub { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

/* ── Section Headers ── */
.dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.dash-section-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Quick Actions ── */
.dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.dash-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}
.dash-quick-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124,58,237,0.3);
    transform: translateY(-2px);
}
.dash-quick-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.dash-quick-btn:hover .dash-quick-icon { transform: scale(1.1); }
.dash-quick-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
}

/* ── Server Cards ── */
.dash-servers-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.dash-server-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.dash-server-card:hover { border-color: rgba(124,58,237,0.3); background: var(--bg-card-hover); }
.dash-server-os {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}
.dash-server-info { flex: 1; min-width: 0; }
.dash-server-hostname {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-server-meta {
    display: flex;
    gap: 12px;
    font-size: 0.76rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.dash-server-meta span { display: flex; align-items: center; gap: 4px; }
.dash-server-resources { width: 160px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.dash-res-bar { display: flex; align-items: center; gap: 8px; }
.dash-res-label { font-size: 0.68rem; color: var(--text-muted); width: 26px; flex-shrink: 0; font-weight: 600; }
.dash-res-track { flex: 1; height: 4px; background: var(--bg-elevated); border-radius: 2px; overflow: hidden; }
.dash-res-fill { height: 100%; background: var(--gradient-primary); border-radius: 2px; transition: width 0.5s ease; }
.dash-res-pct { font-size: 0.68rem; color: var(--text-muted); width: 28px; text-align: right; }
.dash-server-status { text-align: right; flex-shrink: 0; }
.dash-server-online { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--success); font-weight: 600; justify-content: flex-end; margin-bottom: 4px; }
.dash-server-ip { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-muted); margin-bottom: 3px; }
.dash-server-expires { font-size: 0.72rem; color: var(--text-muted); }
.dash-server-actions { display: flex; gap: 8px; flex-shrink: 0; }
.dash-action-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.dash-action-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.dash-action-btn-primary { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.25); color: var(--primary-light); }
.dash-action-btn-primary:hover { background: rgba(124,58,237,0.2); }

/* ── Empty State ── */
.dash-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ── Bottom Grid (Tickets + Invoices) ── */
.dash-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
}
.dash-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* Ticket card */
.dash-ticket-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    transition: var(--transition);
}
.dash-ticket-card:hover { border-color: var(--border-hover); }
.dash-ticket-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.dash-ticket-id { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.dash-ticket-subject { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.dash-ticket-meta { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); }

/* Invoice row */
.dash-invoice-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.dash-invoice-row:hover { border-color: var(--border-hover); }
.dash-invoice-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
    .dash-quick-actions { grid-template-columns: repeat(3, 1fr); }
    .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-server-resources { display: none; }
}
@media (max-width: 1024px) {
    .dashboard-sidebar { width: 220px; }
    .dashboard-main { padding: 20px; }
    .dash-bottom-grid { grid-template-columns: 1fr; }
}


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

@media (max-width: 1024px) {
    .navbar-nav, .navbar-actions { display: none; }
    .navbar-toggle { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-social-proof { gap: 16px; }
    .hero-proof-divider { display: none; }
    .dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; height: auto; position: static; }
    .compare-table { min-width: 600px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .hero-content { padding: 40px 16px; }
    .btn-hero { padding: 14px 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 48px;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px;
        margin-bottom: 42px;
        justify-items: center;
    }
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    .footer-brand-logo,
    .footer-social,
    .footer-brand [style*="display:flex"] {
        justify-content: center;
    }
    .footer-desc {
        max-width: 340px;
        margin: 0 auto;
    }
    .footer-col-title {
        margin-bottom: 12px;
    }
    .footer-links {
        align-items: center;
    }
    .footer-link:hover {
        padding-left: 0;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 12px;
    }
    .footer-copy {
        max-width: 320px;
        line-height: 1.6;
    }
    .footer-payments {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(135px, 1fr)) !important;
        column-gap: 18px;
        row-gap: 32px;
    }
    .footer-col-title {
        font-size: 0.78rem;
    }
    .footer-link {
        font-size: 0.82rem;
    }
}

/* =========================================================
   BACKGROUND PATTERNS
   ========================================================= */
.bg-grid {
    position: relative;
    /* Faint base grid */
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Masked by the mouse position to create spotlight effect */
    mask-image: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
}
.bg-dots {
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(124,58,237,0.5);
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,10,20,0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 9000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; flex: 1; min-width: 240px; line-height: 1.6; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-access-modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:20px;opacity:0;visibility:hidden;transition:.22s ease}.service-access-modal.open{opacity:1;visibility:visible}.service-access-backdrop{position:absolute;inset:0;background:rgba(2,4,12,.78);backdrop-filter:blur(8px)}.service-access-dialog{position:relative;width:min(460px,100%);padding:34px;background:linear-gradient(155deg,#15131f,#0d0c14);border:1px solid rgba(139,92,246,.35);border-radius:12px;box-shadow:0 28px 90px rgba(0,0,0,.65),0 0 50px rgba(124,58,237,.12);text-align:center;transform:translateY(16px) scale(.97);transition:.22s ease}.service-access-modal.open .service-access-dialog{transform:none}.service-access-close{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:7px;background:rgba(255,255,255,.04);color:var(--text-muted);cursor:pointer}.service-access-icon{position:relative;display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border:1px solid rgba(139,92,246,.4);border-radius:12px;background:rgba(124,58,237,.12);color:#a78bfa;font-size:28px}.service-access-icon span{position:absolute;right:-7px;bottom:-7px;display:grid;place-items:center;width:28px;height:28px;border:3px solid #11101a;border-radius:50%;background:#f59e0b;color:#111;font-size:11px}.service-access-kicker{margin-bottom:8px;color:#a78bfa;font-size:10px;font-weight:800;letter-spacing:.12em}.service-access-dialog h2{margin:0 0 10px;font-size:1.45rem}.service-access-dialog p{max-width:350px;margin:0 auto 20px;color:var(--text-muted);font-size:.9rem;line-height:1.65}.service-access-benefits{display:flex;justify-content:center;gap:18px;margin-bottom:24px;color:var(--text-secondary);font-size:.75rem}.service-access-benefits i{margin-right:5px;color:#22d3ee}.service-access-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.service-access-actions .btn{width:100%;padding:11px 14px}body.modal-open{overflow:hidden}@media(max-width:520px){.service-access-dialog{padding:28px 20px 22px}.service-access-actions{grid-template-columns:1fr}.service-access-benefits{flex-direction:column;gap:7px}}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    min-width: 280px;
    max-width: 380px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--primary); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.toast-message { font-size: 0.8rem; color: var(--text-muted); }
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* =========================================================
   PRICING CARD ENHANCEMENTS
   ========================================================= */
.plan-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.plan-card.popular:hover {
    box-shadow: 0 24px 60px rgba(124,58,237,0.3);
}
.annual-price { display: none; }
body.annual .monthly-price { display: none; }
body.annual .annual-price { display: inline; }

/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 8000;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.back-to-top:hover { transform: translateY(-3px) scale(1.05); }

/* =========================================================
   MOBILE MENU IMPROVEMENTS
   ========================================================= */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: all; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 8000;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseGreen 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* =========================================================
   HIGHLIGHT / CALLOUT BOX
   ========================================================= */
.callout {
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.2);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}
.callout-accent {
    background: rgba(6,182,212,0.08);
    border-color: rgba(6,182,212,0.2);
    border-left-color: var(--accent);
}
.callout-success {
    background: rgba(16,185,129,0.08);
    border-color: rgba(16,185,129,0.2);
    border-left-color: var(--success);
}

/* =========================================================
   ENHANCED HERO TAGS
   ========================================================= */
.hero-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.hero-tag:hover {
    background: rgba(124,58,237,0.12);
    border-color: rgba(124,58,237,0.3);
    color: var(--text-primary);
}

/* =========================================================
   SECTION COUNTER ANIMATION
   ========================================================= */
.counter-value { font-variant-numeric: tabular-nums; }

/* =========================================================
   GLASSMORPHISM CARD V2 (hover glow)
   ========================================================= */
.card-glow {
    position: relative;
    overflow: hidden;
}
.card-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(124,58,237,0.12), transparent 60%);
}
.card-glow:hover::after { opacity: 1; }

/* =========================================================
   COMPARISON TABLE ENHANCEMENTS
   ========================================================= */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.compare-header {
    background: var(--bg-elevated);
    padding: 20px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.compare-row {
    display: contents;
}
.compare-cell {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.compare-cell:last-child { border-right: none; }
.compare-cell.feature-name { justify-content: flex-start; font-weight: 500; color: var(--text-secondary); }

/* =========================================================
   INPUT RANGE (SLIDER)
   ========================================================= */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-elevated);
    outline: none;
    cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124,58,237,0.4);
}

/* =========================================================
   ENHANCED FOOTER
   ========================================================= */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 48px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}
.footer-social-link:hover {
    background: rgba(124,58,237,0.2);
    border-color: rgba(124,58,237,0.4);
    transform: translateY(-2px);
}

/* =========================================================
   ANIMATED GRADIENT BORDER (premium feature cards)
   ========================================================= */
.card-gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
}
.card-gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-xl) + 1px);
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-gradient-border:hover::before { opacity: 1; }

/* =========================================================
   LOADING SKELETON
   ========================================================= */
.skeleton {
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-surface) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: var(--radius-md);
}
@keyframes skeletonLoading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================================
   BADGE PULSE (para "Novo")
   ========================================================= */
.badge-pulse {
    position: relative;
}
.badge-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--primary);
    animation: badgePulse 2s ease infinite;
    z-index: -1;
}
@keyframes badgePulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 0; transform: scale(1.5); }
}

/* =========================================================
   ADDITIONAL UTILITY CLASSES
   ========================================================= */
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.border-gradient { border: 1px solid transparent; background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--gradient-primary) border-box; }
.shadow-glow { box-shadow: 0 0 30px rgba(124,58,237,0.2); }
.shadow-glow-cyan { box-shadow: 0 0 30px rgba(6,182,212,0.2); }
.animate-pulse-slow { animation: pulseSlow 3s ease infinite; }
@keyframes pulseSlow { 0%,100% { opacity:1; } 50% { opacity:0.6; } }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pointer { cursor: pointer; }
.select-none { user-select: none; }
.transition-all { transition: all 0.3s ease; }


/* =========================================================
   CLOUD OPERATIONS CENTER DASHBOARD
   ========================================================= */

/* New Sidebar layout */
.cloud-sidebar {
    width: 260px;
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    height: calc(100vh - var(--nav-height));
    position: fixed;
    top: var(--nav-height);
    left: 0;
    z-index: 80;
    overflow-y: auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.cloud-sidebar-section {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 12px;
}
.cloud-sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cloud-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.cloud-sidebar-link:hover, .cloud-sidebar-link.active {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}
.cloud-sidebar-link.active {
    background: rgba(124,58,237,0.15);
    color: var(--primary-light);
    border: 1px solid rgba(124,58,237,0.3);
}
.cloud-sidebar-logout {
    margin-top: auto;
    position: relative;
    z-index: 2;
}
.cloud-sidebar-logout-form {
    display: block;
    margin: 0;
}
.cloud-sidebar-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--danger);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
}
.cloud-sidebar-logout-btn:hover,
.cloud-sidebar-logout-btn:focus-visible {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.25);
    color: #ff6b6b;
    outline: none;
}
.cloud-sidebar-logout-btn svg {
    flex: 0 0 auto;
}

/* Dashboard Layout */
.cloud-dashboard-layout {
    display: block;
    min-height: calc(100vh - var(--nav-height));
}
.cloud-dashboard-main {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
    width: calc(100% - 260px);
    margin-left: 260px;
}

/* Overview Hero */
.cloud-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}
.cloud-hero-greeting {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 8px;
}
.cloud-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cloud-uptime {
    font-family: var(--font-mono);
    color: var(--success);
    font-weight: 700;
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.kpi-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
}
.kpi-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kpi-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-primary);
}
.kpi-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.kpi-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    filter: blur(60px);
    opacity: 0.2;
    border-radius: 50%;
}

/* Map Status */
.cloud-map-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    margin-bottom: 48px;
}
.cloud-map-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
}
.cloud-datacenter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.datacenter-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    cursor: pointer;
}
.datacenter-item:hover {
    background: rgba(255,255,255,0.08);
}

/* Animations */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    animation: pulse-green 2s infinite;
}

/* VPS Card Enorme */
.vps-huge-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}
.vps-huge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}
.vps-os-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.vps-huge-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}
.vps-stat-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vps-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-vps-action {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-vps-action:hover {
    background: rgba(255,255,255,0.1);
}

/* Health Score */
.health-score-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.health-gauge {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--success) var(--score, 95%), rgba(255,255,255,0.05) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.health-gauge::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--bg-surface);
    border-radius: 50%;
}
.health-gauge-value {
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: var(--success);
}

/* AI Insights */
.insight-card {
    background: linear-gradient(90deg, rgba(124,58,237,0.1), transparent);
    border-left: 4px solid var(--primary-light);
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 16px;
}

/* Real-time Charts */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    height: 300px;
}

/* Modern Overview */
.overview-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 64px;
}
.overview-hero {
    min-height: 260px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(124,58,237,0.18), rgba(6,182,212,0.08) 42%, rgba(16,185,129,0.08)),
        radial-gradient(circle at 18% 20%, rgba(124,58,237,0.28), transparent 32%),
        rgba(10,10,16,0.88);
    position: relative;
    overflow: hidden;
}
.overview-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, #000, transparent 76%);
    pointer-events: none;
}
.overview-hero-copy,
.overview-command-panel {
    position: relative;
    z-index: 1;
}
.overview-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.overview-eyebrow,
.overview-hero-meta,
.overview-sync {
    display: flex;
    align-items: center;
    gap: 10px;
}
.overview-eyebrow {
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(16,185,129,0.24);
    border-radius: 999px;
    color: var(--success);
    background: rgba(16,185,129,0.09);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.overview-hero .cloud-hero-greeting {
    font-size: clamp(2.2rem, 4vw, 4.6rem);
    line-height: 0.95;
    margin: 0 0 14px;
}
.overview-hero .cloud-hero-subtitle {
    max-width: 680px;
    line-height: 1.65;
}
.overview-hero-meta {
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.85rem;
}
.overview-pill {
    padding: 6px 12px;
    border: 1px solid rgba(16,185,129,0.22);
    border-radius: 999px;
    color: var(--success);
    background: rgba(16,185,129,0.09);
}
.overview-sync {
    color: var(--text-muted);
}
.overview-command-panel {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 18px;
    background: rgba(5,8,14,0.64);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.overview-orbit {
    height: 108px;
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
}
.overview-orbit::before {
    content: '';
    position: absolute;
    width: 108px;
    height: 108px;
    border: 1px solid rgba(124,58,237,0.34);
    border-radius: 50%;
}
.overview-orbit::after {
    content: '';
    position: absolute;
    width: 168px;
    height: 72px;
    border: 1px solid rgba(6,182,212,0.22);
    border-radius: 50%;
    transform: rotate(-18deg);
}
.overview-orbit-core {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #facc15;
    background: linear-gradient(145deg, rgba(124,58,237,0.95), rgba(6,182,212,0.46));
    box-shadow: 0 0 42px rgba(124,58,237,0.45);
    z-index: 2;
}
.orbit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 16px var(--success);
}
.orbit-node-a { top: 18px; right: 84px; }
.orbit-node-b { bottom: 22px; left: 78px; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.orbit-node-c { right: 54px; bottom: 38px; background: #f59e0b; box-shadow: 0 0 16px #f59e0b; }
.overview-command-row,
.platform-rows div,
.overview-server-specs div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.overview-command-row {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.overview-command-row strong {
    color: var(--text-primary);
}
.overview-hero-action {
    justify-content: center;
    margin-top: 2px;
}
.overview-kpis {
    margin-bottom: 24px;
}
.overview-kpi-hot {
    background:
        radial-gradient(circle at 86% 16%, rgba(16,185,129,0.18), transparent 35%),
        var(--bg-card);
}
.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
    gap: 24px;
    margin-bottom: 24px;
}
.overview-panel {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
        rgba(10,10,16,0.78);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.overview-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(124,58,237,0.1), transparent 34%, rgba(6,182,212,0.08));
    opacity: 0.65;
    pointer-events: none;
}
.overview-panel > * {
    position: relative;
    z-index: 1;
}
.overview-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.overview-section-head h2 {
    margin: 2px 0 0;
    font-size: 1.2rem;
    font-weight: 800;
}
.overview-panel-kicker {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.overview-health-chip {
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--success);
    background: rgba(16,185,129,0.11);
    border: 1px solid rgba(16,185,129,0.24);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.overview-network-map {
    height: 260px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 32% 62%, rgba(16,185,129,0.18), transparent 14%),
        radial-gradient(circle at 24% 42%, rgba(59,130,246,0.16), transparent 16%),
        radial-gradient(circle at 58% 34%, rgba(245,158,11,0.12), transparent 14%),
        linear-gradient(135deg, rgba(255,255,255,0.035), transparent);
    position: relative;
    overflow: hidden;
}
.overview-network-map::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.08);
}
.map-dot {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(16,185,129,0.16);
    border: 1px solid rgba(16,185,129,0.45);
    box-shadow: 0 0 26px rgba(16,185,129,0.3);
    font-size: 0.72rem;
}
.map-br { left: 30%; top: 58%; }
.map-us { left: 22%; top: 38%; }
.map-de { left: 58%; top: 30%; border-color: rgba(245,158,11,0.46); background: rgba(245,158,11,0.15); box-shadow: 0 0 26px rgba(245,158,11,0.22); }
.map-route {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,0.75), transparent);
    transform-origin: left;
}
.map-route-a { width: 180px; left: 28%; top: 49%; transform: rotate(-10deg); }
.map-route-b { width: 150px; left: 38%; top: 50%; transform: rotate(-28deg); }
.overview-dc-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.overview-dc-list .datacenter-item {
    cursor: default;
}
.overview-health {
    padding: 18px 0;
    border: 0;
    background: transparent;
}
.overview-chart {
    height: 320px;
    background: rgba(0,0,0,0.18);
}
.overview-server-specs,
.platform-rows,
.readiness-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.overview-server-specs div,
.platform-rows div,
.readiness-list div {
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.035);
    color: var(--text-secondary);
}
.overview-server-specs strong,
.platform-rows strong {
    color: var(--text-primary);
    text-align: right;
}
.overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.overview-actions form {
    margin: 0;
}
.overview-empty {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 24px;
    margin-top: 8px;
}
.overview-empty-main {
    grid-row: span 2;
    min-height: 420px;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(124,58,237,0.22);
    background:
        radial-gradient(circle at 18% 18%, rgba(124,58,237,0.22), transparent 28%),
        radial-gradient(circle at 85% 76%, rgba(16,185,129,0.12), transparent 24%),
        rgba(12,12,20,0.82);
    position: relative;
    overflow: hidden;
}
.overview-empty-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}
.overview-empty-main > * {
    position: relative;
    z-index: 1;
}
.overview-empty-main p {
    max-width: 650px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.overview-launch-flow {
    display: grid;
    grid-template-columns: 1fr 52px 1fr 52px 1fr;
    align-items: center;
    margin: 30px 0;
}
.launch-step {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.045);
    text-align: center;
    font-weight: 800;
}
.launch-step i {
    color: var(--primary-light);
    font-size: 1.35rem;
}
.launch-step.active {
    border-color: rgba(124,58,237,0.42);
    background: rgba(124,58,237,0.14);
}
.launch-line {
    height: 2px;
    background: linear-gradient(90deg, rgba(124,58,237,0.15), rgba(6,182,212,0.75), rgba(124,58,237,0.15));
}
.overview-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.overview-readiness strong {
    color: var(--success);
}
.readiness-list div {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 10px;
}
.readiness-list .ready i {
    color: var(--success);
}
.readiness-list a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
}
.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.stack-grid div {
    min-height: 112px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stack-grid i {
    color: var(--primary-light);
    font-size: 1.25rem;
}
.stack-grid strong {
    color: var(--text-primary);
}
.stack-grid span {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.overview-platform {
    grid-column: 2;
}

@media (max-width: 1100px) {
    .overview-hero,
    .overview-grid,
    .overview-empty {
        grid-template-columns: 1fr;
    }
    .overview-platform,
    .overview-empty-main {
        grid-column: auto;
        grid-row: auto;
    }
    .overview-dc-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .overview-hero {
        padding: 20px;
    }
    .overview-launch-flow {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .launch-line {
        width: 2px;
        height: 26px;
        justify-self: center;
    }
    .stack-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   VPS PREMIUM PAGE STYLES
   ========================================================= */

/* Top Action Bar & Filters */
.vps-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.vps-filters {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.vps-filter-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    outline: none;
    min-width: 250px;
    font-family: var(--font-sans);
    transition: var(--transition);
}
.vps-filter-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}
.vps-filter-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    outline: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

/* Premium VPS Card */
.vps-premium-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.vps-premium-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Card Header */
.vps-card-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 16px;
}
.vps-os-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(124,58,237,0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 1px solid rgba(124,58,237,0.2);
}
.vps-title-area h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
}
.vps-ip-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 4px;
}

/* Status Badge */
.vps-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.vps-status.online { background: rgba(16,185,129,0.1); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.vps-status.offline { background: rgba(239,68,68,0.1); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }

/* Card Metrics Grid */
.vps-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 24px;
    align-items: center;
}

/* Premium Progress Bars */
.metric-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.metric-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}
.metric-val {
    font-family: var(--font-mono);
    color: var(--text-primary);
}
.progress-premium {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.progress-premium-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out, background-color 0.5s ease;
}

/* Dynamic Colors for bars handled via inline Alpine style or standard classes */
.bar-green { background: var(--success); }
.bar-yellow { background: var(--warning); }
.bar-red { background: var(--danger); box-shadow: 0 0 10px rgba(239,68,68,0.5); }

/* Quick Actions */
.vps-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}
.btn-quick-action {
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-quick-action:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--text-primary);
}
.btn-quick-action.danger:hover {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.3);
    color: var(--danger);
}

/* Footer Info */
.vps-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
    margin: 0 -24px -24px -24px;
    padding: 12px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================
   BARE METAL (DEDICATED) STYLES
   ========================================================= */

/* Main Bare Metal Card (List View) */
.baremetal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}
.baremetal-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.bm-card-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
}
.bm-brand-logo {
    width: 64px;
    height: 48px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
}
.bm-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    background: rgba(0,0,0,0.1);
}
.bm-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bm-spec-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bm-spec-val {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}
.bm-card-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Individual Server Page (Cockpit) */
.bm-cockpit-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.bm-cockpit-header::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 300px; height: 100%;
    background: radial-gradient(circle at top right, rgba(59,130,246,0.1), transparent 70%);
}
.bm-ipmi-console {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    color: #0f0;
}
.bm-ipmi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.bm-ipmi-console:hover .bm-ipmi-overlay { opacity: 1; }

/* Hardware Sensors Grid */
.bm-sensors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.hw-sensor {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hw-sensor-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hw-sensor-info { flex: 1; }
.hw-sensor-title { font-size: 0.8rem; color: var(--text-muted); font-weight: 700; margin-bottom: 2px; }
.hw-sensor-value { font-size: 1.1rem; font-family: var(--font-mono); font-weight: 600; color: var(--text-primary); }

/* Chassis Diagram */
.bm-chassis {
    width: 100%;
    height: 180px;
    background: #111;
    border: 2px solid #333;
    border-radius: 4px;
    position: relative;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.bm-drive-bay {
    background: #222;
    border: 1px solid #444;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}
.bm-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #444;
}
.bm-led.active {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: blink 1s infinite;
}
.bm-led.fault {
    background: var(--danger);
    box-shadow: 0 0 6px var(--danger);
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* =========================================================
   NETWORK NOC STYLES
   ========================================================= */

/* NOC Chart Container */
.noc-chart-container {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
}

/* NOC Topology Map */
.noc-topology {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 24px;
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
    gap: 16px;
}
.topo-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 100px;
    position: relative;
    z-index: 2;
}
.topo-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    position: relative;
    transition: var(--transition);
}
.topo-node:hover .topo-icon {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
    transform: scale(1.05);
}
.topo-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
}
.topo-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    min-width: 40px;
}
.topo-line::after {
    content: '';
    position: absolute;
    top: -2px; left: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: flowPulse 2s infinite linear;
}

@keyframes flowPulse {
    0% { left: 0; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Network Tests Console */
.net-console {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    font-family: var(--font-mono);
    color: #38bdf8;
    padding: 16px;
    height: 250px;
    overflow-y: auto;
    font-size: 0.85rem;
    line-height: 1.5;
}
.net-console-input {
    background: transparent;
    border: none;
    color: #f8fafc;
    font-family: var(--font-mono);
    outline: none;
    width: 100%;
}

/* IP Card */
.ip-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.ip-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

/* Compact Stats */
.net-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.net-stat-row:last-child { border-bottom: none; }

/* =========================================================
   BACKUP OPERATIONS CENTER (BOC) STYLES
   ========================================================= */

/* BOC Card */
.boc-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.boc-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.boc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 16px;
}
.boc-type-badge {
    background: rgba(124,58,237,0.1);
    color: var(--primary-light);
    border: 1px solid rgba(124,58,237,0.2);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Status Indicators */
.boc-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
}
.boc-status.success { background: rgba(16,185,129,0.1); color: var(--success); }
.boc-status.running { background: rgba(245,158,11,0.1); color: var(--warning); }
.boc-status.failed { background: rgba(239,68,68,0.1); color: var(--danger); }
.boc-status.scheduled { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* Storage Progress Bar */
.boc-storage-bar {
    height: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex;
    overflow: hidden;
}
.boc-storage-segment {
    height: 100%;
}
.boc-storage-segment.used { background: var(--primary); }
.boc-storage-segment.compressed { background: var(--success); }

/* Recovery Modal Simulation (Drop Down Actions) */
.boc-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.boc-btn-recovery {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: var(--success);
    border-radius: var(--radius-md);
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.boc-btn-recovery:hover {
    background: rgba(16,185,129,0.2);
}

/* =========================================================
   REAL-TIME SOC/NOC STYLES (Grafana/Datadog Style)
   ========================================================= */

/* Dark immersive background for the realtime page */
.soc-body-override {
    background: #0f172a !important; /* Extremely dark blue */
}

/* SOC Grid Layouts */
.soc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.soc-btn-group {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 4px;
}
.soc-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.soc-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.soc-btn.active { background: var(--primary); color: #fff; }

/* Pulse Animation for Live indicators */
@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.live-indicator {
    width: 10px; height: 10px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 2s infinite;
    margin-right: 8px;
}

/* SOC Panel Cards */
.soc-panel {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.soc-panel-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

/* Big Metrics */
.soc-metric-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.soc-metric-value span { font-size: 1rem; color: var(--text-muted); }

/* Heatmap Grid */
.soc-heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 4px;
}
.soc-heatmap-node {
    aspect-ratio: 1;
    background: var(--success);
    border-radius: 4px;
    opacity: 0.8;
    transition: background-color 0.5s ease;
}
.soc-heatmap-node.warning { background: var(--warning); }
.soc-heatmap-node.critical { background: var(--danger); animation: livePulse 1s infinite; }

/* Live Event Log / Terminal */
.soc-live-log {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    height: 300px;
    overflow-y: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.soc-log-line {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    display: flex;
    gap: 12px;
    animation: slideUpFade 0.3s ease-out forwards;
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.soc-log-time { color: var(--text-muted); }
.soc-log-msg { color: #38bdf8; }
.soc-log-msg.alert { color: var(--warning); }

/* =========================================================
   ACTIVITY & AUDIT (CloudTrail Style)
   ========================================================= */

/* Audit Timeline Grid */
.audit-timeline {
    position: relative;
    padding-left: 24px;
    margin-left: 12px;
    border-left: 2px solid rgba(255,255,255,0.05);
}
.audit-item {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}
.audit-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.audit-dot {
    position: absolute;
    left: -33px; /* Center on border */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px rgba(59,130,246,0.3);
}

/* Category Colors */
.audit-cat-segurança .audit-dot { border-color: var(--danger); box-shadow: 0 0 10px rgba(239,68,68,0.3); }
.audit-cat-infraestrutura .audit-dot { border-color: var(--primary); }
.audit-cat-rede .audit-dot { border-color: #8b5cf6; } /* Purple */
.audit-cat-financeiro .audit-dot { border-color: var(--warning); }
.audit-cat-backups .audit-dot { border-color: var(--success); }

/* Heatmap (GitHub Style) */
.audit-heatmap {
    display: grid;
    grid-template-columns: repeat(52, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 4px;
    overflow-x: auto;
    padding: 16px;
}
.audit-heat-node {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
}
.audit-heat-node.level-1 { background: rgba(16,185,129,0.2); }
.audit-heat-node.level-2 { background: rgba(16,185,129,0.4); }
.audit-heat-node.level-3 { background: rgba(16,185,129,0.7); }
.audit-heat-node.level-4 { background: rgba(16,185,129,1); }

/* Sliding Drawer (Event Details) */
.audit-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
}
.audit-drawer {
    width: 450px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.audit-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.audit-drawer-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Button Borders as requested */
.cloud-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.045);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.cloud-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(124,58,237,0.35) !important;
}
.cloud-btn-secondary {
    background: rgba(255,255,255,0.045) !important;
    color: var(--text-primary) !important;
}
.cloud-btn-primary {
    background: var(--gradient-primary) !important;
    color: #fff !important;
}
.cloud-btn-primary {
    border: 1px solid var(--primary) !important;
}

@media (max-width: 992px) {
    .cloud-dashboard-layout {
        display: block;
    }
    .cloud-sidebar {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 280px;
        height: calc(100vh - var(--nav-height));
        z-index: 1000;
        transition: left 0.3s ease;
        background: rgba(15, 15, 26, 0.95);
        backdrop-filter: blur(20px);
    }
    .cloud-sidebar.active {
        left: 0;
    }
    .cloud-dashboard-main {
        padding: 16px;
        width: 100%;
        margin: 0;
    }
    .cloud-sidebar-overlay {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .cloud-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
}


@media (max-width: 992px) {
    .mobile-sidebar-toggle {
        display: flex !important;
    }
}

/* Client pages: History, Backups and Tickets */
.client-responsive-page {
    width: 100%;
    min-width: 0;
}

.client-page-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

.client-page-header > div:first-child {
    min-width: 0;
}

.client-page-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px !important;
    flex-wrap: wrap;
}

.client-page-actions form,
.client-page-actions .btn,
.client-page-actions .cloud-btn {
    flex: 0 0 auto;
}

.client-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.client-main-grid {
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr) !important;
}

.backup-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.client-responsive-page .kpi-card,
.client-responsive-page .boc-card,
.client-ticket-card {
    min-width: 0;
}

.client-ticket-card {
    gap: 18px;
}

.ticket-main,
.ticket-side,
.ticket-title-row,
.ticket-meta-row {
    min-width: 0;
}

.ticket-title-row h3 {
    overflow-wrap: anywhere;
}

.ticket-meta-row {
    flex-wrap: wrap;
}

.backup-section-head,
.backup-detail-grid,
.backup-actions-row {
    min-width: 0;
}

.backup-actions-row .btn {
    min-width: 0;
}

.client-responsive-page input,
.client-responsive-page select,
.client-responsive-page textarea {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .client-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .client-main-grid,
    .backup-card-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .client-responsive-page {
        padding-bottom: 36px !important;
    }

    .client-page-header {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: start !important;
        margin-bottom: 22px !important;
    }

    .client-page-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .client-page-actions form,
    .client-page-actions .btn,
    .client-page-actions .cloud-btn,
    .client-page-actions input {
        width: 100% !important;
        min-width: 0 !important;
    }

    .client-page-actions [style*="position:relative"] {
        width: 100%;
    }

    .client-kpi-grid,
    .support-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 22px !important;
    }

    .client-responsive-page .kpi-card {
        padding: 16px !important;
        border-radius: 14px !important;
        overflow: hidden;
    }

    .client-responsive-page .kpi-card [style*="font-size:2.2rem"],
    .client-responsive-page .kpi-value {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
        line-height: 1.1 !important;
    }

    .client-responsive-page .kpi-card [style*="font-size:3rem"] {
        font-size: 2.2rem !important;
    }

    .audit-responsive-item {
        display: grid !important;
        grid-template-columns: 14px 1fr !important;
        gap: 12px !important;
        align-items: start !important;
    }

    .audit-target {
        grid-column: 2;
        min-width: 0 !important;
        text-align: left !important;
    }

    .audit-chevron {
        display: none !important;
    }

    .client-ticket-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: start !important;
        padding: 16px !important;
    }

    .ticket-main {
        display: grid !important;
        grid-template-columns: 4px 1fr !important;
        gap: 14px !important;
        align-items: start !important;
    }

    .ticket-title-row,
    .ticket-side {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .ticket-side {
        border-top: 1px solid var(--border-color);
        padding-top: 12px;
    }

    .ticket-meta-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .ticket-drawer-content {
        max-width: 100% !important;
        border-left: 0 !important;
    }

    .ticket-drawer-form {
        height: calc(100dvh - 70px) !important;
        padding-bottom: 32px !important;
    }

    .backup-section-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        align-items: start !important;
    }

    .backup-section-head > div:last-child {
        display: flex !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }

    .backup-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .backup-actions-row {
        display: grid !important;
        grid-template-columns: 1fr 44px 44px !important;
        gap: 8px !important;
    }

    .backup-actions-row .btn {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 460px) {
    .client-kpi-grid,
    .support-kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .client-page-header h1 {
        font-size: 1.55rem !important;
        line-height: 1.18 !important;
    }
}
@media (min-width: 993px) {
    .mobile-sidebar-toggle {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .cloud-dashboard-layout {
        display: block !important;
        align-items: stretch;
    }
    .cloud-sidebar {
        position: fixed !important;
        top: var(--nav-height) !important;
        left: 0 !important;
        transform: none !important;
        width: 260px !important;
        max-width: 260px !important;
        height: calc(100vh - var(--nav-height)) !important;
        z-index: 80;
    }
    .cloud-dashboard-main {
        display: block !important;
        width: calc(100% - 260px) !important;
        max-width: 1400px !important;
        min-height: calc(100vh - var(--nav-height)) !important;
        padding: 32px !important;
        margin: 0 auto 0 260px !important;
        overflow: visible !important;
    }
    .cloud-sidebar-overlay {
        display: none !important;
    }
    .client-layout .footer {
        width: calc(100% - 260px) !important;
        margin-left: 260px !important;
    }
}

/* =========================================================
   CLIENT DASHBOARD MOBILE HARDENING
   ========================================================= */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.cloud-dashboard-main,
.cloud-dashboard-main * {
    min-width: 0;
}

.mobile-sidebar-toggle {
    justify-content: flex-start;
    margin-bottom: 18px;
}
.mobile-panel-bar {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mobile-panel-menu-btn {
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
}
.mobile-profile-menu {
    position: relative;
    display: none;
}
.mobile-profile-menu summary {
    list-style: none;
}
.mobile-profile-menu summary::-webkit-details-marker {
    display: none;
}
.mobile-profile-btn {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.055);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
}
.mobile-profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gradient-primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
}
.mobile-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mobile-profile-name {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(78vw, 240px);
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(15,15,26,0.98);
    box-shadow: 0 18px 55px rgba(0,0,0,0.5);
    z-index: 1250;
}
.mobile-profile-info {
    padding: 10px 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 6px;
}
.mobile-profile-info strong,
.mobile-profile-info span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-profile-info strong {
    color: var(--text-primary);
    font-size: 0.86rem;
}
.mobile-profile-info span {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 2px;
}
.mobile-profile-dropdown a,
.mobile-profile-dropdown button {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: left;
}
.mobile-profile-dropdown a:hover,
.mobile-profile-dropdown button:hover {
    background: rgba(124,58,237,0.14);
    color: var(--text-primary);
}
.mobile-profile-dropdown form {
    margin: 0;
}

@media (max-width: 992px) {
    body.sidebar-open {
        overflow: hidden;
    }
    .cloud-dashboard-layout {
        display: block !important;
        padding-top: var(--nav-height);
        min-height: 100vh;
    }
    .cloud-dashboard-main {
        max-width: 100% !important;
        padding: 14px !important;
        overflow-x: hidden;
    }
    .cloud-sidebar {
        left: 0;
        width: min(86vw, 320px);
        max-width: 320px;
        transform: translateX(-105%);
        transition: transform 0.28s ease;
        z-index: 1200;
        padding: 18px 12px;
        gap: 22px;
        box-shadow: 24px 0 70px rgba(0,0,0,0.55);
    }
    .cloud-sidebar.active {
        left: 0;
        transform: translateX(0);
    }
    .cloud-sidebar-overlay {
        z-index: 1190;
    }
    .mobile-sidebar-toggle {
        position: relative;
        z-index: 20;
        margin: 0 0 18px;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
    }
    .mobile-panel-menu-btn {
        width: auto !important;
        min-width: 0;
        min-height: 40px;
        justify-content: flex-start;
        border-radius: 12px !important;
        background: rgba(255,255,255,0.055) !important;
        color: var(--text-primary) !important;
        border: 1px solid rgba(255,255,255,0.12) !important;
        box-shadow: none !important;
        font-size: 0.86rem;
        font-weight: 700;
    }
    .mobile-profile-menu {
        display: block;
    }
    .mobile-panel-menu-btn:hover {
        background: rgba(124,58,237,0.16) !important;
        border-color: rgba(124,58,237,0.32) !important;
    }

    .vps-top-bar,
    .cloud-hero,
    .overview-hero {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        align-items: stretch !important;
        margin-top: 0 !important;
    }
    .vps-top-bar > div,
    .vps-top-bar > div[style],
    .cloud-hero > div,
    .overview-hero > div {
        width: 100% !important;
    }
    .vps-top-bar > div:last-child,
    .vps-top-bar form,
    .vps-card-actions,
    .bm-card-footer,
    .overview-actions,
    .overview-empty-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .vps-top-bar .btn,
    .vps-top-bar form,
    .overview-empty-actions .btn,
    .overview-hero-action {
        width: 100%;
    }
    .vps-top-bar form .btn {
        width: 100%;
        justify-content: center;
    }

    .cloud-dashboard-main h1,
    .cloud-hero-greeting,
    .overview-hero .cloud-hero-greeting {
        font-size: clamp(1.45rem, 7vw, 2rem) !important;
        line-height: 1.16 !important;
        overflow-wrap: anywhere;
        letter-spacing: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
    }
    .cloud-dashboard-main h2,
    .cloud-dashboard-main h3 {
        font-size: clamp(1rem, 5vw, 1.25rem) !important;
        line-height: 1.25 !important;
    }
    .cloud-hero-subtitle,
    .cloud-dashboard-main p {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
    }
    .kpi-value {
        font-size: clamp(1.45rem, 8vw, 2rem) !important;
        overflow-wrap: anywhere;
    }
    .kpi-label {
        gap: 10px;
    }

    .kpi-grid,
    .overview-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    .kpi-card {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .vps-filters {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    .vps-filter-input,
    .vps-filter-select,
    .vps-filters select,
    .vps-filters input {
        width: 100% !important;
        min-width: 0 !important;
    }

    .cloud-map-grid,
    .overview-grid,
    .overview-grid-active,
    .overview-empty,
    .vps-metrics-grid,
    .bm-specs-grid,
    .boc-grid,
    .firewall-grid,
    .ssh-grid {
        grid-template-columns: 1fr !important;
    }
    .cloud-dashboard-main [style*="grid-template-columns:1fr 1fr"],
    .cloud-dashboard-main [style*="grid-template-columns: 1fr 1fr"],
    .cloud-dashboard-main [style*="grid-template-columns:2fr 1fr"],
    .cloud-dashboard-main [style*="grid-template-columns: 2fr 1fr"],
    .cloud-dashboard-main [style*="grid-template-columns:3fr 1fr"],
    .cloud-dashboard-main [style*="grid-template-columns: 3fr 1fr"],
    .cloud-dashboard-main [style*="grid-template-columns:1fr 300px"],
    .cloud-dashboard-main [style*="grid-template-columns: 1fr 300px"] {
        grid-template-columns: 1fr !important;
    }
    .cloud-dashboard-main [style*="display:grid"],
    .cloud-dashboard-main [style*="display: grid"] {
        max-width: 100% !important;
    }
    .cloud-dashboard-main [style*="display:flex"],
    .cloud-dashboard-main [style*="display: flex"] {
        max-width: 100% !important;
    }
    .overview-empty-main,
    .overview-platform {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .vps-premium-card,
    .baremetal-card,
    .ip-card,
    .boc-card,
    .overview-panel,
    .overview-empty-main,
    .noc-chart-container,
    .chart-container {
        max-width: 100% !important;
        overflow: hidden;
    }
    .vps-card-header,
    .bm-card-header,
    .ip-card,
    .bm-card-footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        align-items: start !important;
    }
    .vps-title-area h3,
    .bm-card-header h3 {
        overflow-wrap: anywhere;
    }
    .vps-card-actions form,
    .bm-card-footer .btn-quick-action,
    .vps-card-actions .btn-quick-action {
        flex: 1 1 calc(50% - 8px);
    }
    .btn-quick-action,
    .btn-vps-action,
    .cloud-btn,
    .btn {
        min-height: 40px;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .noc-topology {
        padding: 24px 14px;
        gap: 12px;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }
    .topo-node {
        min-width: 86px;
        scroll-snap-align: center;
    }
    .topo-icon {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }
    .topo-label {
        font-size: 0.76rem;
    }
    .topo-line {
        min-width: 28px;
        flex: 0 0 28px;
    }

    .overview-command-panel,
    .overview-readiness,
    .overview-stack,
    .overview-platform {
        width: 100%;
    }
    .overview-dc-list,
    .stack-grid {
        grid-template-columns: 1fr !important;
    }
    .overview-launch-flow {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .launch-line {
        width: 2px;
        height: 28px;
        justify-self: center;
    }
    .overview-network-map {
        height: 220px;
    }
    .chart-container,
    .overview-chart,
    .noc-chart-container {
        height: 280px !important;
        padding: 14px !important;
    }

    table,
    .compare-table,
    .invoice-table,
    .firewall-table {
        min-width: 640px;
    }
    .table-responsive,
    [style*="overflow-x:auto"],
    [style*="overflow-x: auto"] {
        max-width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    .cloud-dashboard-main {
        padding: 12px !important;
    }
    .kpi-grid,
    .overview-kpis {
        grid-template-columns: 1fr 1fr !important;
    }
    .kpi-card {
        padding: 14px !important;
    }
    .kpi-label {
        font-size: 0.72rem !important;
    }
    .kpi-sub {
        font-size: 0.72rem !important;
    }
    .overview-hero,
    .overview-empty-main,
    .overview-panel {
        padding: 16px !important;
        border-radius: 18px !important;
    }
    .overview-orbit {
        height: 88px;
    }
    .overview-orbit::before {
        width: 86px;
        height: 86px;
    }
    .overview-orbit::after {
        width: 132px;
        height: 58px;
    }
    .overview-orbit-core {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    .overview-section-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .overview-server-specs div,
    .platform-rows div,
    .readiness-list div,
    .overview-command-row,
    .datacenter-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        text-align: left;
    }
    .readiness-list div {
        grid-template-columns: 22px 1fr !important;
    }
    .readiness-list a {
        grid-column: 2;
    }
    .vps-card-actions form,
    .bm-card-footer .btn-quick-action,
    .vps-card-actions .btn-quick-action {
        flex-basis: 100%;
    }
    .cloud-sidebar-link {
        min-height: 42px;
    }
}

@media (max-width: 420px) {
    .kpi-grid,
    .overview-kpis {
        grid-template-columns: 1fr !important;
    }
    .cloud-dashboard-main h1,
    .cloud-hero-greeting,
    .overview-hero .cloud-hero-greeting {
        font-size: 1.65rem !important;
    }
    .vps-top-bar .btn,
    .btn,
    .cloud-btn {
        width: 100%;
    }
    .mobile-panel-menu-btn {
        width: auto !important;
    }
}


@media (max-width: 992px) {
    .cloud-dashboard-layout {
        display: block !important;
    }
    .cloud-sidebar {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 280px;
        height: calc(100vh - var(--nav-height));
        z-index: 1000;
        transition: left 0.3s ease;
        background: rgba(15, 15, 26, 0.95);
        backdrop-filter: blur(20px);
    }
    .cloud-sidebar.active {
        left: 0;
    }
    .cloud-dashboard-main {
        padding: 16px !important;
        width: 100% !important;
        margin: 0;
    }
    .cloud-sidebar-overlay {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .cloud-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    .mobile-sidebar-toggle {
        display: flex !important;
    }
}
@media (min-width: 993px) {
    .mobile-sidebar-toggle {
        display: none !important;
    }
}
/* Checkout */
.checkout-page{min-height:100vh;padding:120px 20px 80px;background:#07070d;color:var(--text-primary)}
.checkout-container{width:min(1240px,100%);margin:auto}.checkout-narrow{width:min(820px,100%)}
.checkout-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.checkout-header span,.payment-waiting>span,.payment-success>span{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#22d3ee}.checkout-header h1{font-size:2rem;margin:5px 0}.checkout-header p{color:var(--text-muted)}.checkout-header>i{font-size:1.6rem;color:#8b5cf6;background:#151126;border:1px solid #352160;padding:16px;border-radius:8px}
.checkout-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0 0 28px;background:#101018;border:1px solid #272735;border-radius:8px;padding:14px}.checkout-progress-step{display:flex;align-items:center;gap:9px;color:#6f7180;position:relative}.checkout-progress-step:not(:last-child):after{content:"";height:1px;background:#2a2a38;position:absolute;left:66%;right:8%;top:15px}.checkout-progress-step>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#1b1b27;font-size:.76rem}.checkout-progress-step strong{font-size:.78rem}.checkout-progress-step.is-active{color:#f5f5fa}.checkout-progress-step.is-active>span{background:#7c3aed;color:#fff}.checkout-progress-step.is-complete:after{background:#7c3aed}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.checkout-main{min-width:0}.checkout-plan-strip,.checkout-section,.checkout-summary,.review-grid article,.payment-waiting,.payment-success{background:#111119;border:1px solid #292934;border-radius:8px}.checkout-plan-strip{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.checkout-plan-strip small,.checkout-summary>small,.review-grid small{color:#77798a;font-size:.68rem;font-weight:800;letter-spacing:.08em}.checkout-plan-strip h2{font-size:1.1rem;margin:5px 0}.checkout-plan-strip p{font-size:.82rem;color:#8a8c9a}.checkout-plan-strip>strong{font-size:1.25rem;color:#a78bfa;white-space:nowrap}.checkout-plan-strip>strong small{font-weight:500;letter-spacing:0}
.checkout-section{padding:22px;margin-bottom:18px}.checkout-section-title{display:flex;gap:12px;align-items:center;margin-bottom:18px}.checkout-section-title>span{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;background:#221440;color:#a78bfa;font-weight:800;flex:0 0 auto}.checkout-section-title h2{font-size:1rem;margin:0 0 3px}.checkout-section-title p{font-size:.78rem;color:#77798a}
.option-grid{display:grid;gap:10px}.os-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-card{cursor:pointer;min-width:0}.choice-card>input{position:absolute;opacity:0;pointer-events:none}.choice-content{min-height:72px;border:1px solid #2c2c38;background:#0b0b12;border-radius:7px;padding:13px;display:flex;align-items:center;gap:11px;position:relative;transition:.18s}.choice-content>img{width:34px;height:34px;object-fit:contain}.choice-content>span{display:flex;flex-direction:column;min-width:0}.choice-content strong{font-size:.82rem}.choice-content small{font-size:.68rem;color:#77798a;margin-top:3px}.choice-content>.fa-circle-check{margin-left:auto;color:#4b4c5b}.choice-card>input:checked+.choice-content{border-color:#8b5cf6;background:#171025;box-shadow:0 0 0 1px #7c3aed}.choice-card>input:checked+.choice-content>.fa-circle-check{color:#a78bfa}.payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-methods .choice-content>i:first-child{font-size:1.4rem;color:#a78bfa}
.credentials-grid,.form-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:.76rem;font-weight:700;color:#c8c8d0}.field input,.checkout-summary select{width:100%;height:44px;border:1px solid #30303d;background:#0a0a11;color:#f6f6fa;border-radius:6px;padding:0 12px;outline:none}.field input:focus,.checkout-summary select:focus{border-color:#8b5cf6}.password-input{position:relative}.password-input input{padding-right:42px}.password-input button{position:absolute;right:4px;top:4px;width:36px;height:36px;border:0;background:transparent;color:#888;cursor:pointer}.password-meter{height:4px;background:#282834;border-radius:2px;overflow:hidden}.password-meter span{display:block;height:100%;width:0;background:#ef4444;transition:.2s}.password-meter span[data-score="3"]{background:#f59e0b}.password-meter span[data-score="4"]{background:#10b981}.field>small{font-size:.69rem;color:#77798a}
.checkout-summary{position:sticky;top:100px;padding:22px}.checkout-summary h2{font-size:1.05rem;margin:7px 0 18px}.checkout-summary dl{margin:0}.checkout-summary dl>div,.payment-success dl>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #262631;font-size:.78rem}.checkout-summary dt,.payment-success dt{color:#77798a}.checkout-summary dd,.payment-success dd{font-weight:700;text-align:right}.checkout-summary select{height:34px;padding:0 8px}.summary-total{display:flex;justify-content:space-between;align-items:end;margin:18px 0}.summary-total span{font-size:.78rem;color:#888}.summary-total strong{font-size:1.35rem;color:#a78bfa}.checkout-summary>p{text-align:center;color:#666979;font-size:.68rem;margin-top:12px}.checkout-edit-link{display:block;text-align:center;color:#a78bfa;font-size:.75rem;margin-top:15px}
.checkout-trustbar{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:-10px 0 22px;border:1px solid #292934;border-radius:8px;overflow:hidden;background:#292934}.checkout-trustbar>div{display:flex;align-items:center;gap:11px;padding:13px 15px;background:#0e0e16}.checkout-trustbar>div>i{color:#2dd4bf;font-size:1rem}.checkout-trustbar span,.checkout-trustbar strong,.checkout-trustbar small{display:block}.checkout-trustbar strong{font-size:.73rem}.checkout-trustbar small{margin-top:2px;color:#717382;font-size:.64rem}.payment-methods-secure{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-option{position:relative;min-width:0}.payment-option>input{position:absolute;opacity:0}.payment-option-body{min-height:78px;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #2c2c38;border-radius:7px;background:#0b0b12}.payment-option.available{cursor:pointer}.payment-option.available>input:checked+.payment-option-body{border-color:#8b5cf6;background:#171025;box-shadow:0 0 0 1px #7c3aed,0 8px 24px rgba(124,58,237,.12)}.payment-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:#20143b;color:#b794f6;font-size:1.25rem;flex:0 0 auto}.payment-copy{display:flex;flex-direction:column;min-width:0}.payment-copy strong{font-size:.8rem}.payment-copy small{color:#77798a;font-size:.66rem;margin-top:3px;line-height:1.35}.payment-live{margin-left:auto;display:flex;align-items:center;gap:5px;color:#34d399;font-size:.64rem;font-weight:800}.payment-option.unavailable{overflow:hidden;border-radius:7px;cursor:not-allowed}.payment-method-blur{filter:blur(.55px);opacity:.4;user-select:none}.payment-unavailable{position:absolute;z-index:2;right:10px;top:10px;display:flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid rgba(148,163,184,.22);border-radius:5px;background:rgba(16,16,25,.92);color:#a6a8b4;font-size:.61rem;font-weight:800;text-transform:uppercase}.payment-security-note{display:flex;gap:12px;margin-top:12px;padding:14px;border:1px solid #292b38;border-radius:7px;background:#0c0c14}.payment-security-note>i{color:#a78bfa;margin-top:2px}.payment-security-note strong{font-size:.77rem}.payment-security-note p{color:#77798a;font-size:.68rem;margin:4px 0 0;line-height:1.5}.payment-error{display:flex;gap:8px;align-items:center;padding:11px 12px;margin-bottom:12px;border:1px solid rgba(239,68,68,.28);border-radius:6px;background:rgba(239,68,68,.08);color:#fb7185;font-size:.75rem}.summary-security{display:flex;gap:9px;align-items:center;margin:-4px -4px 18px;padding:10px;border:1px solid rgba(45,212,191,.22);border-radius:6px;background:rgba(20,184,166,.06)}.summary-security>i{color:#2dd4bf}.summary-security span,.summary-security strong,.summary-security small{display:block}.summary-security strong{font-size:.72rem}.summary-security small{color:#737684;font-size:.62rem;margin-top:2px}.secure-pay-button{display:flex;align-items:center;justify-content:center;gap:7px}.secure-pay-button:disabled{opacity:.75;cursor:wait}.payment-consent{line-height:1.45}.payment-consent a{color:#a78bfa}.summary-protection{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:11px;color:#6f7280;font-size:.62rem}.summary-protection i{color:#10b981}
.auth-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-stack{display:flex;flex-direction:column;gap:14px}.check-line{font-size:.73rem;color:#9495a2;display:flex;align-items:flex-start;gap:8px}.check-line a{color:#a78bfa}.form-error{padding:10px;border:1px solid #7f1d1d;background:#2a1015;color:#fca5a5;border-radius:6px;font-size:.76rem}
.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.review-grid article{padding:20px;display:grid;grid-template-columns:36px 1fr;gap:3px 10px}.review-grid article>i{grid-row:1/4;color:#a78bfa;font-size:1.15rem}.review-grid article strong{font-size:.86rem}.review-grid article span{font-size:.72rem;color:#77798a}.activation-notice{display:flex;gap:14px;border:1px solid #075f50;background:#071a19;border-radius:7px;padding:17px;margin-top:18px}.activation-notice>i{color:#2dd4bf;font-size:1.2rem}.activation-notice strong{font-size:.84rem;color:#5eead4}.activation-notice p{font-size:.75rem;color:#8a9a9a;margin-top:4px}
.payment-waiting,.payment-success{padding:42px;text-align:center}.waiting-icon,.success-mark{width:62px;height:62px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;font-size:1.5rem;background:#21143c;color:#a78bfa}.success-mark{background:#063c31;color:#34d399}.payment-waiting h1,.payment-success h1{font-size:1.9rem;margin:8px}.payment-waiting>p,.payment-success>p{color:#8c8e9c;max-width:620px;margin:0 auto 24px}.pix-box{display:grid;grid-template-columns:120px 1fr;gap:20px;text-align:left;padding:18px;background:#090910;border:1px solid #292935;border-radius:8px}.pix-placeholder{display:grid;place-items:center;background:#f8fafc;color:#0f9f83;border-radius:5px;font-size:3rem;aspect-ratio:1}.pix-box code{display:block;margin:7px 0 12px;padding:10px;background:#171721;border-radius:4px;overflow-wrap:anywhere}.pix-box p{font-size:.72rem;color:#888;margin-top:10px}.waiting-status{display:flex;gap:12px;text-align:left;align-items:center;background:#0a1514;border:1px solid #17433c;border-radius:7px;padding:14px;margin-top:18px}.waiting-status>span{width:9px;height:9px;background:#f59e0b;border-radius:50%;box-shadow:0 0 0 6px #3a2b0e}.waiting-status div{display:flex;flex-direction:column}.waiting-status small{color:#77798a}.waiting-actions,.success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px}.payment-success dl{margin:25px auto;max-width:580px;text-align:left}.status-awaiting{color:#fbbf24;background:#33230a;padding:5px 8px;border-radius:4px;font-size:.7rem}
@media(max-width:1024px){.navbar .navbar-toggle{display:flex!important;margin-left:auto;flex:0 0 42px}.navbar .site-brand-logo{max-width:180px}.navbar-inner{min-width:0}}
@media(max-width:850px){.checkout-page{padding:92px 14px 55px;overflow-x:hidden}.checkout-header h1{font-size:1.5rem}.checkout-header>i{display:none}.checkout-progress{padding:10px;overflow:hidden}.checkout-progress-step{justify-content:center;min-width:0}.checkout-progress-step strong{display:none}.checkout-progress-step:not(:last-child):after{left:70%;right:-30%}.checkout-layout,.auth-choice-grid{grid-template-columns:1fr}.checkout-summary{position:static}.os-grid,.dc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-trustbar{grid-template-columns:1fr}.checkout-trustbar>div{padding:11px 13px}}
@media(max-width:520px){.checkout-plan-strip{align-items:flex-start;gap:12px;flex-direction:column}.os-grid,.dc-grid,.payment-methods,.credentials-grid,.form-two,.review-grid{grid-template-columns:1fr}.choice-content{min-height:64px}.checkout-section,.checkout-summary,.payment-waiting,.payment-success{padding:17px}.pix-box{grid-template-columns:1fr}.pix-placeholder{width:110px;margin:auto}.checkout-progress-step>span{width:27px;height:27px}.waiting-actions .btn,.success-actions .btn{width:100%}}
