/*
  Nudge to Success AI — Stylesheet
  Design: "Steady Ground" — Confident American Service Business
  Colors: Warm off-white #F8F6F1 | Deep slate #2C3540 | Amber #E8A020 | Dark #1E2A35
  Typography: Playfair Display (headings) + Lato (body)
*/

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

:root {
  --off-white: #F8F6F1;
  --warm-white: #FFFFFF;
  --slate: #2C3540;
  --slate-mid: #4A5568;
  --dark: #1E2A35;
  --darker: #141C24;
  --amber: #E8A020;
  --amber-dark: #C88A10;
  --amber-faint: rgba(232,160,32,0.08);
  --border: #D8D4CC;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--off-white);
  line-height: 1.7;
  font-size: 17px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(30, 42, 53, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-ai {
  display: inline-block;
  background: var(--amber);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7em;
  padding: 1px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 3px;
  letter-spacing: 0.05em;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn-amber {
  background: var(--amber);
  color: var(--dark);
}
.btn-amber:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}
.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663430153795/8NAgVogCzdE2dwdxPFKmdd/nudge-hero-bg-EgmRDzoDX7KRGCsGaWU6k9.webp');
  background-size: cover;
  background-position: center 20%;
  padding-top: 64px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,28,36,0.88) 55%, rgba(20,28,36,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-light { background: var(--warm-white); }
.section-offwhite { background: var(--off-white); }
.section-dark { background: var(--dark); }

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

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.label-light { color: var(--amber); }

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.heading-light { color: #fff; }

.section-intro {
  font-size: 1.1rem;
  color: var(--slate-mid);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── PROBLEM ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.problem-item {
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: 4px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.problem-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.problem-bar {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--amber);
}
.problem-item h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.6rem;
}
.problem-item p {
  font-size: 0.95rem;
  color: var(--slate-mid);
  line-height: 1.65;
}

/* ── INSIGHT ── */
.insight-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.insight-image-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.insight-image { width: 100%; display: block; }
.insight-text p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.insight-quote {
  border-left: 3px solid var(--amber);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.95);
  line-height: 1.5;
}

/* ── SOLUTION ── */
.solution-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.solution-text p {
  color: var(--slate-mid);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.solution-text strong { color: var(--slate); }
.highlight-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}
.highlight-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.highlight-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--amber);
  color: var(--dark);
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.highlight-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.3rem;
}
.highlight-card p {
  font-size: 0.9rem;
  color: var(--slate-mid);
  line-height: 1.55;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}
.step-card {
  position: relative;
  padding: 2rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.step-number {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  color: var(--amber-faint);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  line-height: 1;
  user-select: none;
  color: rgba(232,160,32,0.12);
  font-size: 6rem;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.75rem;
  position: relative;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--slate-mid);
  line-height: 1.65;
  position: relative;
}

/* ── WHO IT'S FOR ── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.who-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.who-title-yes { color: var(--slate); }
.who-title-no { color: var(--slate-mid); }
.who-list {
  list-style: none;
  padding: 0;
}
.who-list li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  font-size: 0.98rem;
  color: var(--slate-mid);
  border-bottom: 1px solid var(--border);
}
.who-yes .who-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.who-no .who-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #999;
  font-weight: 700;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-text {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.author-name {
  font-weight: 700;
  color: var(--amber);
  font-size: 0.95rem;
}
.author-title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
}

/* ── FINAL CTA ── */
.section-cta {
  position: relative;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663430153795/8NAgVogCzdE2dwdxPFKmdd/nudge-hero-bg-EgmRDzoDX7KRGCsGaWU6k9.webp');
  background-size: cover;
  background-position: center 30%;
  padding: 7rem 0;
  text-align: center;
}
.cta-overlay {
  background: linear-gradient(to bottom, rgba(20,28,36,0.88), rgba(20,28,36,0.92));
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.25;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

/* ── FOOTER ── */
.footer {
  background: var(--darker);
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-brand {
  font-family: var(--font-head);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── FADE-IN ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .insight-layout,
  .solution-layout,
  .who-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .problem-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2rem; }
  .nav-inner { padding: 0 1rem; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
}
