/* thehostverdict.com — shared stylesheet (modern dark theme) */

:root {
  --navy: #0b1120;            /* kept for legacy inline styles */
  --navy-light: #161f38;
  --accent: #fb923c;
  --accent-dark: #ea580c;
  --violet: #fbbf24;          /* now amber; name kept for legacy inline SVG refs */
  --text: #e7ebf5;
  --text-light: #97a2ba;
  --bg: #090d17;
  --bg-soft: #0d1322;
  --surface: #111828;
  --surface-2: #16203a;
  --border: rgba(148, 163, 195, 0.14);
  --border-strong: rgba(148, 163, 195, 0.28);
  --warn: #f5c76b;
  --warn-bg: rgba(245, 199, 107, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow-accent: 0 0 0 1px rgba(251, 146, 60, 0.35), 0 8px 30px rgba(251, 146, 60, 0.18);
  font-size: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 1000px 600px at 80% -10%, rgba(251, 191, 36, 0.07), transparent 60%),
    radial-gradient(ellipse 900px 500px at 10% 0%, rgba(251, 146, 60, 0.05), transparent 55%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(251, 146, 60, 0.3); color: #fff; }

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

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #fdba74; text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: rgba(9, 13, 23, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.logo:hover { color: #fff; text-decoration: none; }
.logo span {
  background: linear-gradient(120deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--text-light);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: #fff;
  text-decoration: none;
}
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(120deg, var(--accent), var(--violet));
}

/* Mobile nav toggle (checkbox hack, no JS) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 26px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Disclosure strip */
.disclosure-strip {
  background: var(--warn-bg);
  border-bottom: 1px solid rgba(245, 199, 107, 0.18);
  color: var(--warn);
  font-size: 0.83rem;
  text-align: center;
  padding: 9px 16px;
}
.disclosure-strip a { color: var(--warn); text-decoration: underline; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(251, 146, 60, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 10%, rgba(251, 191, 36, 0.2), transparent 60%);
  color: #fff;
  padding: 92px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 195, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 195, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin: 0 0 18px;
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.15;
  max-width: 720px;
  background: linear-gradient(180deg, #fff 55%, #b9c2d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--text-light);
  font-size: 1.18rem;
  max-width: 640px;
  margin: 0 0 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.25);
  color: #fed7aa;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Hero layout with visual */
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.hero-visual { position: relative; max-width: 363px; margin-left: auto; margin-top: 6px; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 339px; margin: 0 auto; order: -1; }
}

/* Feature icon badges (how we evaluate section) */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.14), rgba(251, 191, 36, 0.14));
  border: 1px solid rgba(251, 146, 60, 0.3);
  margin-bottom: 14px;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #2a1503;
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-accent);
  color: #2a1503;
  text-decoration: none;
}
/* !important overrides legacy inline style="color:var(--navy);..." on card buttons */
.btn-outline {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-strong) !important;
}
.btn-outline:hover {
  border-color: var(--accent) !important;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.12);
}
.btn-sm { padding: 9px 18px; font-size: 0.87rem; }

/* Sections */
section { padding: 72px 0; }
section.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
h2 { font-size: 1.9rem; letter-spacing: -0.025em; margin-top: 0; font-weight: 800; color: #fff; }
h3 { font-size: 1.25rem; margin-top: 0; font-weight: 700; color: #fff; }

/* Cards */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-light); }

/* Review host cards on homepage / roundup */
.host-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.host-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(251, 146, 60, 0.4);
}
.host-card:first-child {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.12), var(--shadow-sm);
}
.host-card .rank {
  display: inline-block;
  background: linear-gradient(120deg, rgba(251, 146, 60, 0.15), rgba(251, 191, 36, 0.15));
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: #fed7aa;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
  letter-spacing: 0.02em;
}
.host-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.host-card .price small {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
}
.host-card ul { margin: 0; padding-left: 18px; }
.host-card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { background: var(--surface-2); font-weight: 700; color: #fff; }
tbody tr:hover { background: rgba(148, 163, 195, 0.06); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.table-wrap table { margin: 0; }

/* Pros/cons */
.pros-cons {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 22px 0;
}
.pros, .cons {
  border-radius: var(--radius);
  padding: 22px;
}
.pros {
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.cons {
  background: rgba(248, 113, 113, 0.07);
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.pros h3 { color: #4ade9d; }
.cons h3 { color: #f89b94; }
.pros ul, .cons ul { margin: 0; padding-left: 18px; }
.pros li, .cons li { margin-bottom: 6px; }

/* Verdict box */
.verdict-box {
  position: relative;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.verdict-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
}
.verdict-box h3 {
  background: linear-gradient(120deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

/* CTA box */
.cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin: 34px 0;
}
.cta-box p.disclosure-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 14px;
}

/* Star rating */
.stars {
  color: #fbbf24;
  font-weight: 700;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--text-light); }

/* Footer */
footer.site-footer {
  background: #070a12;
  color: var(--text-light);
  padding: 44px 0 32px;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
footer.site-footer a { color: #c3cbdf; }
footer.site-footer a:hover { color: var(--accent); }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.footer-cols h4 { color: #fff; font-size: 0.9rem; margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 0.8rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 18px 0 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 760px) {
  .nav-toggle-label { display: flex; }
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b1020;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    border-bottom: none;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  nav.main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle:checked ~ nav.main-nav {
    max-height: 400px;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-cols { grid-template-columns: 1fr; }
}
