/* ============================================================
   KickAnswer — Main Stylesheet
   kickanswer.com
   ============================================================ */

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

:root {
  /* Backgrounds */
  --bg:       #07070e;
  --surface:  #0d0d18;
  --surface2: #11111e;
  --surface3: #171726;

  /* Borders */
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);

  /* Accent */
  --accent:      #7c5cfc;
  --accent2:     #06b6d4;
  --accent-dim:  rgba(124,92,252,0.15);
  --accent-glow: rgba(124,92,252,0.22);
  --accent-ring: rgba(124,92,252,0.35);

  /* Text */
  --text:   #eeeef5;
  --body:   #9090b8;
  --faint:  #4a4a72;
  --success: #10b981;
  --warn:    #f59e0b;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sp:   104px;
  --max:  1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--sp) 0; }

/* ---- Type scale ---- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(40px, 5.8vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(17px, 1.4vw, 20px); }

p   { color: var(--body); line-height: 1.7; }
em  { font-style: normal; }

/* ---- Gradient text ---- */
.gradient-text {
  background: linear-gradient(120deg, #9b80ff 10%, #5edcf8 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section label ---- */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 14px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .18s, box-shadow .18s, transform .15s, border-color .18s, color .18s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 32px var(--accent-glow);
}
.btn-primary:hover {
  background: #9270ff;
  box-shadow: 0 0 52px rgba(124,92,252,.36);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: #9270ff;
  background: var(--accent-dim);
}
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ============================================================
   HERO ENTRANCE ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .badge          { animation: fadeUp .55s .00s ease both; }
.hero h1              { animation: fadeUp .55s .08s ease both; }
.hero .hero-sub       { animation: fadeUp .55s .16s ease both; }
.hero .hero-actions   { animation: fadeUp .55s .24s ease both; }
.hero .trust-bar      { animation: fadeUp .55s .32s ease both; }
.ai-preview-wrap      { animation: fadeUp .65s .42s ease both; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,14,.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.035em;
}
.logo span { color: #9b80ff; }
.nav-right  { display: flex; align-items: center; gap: 28px; }
.nav-link   {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color .15s;
}
.nav-link:hover { color: var(--text); }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 116px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* dot grid */
  background-image:
    radial-gradient(ellipse 900px 600px at 50% -60px, rgba(124,92,252,.10), transparent),
    radial-gradient(circle, rgba(124,92,252,.09) 1px, transparent 1px);
  background-size: auto, 28px 28px;
}

.hero-container { position: relative; z-index: 1; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9b80ff;
  margin-bottom: 28px;
}

.hero h1 { margin-bottom: 22px; }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--body);
  max-width: 520px;
  margin: 0 auto 40px;
}
.hero-sub em { color: var(--text); font-weight: 600; }

/* CTA row */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-action-note {
  font-size: 13px;
  color: var(--faint);
}

/* Trust bar */
.trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px 8px 12px;
}
.trust-avatars {
  display: flex;
  gap: -4px; /* overlapping handled by margin below */
}
.trust-av, .author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--av-bg, #7c5cfc);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface2);
  margin-left: -6px;
  flex-shrink: 0;
}
.trust-av:first-child { margin-left: 0; }

.trust-text {
  font-size: 13px;
  color: var(--body);
}
.trust-text strong { color: var(--text); }

/* AI window preview */
.ai-preview-wrap {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.ai-window {
  width: 100%;
  max-width: 600px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.04),
    0 0 60px rgba(124,92,252,.08);
}

.ai-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface3);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.ai-dots { display: flex; gap: 7px; align-items: center; }
.ai-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.ai-app-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
}
.ai-spacer { flex: 1; }

.ai-content { background: var(--surface); padding: 24px; text-align: left; }

.ai-prompt-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.ai-prompt-icon {
  font-size: 14px;
  color: var(--faint);
  flex-shrink: 0;
  margin-top: 1px;
}
.ai-prompt-text {
  font-size: 14px;
  color: var(--body);
  font-style: italic;
}

.ai-hidden { opacity: 0; visibility: hidden; }
.ai-response { display: flex; gap: 14px; align-items: flex-start; transition: opacity 0.5s ease; }

.ai-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--text);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.9s step-end infinite;
}
.ai-cursor.hidden { display: none; }
@keyframes cursor-blink { 50% { opacity: 0; } }

.ai-typing {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 6px 0 2px;
}
.ai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  animation: typing-bounce 1.1s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay: 0.18s; }
.ai-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}
.ai-response-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c5cfc, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-response-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
}

.ai-mention {
  color: var(--text);
  font-weight: 700;
  background: rgba(124,92,252,.18);
  padding: 1px 6px;
  border-radius: 5px;
}

