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

/* --- DESIGN SYSTEM & SYSTEM PRESETS --- */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Futuristic Deep Royal Blue & Dark Navy Palette */
    --color-bg-darkest: #050811; /* Deep obsidian navy */
    --color-bg-dark: #080e1b; /* Rich deep navy */
    --color-bg-card: rgba(12, 20, 35, 0.55); /* Glassmorphic dark navy card */
    --color-bg-card-hover: rgba(22, 34, 58, 0.85); /* Glow state card */
    
    --color-primary: #3b82f6; /* Vibrant Royal Blue */
    --color-primary-glow: rgba(59, 130, 246, 0.35);
    --color-secondary: #0ea5e9; /* Bright Sky Blue */
    --color-secondary-glow: rgba(14, 165, 233, 0.35);
    
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8; /* Slate muted text */
    --color-text-glow: #38bdf8; /* Sky blue glow text */
    
    --border-glass: rgba(59, 130, 246, 0.12); /* Subtle blue glass borders */
    --border-glass-active: rgba(14, 165, 233, 0.45); /* Neon sky blue border on active */
    
    --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.25);
    --shadow-neon-cyan: 0 0 20px rgba(14, 165, 233, 0.25);
    --shadow-card: 0 10px 30px -10px rgba(5, 8, 17, 0.9);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
    border: 2px solid var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Background Glowing Orbs */
.glow-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    animation: floating 20s infinite ease-in-out;
}
.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}
.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--color-secondary);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}
.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    animation-duration: 30s;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-50px) scale(1.1); }
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 10%;
    z-index: 100;
    background: rgba(7, 10, 19, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo i {
    color: var(--color-secondary);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--color-secondary-glow));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-fast);
}

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

.cta-btn {
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px var(--color-primary-glow);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Secondary CTA Buttons */
.cta-btn-outline {
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border-glass-active);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cta-btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding: 8rem 10% 4rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge i {
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.2));
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.stat-item h3 span {
    color: var(--color-secondary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

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

.server-node {
    width: 320px;
    height: 380px;
    background: linear-gradient(145deg, rgba(10, 18, 38, 0.8), rgba(15, 10, 36, 0.9));
    border: 1px solid var(--border-glass-active);
    border-radius: 20px;
    box-shadow: var(--shadow-card), 0 0 40px rgba(139, 92, 246, 0.15);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: float-node 6s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

@keyframes float-node {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.server-node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.node-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.node-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.node-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.node-val.active-cyan {
    color: var(--color-secondary);
    text-shadow: 0 0 10px var(--color-secondary-glow);
}

.node-val.active-violet {
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-primary-glow);
}

.server-node-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node-bar-container {
    width: 60%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.node-bar {
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
}

.node-load {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Floating Elements around Server Node */
.floating-element {
    position: absolute;
    background: rgba(10, 18, 38, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    animation: float-slow 8s infinite ease-in-out;
}

.fe-1 {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}

.fe-2 {
    bottom: 40px;
    right: -30px;
    animation-delay: -3s;
}

.fe-icon {
    font-size: 1.2rem;
}

.fe-icon.cyan { color: var(--color-secondary); }
.fe-icon.violet { color: var(--color-primary); }

.fe-text h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
}

.fe-text p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin: 0;
}

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

/* --- SECTION DEFAULTS --- */
section {
    padding: 6rem 10%;
    position: relative;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0) var(--y, 0), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-active);
    box-shadow: var(--shadow-card), 0 10px 30px rgba(139, 92, 246, 0.05);
    background: var(--color-bg-card-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-text-main);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

/* Cyan variation for icons */
.feature-card:nth-child(even) .feature-icon {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
}

.feature-card:nth-child(even):hover .feature-icon {
    background: var(--color-secondary);
    color: var(--color-text-main);
    box-shadow: 0 0 20px var(--color-secondary-glow);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* --- CONFIGURATOR SECTION --- */
.configurator-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    background: rgba(10, 18, 38, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.configurator-controls {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.control-header label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.control-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Custom Range Slider */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: #1e293b;
    outline: none;
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-primary-glow);
    transition: var(--transition-fast);
    border: 2px solid var(--color-text-main);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--color-primary);
}

.slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-primary-glow);
    transition: var(--transition-fast);
    border: 2px solid var(--color-text-main);
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--color-primary);
}

/* Slider Ticks/Details */
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* OS / Location Config Selector */
.option-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.selector-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.selector-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass-active);
}

.selector-option.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-primary);
    color: var(--color-text-main);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.selector-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.selector-option.active i {
    color: var(--color-primary);
}

/* Order Summary Box */
.configurator-summary {
    background: linear-gradient(135deg, rgba(38, 26, 85, 0.8), rgba(10, 18, 38, 0.9));
    border: 1px solid var(--border-glass-active);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.summary-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-header h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.summary-header p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.summary-item .label {
    color: var(--color-text-muted);
}

.summary-item .val {
    font-weight: 600;
}

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

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

.price-display .price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-secondary);
    text-shadow: 0 0 20px var(--color-secondary-glow);
}

.price-display .period {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

/* --- LOCATION & PING SECTION --- */
.location-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.location-map {
    position: relative;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 1.5rem;
    background: rgba(10, 18, 38, 0.3);
    overflow: hidden;
}

.location-map svg {
    width: 100%;
    height: auto;
    fill: #1e293b;
    stroke: var(--color-bg-darkest);
    stroke-width: 0.75px;
}

.map-marker {
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: var(--transition-fast);
}

.marker-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-secondary);
    position: relative;
}

