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

:root {
  --bg-deep: #030107;
  --bg-primary: #07040f;
  --bg-secondary: #0e081e;
  --bg-card: rgba(8, 4, 18, 0.82);
  --bg-card-hover: rgba(14, 8, 30, 0.90);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(251, 191, 36, 0.80);
  
  --text-main: #fcfbfe;
  --text-muted: #b4aed0;
  --text-dark: #6e678a;
  
  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.55);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.45);
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.4);
  
  --space-blue: #3b82f6;
  --mind-yellow: #eab308;
  --time-green: #22c55e;
  --power-purple: #d946ef;
  
  --cyan: #3b82f6;
  --cyan-glow: rgba(59, 130, 246, 0.35);
  --green: #22c55e;
  --red: #f43f5e;
  
  --glass-blur: blur(20px);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  position: relative;
}

/* Content Wrapper (sandwiches background elements between body background and content) */
.app-content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Cosmic Animated Background Container */
.cosmic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background-color: #04020a; /* Deep cosmic dark purple-black */
  pointer-events: none;
}

/* Cosmic Blobs */
.cosmic-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.75;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.blob-purple {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(124, 58, 237, 0.18) 40%, rgba(124, 58, 237, 0.05) 75%, rgba(124, 58, 237, 0) 100%);
  width: 95vw;
  height: 95vw;
  top: -25vh;
  left: -25vw;
  animation: float-purple 35s infinite alternate ease-in-out;
}

.blob-pink {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28) 0%, rgba(236, 72, 153, 0.12) 40%, rgba(236, 72, 153, 0.03) 75%, rgba(236, 72, 153, 0) 100%);
  width: 85vw;
  height: 85vw;
  bottom: -25vh;
  right: -15vw;
  animation: float-pink 45s infinite alternate ease-in-out;
}

.blob-blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0.12) 40%, rgba(59, 130, 246, 0.03) 75%, rgba(59, 130, 246, 0) 100%);
  width: 80vw;
  height: 80vw;
  top: 15vh;
  right: -20vw;
  animation: float-blue 38s infinite alternate ease-in-out;
}

.blob-gold {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.06) 40%, rgba(251, 191, 36, 0.01) 75%, rgba(251, 191, 36, 0) 100%);
  width: 70vw;
  height: 70vw;
  bottom: 5vh;
  left: -10vw;
  animation: float-gold 42s infinite alternate ease-in-out;
}

.cosmic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(4, 2, 10, 0.5) 100%);
  z-index: 1;
}

/* Float Keyframes using translate3d for hardware acceleration */
@keyframes float-purple {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(10vw, 6vh, 0); }
  100% { transform: translate3d(-3vw, 12vh, 0); }
}

@keyframes float-pink {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8vw, -8vh, 0); }
  100% { transform: translate3d(5vw, -3vh, 0); }
}

@keyframes float-blue {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8vw, 10vh, 0); }
  100% { transform: translate3d(6vw, -6vh, 0); }
}

@keyframes float-gold {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8vw, -6vh, 0); }
  100% { transform: translate3d(-5vw, 6vh, 0); }
}

/* Grid pattern background Overlay */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #20133c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 20%, #bfdbfe 50%, var(--gold) 80%, var(--purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

.purple-cyan-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.glass-panel:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--purple-glow);
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 2, 8, 0.94);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #e2e8f0;
  opacity: 0.85;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 8px rgba(124, 58, 237, 0.8);
}

.nav-links a.active {
  opacity: 1;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--purple-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::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: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--purple-glow), 0 0 10px var(--gold-glow);
}

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

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

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

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(92, 42, 157, 0.1);
  box-shadow: 0 0 15px var(--purple-glow);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-stat-card {
  padding: 16px 24px;
}

.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dynamic 3D Display Sphere in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sphere-container {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 42, 157, 0.1) 0%, transparent 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.sphere-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-glow) 0%, var(--gold-glow) 100%);
  filter: blur(40px);
  z-index: 1;
}

.sphere-core {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(92, 42, 157, 0.25) 0%, rgba(251, 191, 36, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 0 30px rgba(255, 255, 255, 0.1),
    0 0 50px var(--purple-glow);
  z-index: 2;
  overflow: hidden;
}

.sphere-ring {
  position: absolute;
  border: 2px dashed rgba(251, 191, 36, 0.25);
  border-radius: 50%;
  z-index: 3;
}

.sphere-ring-1 {
  width: 320px;
  height: 320px;
  animation: rotate-clockwise 20s linear infinite;
}

.sphere-ring-2 {
  width: 350px;
  height: 350px;
  animation: rotate-counter 25s linear infinite;
  border-color: var(--purple-glow);
  border-style: dotted;
}

.sphere-badge {
  position: absolute;
  background: rgba(10, 6, 20, 0.75);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 4;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.sphere-badge-1 {
  top: 15%;
  right: -5%;
}

.sphere-badge-2 {
  bottom: 20%;
  left: -10%;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  display: inline-block;
}

.pulse-dot {
  animation: pulse 2s infinite;
}

.pulse-yellow {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 10px #f59e0b;
  animation: pulse-y 1.5s infinite;
}

@keyframes pulse-y {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px #f59e0b; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px var(--green); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotate-counter {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Services Sections Container */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--purple);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Highlights Grid (Home) */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 56px;
}

.service-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(92, 42, 157, 0.1);
  border: 1px solid rgba(92, 42, 157, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--purple);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--purple-glow);
}