.ai-sources-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ai-source-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}

.ai-caption-bar {
  background: rgba(124,92,252,.08);
  border-top: 1px solid rgba(124,92,252,.2);
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  color: #9b80ff;
  text-align: left;
}

/* ============================================================
   PROBLEM
============================================================ */
.problem {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem h2 { margin-bottom: 56px; }

/* Editorial stats — no card borders */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0 48px;
  margin-bottom: 60px;
  align-items: start;
}

.stat-vdivider { background: var(--border-strong); }

.stat-col { padding: 8px 0; }

.stat-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  margin-bottom: 22px;
}

.stat-big {
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.stat-plus { font-size: .55em; vertical-align: super; line-height: 0; }

.stat-col p.stat-desc { font-size: 15px; line-height: 1.6; }

/* Quote */
.problem-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 28px;
  max-width: 680px;
}
.problem-quote p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 12px;
}
.problem-quote p em  { color: #9b80ff; font-weight: 600; }
.problem-quote cite  { font-size: 13px; color: var(--faint); font-style: normal; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.how { background: var(--bg); }
.how h2 { margin-bottom: 56px; }

.steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: stretch;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.step:hover {
  border-color: rgba(124,92,252,.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(124,92,252,.3);
  color: #9b80ff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 { color: var(--text); margin-bottom: 12px; }
.step p   { font-size: 14px; }

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  padding-top: 58px; /* aligns with step circle center */
  gap: 0;
  position: relative;
}
.connector-line {
  width: 100%;
  height: 1px;
  background: var(--border-strong);
}
.connector-arrow {
  font-size: 18px;
  color: var(--faint);
  margin-top: -12px;
  background: var(--bg);
  padding: 0 4px;
}

/* ============================================================
   SERVICES / PRICING
============================================================ */
.services { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services h2 { margin-bottom: 48px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* Full retainer card — premium but distinct from Sprint featured */
.pricing-card-full {
  background: var(--surface2);
  border: 1px solid rgba(6,182,212,.35);
  box-shadow: 0 0 0 3px rgba(6,182,212,.08), 0 20px 48px rgba(0,0,0,.25);
}
.pricing-card-full .pricing-tier { color: var(--accent2); }

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.pricing-card:not(.featured):hover {
  border-color: var(--border-strong);
}

/* Featured card — visually distinct */
.pricing-card.featured {
  background: var(--surface2);
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 4px var(--accent-dim),
    0 24px 64px rgba(124,92,252,.18);
  transform: translateY(-10px);
  z-index: 1;
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), #9b80ff);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}

.pricing-card h3 { font-size: 22px; color: var(--text); margin-bottom: 6px; }

.pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.035em;
  margin: 16px 0;
  line-height: 1;
}
.price-period { font-size: 18px; color: var(--body); font-weight: 500; letter-spacing: 0; }
.pricing-onboarding { font-size: 12px; color: var(--faint); margin-top: 4px; margin-bottom: 4px; }
.pricing-commitment { font-size: 12px; color: var(--accent2); margin-bottom: 16px; font-weight: 500; }

.pricing-desc { font-size: 14px; margin-bottom: 24px; min-height: 0; }

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--bg); }
.testimonials h2 { margin-bottom: 48px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color .2s, transform .2s;
}
.testimonial:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.testimonial-stars {
  font-size: 14px;
  color: var(--warn);
  letter-spacing: 2px;
}

.testimonial blockquote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  font-style: normal;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,.06);
  margin-left: 0;
  flex-shrink: 0;
}

.author-name { font-size: 14px; font-weight: 700; color: var(--text); }
.author-role { font-size: 13px; color: var(--faint); margin-top: 2px; }

/* ============================================================
   AUDIT FORM
============================================================ */
.audit {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.audit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.audit-copy h2 { margin-bottom: 16px; }
.audit-copy > p { font-size: 16px; margin-bottom: 32px; }

.audit-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.audit-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--body);
}
.check-icon {
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.audit-risk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--faint);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  width: fit-content;
}
.risk-icon { font-size: 14px; }

/* Form card */
.audit-form-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px 36px;
}

.form-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.form-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.form-card-header h3 { color: var(--text); margin-bottom: 4px; }
.form-card-header p  { font-size: 13px; }

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}

