/* ============================================
   CloudVPS Pro - Premium Cloud Hosting Platform
   ============================================ */

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

:root {
  --primary: #0b1f3a;
  --secondary: #1e3a8a;
  --accent: #22c1c3;
  --accent-light: #33d4d6;
  --bg-white: #ffffff;
  --bg-section: #f5f7fb;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #0b1f3a 0%, #1e3a8a 100%);
  --gradient-accent: linear-gradient(135deg, #1e3a8a 0%, #22c1c3 100%);
  --gradient-hero: linear-gradient(135deg, #0b1f3a 0%, #1e3a8a 50%, #164e8a 100%);
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.1);
  --shadow-lg: 0 10px 40px rgba(11, 31, 58, 0.12);
  --shadow-xl: 0 20px 60px rgba(11, 31, 58, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar-cloud {
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-cloud.scrolled {
  background: rgba(11, 31, 58, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-cloud .navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-cloud .navbar-brand i {
  color: var(--accent);
  font-size: 1.3rem;
}

.navbar-cloud .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-cloud .nav-link:hover,
.navbar-cloud .nav-link.active {
  color: #fff !important;
  background: rgba(34, 193, 195, 0.15);
}

.navbar-cloud .navbar-toggler {
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.5rem;
}

.navbar-cloud .navbar-toggler:focus {
  box-shadow: none;
}

.btn-nav-login {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: var(--transition) !important;
}

.btn-nav-login:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: rgba(34, 193, 195, 0.1) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-accent::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.5s;
}

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

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
  color: #fff;
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.7rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 193, 195, 0.3);
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 31, 58, 0.4);
  color: #fff;
}

.btn-sm-custom {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://mgx-backend-cdn.metadl.com/generate/images/996168/2026-03-01/b35b0555-8d60-4d3d-bf55-7802d8312bce.png') center/cover no-repeat;
  opacity: 0.15;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-white), transparent);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 193, 195, 0.15);
  border: 1px solid rgba(34, 193, 195, 0.3);
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #fff;
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 2s;
}

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

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section-padding {
  padding: 100px 0;
}

.section-bg {
  background: var(--bg-section);
}

.section-dark {
  background: var(--gradient-primary);
  color: #fff;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 193, 195, 0.1);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(34, 193, 195, 0.1), rgba(30, 58, 138, 0.1));
  color: var(--accent);
}

.feature-card h5 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

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

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent);
  transform: scale(1.03);
}

.pricing-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 0.3rem 2.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  transform: rotate(45deg);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

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

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
}

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

.pricing-features li i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* ============================================
   CONFIGURATOR
   ============================================ */
.configurator-section {
  background: var(--bg-section);
}

.config-panel {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.config-slider-group {
  margin-bottom: 2rem;
}

.config-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.config-slider-label label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.config-slider-label .value-badge {
  background: var(--gradient-accent);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 80px;
  text-align: center;
}

.config-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--value, 50%), #e5e7eb var(--value, 50%), #e5e7eb 100%);
  outline: none;
  transition: var(--transition);
}

.config-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 193, 195, 0.3);
  transition: var(--transition);
}

.config-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(34, 193, 195, 0.5);
}

.config-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 193, 195, 0.3);
}

.config-summary {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  position: sticky;
  top: 100px;
}

.config-summary h4 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.config-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.config-summary-item:last-of-type {
  border-bottom: none;
}

.config-total {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.config-total-label {
  font-size: 1.1rem;
  font-weight: 600;
}

.config-total-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
}

.config-total-price small {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-section);
  padding-top: 80px;
}

.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.auth-card h2 {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.auth-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.auth-card .form-control {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.auth-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 193, 195, 0.15);
}

.auth-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1040;
  overflow-y: auto;
  transition: var(--transition);
}

