/* ============================================================
   Instant Lead Relay — Global Stylesheet
   Replace: brand colors, fonts, or spacing as needed
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── CSS Variables ── */
:root {
  --ink:        #0f1117;
  --ink-soft:   #3a3d4a;
  --ink-muted:  #7a7f93;
  --canvas:     #fafaf8;
  --surface:    #ffffff;
  --surface-2:  #f3f3ef;
  --border:     #e4e4dc;

  --teal:       #0d9e8a;
  --teal-dark:  #0a7d6e;
  --teal-light: #e6f7f5;
  --amber:      #f59e0b;
  --amber-light:#fffbeb;
  --rose:       #e55a4e;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(15,17,23,0.06), 0 1px 2px rgba(15,17,23,0.04);
  --shadow:     0 4px 16px rgba(15,17,23,0.08), 0 2px 6px rgba(15,17,23,0.05);
  --shadow-lg:  0 16px 48px rgba(15,17,23,0.12), 0 4px 16px rgba(15,17,23,0.06);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w: 1120px;
  --section-pad: 96px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Layout Utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-pad); }
.section--dark { background: var(--ink); color: #fff; }
.section--teal { background: var(--teal); color: #fff; }
.section--soft { background: var(--surface-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

.display { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.7; max-width: 600px; }
.lead--center { margin: 0 auto; }
.muted { color: var(--ink-muted); font-size: 0.9rem; }

.highlight { color: var(--teal); }
.highlight-amber { color: var(--amber); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,158,138,0.3);
}
.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,158,138,0.35);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #1e2130;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.btn--lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 12px; align-items: center; }

/* ── Hero ── */
.hero {
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,158,138,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  border: 1px solid rgba(13,158,138,0.2);
  color: var(--teal-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero__headline { max-width: 780px; }
.hero__sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; margin-top: 20px; line-height: 1.7; }
.hero__ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; align-items: center; }
.hero__social-proof { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--canvas);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: -8px;
  color: var(--ink-soft);
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__proof-text { font-size: 0.85rem; color: var(--ink-muted); }
.hero__proof-text strong { color: var(--ink); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card--featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,158,138,0.12);
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card__icon--amber { background: var(--amber-light); }

/* ── Pricing Cards ── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--teal);
  background: var(--ink);
  color: #fff;
}
.pricing-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-card__price { font-family: var(--font-display); font-weight: 800; }
.pricing-card__price .amount { font-size: 3rem; }
.pricing-card__price .period { font-size: 1rem; opacity: 0.6; }
.pricing-card__divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.pricing-card--featured .pricing-card__divider { border-color: rgba(255,255,255,0.12); }

/* ── Check Lists ── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.check-list--light li::before {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── Testimonials ── */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial__quote { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.testimonial__name { font-weight: 600; font-size: 0.9rem; }
.testimonial__role { font-size: 0.8rem; color: var(--ink-muted); }
.stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 12px; }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.form-group label .required { color: var(--rose); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,158,138,0.1);
}
.form-control::placeholder { color: var(--ink-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.8rem; color: var(--ink-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow);
}

/* ── Comparison ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th {
  padding: 20px 24px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-align: left;
}
.compare-table th:first-child { background: var(--surface-2); color: var(--ink-muted); }
.compare-table th.featured { background: var(--teal); }
.compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.compare-table td:first-child { font-weight: 500; color: var(--ink-soft); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--teal); font-weight: 600; }
.compare-table .no { color: var(--ink-muted); }
.compare-table tr:hover td { background: var(--surface-2); }

/* ── Banner / Alert ── */
.banner {
  background: var(--amber-light);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.banner--teal {
  background: var(--teal-light);
  border-color: rgba(13,158,138,0.2);
  color: var(--teal-dark);
}

/* ── Section Headers ── */
.section-header { max-width: 640px; }
.section-header--center { margin: 0 auto; text-align: center; }
.section-header p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; }

/* ── Progress Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.step__content h4 { margin-bottom: 6px; }
.step__content p { color: var(--ink-soft); font-size: 0.95rem; }

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}
.footer__inner { max-width: var(--max-w); margin: 0 auto; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.footer__tagline { font-size: 0.9rem; line-height: 1.6; }
.footer__heading { color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.9rem; transition: color 0.15s; }
.footer__links a:hover { color: #fff; }
.footer__divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 40px 0 24px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: #fff; }

/* ── Tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag--teal { background: var(--teal-light); color: var(--teal-dark); }
.tag--amber { background: var(--amber-light); color: #92400e; }
.tag--dark { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

/* ── Upsell Bar ── */
.upsell-bar {
  background: linear-gradient(135deg, var(--ink) 0%, #1e2b3a 100%);
  color: #fff;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.95rem;
}
.upsell-bar strong { color: var(--amber); }
.upsell-bar a { color: var(--teal-light); text-decoration: underline; font-weight: 600; }

/* ── Thank You Page ── */
.thank-you-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 32px;
}

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up { animation: fadeUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile ── */
@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 14px 14px; }
  .form-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 24px; }
}