.service-card:nth-child(even):hover .service-icon-box {
  background: var(--gold);
  color: #fff;
  border-color: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 15px var(--gold-glow);
}

.service-card:nth-child(even) .service-icon-box {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.2);
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 32px;
}

.service-features-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* Service Pricing Cards (Minecraft / Game Servers) */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pricing-card {
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Infinity Stone Glow effects */
.pricing-card.plan-space:hover {
  border-color: var(--space-blue);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}
.pricing-card.plan-mind.popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(30, 22, 10, 0.5) 0%, rgba(10, 6, 20, 0.5) 100%);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.15);
}
.pricing-card.plan-time:hover {
  border-color: var(--time-green);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}
.pricing-card.plan-power:hover {
  border-color: var(--power-purple);
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--purple));
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px var(--gold-glow);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  margin-bottom: 24px;
}

.plan-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-specs {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-specs li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-specs li strong {
  color: var(--text-main);
}

.plan-specs li svg {
  width: 16px;
  height: 16px;
}

/* Custom Configurator Panel */
.configurator-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 48px;
}

.sliders-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.slider-label {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-label svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.slider-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold);
  background: rgba(251, 191, 36, 0.08);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid rgba(251, 191, 36, 0.15);
}

/* Custom range inputs */
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #19122f;
  outline: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  transition: transform 0.1s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.slider-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  transition: transform 0.1s ease;
}

.slider-input::-moz-range-thumb:hover {
  transform: scale(1.25);
}

.configurator-summary {
  background: rgba(12, 6, 26, 0.4);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

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

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

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



/* Subdomains checker section */
.ip-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.ip-details h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.ip-details p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ip-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.ip-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ip-feat-icon {
  color: var(--gold);
  margin-top: 2px;
}

.ip-feat-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.ip-feat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-visualizer {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

/* Node Monitor Dashboard */
.monitor-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

.nodes-status-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.node-status-card {
  padding: 20px;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.node-status-card.active {
  border-color: var(--purple);
  background: rgba(92, 42, 157, 0.05);
}

.node-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.node-name-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node-title-sub {
  font-weight: 600;
  font-size: 1.05rem;
}

.node-region {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.node-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.node-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.node-bar-bg {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-left: 10px;
}

.node-bar-fill {
  height: 100%;
  background: var(--purple);
  width: 0;
  transition: width 0.5s ease;
}

.node-status-card:nth-child(even) .node-bar-fill {
  background: var(--gold);
}

/* Server Console Simulator */
.console-panel {
  display: flex;
  flex-direction: column;
  height: 480px;
  overflow: hidden;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0,0,0,0.15);
}

.console-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.console-controls {
  display: flex;
  gap: 8px;
}

.console-screen {
  flex-grow: 1;
  background: #030107;
  padding: 20px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #c5c2d9;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.console-log {
  white-space: pre-wrap;
  word-break: break-all;
}

.console-log.info .log-tag { color: var(--gold); }
.console-log.success .log-tag { color: var(--green); }
.console-log.warn .log-tag { color: #f59e0b; }
.console-log.error .log-tag { color: var(--red); }

.log-time {
  color: var(--text-dark);
  margin-right: 8px;
}

.log-tag {
  font-weight: 500;
  margin-right: 8px;
}

.console-input-line {
  display: flex;
  align-items: center;
  background: #010003;
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.console-prompt {
  color: var(--purple);
  margin-right: 8px;
  font-weight: 600;
}

.console-input {
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
  flex-grow: 1;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Simulated Resource Chart */
.chart-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border-color);
}

.mini-chart-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chart-visual {
  height: 48px;
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-path-cpu {
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.5;
}

.chart-path-ram {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

/* ==================== FOOTER ==================== */
footer {
  background: #120c24;
  border-top: 2px solid rgba(139, 92, 246, 0.4);
  padding: 64px 0 0 0;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  color: #c8c0e0 !important;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col {
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  display: list-item !important;
  visibility: visible !important;
}

.footer-links a {
  text-decoration: none;
  color: #c8c0e0 !important;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  display: flex !important;
  align-items: center;
  gap: 6px;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-links a:hover {
  color: #f0eaff !important;
}

.footer-links a svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #9088b0 !important;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 20px;
  }
}


/* Modals & Cart Simulator */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 1, 6, 0.8);
  backdrop-filter: var(--glass-blur);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-primary);
}

/* View Sections Logic */
.section-view {
  display: none;
}

.section-view.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

/* ==========================================
   CHECKOUT WIZARD REDESIGN STYLES
   ========================================== */
.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
  animation: checkoutSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

/* Checkout Form Input focus glows */
#contact-details-form input:focus,
#payment-details-form input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px var(--gold-glow) !important;
  background-color: #120926 !important;
}

/* Virtual Credit Card Visual container styling */
.virtual-card-wrapper {
  perspective: 1000px;
}

.virtual-card {
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.virtual-card:hover {
  transform: translateY(-2px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 20px 35px var(--gold-glow), inset 0 0 20px rgba(255,255,255,0.08);
  border-color: var(--gold) !important;
}

/* Inputs styling with dynamic validation statuses */
.input-error {
  border-color: var(--red) !important;
  background-color: rgba(244,63,94,0.02) !important;
}

/* Chitori Logo & Cosmic Hero Styling */
.logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 6px var(--gold-glow));
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(3deg);
}

.sphere-logo-img-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 25px rgba(92, 42, 157, 0.55)) drop-shadow(0 0 10px rgba(251, 191, 36, 0.35));
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logo-pulsate 4s ease-in-out infinite alternate;
}