.marker-pulse::after {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    left: -100%;
    top: -100%;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    animation: map-pulse 2s infinite ease-out;
}

@keyframes map-pulse {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Map node locations overlay */
.map-marker.active .marker-pulse {
    background: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary);
}
.map-marker.active .marker-pulse::after {
    border-color: var(--color-primary);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-selector-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-btn {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.location-btn:hover {
    border-color: var(--border-glass-active);
    background: var(--color-bg-card-hover);
}

.location-btn.active {
    border-color: var(--color-primary);
    background: rgba(139, 92, 246, 0.05);
}

.loc-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.loc-flag {
    font-size: 1.5rem;
}

.loc-name {
    font-weight: 600;
}

.loc-ping-val {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-secondary);
    transition: var(--transition-fast);
}

.ping-progress-container {
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
    display: none; /* Shown dynamically via JS */
}

.ping-bar-bg {
    height: 8px;
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.ping-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.faq-item.active {
    background: var(--color-bg-card-hover);
    border-color: var(--border-glass-active);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust according to content size */
    padding-bottom: 1.5rem;
}

/* --- FOOTER / CONTACT --- */
footer {
    background: #04060b;
    border-top: 1px solid var(--border-glass);
    padding: 4rem 10% 2rem 10%;
}

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

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-main);
    padding-left: 4px;
}

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

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-socials a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--color-secondary);
}

/* Mobile responsive menu hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    header { padding: 1.5rem 5%; }
    section { padding: 5rem 5%; }
    .hero { padding: 8rem 5% 4rem 5%; }
    .hero h1 { font-size: 3rem; }
    .configurator-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .location-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-bg-dark);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding-top: 7rem;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .cta-btn, .hero-actions .cta-btn-outline {
        width: 100%;
        text-align: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .option-selector {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- LOGIN / REGISTER MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 11, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: linear-gradient(145deg, rgba(10, 18, 38, 0.96), rgba(15, 10, 36, 0.98));
    border: 1px solid var(--border-glass-active);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card), 0 0 50px rgba(59, 130, 246, 0.25);
    position: relative;
    transform: translateY(-50px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-text-main);
    transform: rotate(90deg);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 2rem;
}

.modal-tab {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.modal-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.modal-form {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-form.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.form-btn {
    margin-top: 1rem;
    width: 100%;
}

/* --- DYNAMIC USER DASHBOARD ("MEINE SERVER") --- */
.dashboard-section {
    background: rgba(7, 10, 19, 0.4);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-server-card {
    background: linear-gradient(145deg, rgba(10, 18, 38, 0.65), rgba(15, 10, 36, 0.8));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.client-server-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.client-server-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: var(--shadow-card), 0 0 25px rgba(14, 165, 233, 0.15);
}

.client-server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.client-server-id {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-server-id i {
    color: var(--color-secondary);
}

.client-server-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.client-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.client-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.client-spec-item .label {
    color: var(--color-text-muted);
}

.client-spec-item .val {
    font-weight: 600;
    color: var(--color-text-main);
}

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

.client-server-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.client-server-price span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(10, 18, 38, 0.25);
    border: 1px dashed var(--border-glass);
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.empty-state h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- TOP ANNOUNCEMENT BANNER --- */
.top-announcement-banner {
    background: linear-gradient(90deg, #5b21b6 0%, #a855f7 50%, #d946ef 100%);
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-accent {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: flash 2s infinite ease-in-out;
}

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

.banner-cta {
    color: #fff;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.banner-cta:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

/* --- HERO PRODUCTS GRID (2x2) --- */
.hero-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 500px;
    z-index: 2;
}

.product-card {
    background: linear-gradient(135deg, rgba(10, 18, 38, 0.7), rgba(15, 10, 36, 0.95));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(59, 130, 246, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: var(--shadow-card), 0 0 25px rgba(59, 130, 246, 0.15);
}

.product-card .product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-text-main);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    z-index: 2;
}

.product-card:hover .product-badge {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2;
    position: relative;
}

.product-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.product-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-products-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-top: 2rem;
    }
}

/* --- MEGA DROPDOWN MENU --- */
.dropdown-trigger:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(145deg, rgba(20, 15, 45, 0.96), rgba(8, 5, 20, 0.99));
    border: 1px solid var(--border-glass-active);
    border-radius: 16px;
    padding: 1.5rem;
    width: 620px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(59, 130, 246, 0.2);
    z-index: 1000;
}

.dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dropdown-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
    text-align: left;
}

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

.game-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.game-item-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--border-glass-active);
    transform: translateY(-2px);
}

.game-item-card img {
    width: 48px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
}

.game-item-content {
    text-align: left;
}

.game-item-content h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem 0;
}

.game-item-content p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
}

.dropdown-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
}

.discover-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.discover-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

/* --- GAMES CATALOG PAGE --- */
.cat-tab:hover {
    border-color: var(--border-glass-active) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
.cat-tab.active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3) !important;
}

/* --- CONFIGURATOR SLIDERS --- */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 0 8px var(--color-primary);
    transition: all 0.1s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--color-secondary);
    box-shadow: 0 0 12px var(--color-secondary);
}