.form-group input,
.form-group select {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  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 d='M1 1l5 5 5-5' stroke='%234a4a72' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-group select option { background: var(--surface2); color: var(--text); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder { color: var(--faint); }

.field-optional { font-size: 12px; color: var(--faint); font-weight: 400; }

.form-disclaimer {
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin-top: 4px;
}

/* ============================================================
   PRE-FOOTER CTA STRIP
============================================================ */
.cta-strip {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 100%, rgba(124,92,252,.10), transparent),
    var(--bg);
  border-top: 1px solid rgba(124,92,252,.15);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip-copy h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 8px; }
.cta-strip-copy p  { font-size: 16px; }

/* ============================================================
   FOOTER
============================================================ */
.footer { padding: 60px 0 36px; border-top: 1px solid var(--border); }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; margin-top: 10px; }
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom span { font-size: 13px; color: var(--faint); }

/* ============================================================
   DEFINITIONS STRIP
============================================================ */
.definitions {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.def-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0 36px;
  align-items: center;
}
.def-vdivider { background: var(--border-strong); align-self: stretch; }
.def-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.def-term {
  font-size: 13px;
  font-weight: 800;
  color: #9b80ff;
  letter-spacing: .05em;
  white-space: nowrap;
}
.def-sep { color: var(--faint); font-size: 13px; }
.def-item p.def-text { font-size: 13px; color: var(--body); line-height: 1.5; margin: 0; }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.compare-wrap {
  overflow-x: auto;
  margin-bottom: 52px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--surface2);
  font-size: 13px;
  font-weight: 700;
  color: var(--body);
}
.compare-table thead th span { display: block; font-size: 11px; font-weight: 400; color: var(--faint); margin-top: 2px; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(odd) td { background: rgba(255,255,255,.01); }
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.compare-table td { color: var(--body); }

.th-highlight { color: #9b80ff !important; }
.td-highlight { color: var(--text) !important; }
.td-win {
  color: var(--success) !important;
  font-weight: 600;
}

/* ============================================================
   FAQ
============================================================ */
.faq { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq h2 { margin-bottom: 48px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item {
  background: var(--bg);
  padding: 28px 32px;
  transition: background .2s;
}
.faq-item:hover { background: var(--surface2); }
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-item p { font-size: 14px; line-height: 1.7; }

/* ============================================================
   FOOTER ADDITIONS
============================================================ */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-author { font-size: 13px; color: var(--faint); }
.footer-author strong { color: var(--body); }
.footer-author a { color: var(--body); text-decoration: none; }
.footer-author a:hover { color: var(--text); }
.footer-updated { font-size: 12px; color: var(--faint); }

/* ============================================================
   METHODOLOGY
============================================================ */
.methodology {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.method-intro {
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 48px;
}

/* Fail cards */
.fail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.fail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.fail-card:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

.fail-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.fail-card h3 { color: var(--text); margin-bottom: 12px; }
.fail-card p  { font-size: 14px; }

/* Citation Architecture Framework block */
.framework-block {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  /* subtle left accent */
  border-left: 3px solid var(--accent);
}

.framework-header {
  padding: 40px 40px 32px;
  border-bottom: 1px solid var(--border);
}

.framework-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

.framework-header h3 {
  font-size: clamp(20px, 2vw, 26px);
  color: var(--text);
  margin-bottom: 12px;
}

.framework-header p {
  font-size: 15px;
  max-width: 640px;
}

/* Layers */
.framework-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--border);
}

.framework-layer {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}
.framework-layer:last-child { border-right: none; }

.layer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layer-tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px;
  transition: border-color .15s, color .15s;
  cursor: default;
}
.layer-tags span:hover {
  border-color: rgba(124,92,252,.35);
  color: var(--text);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  :root { --sp: 72px; }

  .stats-row    { grid-template-columns: 1fr; gap: 36px 0; }
  .stat-vdivider { display: none; }

  .steps        { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }

  .fail-grid         { grid-template-columns: 1fr; }
  .framework-layers  { grid-template-columns: 1fr; }
  .framework-layer   { border-right: none; border-bottom: 1px solid var(--border); }
  .framework-layer:last-child { border-bottom: none; }
  .framework-header  { padding: 28px 24px 24px; }

  .def-row           { grid-template-columns: 1fr; gap: 20px 0; }
  .def-vdivider      { display: none; }

  .faq-grid          { grid-template-columns: 1fr; }

  .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 8px; }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; box-shadow: 0 0 0 3px var(--accent-dim); }

  .testimonials-grid { grid-template-columns: 1fr; }

  .audit-inner  { grid-template-columns: 1fr; gap: 48px; }

  .cta-strip-inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 640px) {
  :root { --sp: 56px; }

  .hero { padding: 80px 0 60px; }

  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }

  .nav-link   { display: none; }

  .audit-form-card { padding: 28px 22px; }

  .footer-top  { flex-direction: column; gap: 24px; }
  .footer-nav  { flex-direction: column; align-items: flex-start; gap: 14px; }

  .pricing-grid { grid-template-columns: 1fr; }
}
