/* ============================================================
   CLOUDCASTLE HOSTING — Design System
   Theme: Red & Dark
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Background */
  --bg-deepest: #050506;
  --bg-dark: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --bg-nav: rgba(10, 10, 14, 0.7);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(239, 68, 68, 0.3);

  /* Accent — Red */
  --accent: #ef4444;
  --accent-light: #f87171;
  --accent-dark: #dc2626;
  --accent-glow: rgba(239, 68, 68, 0.12);
  --accent-glow-strong: rgba(239, 68, 68, 0.25);

  /* Text */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dark: #52525b;

  /* Status */
  --status-green: #22c55e;
  --status-green-glow: rgba(34, 197, 94, 0.6);

  /* Misc */
  --discord-color: #5865F2;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
.font-orbitron {
  font-family: 'Orbitron', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section { padding: 7rem 0; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--transition-smooth);
  padding: 1rem 0;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(5, 5, 6, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  transition: transform var(--transition-base);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
}

.logo-text .accent {
  color: var(--accent-light);
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.nav-link:hover {
  color: white;
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transform: rotate(90deg);
  transition: transform var(--transition-fast);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  padding-top: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: all var(--transition-base);
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown:hover .chevron {
  transform: rotate(270deg);
}

.dropdown-panel {
  background: var(--bg-deepest);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.dropdown-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.dropdown-panel.wide {
  width: 480px;
  padding: 1rem;
}

.dropdown-panel.narrow {
  width: 240px;
  padding: 0.5rem;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.625rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dropdown-item-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--accent-light);
}

.dropdown-item-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Nav Right */
.nav-right {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-right { display: flex; }
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.625rem;
  white-space: nowrap;
  user-select: none;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  animation: pulse-green 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--status-green-glow);
}

.status-text {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80;
}

.discord-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.625rem;
  font-size: 10px;
  font-weight: 800;
  color: #8a96f5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background var(--transition-fast);
}

.discord-btn:hover {
  background: rgba(88, 101, 242, 0.2);
}

.discord-btn svg {
  width: 14px;
  height: 14px;
  color: var(--discord-color);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.btn-client {
  display: inline-flex;
  align-items: center;
  background: white;
  color: black;
  font-weight: 800;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.btn-client:hover {
  background: #e4e4e7;
}

/* Mobile Nav */
.nav-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-mobile-toggle:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .nav-mobile-toggle { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(5, 5, 6, 0.97);
  backdrop-filter: blur(20px);
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link.accent {
  color: var(--accent-light);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  padding: 0.875rem;
  background: white;
  color: black;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: var(--bg-deepest);
}

@media (min-width: 1024px) {
  .hero { padding: 11rem 0 7rem; }
}

/* Background effects */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(120px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hero Left */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-accent {
  background: var(--accent-glow);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent-light);
}

.badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
}

@media (min-width: 640px) {
  .hero-desc { font-size: 1.125rem; }
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: white;
  color: black;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3), 0 1px 3px rgba(0,0,0,0.2);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4), 0 4px 8px rgba(0,0,0,0.3);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

.hero-features {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-feature svg {
  width: 14px;
  height: 14px;
  color: var(--accent-light);
}

/* Hero Terminal Card */
.terminal-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: rgba(239, 68, 68, 0.8); }
.terminal-dot.yellow { background: rgba(234, 179, 8, 0.8); }
.terminal-dot.green { background: rgba(34, 197, 94, 0.8); }

.terminal-title {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

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

.terminal-status-dot {
  position: relative;
  width: 8px;
  height: 8px;
}

.terminal-status-dot span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.terminal-status-dot span:last-child {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
}

.terminal-status-text {
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
}

.terminal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Progress bars */
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.75rem;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.stat-label svg {
  width: 14px;
  height: 14px;
  color: var(--accent-light);
}

.stat-value {
  color: var(--accent-light);
  font-weight: 700;
}

.progress-bar {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  transition: width 1.5s ease;
}

.stat-footer {
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 9px;
  color: var(--text-muted);
}

/* Stat boxes */
.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-box {
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}

.stat-box-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.stat-box-value {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.stat-box-value.white {
  color: var(--text-primary);
}

.stat-box-value svg {
  width: 14px;
  height: 14px;
}

.stat-box-sub {
  margin-top: 0.25rem;
  font-size: 10px;
  color: var(--text-secondary);
  font-family: monospace;
}

/* Deployments */
.deployments {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.deployments-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-family: monospace;
  margin-bottom: 0.5rem;
}

.deployments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deployment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-md);
  font-size: 10px;
  font-family: monospace;
  color: var(--text-secondary);
}

.deployment-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-red 2s ease-in-out infinite;
}

/* Floating card */
.hero-floating-card {
  display: none;
  position: absolute;
  bottom: -20px;
  left: -20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-deepest);
  padding: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .hero-floating-card { display: block; }
}

