:root {
  --bg: #ffffff;
  --ink: #0b1220;
  --muted: #667085;
  --soft: #f5f7fb;
  --line: #e6eaf0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230, 234, 240, 0.72);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 32px), 1220px);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover {
  color: var(--ink);
  background: #f2f5fa;
  transform: translateY(-1px);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

.nav-menu .nav-cta:hover {
  color: white;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 32px;
  color: #475467;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 22px 44px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: white;
  color: #182230;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.btn-light {
  color: var(--ink);
  background: white;
  box-shadow: 0 18px 34px rgba(255, 255, 255, 0.18);
}

.trust-row {
  margin-top: 38px;
  gap: 18px;
}

.trust-row div {
  min-width: 155px;
  padding-left: 16px;
  border-left: 1px solid #d5dbe6;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 0.95rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.visual-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.orbit-one {
  inset: 40px 0 auto auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.orbit-two {
  left: 18px;
  bottom: 80px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.desktop-mockup,
.phone-mockup,
.dashboard-card {
  position: absolute;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.desktop-mockup {
  top: 42px;
  right: 0;
  width: min(100%, 540px);
  min-height: 376px;
  border-radius: 30px;
  padding: 18px;
}

.mock-browser {
  display: flex;
  gap: 7px;
  padding: 4px 2px 18px;
}

.mock-browser span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8dee8;
}

.mock-hero {
  min-height: 164px;
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1f3a8a 100%);
}

.mock-kicker,
.mock-title,
.mock-copy,
.phone-lines span {
  display: block;
  border-radius: 999px;
}

.mock-kicker {
  width: 76px;
  height: 9px;
  margin-bottom: 20px;
  background: rgba(147, 197, 253, 0.75);
}

.mock-title {
  width: 92%;
  height: 18px;
  margin-bottom: 10px;
  background: white;
}

.mock-title.short {
  width: 66%;
}

.mock-copy {
  width: 72%;
  height: 8px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.42);
}

.mock-card-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.mock-card-stat small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.mock-card-stat strong {
  font-size: 2rem;
  line-height: 1;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mock-grid span {
  min-height: 82px;
  border-radius: 18px;
  background: #f1f5f9;
}

.phone-mockup {
  right: 366px;
  bottom: 44px;
  width: 178px;
  min-height: 326px;
  border-radius: 34px;
  padding: 16px;
  transform: rotate(-3deg);
}

.phone-notch {
  width: 54px;
  height: 6px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #111827;
}

.story-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.story-strip span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #bfdbfe;
  background: linear-gradient(135deg, #2563eb, #111827);
}

.phone-photo {
  height: 150px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.92), rgba(15, 23, 42, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.1) 18px 19px);
}

.phone-lines {
  margin-top: 16px;
}

.phone-lines span {
  height: 9px;
  margin-bottom: 8px;
  background: #e2e8f0;
}

.phone-lines span:last-child {
  width: 68%;
}

.dashboard-card {
  right: 28px;
  bottom: 46px;
  width: 250px;
  min-height: 176px;
  border-radius: 24px;
  padding: 18px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #475467;
  font-size: 0.82rem;
  font-weight: 800;
}

.dash-header strong {
  color: #12b76a;
}

.dash-bars {
  height: 100px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 20px;
}

.dash-bars span {
  flex: 1;
  height: var(--height);
  min-height: 24px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.logo-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.logo-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading h2,
.cta-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.portfolio-card,
.compare-card,
.timeline-item {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
}

.service-card {
  min-height: 282px;
  padding: 26px;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.12);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--blue);
}

.icon-box svg,
.socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.compare-card h3,
.timeline-item h3,
.portfolio-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card p,
.timeline-item p,
.portfolio-card p,
.cta-panel p,
.footer p {
  color: var(--muted);
}

.soft-section {
  background: #f8fafc;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
}

.compare-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 32px;
  border-radius: var(--radius);
}

.compare-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: #eef2f7;
  transform: rotate(8deg);
}

