:root {
  --bg: #f3fbf8;
  --surface: #ffffff;
  --ink: #102a43;
  --muted: #486581;
  --primary: #0a7d6c;
  --primary-dark: #085f52;
  --accent: #f97316;
  --border: #d9e2ec;
  --ok: #0b8f5b;
  --warn: #b96a00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #dcfce7 0%, #f3fbf8 36%, #f6fbff 100%);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

.navbar {
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.88);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-dot {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(10, 125, 108, 0.18), transparent 65%);
}

.hero::after {
  width: 20rem;
  height: 20rem;
  left: -8rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 68%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #14532d;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.12;
}

.hero-subtitle {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.chip {
  border: 1px solid #c7d2fe;
  color: #1e3a8a;
  background: #eef2ff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

.quick-actions .btn {
  border-radius: 0.7rem;
  font-weight: 600;
}

.search-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(16, 42, 67, 0.06);
  padding: 1rem;
}

.tool-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: #9fb3c8;
  box-shadow: 0 16px 30px rgba(16, 42, 67, 0.08);
}

.tool-card .card-title {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
}

.tool-card .card-text {
  color: var(--muted);
  font-size: 0.94rem;
}

.badge-live {
  background: #dcfce7;
  color: #166534;
}

.badge-roadmap {
  background: #fff7ed;
  color: #9a3412;
}

.section-title {
  margin-bottom: 0.8rem;
}

.section-note {
  color: var(--muted);
  max-width: 48rem;
}

.ad-slot {
  border: 2px dashed #cbd5e1;
  border-radius: 1rem;
  padding: 1.2rem;
  color: #475569;
  background: #f8fafc;
  text-align: center;
  min-height: 110px;
  display: grid;
  place-items: center;
}

.free-box {
  border: 1px solid #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
  border-radius: 1rem;
  padding: 1.5rem;
}

.faq-shell .accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.faq-shell .accordion-button:not(.collapsed) {
  color: #0f172a;
  background: #ecfeff;
}

.page-header {
  padding-top: 7rem;
  padding-bottom: 2.5rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
}

.table-wrap {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.table-wrap table {
  margin-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.8rem;
}

.stat-item small {
  color: var(--muted);
  display: block;
}

.stat-item strong {
  font-size: 1.2rem;
}

.score-ok {
  color: var(--ok);
  font-weight: 700;
}

.score-warn {
  color: var(--warn);
  font-weight: 700;
}

.serp-preview {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem;
}

.serp-url {
  color: #0f9d58;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.serp-title {
  color: #1a0dab;
  font-size: 1.13rem;
  margin-bottom: 0.3rem;
}

.serp-description {
  color: #4d5156;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.fade-up {
  animation: fadeUp 420ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

@media (max-width: 991px) {
  .hero {
    padding-top: 6rem;
  }
}

@media (max-width: 767px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    line-height: 1.18;
  }
}
