/* === Hosting Compare - Clean Professional Theme === */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-hero: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #ffffff;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --gold: #f59e0b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-secondary);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Header === */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 28px; }
nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
}
nav a:hover, nav a.active {
  color: var(--accent);
  text-decoration: none;
}

/* === Hero === */
.hero {
  background: var(--bg-hero);
  color: var(--text-light);
  padding: 72px 24px;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero-cta {
  display: inline-block;
  background: #ffffff;
  color: var(--accent);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* === Content Container === */
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}
.content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
}
.content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 28px 0 12px;
}
.content p { margin-bottom: 16px; color: var(--text-secondary); }
.content ul, .content ol { margin: 0 0 16px 24px; color: var(--text-secondary); }
.content li { margin-bottom: 6px; }

/* === Page Header (sub pages) === */
.page-header {
  background: var(--bg-hero);
  color: var(--text-light);
  padding: 48px 24px 40px;
}
.page-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--text-light); }
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

/* === Comparison Table === */
.compare-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.compare-table thead {
  background: #1e3a5f;
  color: white;
}
.compare-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table tbody tr:hover {
  background: var(--accent-light);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* === Rating Stars === */
.stars { color: var(--gold); letter-spacing: 1px; }
.rating-num { font-weight: 700; color: var(--text-primary); margin-left: 4px; }

/* === Price Tag === */
.price-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.05rem;
}
.price-original {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-left: 6px;
}

/* === Badge === */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-best { background: #dcfce7; color: #15803d; }
.badge-value { background: #dbeafe; color: #1d4ed8; }
.badge-popular { background: #fef3c7; color: #92400e; }

/* === CTA Button === */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

/* === Provider Cards (Homepage) === */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.provider-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.provider-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.provider-card h3 { margin: 0; font-size: 1.15rem; }
.provider-card .card-rating { text-align: right; }
.provider-card .card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 8px 0;
}
.provider-card .card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.provider-card ul {
  list-style: none;
  margin: 12px 0 16px 0;
  padding: 0;
}
.provider-card ul li {
  padding: 3px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.provider-card ul li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
}

/* === Info Boxes === */
.info-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 0.95rem;
}
.info-box.tip {
  background: #dcfce7;
  border-color: var(--success);
}
.info-box.warning {
  background: #fef3c7;
  border-color: var(--warning);
}

/* === Pros / Cons === */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.pros-cons > div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.pros-cons h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}
.pros-cons .pros h4 { color: var(--success); }
.pros-cons .cons h4 { color: var(--danger); }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pros-cons .pros li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.pros-cons .cons li::before { content: "✗ "; color: var(--danger); font-weight: 700; }

/* === Quick Nav Cards === */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.nav-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.nav-card:hover {
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.nav-card h4 { color: var(--accent); margin-bottom: 6px; }
.nav-card p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* === Methodology Section === */
.methodology {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
}
.methodology h2 { margin-top: 0; }

/* === Footer === */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 40px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #94a3b8; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 0.8rem; margin-top: 16px; max-width: 600px; line-height: 1.5; }

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .header-inner { flex-direction: column; height: auto; padding: 12px 16px; gap: 8px; }
  nav ul { gap: 16px; font-size: 0.85rem; }
  .content { padding: 24px 16px; }
  .provider-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .quick-nav { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .footer-inner { flex-direction: column; }
}