.compare-card.after {
  color: white;
  border-color: rgba(37, 99, 235, 0.15);
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.compare-card.after::after {
  background: rgba(255, 255, 255, 0.12);
}

.compare-tag {
  display: inline-flex;
  margin-bottom: 72px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #475467;
  background: #f2f4f7;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.after .compare-tag {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
}

.compare-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475467;
  font-weight: 650;
}

.compare-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #98a2b3;
}

.after li {
  color: rgba(255, 255, 255, 0.84);
}

.after li::before {
  background: #93c5fd;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.85), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 14% 8%, rgba(37, 99, 235, 0.08), transparent 32%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.055);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 11%;
  right: 11%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.44), rgba(37, 99, 235, 0.16));
}

.timeline-item {
  position: relative;
  z-index: 1;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -20px;
  width: 26px;
  height: 26px;
  border-top: 1px solid rgba(37, 99, 235, 0.22);
  border-right: 1px solid rgba(37, 99, 235, 0.22);
  transform: rotate(45deg);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.095);
}

.timeline-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 18px;
  color: var(--blue);
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline-item p {
  margin-bottom: 0;
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-card > div:last-child {
  padding: 22px;
}

.portfolio-preview {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: #edf2f7;
}

.portfolio-preview::before,
.portfolio-preview::after,
.portfolio-preview span {
  content: "";
  position: absolute;
  border-radius: 18px;
}

.portfolio-preview::before {
  inset: 24px 24px auto;
  height: 74px;
  background: rgba(255, 255, 255, 0.86);
}

.portfolio-preview::after {
  left: 24px;
  right: 82px;
  bottom: 24px;
  height: 54px;
  background: rgba(255, 255, 255, 0.72);
}

.portfolio-preview span {
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 54px;
  background: rgba(255, 255, 255, 0.86);
}

.barber {
  background: linear-gradient(135deg, #111827, #2563eb);
}

.restaurant {
  background: linear-gradient(135deg, #7f1d1d, #f97316);
}

.cleaning {
  background: linear-gradient(135deg, #0f766e, #60a5fa);
}

.roofing {
  background: linear-gradient(135deg, #334155, #94a3b8);
}

.final-cta {
  background:
    radial-gradient(circle at 76% 22%, rgba(37, 99, 235, 0.35), transparent 26%),
    linear-gradient(135deg, #0b1220 0%, #111827 58%, #172554 100%);
}

.cta-panel {
  max-width: 880px;
  color: white;
  text-align: center;
}

.cta-panel .section-label {
  color: #93c5fd;
}

.cta-panel p {
  max-width: 660px;
  margin: 22px auto 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer p {
  max-width: 400px;
  margin-bottom: 0;
}

.footer-contact {
  display: grid;
  gap: 6px;
}

.footer-contact span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-contact a {
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #344054;
  background: white;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
    max-width: 650px;
  }

  .phone-mockup {
    left: 0;
    right: auto;
  }

  .service-grid,
  .portfolio-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .timeline-item::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section-pad {
    padding: 64px 0;
  }

  .nav-shell {
    min-height: 68px;
    width: min(calc(100% - 24px), 1220px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a,
  .nav-menu .nav-cta {
    margin: 0;
    padding: 13px 14px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    align-items: stretch;
  }

  .trust-row div {
    flex: 1 1 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .desktop-mockup {
    width: 94%;
    min-height: 330px;
  }

  .mock-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .mock-card-stat {
    min-height: 92px;
  }

  .phone-mockup {
    bottom: 24px;
    width: 152px;
    min-height: 286px;
  }

  .dashboard-card {
    right: 0;
    width: 210px;
  }

  .logo-band-inner,
  .service-grid,
  .portfolio-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-band-inner {
    text-align: left;
  }

  .timeline {
    padding: 8px;
    border-radius: 24px;
  }

  .timeline-item {
    min-height: auto;
    padding: 24px;
  }

  .timeline-number {
    margin-bottom: 30px;
  }

  .compare-card {
    min-height: 300px;
    padding: 26px;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .desktop-mockup {
    padding: 14px;
  }

  .phone-mockup {
    width: 140px;
  }

  .dashboard-card {
    width: 190px;
    padding: 14px;
  }
}
