body {
  font-family: Arial, sans-serif;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.05), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #f4f6f9 100%);
  color: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container {
  max-width: 1120px;
  margin: 36px auto 56px;
  padding: 24px;
}

h1 {
  margin-bottom: 8px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -1px;
  color: #0f172a;
  max-width: 900px;
}

h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.15;
  color: #1e293b;
}

h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
  color: #1e293b;
}

p {
  margin-top: 0;
}

.hero {
  margin-bottom: 18px;
}

.hero-copy {
  max-width: 960px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 18px;
  line-height: 1.6;
  max-width: 920px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.section {
  margin-top: 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.section-header {
  max-width: 840px;
  margin-bottom: 22px;
}

.section-kicker {
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-text {
  margin-bottom: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.feature-grid,
.audience-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.audience-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.feature-card p,
.audience-card p {
  margin-bottom: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.trust-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.trust-note {
  margin-top: 18px;
  margin-bottom: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  max-width: 860px;
}

.pricing-card {
  max-width: 480px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbe3ee;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.pricing-card-top {
  margin-bottom: 18px;
}

.pricing-subtext {
  margin-bottom: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.pricing-price-wrap {
  margin-bottom: 18px;
}

.pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.pricing-list {
  margin: 0;
  padding-left: 20px;
}

.pricing-list li {
  margin-bottom: 10px;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 30px 28px;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-banner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 14px 22px;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.cta-link:hover {
  opacity: 0.96;
}

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  border: 1px solid #e5e7eb;
  margin-top: 22px;
  width: 100%;
  max-width: 100%;
}

.form-header {
  margin-bottom: 20px;
}

.form-header h2 {
  margin-bottom: 10px;
}

.form-intro {
  margin-bottom: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #1f2937;
}

input,
select {
  padding: 14px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 15px;
  background: #ffffff;
  color: #111827;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
  min-height: 50px;
}

input::placeholder {
  color: #94a3b8;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
  background: #ffffff;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

button {
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.08s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

button:hover {
  opacity: 0.97;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.form-trust-note {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  max-width: 780px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
}

.summary-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.summary-card .label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}

.summary-card .value {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  text-align: center;
}

#results,
#premium-cta,
#summary-cards {
  width: 100%;
  max-width: 100%;
}

#visual-results {
  margin-top: 8px;
}

.visual-card {
  overflow: hidden;
}

.chart-wrap {
  width: 100%;
  overflow-x: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  box-sizing: border-box;
}

.chart-wrap canvas {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

#buyer-insight-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.buyer-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.buyer-insight-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
}

.buyer-insight-label {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}

.buyer-insight-value {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.buyer-insight-notes {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.buyer-insight-notes p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

#premium-cta {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbe3ee;
  border-radius: 20px;
  padding: 28px;
  box-shadow: none;
}

#premium-cta h3 {
  margin-bottom: 10px;
}

#premium-cta p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 18px;
}

#risk-highlights {
  margin-top: 18px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

#risk-highlights h3 {
  margin-bottom: 10px;
}

#risk-highlights p,
#risk-highlights li {
  color: #374151;
  font-size: 16px;
  line-height: 1.65;
}

#risk-highlights ul {
  margin: 8px 0 0 18px;
  padding-left: 16px;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #0f172a;
  color: #e5e7eb;
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
}

.hidden {
  display: none;
}

.footer {
  margin-top: 28px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .feature-grid,
  .audience-grid,
  .trust-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-link {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 20px auto 40px;
    padding: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 17px;
  }

  .section,
  .card {
    padding: 18px;
    border-radius: 16px;
  }

  .summary-card .value,
  .buyer-insight-value,
  .pricing-price {
    font-size: 18px;
  }

  button {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .form-trust-note {
    font-size: 13px;
  }

  .chart-wrap {
    padding: 10px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badge,
  .trust-item {
    font-size: 12px;
  }
}