.sidebar-brand {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-brand i {
  color: var(--accent);
  font-size: 1.5rem;
}

.sidebar-brand span {
  font-weight: 800;
  font-size: 1.2rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
}

.sidebar-nav li {
  margin-bottom: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.sidebar-section-title {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.35);
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  background: var(--bg-section);
  min-height: 100vh;
}

.dashboard-topbar {
  background: var(--bg-white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.dashboard-topbar h4 {
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.dashboard-content {
  padding: 2rem;
}

/* Stat Cards */
.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.stat-card-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.stat-card-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-card-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-card-icon.cyan { background: rgba(34, 193, 195, 0.1); color: var(--accent); }
.stat-card-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.stat-card-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.stat-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

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

.stat-card .stat-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Dashboard Tables */
.dashboard-table {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.dashboard-table .table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-table .table-header h5 {
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.dashboard-table table {
  width: 100%;
  margin: 0;
}

.dashboard-table th {
  background: var(--bg-section);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border: none;
}

.dashboard-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}

.dashboard-table tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-badge.active { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-badge.pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.status-badge.inactive { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.status-badge.paid { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-badge.unpaid { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.status-badge.processing { background: rgba(59, 130, 246, 0.1); color: var(--info); }

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge.active .status-dot { background: var(--success); }
.status-badge.pending .status-dot { background: var(--warning); }
.status-badge.inactive .status-dot { background: var(--danger); }
.status-badge.paid .status-dot { background: var(--success); }
.status-badge.unpaid .status-dot { background: var(--danger); }
.status-badge.processing .status-dot { background: var(--info); }

/* Server Card */
.server-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: var(--transition);
  height: 100%;
}

.server-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.server-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.server-card-header h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.server-card-header small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.server-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.server-spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.server-spec i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.server-spec strong {
  color: var(--primary);
}

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

.server-actions .btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-section {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--bg-section);
}

.checkout-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.checkout-card h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.payment-method:hover,
.payment-method.selected {
  border-color: var(--accent);
  background: rgba(34, 193, 195, 0.03);
}

.payment-method i {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.payment-method .payment-info h6 {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.payment-method .payment-info small {
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================
   SERVERS PAGE
   ============================================ */
.servers-hero {
  background: var(--gradient-primary);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.servers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://mgx-backend-cdn.metadl.com/generate/images/996168/2026-03-01/ab635cff-8a4f-4dc0-a817-ee2bccaa5acd.png') center/cover no-repeat;
  opacity: 0.1;
}

.servers-hero * {
  position: relative;
  z-index: 1;
}

.servers-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.servers-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Plan Tabs */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.plan-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-white);
  border: 2px solid var(--border);
  color: var(--text-muted);
}

.plan-tab:hover,
.plan-tab.active {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 193, 195, 0.15);
}

/* Option Cards */
.option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.option-card:hover,
.option-card.selected {
  border-color: var(--accent);
  background: rgba(34, 193, 195, 0.03);
}

.option-card i {
  font-size: 1.5rem;
  color: var(--accent);
}

.option-card h6 {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.option-card small {
  color: var(--text-muted);
}

/* ============================================
   CHART PLACEHOLDER
   ============================================ */
.chart-container {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.chart-container .chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.chart-container .chart-header h5 {
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.chart-placeholder {
  height: 250px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 1rem;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gradient-accent);
  transition: var(--transition);
  min-height: 20px;
  position: relative;
}

.chart-bar:hover {
  opacity: 0.8;
}

/* ============================================
   MISC
   ============================================ */
.page-header-inner {
  background: var(--gradient-primary);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header-inner h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.page-header-inner p {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.breadcrumb-custom a:hover {
  color: var(--accent);
}

.breadcrumb-custom span {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Toast / Alert */
.toast-custom {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.toast-custom.show {
  transform: translateX(0);
}

.toast-custom.success { background: var(--success); }
.toast-custom.error { background: var(--danger); }
.toast-custom.info { background: var(--info); }

/* Addon toggle */
.addon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.addon-toggle:hover {
  border-color: rgba(34, 193, 195, 0.3);
}

.addon-toggle.active {
  border-color: var(--accent);
  background: rgba(34, 193, 195, 0.03);
}

.addon-toggle .addon-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.addon-toggle .addon-info i {
  color: var(--accent);
  font-size: 1.2rem;
}

.addon-toggle .addon-price {
  font-weight: 700;
  color: var(--primary);
}

/* Mobile sidebar toggle */
.sidebar-toggle {
  display: none;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-image-wrapper {
    margin-top: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: inline-flex;
  }

  .dashboard-content {
    padding: 1rem;
  }

  .config-summary {
    position: static;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .config-total-price {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Selection */
::selection {
  background: rgba(34, 193, 195, 0.2);
  color: var(--primary);
}