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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================
   HEADER & NAV
   ============================ */

.site-header {
  background-color: #020617;
  color: #e5e7eb;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

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

/* Header logo (image + text) */
.logo .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 36px;      /* controls how big the logo appears */
  width: auto;
  display: block;
}

.brand-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: #e5e7eb;    /* header text color */
  line-height: 1.1;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #22d3ee;
  color: #e5e7eb;
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  padding: 6px;
  margin-left: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 5px;
}

/* ============================
   HERO
   ============================ */

.hero {
  padding: 64px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1.05rem;
  color: #334155;
  max-width: 520px;
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.hero-bullets li {
  margin-right: 16px;
  font-size: 0.95rem;
  background-color: #e0f2fe;
  color: #1d4ed8;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-cta .btn + .btn {
  margin-left: 10px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card,
.flow-card {
  background-color: #020617;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 16px;
}

.stat-label {
  font-size: 0.9rem;
  color: #9ca3af;
}

.stat-value {
  font-size: 2rem;
  margin: 8px 0 4px;
}

.stat-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

.flow-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.flow-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
}

/* ============================
   SECTIONS & GRID
   ============================ */

.section {
  padding: 56px 0;
}

/* NOTE: your HTML uses .section-alt, so this is separate */
.section.alt {
  background-color: #e5f0ff;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
}

.lead {
  font-size: 1.05rem;
  color: #475569;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ============================
   CARDS (GLOBAL)
   ============================ */

.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
}

.center {
  text-align: center;
}

.note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #64748b;
}

/* ============================
   QUICK-START OFFERS (NEW)
   ============================ */

/* 3-column layout on desktop */
.offers-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Make offer cards equal height with button pinned at bottom */
.card-offer {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-offer .card-header {
  margin-bottom: 0.75rem;
}

.card-offer .card-body {
  flex: 1 1 auto;
}

.card-offer .card-footer {
  margin-top: 1.25rem;
}

/* Center footer content */
.card-footer.center {
  display: flex;
  justify-content: center;
}

/* Button style for offers */
.btn-offer {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;          /* full width within card */
  max-width: 280px;     /* not too wide on large screens */
  padding-inline: 1.75rem;
  text-align: center;
  white-space: normal;  /* allow wrapping on smaller screens */
}

/* ============================
   BUTTONS
   ============================ */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  color: #f9fafb;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #2563eb;
  color: #2563eb;
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

/* ============================
   PRICING PREVIEW (HOME)
   ============================ */

.pricing-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 32px 0 24px;
}

.pricing-card {
  background-color: #ffffff;
  padding: 18px 18px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

/* Make pricing cards flexible for full pricing page too */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .price {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 4px 0 4px;
}

.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
}

.pricing-card .desc {
  font-size: 0.9rem;
  color: #64748b;
}

/* Featured pricing */
.pricing-card.featured {
  border: 1px solid #2563eb;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18);
}

/* ============================
   PRICING GRID (PRICING PAGE)  NEW
   ============================ */

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

/* ============================
   BIG CTA BAND
   ============================ */

.cta {
  background-color: #020617;
  color: #e5e7eb;
}

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

.cta h2 {
  margin-bottom: 6px;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 18px 0 22px;
  margin-top: 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
}

.footer-inner .tagline {
  margin-top: 6px;
  color: #6b7280;
}

/* ============================
   ABOUT & CONTACT LAYOUT
   ============================ */

.narrow {
  max-width: 760px;
}

.highlight {
  background-color: #eff6ff;
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 3px solid #2563eb;
}

/* Contact form */
.contact-form {
  margin-top: 24px;
}

.form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #475569;
}

input[type="text"],
input[type="email"],
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 0.95rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 10px;
}

/* Flash messages */
.flash-wrapper {
  margin-top: 16px;
}

.flash {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.flash-success {
  background-color: #dcfce7;
  color: #166534;
}

/* ============================
   CTA SECTION UNDER HERO
   ============================ */

.cta-section {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 8px;
}

.cta-section p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  color: #475569;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================
   RESULTS PAGE: STATS, CARDS, TESTIMONIALS
   ============================ */

/* Top stats row on Results */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Reuse .stat-card base, but tighten look in stats grid */
.stats-grid .stat-card {
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  text-align: left;
}

.stats-grid .stat-card h2 {
  font-size: 1.3rem;
  margin: 0 0 6px;
}

.stats-grid .stat-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Intro paragraph before case studies */
.section-intro {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 1rem;
  color: #475569;
}

/* Case study cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 8px;
}

.card-list {
  padding-left: 18px;
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #334155;
}

.card-result {
  font-size: 0.9rem;
  color: #0f172a;
  margin: 0;
}

/* Testimonials layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.testimonial {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.testimonial blockquote {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #0f172a;
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #111827;
}

.testimonial-role {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}

/* ============================
   WORKFLOW CHECKLIST LANDING
   ============================ */

/* Simpler internal hero (single column, centered) */
.hero-internal {
  background-color: #f8fafc;
}

.hero-simple {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Checklist main section */
.checklist-section {
  text-align: center;
}

/* Optional mockup image */
.checklist-mockup {
  max-width: 260px;
  margin: 0 auto 20px;
  display: block;
}

/* Intro text under image */
.checklist-intro {
  margin-top: 4px;
  margin-bottom: 20px;
}

/* Form layout */
.download-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

/* Make the button span full width of the form */
.btn-full {
  width: 100%;
  text-align: center;
}

/* Small tweak to note text */
.checklist-note {
  margin-top: 18px;
}


/* ============================
   RESPONSIVE TWEAKS
   ============================ */

/* Grid responsiveness for offers & pricing */
@media (max-width: 1024px) {
  .offers-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .offers-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Header layout tweaks */
  .nav-container {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #020617;
    padding: 10px 16px 14px;
    display: none;              /* hidden by default on mobile */
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-bottom: 1px solid #0f172a;
  }

  .main-nav a {
    margin-left: 0;
    font-size: 0.95rem;
    padding: 4px 0;
  }

  .main-nav .nav-cta {
    margin-top: 4px;
    padding: 8px 14px;
    width: auto;
  }

  /* When toggled open via JS */
  .main-nav.is-open {
    display: flex;
  }

  /* Make sure CTA section has nice breathing room on mobile */
  .cta-section {
    padding: 0 8px;
  }

  /* Slightly more breathing room on small screens for Results cards */
  .stats-grid .stat-card,
  .testimonials-grid .testimonial {
    padding: 18px;
  }
}
