/* =============== CSS VARIABLES =============== */
:root {
  --bg-main: #f3f6ff;
  --bg-card: #ffffff;
  --bg-muted: #eef3ff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border: #e5e7eb;
  --danger: #b91c1c;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* =============== GLOBAL =============== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #e0ebff 0, #f3f6ff 40%, #f9fafb 80%);
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

/* =============== HEADER =============== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 14px;
  position: sticky;
  top: 0;
  background: rgba(243, 246, 255, 0.92);
  backdrop-filter: blur(18px);
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.btn-link {
  color: var(--accent);
  font-weight: 500;
}

.btn-secondary {
  padding: 7px 14px;
  border-radius: 999px;
  background: #eff3ff;
  border: 1px solid var(--accent-soft);
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}

.btn-secondary:hover {
  background: #e0e8ff;
  border-color: #c4d4ff;
}

/* =============== BUTTONS =============== */
.btn-primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.4);
  transition: background 0.15s ease-out, transform 0.1s ease-out,
    box-shadow 0.1s ease-out;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.btn-fullwidth {
  width: 100%;
}

/* =============== HERO =============== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 60px;
}

.hero-left {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.08;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 20px;
}

.hero-form {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffffcc;
  font-size: 0.96rem;
  outline: none;
}

.hero-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* HERO RIGHT CARD */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.mini-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.22);
  max-width: 380px;
  width: 100%;
}

/* avatar + top layout */
.mini-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.mini-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.45);
}

.mini-card-top-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mini-score {
  font-size: 1.9rem;
  font-weight: 700;
}

.mini-stars {
  font-size: 0.9rem;
  color: #facc15;
  letter-spacing: 2px;
}

.mini-chart {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}

.mini-chart span {
  width: 6px;
  border-radius: 999px;
  background: #bfdbfe;
}

.mini-chart span:nth-child(1) {
  height: 14px;
}
.mini-chart span:nth-child(2) {
  height: 22px;
}
.mini-chart span:nth-child(3) {
  height: 28px;
}
.mini-chart span:nth-child(4) {
  height: 34px;
  background: #2563eb;
}

.mini-business {
  font-size: 0.9rem;
  font-weight: 600;
}

.mini-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.mini-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

.mini-body {
  font-size: 0.9rem;
  color: #374151;
}

.mini-body ul {
  margin: 6px 0 4px 1.1rem;
  padding: 0;
}

.mini-body li {
  margin-bottom: 4px;
}

.mini-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.mini-footer-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =============== GENERIC SECTIONS =============== */
.section {
  margin-bottom: 64px;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* HOW IT WORKS */
.steps-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: #ffffffd9;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.18);
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.step-title {
  font-size: 1rem;
  margin: 0 0 4px;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SAMPLE + WHY SECTION */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.sample-card,
.why-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 20px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.25);
}

.small-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.sample-rating-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sample-score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 10px;
}

.sample-score {
  font-size: 1.6rem;
  font-weight: 700;
}

.sample-tag {
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-muted);
}

.sample-list ul {
  margin: 4px 0 6px 1.2rem;
  padding: 0;
  font-size: 0.9rem;
}

.sample-subheading {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 6px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.why-item h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.why-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PRICING */
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 22px 22px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.25);
  max-width: 360px;
  margin-top: 20px;
}

.pricing-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-list {
  margin: 0 0 14px 1.2rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.faq-item h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
  }

  .section-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    font-size: 0.82rem;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
