/* Unavoidable Marketing - Landing Pages Stylesheet
   Dark-mode neon brand, editorial typography */

:root {
  --bg: #000000;
  --bg-soft: #0a0a0f;
  --bg-card: #0f0f17;
  --bg-elevated: #14141d;
  --border: rgba(168, 85, 247, 0.15);
  --border-strong: rgba(168, 85, 247, 0.35);
  --text: #ffffff;
  --text-muted: #a1a1b8;
  --text-dim: #6b6b80;
  --purple: #A855F7;
  --blue: #3B82F6;
  --magenta: #EC4899;
  --success: #10b981;
  --warn: #f59e0b;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter Tight', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(236, 72, 153, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 400; margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.0625rem; font-family: var(--body); font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-muted); max-width: 65ch; }

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--magenta); }

/* Layout containers */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: clamp(4rem, 10vh, 8rem) 0;
  position: relative;
}

/* Header */
.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header img { height: 36px; }

.header-cta {
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  transition: all 0.2s;
}

.header-cta:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.1);
  color: var(--text);
}

/* Hero */
.hero {
  padding: clamp(4rem, 8vh, 7rem) 0 clamp(3rem, 6vh, 5rem);
  text-align: left;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--purple);
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  max-width: 58ch;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.95rem 1.75rem;
  border-radius: 100px;
  transition: all 0.25s;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: var(--text);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.08);
  color: var(--text);
}

.btn-large {
  padding: 1.15rem 2.25rem;
  font-size: 1rem;
}

/* Audit tool card */
.audit-tool {
  margin: 0 auto clamp(3rem, 6vh, 5rem);
  max-width: 920px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), rgba(59, 130, 246, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.audit-tool::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent 70%);
  pointer-events: none;
}

.audit-tool > * { position: relative; z-index: 1; }

.audit-tool .label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.audit-tool .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
}

.audit-tool .badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--magenta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.audit-tool .meta { font-size: 0.8125rem; color: var(--text-dim); }

.audit-tool h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.audit-tool p.sub {
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  max-width: 60ch;
}

.audit-form {
  display: grid;
  gap: 1rem;
}

.audit-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.audit-form .row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .audit-form .row-2, .audit-form .row-3 { grid-template-columns: 1fr; }
}

.audit-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.audit-form input,
.audit-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.audit-form input:focus,
.audit-form select:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.05);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.audit-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A855F7' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color-scheme: dark;
}

.audit-form select option {
  background-color: #14141d;
  color: #ffffff;
  padding: 0.5rem;
}

.audit-form select option:hover,
.audit-form select option:focus,
.audit-form select option:checked {
  background-color: #A855F7;
  color: #ffffff;
}

.audit-form button {
  margin-top: 0.5rem;
  padding: 1.05rem 2rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: var(--text);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s;
}

.audit-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.35);
}

.audit-form .legal {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  max-width: none;
}

/* Section heading block */
.section-heading {
  margin-bottom: 3rem;
  max-width: 720px;
}

.section-heading .eyebrow { margin-bottom: 1rem; }
.section-heading p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.stat-item .num {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
}

.stat-item .lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Feature list */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

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

.feature-cell {
  padding: 2rem;
  background: var(--bg-card);
  transition: background 0.25s;
}

.feature-cell:hover { background: var(--bg-elevated); }

.feature-cell .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--purple);
}

.feature-cell h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.feature-cell p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

/* Comparison table */
.comparison {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 0.9375rem;
}

.comparison th,
.comparison td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison thead th {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-elevated);
}

.comparison thead th.us {
  color: var(--magenta);
}

.comparison tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}

.comparison tbody tr:last-child td { border-bottom: none; }

.tick { color: var(--success); font-weight: 700; }
.cross { color: var(--text-dim); }

.us-col {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06), rgba(236, 72, 153, 0.03));
  color: var(--text);
  font-weight: 500;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.price-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
}

.price-card.featured {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06), var(--bg-card));
}

.price-card .tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
}

.price-card h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.price-card .price {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.price-card .price .from {
  font-size: 0.9375rem;
  font-family: var(--body);
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.4rem;
}

.price-card .price .per {
  font-size: 1.0625rem;
  font-family: var(--body);
  color: var(--text-muted);
}

.price-card .desc {
  font-size: 0.9375rem;
  margin: 1.25rem 0 1.75rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.price-card ul li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.price-card ul li:last-child { border-bottom: none; }

.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
}

.price-card .btn { width: 100%; justify-content: center; }

/* Testimonial */
.testimonial {
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 2rem;
  font-family: var(--display);
  font-size: 8rem;
  line-height: 1;
  color: var(--purple);
  opacity: 0.3;
}

.testimonial blockquote {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial cite strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

/* Process / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 1.875rem;
  color: var(--purple);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; line-height: 1.55; }

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

details.faq {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

details.faq summary {
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: '+';
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--purple);
  transition: transform 0.25s;
  flex-shrink: 0;
}

details.faq[open] summary::after { transform: rotate(45deg); }

details.faq .answer {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: none;
}

details.faq .answer p { margin-bottom: 0.75rem; max-width: none; }
details.faq .answer p:last-child { margin-bottom: 0; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: clamp(4rem, 8vh, 6rem) 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.final-cta h2 {
  max-width: 24ch;
  margin: 0 auto 1.25rem;
}

.final-cta p {
  max-width: 56ch;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer img { height: 28px; margin-bottom: 1rem; opacity: 0.6; }
.site-footer p { font-size: 0.8125rem; color: var(--text-dim); margin: 0 auto; }
.site-footer p + p { margin-top: 0.5rem; }

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Results page specific */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

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

.result-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
}

.result-card .big {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.5rem;
}

.result-card .small {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.callout {
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border-left: 3px solid var(--purple);
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.callout strong { color: var(--text); }
