/* ============================================================
   Web Devil Studios — Funnel Stylesheet
   Mobile-first. Clean, professional, conversion-focused.
   Brand: navy/slate + crimson accent (subtle nod to "devil").
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-bg-dark-alt: #1e293b;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-text-on-dark: #f1f5f9;
  --color-text-on-dark-muted: #cbd5e1;
  --color-border: #e2e8f0;
  --color-accent: #dc2626;
  --color-accent-hover: #b91c1c;
  --color-accent-soft: #fef2f2;
  --color-success: #059669;
  --color-success-soft: #ecfdf5;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 8px 24px rgba(220, 38, 38, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container: 1140px;
  --container-narrow: 760px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition: 180ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--container-narrow); }

section { padding: 80px 0; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-width: 0;
}
.nav__brand:hover { color: var(--color-text); }

/* On the smallest screens, shrink the brand wordmark so the nav CTA fits */
.nav__brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 400px) {
  .nav__brand-text { font-size: 0.95rem; }
}

.nav__brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__links {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--color-text); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

/* Compact button variant — used in the sticky nav so the brand never wraps */
.btn--compact {
  padding: 10px 16px;
  font-size: 0.9rem;
}
@media (min-width: 600px) {
  .btn--compact { padding: 12px 22px; font-size: 0.95rem; }
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--secondary:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-color: var(--color-text-light);
}

.btn--large {
  padding: 16px 24px;
  font-size: 1rem;
}
@media (min-width: 600px) {
  .btn--large { padding: 18px 36px; font-size: 1.1rem; }
}

.btn--block { width: 100%; }

.btn__arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at top right, rgba(220, 38, 38, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(15, 23, 42, 0.04), transparent 60%),
    var(--color-bg);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 2rem;
  margin-bottom: 20px;
  max-width: 720px;
}
.hero__title-accent { color: var(--color-accent); }

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 24px;
}
.hero__ctas .btn { width: 100%; }
@media (min-width: 600px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero__ctas .btn { width: auto; }
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.hero__trust-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

@media (min-width: 768px) {
  .hero { padding: 120px 0 100px; }
  .hero__title { font-size: 3.5rem; }
  .hero__subtitle { font-size: 1.3rem; }
}

/* ============================================================
   Problem / Pain section
   ============================================================ */
.problem {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
.problem h2 { color: var(--color-text-on-dark); }
.problem p { color: var(--color-text-on-dark-muted); }

.problem__stat {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.problem__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}
.problem__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-on-dark-muted);
  font-size: 1.05rem;
}
.problem__list li::before {
  content: "✕";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   Section heading helper
   ============================================================ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.15rem; }

/* ============================================================
   Offer Stack (what you get)
   ============================================================ */
.offer { background: var(--color-bg-alt); }

.offer__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .offer__grid { grid-template-columns: repeat(3, 1fr); }
}

.offer__card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.offer__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.offer__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.offer__card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.offer__card p { font-size: 0.97rem; margin: 0; }

.offer__total {
  margin-top: 48px;
  text-align: center;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-accent);
}
.offer__total-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.offer__total-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}
.offer__total p { margin: 0; font-size: 0.97rem; }

/* ============================================================
   Process (3-step)
   ============================================================ */
.process__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 800px) {
  .process__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.process__step {
  position: relative;
  padding: 32px 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.process__step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-accent);
}
.process__step h3 { margin-top: 8px; font-size: 1.2rem; }
.process__step p { margin: 0; }

/* ============================================================
   Why Us (differentiators)
   ============================================================ */
.why { background: var(--color-bg-alt); }
.why__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

.why__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.why__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-success-soft);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 2px;
}
.why__item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why__item p { margin: 0; font-size: 0.95rem; }

/* ============================================================
   Founder note
   ============================================================ */
.founder { background: var(--color-bg); }
.founder__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 48px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
}
.founder__inner h2 { font-size: 1.6rem; margin-bottom: 16px; }
.founder__inner p { font-size: 1.05rem; color: var(--color-text); }
.founder__signature {
  margin-top: 24px;
  font-weight: 700;
  color: var(--color-text);
}
.founder__signature span {
  display: block;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Guarantee
   ============================================================ */
.guarantee {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
.guarantee__card {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 48px;
  background: var(--color-bg-dark-alt);
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  text-align: center;
  position: relative;
}
.guarantee__badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -88px auto 24px;
  box-shadow: var(--shadow-accent);
  font-size: 2.4rem;
}
.guarantee h2 {
  color: var(--color-text-on-dark);
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.guarantee p {
  color: var(--color-text-on-dark-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item:first-child { border-top: 1px solid var(--color-border); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__question:hover { color: var(--color-accent); }
.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--color-accent); color: #fff; }

.faq__answer {
  padding: 0 0 24px;
  color: var(--color-text-muted);
}
.faq__answer p { margin: 0; }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-alt) 100%);
  color: var(--color-text-on-dark);
  text-align: center;
}
.cta-banner h2 {
  color: var(--color-text-on-dark);
  font-size: 2rem;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner p {
  color: var(--color-text-on-dark-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 40px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__brand {
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================================
   Booking page
   ============================================================ */
.booking-hero {
  padding: 60px 0 32px;
  background: var(--color-bg);
  text-align: center;
}
.booking-hero h1 { font-size: 2.2rem; max-width: 720px; margin: 0 auto 16px; }
.booking-hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.booking-layout {
  padding: 16px 0 80px;
}
.booking-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .booking-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

.booking-sidebar {
  position: sticky;
  top: 96px;
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.booking-sidebar h3 { font-size: 1.05rem; margin-bottom: 16px; }
.booking-sidebar ul { list-style: none; padding: 0; margin: 0; }
.booking-sidebar li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}
.booking-sidebar li:first-child { border-top: none; padding-top: 0; }
.booking-sidebar li strong { display: block; margin-bottom: 2px; }
.booking-sidebar li span { color: var(--color-text-muted); font-size: 0.92rem; }
.booking-sidebar__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.calendly-frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  min-height: 700px;
}
.calendly-placeholder {
  padding: 60px 24px;
  text-align: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-border);
}
.calendly-placeholder h3 { color: var(--color-text); margin-bottom: 12px; }
.calendly-placeholder code {
  display: inline-block;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--color-accent);
}

/* ============================================================
   Thank-you page
   ============================================================ */
.thanks {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 0;
  background:
    radial-gradient(ellipse at top, rgba(5, 150, 105, 0.08), transparent 60%),
    var(--color-bg);
}
.thanks__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.thanks__check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin: 0 auto 24px;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.3);
}
.thanks h1 { font-size: 2.5rem; margin-bottom: 16px; }
.thanks__lead { font-size: 1.2rem; margin-bottom: 40px; }

.thanks__next {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0 auto 40px;
  text-align: left;
}
.thanks__next h3 { font-size: 1.15rem; margin-bottom: 16px; text-align: center; }
.thanks__steps { list-style: none; padding: 0; margin: 0; counter-reset: tstep; }
.thanks__steps li {
  counter-increment: tstep;
  position: relative;
  padding: 14px 0 14px 48px;
  border-top: 1px solid var(--color-border);
}
.thanks__steps li:first-child { border-top: none; }
.thanks__steps li::before {
  content: counter(tstep);
  position: absolute;
  left: 0;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.thanks__steps strong { display: block; color: var(--color-text); margin-bottom: 2px; }
.thanks__steps span { color: var(--color-text-muted); font-size: 0.97rem; }

/* ============================================================
   Utility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