@keyframes logo-pulsate {
  0% {
    transform: scale(0.95) translateY(0px);
  }
  100% {
    transform: scale(1.05) translateY(-8px);
  }
}

/* Themed Service Cards inspired by the Poster */
.service-card.service-minecraft:hover {
  border-color: var(--pink);
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2), 0 0 20px rgba(92, 42, 157, 0.3);
}



.service-minecraft .service-icon-box {
  background: rgba(217, 70, 239, 0.08);
  border-color: rgba(217, 70, 239, 0.2);
  color: var(--pink);
}



/* Footer Social & Branding Section */
.footer-social-wrapper {
  margin-top: 60px;
  padding: 45px 0 25px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 6, 21, 0.6) 100%);
}

.footer-social-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(92, 42, 157, 0.15);
  border-color: var(--purple);
  box-shadow: 0 0 12px var(--purple-glow);
}

.social-icon-btn.instagram:hover {
  background: rgba(217, 70, 239, 0.12);
  border-color: var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
  color: var(--pink);
}

.social-icon-btn.discord:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--space-blue);
  box-shadow: 0 0 12px var(--cyan-glow);
  color: var(--space-blue);
}

.social-icon-btn.website:hover {
  background: rgba(251, 191, 36, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  color: var(--gold);
}

.footer-brand-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-top: 12px;
}



.payment-details-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

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

.form-group-full {
  grid-column: span 2;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .configurator-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .ip-panel {
    grid-template-columns: 1fr;
  }
  .monitor-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .pricing-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 16px;
  }
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .chart-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
}

@media (max-width: 500px) {

  .payment-details-form {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ip-features {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 24px 16px;
    max-width: 95%;
    border-radius: 12px;
  }
  .configurator-panel {
    padding: 16px;
  }
}

/* Aternos-Inspired Dashboard Layout Styling */
.dashboard-container {
  margin-top: 20px;
}

.active-dash-tab {
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px var(--purple-glow) !important;
}

.dashboard-sidebar .btn:hover:not(.active-dash-tab) {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.status-banner-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-banner-card.offline {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(127, 29, 29, 0.05) 100%);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.05);
}

.status-banner-card.starting {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(120, 53, 4, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.05);
}

.status-banner-card.running {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 78, 59, 0.05) 100%);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .dashboard-sidebar {
    width: 100% !important;
    flex-direction: row !important;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
  }
  .dashboard-sidebar .btn {
    white-space: nowrap;
    padding: 8px 12px !important;
  }
  .dashboard-sidebar button:last-child {
    margin-top: 0 !important;
    margin-left: auto;
  }
  .server-details-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .server-details-grid div:last-child {
    grid-column: span 1 !important;
  }
  #dash-panel-status > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Custom Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.08);
  transition: .3s;
  border-radius: 22px;
  border: 1px solid var(--border-color);
  z-index: 1;
  pointer-events: none;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #a78bfa;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: rgba(167, 139, 250, 0.2);
  border-color: var(--purple);
}
input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #c084fc;
}

/* Admin Panel Table & Styles */
#admin-servers-list tr {
  transition: background-color 0.25s ease;
}
#admin-servers-list tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
#admin-servers-list td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}


