/* ─── Nimbus Leads — Premium ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --bg: #070B17;
  --bg-soft: #0D1321;
  --surface: #111827;
  --ink: #F0EDE8;
  --ink-soft: #A1A7B3;
  --ink-muted: #5E6575;
  --accent: #F0E6D8;
  --accent-hover: #E5D9C8;
  --rule: rgba(255,255,255,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Typography ─── */
.display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1.display { font-size: clamp(3rem, 7vw, 6.5rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 4rem); }
h3.display { font-size: clamp(1.4rem, 2.5vw, 2.2rem); }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.body-lg {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 520px;
}

.body {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 480px;
}

.small { font-size: 0.85rem; color: var(--ink-muted); }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.narrow { max-width: 680px; }

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  background: linear-gradient(180deg, rgba(7,11,23,0.65) 0%, rgba(7,11,23,0.2) 70%, transparent 100%);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

nav.scrolled {
  background: rgba(7, 11, 23, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
}

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

.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(240, 237, 232, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.nav-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: #070B17;
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.nav-links a.nav-cta:hover {
  color: #070B17;
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,11,23,0.3) 0%, rgba(7,11,23,0.6) 50%, rgba(7,11,23,0.92) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.hero-inner .label {
  margin-bottom: 24px;
  display: block;
}

.hero-inner h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-inner .body-lg {
  color: rgba(240,237,232,0.75);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-gold {
  background: var(--accent);
  color: #000000;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-gold:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(240,230,216,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(240,237,232,0.2);
}

.btn-outline:hover {
  border-color: rgba(240,237,232,0.45);
  background: rgba(240,237,232,0.04);
  transform: translateY(-2px);
}

/* ─── Sections ─── */
section {
  padding: 160px 0;
  position: relative;
}

section + section {
  border-top: 1px solid var(--rule);
}

.section-head {
  margin-bottom: 80px;
}

.section-head .label { margin-bottom: 20px; display: block; }
.section-head h2 { margin-bottom: 20px; }

/* ─── Problem ─── */
.problem-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem-block p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 20px;
  line-height: 1;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.step p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ─── Pipeline ─── */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pipeline-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%);
}

.pipeline-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pipeline-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ─── Deliverables ─── */
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.deliverable {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}

.deliverable h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.deliverable p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ─── Use cases ─── */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.use-case {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.use-case h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.use-case p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ─── Table ─── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  white-space: nowrap;
}

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

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.tag-green { background: rgba(46,125,50,0.15); color: #81C784; }
.tag-amber { background: rgba(184,134,11,0.15); color: #FFD54F; }
.tag-red   { background: rgba(198,40,40,0.15); color: #EF5350; }

/* ─── Safety ─── */
.safety-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 48px;
  list-style: none;
}

.safety-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.safety-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

/* ─── Pricing ─── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-tier {
  padding: 40px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-tier:hover {
  transform: translateY(-4px);
  border-color: rgba(240,230,216,0.25);
}

.pricing-tier h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-tier .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.pricing-tier ul { list-style: none; }

.pricing-tier li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.pricing-tier li:last-child { border-bottom: none; }

.pricing-note {
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 720px;
}

/* ─── Founder accountability ─── */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.founder-photo {
  margin: 0;
}

.founder-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 34%;
}

.founder-photo figcaption {
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-copy .label {
  display: block;
  margin-bottom: 20px;
}

.founder-copy h2 {
  margin-bottom: 28px;
}

.founder-note {
  max-width: 560px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Simplified proof section ─── */
.sample-note {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.case-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 9vw, 128px);
  align-items: end;
  margin-bottom: clamp(112px, 14vw, 192px);
  padding-bottom: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.case-proof__metric,
.case-proof__story {
  padding: clamp(44px, 6vw, 72px) 0;
}

.case-proof__metric {
  padding-left: 14px;
}

.case-proof__metric strong,
.case-proof__metric span,
.case-proof__metric small {
  display: block;
}

.case-proof__metric strong {
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 18vw, 15rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.72;
}

.case-proof__metric span {
  margin-top: 34px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.case-proof__metric small {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-proof__story .label {
  display: block;
  margin-bottom: 20px;
}

.case-proof__story h2 {
  margin-bottom: 30px;
}

.case-proof__note {
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.proof-founder {
  margin-top: clamp(96px, 12vw, 160px);
  padding-top: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--rule);
}

.contact-email {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.contact-email:hover {
  color: var(--ink-soft);
}

.pricing--single {
  display: block;
}

.pricing-tier--primary {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
}

.pricing-tier--primary:hover {
  transform: none;
  border-color: var(--rule);
}

.pricing-tier--primary .price {
  margin: 14px 0 12px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.pricing-tier--primary .price span {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}

.price-summary {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.price-add-on {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.price-add-on strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.price-add-on span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* ─── Final CTA ─── */
.final-cta {
  text-align: center;
  padding: 160px 32px;
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta p {
  color: var(--ink-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Footer ─── */
footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
}

footer p { font-size: 0.8rem; color: var(--ink-muted); }

footer a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease;
}

footer a:hover { color: var(--ink-soft); }

/* ─── Homepage offers ─── */
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.offer-block {
  padding: 48px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.offer-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,230,216,0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.offer-block:hover {
  transform: translateY(-6px);
  border-color: rgba(240,230,216,0.25);
}

.offer-block:hover::before {
  opacity: 1;
}

.offer-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.offer-block p {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.offer-block .btn {
  padding: 12px 24px;
  font-size: 0.85rem;
}

/* ─── Image section (editorial) ─── */
.img-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.img-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.img-section-bg img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  position: absolute;
  top: -15%; left: 0;
  will-change: transform;
}

.img-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,23,0.95) 0%, rgba(7,11,23,0.7) 60%, rgba(7,11,23,0.3) 100%);
  z-index: 1;
}

.img-section-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

/* ─── Animation helpers ─── */
.gs-reveal {
  opacity: 1;
  transform: none;
}

.gs-reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
}

.gs-reveal-scale {
  opacity: 0;
  transform: scale(0.96);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .problem-block,
  .steps,
  .deliverables,
  .pipeline-grid,
  .pricing,
  .offers,
  .use-cases {
    grid-template-columns: 1fr;
  }
  .safety-list { grid-template-columns: 1fr; }
  .hero { padding-bottom: 80px; padding-top: 120px; }
  section { padding: 100px 0; }
  .offer-block { padding: 32px; }
  .pricing-tier { padding: 28px; }
  .pricing-tier--primary { grid-template-columns: 1fr; gap: 36px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 520px; }
  .case-proof { grid-template-columns: 1fr; gap: 0; }
  .case-proof__metric { padding-bottom: 16px; }
  .case-proof__story { padding-top: 36px; }
  .img-section-overlay {
    background: linear-gradient(180deg, rgba(7,11,23,0.92) 0%, rgba(7,11,23,0.75) 100%);
  }
  .img-section-inner { max-width: 100%; }
  .nav-links { display: none; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
  .container { padding: 0 20px; }
}
