/* ==========================================================================
   ByteHost CSS - Next Generation Hosting Stylesheet
   ========================================================================== */

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

/* CSS Custom Properties / Design System */
:root {
    /* Color Palette */
    --bg-dark: #080b11;
    --bg-dark-gray: #0f131a;
    --bg-card: rgba(15, 20, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 194, 255, 0.2);
    
    --primary: #00c2ff;
    --primary-glow: rgba(0, 194, 255, 0.4);
    --secondary: #bd00ff;
    --secondary-glow: rgba(189, 0, 255, 0.4);
    --accent: #00ffaa;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #4b5563;
    
    /* Layout & Effects */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --backdrop-blur: blur(12px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Widths */
    --container-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Background Gradients & Glow Effects */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(8, 11, 17, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(8, 11, 17, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Glassmorphism Card base */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px 0 rgba(0, 194, 255, 0.15);
    transform: translateY(-5px);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 4px 25px var(--primary);
    transform: translateY(-2px);
    color: #000;
}

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

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

.btn-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, #a200db 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-accent:hover {
    box-shadow: 0 4px 25px var(--secondary);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(0, 194, 255, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
}

.badge-secondary {
    background: rgba(189, 0, 255, 0.15);
    color: var(--secondary);
    border: 1px solid var(--secondary-glow);
}

.badge-success {
    background: rgba(0, 255, 170, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 170, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Navigation Styles */
header.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 11, 17, 0.6);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    transition: var(--transition);
}

header.main-header.scrolled {
    padding: 0.8rem 0;
    background: rgba(8, 11, 17, 0.85);
}

header.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
}

.logo span {
    font-weight: 400;
}

.logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0;
}

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

/* Nav Submenu */
.submenu-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 240px;
    background: var(--bg-dark-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--box-shadow);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.nav-item:hover .submenu-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu-item {
    margin-bottom: 0.5rem;
}

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

.submenu-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.submenu-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.submenu-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    transform: translateX(3px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Live Status Indicator */
.status-bar {
    background: rgba(0, 255, 170, 0.03);
    border: 1px solid rgba(0, 255, 170, 0.1);
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

/* Hero Section */
.hero-section {
    padding-top: 12rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features-list {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.hero-features-list li i {
    color: var(--accent);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-configurator-box {
    width: 100%;
    max-width: 480px;
    background: rgba(15, 20, 30, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--box-shadow);
    border-top: 2px solid var(--primary);
}

.configurator-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.configurator-title span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.slider-group {
    margin-bottom: 1.8rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.slider-label span.value {
    color: var(--primary);
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 8px var(--primary);
    transition: var(--transition);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.configurator-price {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-display {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.price-display span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Feature Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-pretitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 194, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.glass-card:hover .feature-icon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
    border-color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Product Cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 8px 32px 0 rgba(189, 0, 255, 0.15);
}

.pricing-card.featured:hover {
    box-shadow: 0 8px 32px 0 rgba(189, 0, 255, 0.3);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 2.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.pricing-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li i {
    color: var(--accent);
}

.pricing-features li.disabled {
    text-decoration: line-through;
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-dark);
}

/* Locations / Datacenter Map Sektion */
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: rgba(15, 20, 30, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-svg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.map-marker .marker-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 10px var(--primary);
}

.map-marker .marker-pulse {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: mapPulse 2s infinite;
    pointer-events: none;
}

.map-marker .marker-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.map-marker:hover .marker-label {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 15px);
}

/* Specifically position Hamburg and Frankfurt mock markers */
.map-marker.hamburg {
    top: 35%;
    left: 48%;
}

.map-marker.frankfurt {
    top: 55%;
    left: 45%;
}

.latency-checker {
    padding: 2.5rem;
}

.ping-result-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.ping-server-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ping-server-info i {
    color: var(--primary);
}

.ping-ms {
    font-weight: 700;
    color: var(--accent);
}

/* FAQ Accordion */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-answer {
    padding-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer Styles */
footer.main-footer {
    background: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-info-col p {
    margin: 1rem 0 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 3px;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 1.5rem;
}

.payment-methods i {
    opacity: 0.6;
    transition: var(--transition);
}

.payment-methods i:hover {
    opacity: 1;
    color: #fff;
}

/* Configurator Slider Selection Grid (Server-KVM) */
.config-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.config-option-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.config-option-card.active, .config-option-card:hover {
    border-color: var(--primary);
    background: rgba(0, 194, 255, 0.05);
}

.config-option-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Contact / Support Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 194, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Kundenbereich - Authentication Layout */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(15, 20, 30, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.5rem;
    backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--box-shadow);
    z-index: 10;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo a {
    display: inline-flex;
    justify-content: center;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-footer-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer-link a {
    color: var(--primary);
    font-weight: 600;
}

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

/* Kundenbereich - Dashboard Panel Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-dark);
}

.sidebar {
    width: 260px;
    background: var(--bg-dark-gray);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
}

.sidebar-brand {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu {
    list-style: none;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-link:hover, .sidebar-item.active .sidebar-link {
    background: rgba(0, 194, 255, 0.05);
    color: #fff;
}

.sidebar-item.active .sidebar-link i {
    color: var(--primary);
}

.sidebar-user {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.user-info {
    overflow: hidden;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dashboard-header {
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 20, 30, 0.4);
    backdrop-filter: var(--backdrop-blur);
}

.dashboard-header-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.balance-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.balance-card span {
    color: var(--accent);
    font-weight: 700;
}

.dashboard-content {
    padding: 2.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(15, 20, 30, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.8;
}

/* Dashboard Table / Lists */
.dashboard-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

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

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

.table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.01);
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* Server Controls mock */
.server-status-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-actions-btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-ctrl {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.btn-ctrl:hover {
    color: #fff;
}

.btn-ctrl.start:hover {
    background: rgba(0, 255, 170, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ctrl.stop:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-ctrl.restart:hover {
    background: rgba(0, 194, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Keyframe Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 255, 170, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 170, 0);
    }
}

@keyframes mapPulse {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Alerts and Notifications styling */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.2);
    color: var(--accent);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-section {
        padding-top: 10rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark-gray);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }
    .nav-menu.open {
        left: 0;
    }
    .nav-item {
        width: 100%;
    }
    .submenu-list {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 1.5rem;
        margin-top: 0.5rem;
    }
    .header-actions {
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .dashboard-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .dashboard-header {
        padding: 0 1.5rem;
    }
    .dashboard-content {
        padding: 1.5rem;
    }
}
