:root {
  /* Colors - Modern Tech Aesthetic */
  --color-primary: #2563eb; /* Vivid Blue */
  --color-primary-dark: #1d4ed8;
  --color-secondary: #0f172a; /* Deep Navy/Slate */
  --color-accent: #f59e0b; /* Amber/Gold for CTAs/Stars */
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-background: #f8fafc; /* Very light slate */
  --color-surface: #ffffff;
  --color-text-main: #334155;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-card: 0 0 0 1px rgb(0 0 0 / 0.03), 0 2px 8px rgb(0 0 0 / 0.08);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  
  /* Container */
  --container-width: 1200px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  line-height: 1.25;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

h1 { font-size: 2.25rem; letter-spacing: -0.025em; }
h2 { font-size: 1.875rem; letter-spacing: -0.025em; margin-top: var(--spacing-lg); }
h3 { font-size: 1.5rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-primary-dark); }

ul { list-style-position: inside; }

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.text-mute { color: var(--color-text-muted); }
.font-bold { font-weight: 700; }

.section { padding: var(--spacing-xl) 0; }
.section-bg { background-color: var(--color-surface); }

/* Components: Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-secondary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background-color: var(--color-background);
  border-color: var(--color-text-muted);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { filter: brightness(110%); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Components: Header */
.header {
  height: var(--header-height);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--color-primary); }

.nav-desktop { display: flex; gap: var(--spacing-md); }
.nav-link {
  color: var(--color-text-main);
  font-weight: 500;
}
.nav-link:hover { color: var(--color-primary); }

.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Components: Comparison Table */
.vps-table-container {
  overflow-x: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--spacing-lg);
  border: 1px solid var(--color-border);
}

.vps-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.vps-table th {
  text-align: left;
  padding: var(--spacing-md);
  background-color: var(--color-secondary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}

.vps-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.vps-table tr:last-child td { border-bottom: none; }
.vps-table tr:hover { background-color: #f1f5f9; }

.provider-cell {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  color: var(--color-secondary);
}
.provider-logo {
  width: 40px;
  height: 40px;
  background: #eee;
  border-radius: 50%;
  object-fit: contain;
}

.price-tag {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.1rem;
}
.price-period {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.spec-item { display: block; font-size: 0.9rem; }
.spec-label { display: none; color: var(--color-text-muted); font-size: 0.8rem; }

.rating-stars { color: var(--color-accent); letter-spacing: -2px; }
.rating-score { font-weight: bold; margin-left: 0.25rem; color: var(--color-secondary); }

/* Components: Featured Snippet / AI Block */
.ai-snippet {
  background-color: #f0f9ff;
  border-left: 4px solid var(--color-primary);
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.ai-snippet h3 { margin-top: 0; font-size: 1.25rem; }

/* Components: Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-green { background: #d1fae5; color: #065f46; }

/* Home: Hero */
.hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1e293b 100%);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}
.hero h1 { color: white; margin-bottom: var(--spacing-md); }
.hero p { 
  font-size: 1.25rem; 
  color: #94a3b8; 
  max-width: 700px; 
  margin: 0 auto var(--spacing-lg); 
}

/* Home: Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
  opacity: 0.8;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-sm) 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}
.faq-answer {
  color: var(--color-text-muted);
  padding-bottom: var(--spacing-sm);
}

/* Footer */
.footer {
  background-color: var(--color-secondary);
  color: #94a3b8;
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}
.footer h4 { color: white; margin-bottom: var(--spacing-sm); font-size: 1.1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: white; text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-toggle { display: block; }
  
  .vps-table thead { display: none; }
  .vps-table, .vps-table tbody, .vps-table tr, .vps-table td { display: block; width: 100%; min-width: 0; }
  
  .vps-table tr {
    margin-bottom: var(--spacing-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
  }
  
  .vps-table td {
    padding: var(--spacing-xs) 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .spec-label { display: block; font-weight: 600; }
  .provider-cell { margin-bottom: var(--spacing-sm); border-bottom: 1px solid #eee; padding-bottom: var(--spacing-sm); }
  
  .hero h1 { font-size: 2rem; }
}
