/* Amplifi Landing Page — Warm off-white with layered depth, high contrast */

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

:root {
  --bg:          #f4f2ed;   /* warm off-white — much softer than stark white */
  --bg-card:     #ffffff;
  --bg-card2:    #eceae4;   /* warm gray for secondary surfaces */
  --border:      #ddd9d1;
  --text:        #1a2332;   /* darker, high-contrast body text */
  --text-muted:  #525c70;   /* darker muted text for better readability */
  --text-dim:    #8a93a8;
  --primary:     #0891b2;   /* cyan — trustworthy, approachable */
  --primary-h:   #0e7490;
  --primary-dim: rgba(8,145,178,0.08);
  --primary-glow:rgba(8,145,178,0.18);
  --green:       #059669;
  --green-dim:   rgba(5,150,105,0.10);
  --yellow:      #d97706;
  --red:         #dc2626;
  --font-display: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image: radial-gradient(ellipse at 10% 0%, rgba(8,145,178,0.05) 0%, transparent 55%),
                    radial-gradient(ellipse at 90% 80%, rgba(5,150,105,0.03) 0%, transparent 50%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(244,242,237,0.92);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg {
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 10px;
}

/* ─── Hero ─── */
.hero {
  padding: 80px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid rgba(8,145,178,0.18);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  color: var(--primary);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-input {
  flex: 1;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.hero-input::placeholder { color: var(--text-dim); }
.hero-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-dim), 0 2px 6px rgba(0,0,0,0.05); }
.hero-form-hint { color: var(--text-dim); font-size: 0.8rem; }

/* ─── Score Preview (right side) ─── */
.hero-visual {
  display: flex;
  justify-content: center;
}
.score-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
.score-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 16px;
}
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg {
  fill: none;
  stroke: var(--bg-card2);
  stroke-width: 10;
}
.ring-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease;
}
.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text);
  line-height: 1;
}
.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.score-preview-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.mini-scores { display: flex; flex-direction: column; gap: 10px; }
.mini-score {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}
.mini-label { color: var(--text-muted); font-size: 0.75rem; }
.mini-bar {
  height: 6px;
  background: var(--bg-card2);
  border-radius: 4px;
  overflow: hidden;
}
.mini-bar span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
}
.mini-bar span.green { background: var(--green); }
.mini-bar span.yellow { background: var(--yellow); }
.mini-bar span.red { background: var(--red); }
.mini-val { color: var(--text); font-size: 0.78rem; text-align: right; font-variant-numeric: tabular-nums; }

/* ─── What we check ─── */
.checks {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.checks-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 520px;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.check-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.check-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.04);
}
.check-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.check-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.check-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ─── Trust stats ─── */
.trust {
  padding: 60px 24px;
}
.trust-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-stat {
  flex: 1;
  min-width: 220px;
  text-align: center;
  padding: 24px 32px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.trust-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Social Proof / Testimonials ─── */
.social-proof {
  padding: 80px 24px;
}
.social-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-dim);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Proof bar — honest stats strip */
.proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 32px;
  gap: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  flex: 1;
  justify-content: center;
}

.proof-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.proof-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── CTA section ─── */
.cta-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.cta-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ─── Footer ─── */
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.footer p { color: var(--text-dim); font-size: 0.82rem; }

/* ─── Responsive ─── */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 20px 80px;
  }
  .hero-visual { display: none; }
  .hero-form-row { flex-direction: column; }
  .trust-divider { display: none; }
  .trust-stat { padding: 16px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .proof-bar { flex-direction: column; padding: 20px; gap: 16px; }
  .proof-divider { width: 80%; height: 1px; }
  .proof-item { padding: 0; justify-content: flex-start; }
}