/* NestTonic — vanilla CSS. Warm amber/coral home system. */

:root {
  --bg: #0a0e1a;
  --bg-2: #0e1430;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #eef1ff;
  --muted: #a7b0d4;
  --accent: #f5a524;
  --accent-2: #ff7a59;
  --accent-3: #ffd166;
  --radius: 18px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.72);
  border-bottom: 1px solid var(--surface-border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 108, 255, 0.45);
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.4rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(124, 108, 255, 0.28), transparent 60%),
    radial-gradient(800px 380px at 85% 20%, rgba(76, 201, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(200, 107, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4.5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(76, 201, 255, 0.35);
  background: rgba(76, 201, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  color: var(--muted);
  font-size: 1.12rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 108, 255, 0.4);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(124, 108, 255, 0.55);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--surface-border);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--accent);
  box-shadow: none;
}
.btn-card {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  margin-top: 1.1rem;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Tool cards ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 108, 255, 0.5);
  box-shadow: 0 16px 44px rgba(124, 108, 255, 0.18);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.tool-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(76, 201, 255, 0.1);
  border: 1px solid rgba(76, 201, 255, 0.3);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tool-desc { color: var(--text); font-size: 0.97rem; margin-bottom: 0.7rem; }
.tool-who { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }
.partner-note {
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  margin-bottom: auto;
}
.partner-note strong { color: var(--text); font-weight: 700; }

/* ---------- Content pages ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.prose h2 {
  font-size: 1.45rem;
  margin: 2.2rem 0 0.8rem;
  letter-spacing: -0.02em;
}
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { color: var(--muted); margin: 0 0 1rem 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.page-hero {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(124, 108, 255, 0.24), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 4rem 1.25rem 1rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.25);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  gap: 1.2rem;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.2rem;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--text); }
.disclosure {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--surface-border);
  padding-top: 1.2rem;
}
.copyright { font-size: 0.82rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero-inner { padding: 3.5rem 1.25rem 3rem; }
  .nav a { margin-left: 1rem; font-size: 0.88rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-links a { display: inline-block; margin-bottom: 0.5rem; }
}

/* ---------- Review card link ---------- */
.review-link {
  display: block;
  text-align: center;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-3);
  text-decoration: none;
}
.review-link:hover { color: var(--text); text-decoration: underline; }

/* ---------- Review detail pages ---------- */
.breadcrumb { margin-bottom: 1.6rem; }
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.breadcrumb a:hover { color: var(--accent-3); }
.review-summary {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.8rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 2.2rem;
}
.review-summary img {
  width: 100%;
  border-radius: 12px;
  display: block;
  background: #11162a;
}
.review-summary .tag { display: inline-block; margin-bottom: 0.9rem; }
.review-card-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.review-summary .verdict { color: var(--text); font-size: 1.02rem; margin-bottom: 1.4rem; }
.review-summary .btn { font-size: 0.95rem; padding: 0.8rem 1.6rem; }
.quick-verdict {
  border-left: 3px solid var(--accent);
  background: rgba(245, 165, 36, 0.07);
  padding: 1rem 1.3rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1rem;
}
.quick-verdict p { margin-bottom: 0; color: var(--text); }
.quick-verdict strong { color: var(--accent-3); }
.spec-note { font-size: 0.88rem; font-style: italic; }
.methodology {
  font-size: 0.85rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 1.2rem;
  margin-top: 2.5rem;
}
@media (max-width: 640px) {
  .review-summary { grid-template-columns: 1fr; }
}

/* ---------- Product image cards ---------- */
.card-img {
  margin: -1.6rem -1.6rem 1.2rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #11162a;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tool-card:hover .card-img img { transform: scale(1.04); }
