/* ============================================
   multisitehosting.io - Static Website Styles
   Theme: Dark grey/black with light purple accent
   ============================================ */

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

:root {
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;

  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-850: #1e1e22;
  --gray-900: #18181b;
  --gray-950: #09090b;

  --bg-primary: #09090b;
  --bg-secondary: #111113;
  --bg-card: #18181b;
  --bg-card-hover: #1e1e22;
  --border-color: #27272a;
  --border-color-light: #3f3f46;

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent: #a855f7;
  --accent-light: #c084fc;
  --accent-dark: #7c3aed;
  --accent-glow: rgba(168, 85, 247, 0.15);
  --accent-glow-strong: rgba(168, 85, 247, 0.3);

  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(168,85,247,0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Animations --- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(9, 9, 11, 0.97);
  backdrop-filter: blur(20px);
  padding: 100px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.mobile-menu-actions {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-bottom: none !important;
}

.mobile-menu-actions a {
  border-bottom: none;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--purple-500);
  color: var(--purple-400);
  background: var(--accent-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-300);
}

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

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

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-400);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168,85,247,0.08), transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin: 24px 0;
  background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.avatar-more {
  background: var(--gray-700) !important;
  font-size: 12px;
}

.social-proof-text {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-proof-text strong {
  color: var(--text-primary);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   DASHBOARD PREVIEW
   ============================================ */
.dashboard-preview {
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.dashboard-header {
  margin-bottom: 20px;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
}

.dashboard-badge {
  padding: 2px 10px;
  background: var(--accent-glow);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-400);
}

.dashboard-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.dashboard-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.tab {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.tab.active {
  background: var(--accent-glow);
  color: var(--purple-400);
}

.tab-add {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.tab-add:hover { color: var(--purple-400); }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
}

.stat-green { color: var(--green); }

/* Sites Table */
.sites-table {
  margin-bottom: 16px;
}

.table-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.view-all-link {
  font-size: 13px;
  color: var(--purple-400);
  font-weight: 500;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

tbody td {
  padding: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

tbody tr:last-child td { border-bottom: none; }

.site-name {
  color: var(--text-primary) !important;
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge.online {
  background: rgba(34,197,94,0.1);
  color: var(--green);
}

.status-badge.online::before { background: var(--green); }

.status-badge.maintenance {
  background: rgba(245,158,11,0.1);
  color: var(--yellow);
}

.status-badge.maintenance::before { background: var(--yellow); }

.action-dots {
  font-size: 18px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.action-dots:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

/* Dashboard Footer Bar */
.dashboard-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.perf-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.perf-badge strong { color: var(--purple-400); }

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,197,94,0.4);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(168,85,247,0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  color: var(--purple-400);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Feature Visuals */
.feature-visual {
  margin-top: auto;
}

.speed-bar {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-color);
}

.speed-bar-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.speed-bar-track {
  height: 8px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.speed-bar-fill {
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  border-radius: var(--radius-full);
  animation: speed-fill 2s ease-out;
}

@keyframes speed-fill {
  from { width: 0; }
  to { width: 92%; }
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.security-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.protected-text {
  color: var(--green);
  font-weight: 600;
}

.scan-text {
  color: var(--text-muted);
  font-size: 12px;
}

.autoscale-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}

.autoscale-badge strong {
  color: var(--green);
}

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

.uptime-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.uptime-label {
  font-size: 13px;
  color: var(--text-muted);
}

.uptime-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
}

.deploy-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.deploy-ready {
  font-size: 13px;
  color: var(--text-muted);
}

.deploy-btn {
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.deploy-btn:hover {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.features-cta {
  text-align: center;
  margin-top: 48px;
}

.features-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
  padding: 120px 0;
  position: relative;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.why-choose-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

/* Server Visual */
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: 120px;
}

.server-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.server-sites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.server-site {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
}

.site-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.server-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.server-stat:last-child { border-bottom: none; }

.server-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.server-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

/* Benefits */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.benefit-item:hover {
  border-color: rgba(168,85,247,0.3);
  background: var(--bg-card-hover);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
}

.benefit-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(124,58,237,0.05));
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-xl);
  gap: 32px;
  flex-wrap: wrap;
}

.cta-badge {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 120px 0;
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  position: relative;
  padding: 3px;
  transition: background var(--transition);
  cursor: pointer;
}

.toggle-switch.annual {
  background: var(--purple-600);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  display: block;
  transition: transform var(--transition);
}

.toggle-switch.annual .toggle-knob {
  transform: translateX(24px);
}

.save-badge {
  padding: 2px 8px;
  background: var(--accent-glow);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-400);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
  border-color: var(--purple-500);
  background: linear-gradient(180deg, rgba(168,85,247,0.08), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-amount {
  margin-bottom: 4px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.billing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-footer {
  text-align: center;
}

.pricing-footer > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-custom {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-custom p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.testimonial-track-wrapper {
  overflow: hidden;
  margin-bottom: 20px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.testimonial-track.scroll-left {
  animation: scroll-left 40s linear infinite;
}

.testimonial-track.scroll-right {
  animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 380px;
  min-width: 380px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(168,85,247,0.3);
  background: var(--bg-card-hover);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-meta strong {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonials-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 120px 0;
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.faq-item:hover {
  border-color: rgba(168,85,247,0.2);
}

.faq-item.open {
  border-color: rgba(168,85,247,0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--text-primary);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--purple-400);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: var(--purple-400);
}

.footer-newsletter h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-newsletter p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--purple-500);
}

.newsletter-form .btn-primary {
  padding: 10px 20px;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--purple-400);
}

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}

.page-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168,85,247,0.08), transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--purple-400);
}

.breadcrumb span {
  color: var(--text-secondary);
}

.breadcrumb svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.page-hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 20px 0;
  background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Active nav link */
.nav-active {
  color: var(--purple-400) !important;
}

/* ============================================
   ADDITIONAL FEATURES (Features Page)
   ============================================ */
.additional-features {
  padding: 80px 0 120px;
  position: relative;
}

.additional-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.detail-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.detail-feature-card:hover {
  border-color: rgba(168,85,247,0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.detail-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  color: var(--purple-400);
  margin-bottom: 20px;
}

.detail-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.detail-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  flex: 1;
}

.detail-feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.detail-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.6;
}

.detail-feature-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-feature-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.detail-tag {
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-400);
}