.hero-floating-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hero-floating-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
}

.hero-floating-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-floating-sub {
  font-size: 10px;
  color: var(--text-muted);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background: var(--bg-deepest);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: white;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

.section-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Cards */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.25rem;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  border-color: rgba(239, 68, 68, 0.3);
  background: var(--accent-glow);
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.feature-card:hover .feature-icon svg {
  color: var(--accent-light);
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  transition: color var(--transition-base);
}

.feature-card:hover h3 {
  color: var(--accent-light);
}

.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================================
   PRICING PREVIEW
   ============================================================ */
.pricing-preview {
  background: var(--bg-dark);
}

.pricing-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
}

.pricing-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--accent-glow);
  border: 1px solid rgba(239, 68, 68, 0.2);
  margin-bottom: 1.25rem;
}

.pricing-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-light);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.pricing-card .pricing-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-card .price-from {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card .price-from span {
  color: var(--accent-light);
  font-weight: 800;
  font-size: 1.5rem;
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.pricing-card-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pricing-card-feature svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
  flex-shrink: 0;
}

/* ============================================================
   INFRASTRUCTURE / LOCATIONS
   ============================================================ */
.infrastructure {
  background: var(--bg-deepest);
  position: relative;
  overflow: hidden;
}

.infra-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(150px);
  pointer-events: none;
}

.location-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.location-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-base);
}

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

.location-flag {
  font-size: 2rem;
  line-height: 1;
}

.location-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.location-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.location-specs {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.location-spec {
  font-size: 10px;
  font-family: monospace;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.location-spec svg {
  width: 12px;
  height: 12px;
  color: var(--accent-light);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-accent);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  color: #facc15;
  fill: #facc15;
}

.testimonial-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-glow), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-light);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.testimonial-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

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

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg-deepest);
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

.faq-column h3 {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-column h3 svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--accent-light);
}

.faq-question svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(120px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cta-title { font-size: 2.5rem; }
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deepest);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

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

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

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

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social:hover {
  border-color: var(--border-accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dark);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

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

/* ============================================================
   VPS & MINECRAFT PLAN PAGES
   ============================================================ */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: var(--bg-deepest);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-hero { padding: 10rem 0 4rem; }
}

.page-hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 500px;
  height: 400px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(120px);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}

@media (min-width: 640px) {
  .page-title { font-size: 3rem; }
}

.page-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Plans Grid */
.plans-section {
  background: var(--bg-dark);
}

.plans-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .plans-grid { grid-template-columns: repeat(4, 1fr); }
}

.plan-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.plan-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.06);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card.popular {
  border-color: rgba(239, 68, 68, 0.3);
}

.plan-card.popular::before {
  opacity: 1;
}

.plan-popular-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.plan-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.plan-price .currency {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-price .amount {
  font-size: 2rem;
  font-weight: 900;
  color: white;
}

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

.plan-specs {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.plan-spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.plan-spec svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.plan-spec .spec-value {
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }
.fade-in-delay-7 { transition-delay: 0.7s; }

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent-light); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.hidden { display: none !important; }

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deepest);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Selection */
::selection {
  background: rgba(239, 68, 68, 0.3);
  color: white;
}