.features-page-cta {
  text-align: center;
  margin-top: 64px;
}

/* ============================================
   LEGAL PAGES (Terms, Privacy, Refund)
   ============================================ */
.legal-updated {
  font-size: 15px;
  color: var(--text-muted) !important;
  margin-top: 8px;
}

.legal-section {
  padding: 40px 0 120px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto 80px;
}

.legal-block {
  margin-bottom: 40px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--purple-400);
  transition: color var(--transition);
}

.legal-block a:hover {
  color: var(--purple-300);
}

.legal-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.legal-block ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.6;
}

.legal-block ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-contact {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.legal-contact p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2px;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-contact p strong {
  color: var(--text-primary);
}

/* Related Links Grid */
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.related-link-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.related-link-card:hover {
  border-color: rgba(168,85,247,0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.related-link-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  color: var(--purple-400);
  margin-bottom: 16px;
}

.related-link-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.related-link-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.related-link-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-400);
  transition: color var(--transition);
}

.related-link-card:hover .related-link-action {
  color: var(--purple-300);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

  .why-choose-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .server-card {
    position: static;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }

  .related-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

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

  .mobile-menu {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .detail-features-grid {
    grid-template-columns: 1fr;
  }

  .related-links-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 110px 0 40px;
  }

  .page-hero-content h1 {
    font-size: 32px;
  }

  .page-hero-content p {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sites-table {
    overflow-x: auto;
  }

  table {
    min-width: 500px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card:last-child {
    max-width: none;
  }

  .cta-banner {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card {
    width: 300px;
    min-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .server-sites {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-value {
    font-size: 18px;
  }

  .dashboard-card {
    padding: 16px;
  }

  .price {
    font-size: 40px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .server-sites {
    grid-template-columns: 1fr;
  }
}
