/* ─── Variables ─── */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-tinted: #f5f5fb;
  --fg: #0f172a;
  --fg-muted: #475569;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 18px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 40px rgba(79,70,229,0.18);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
p { color: var(--fg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-link { display: flex; align-items: baseline; gap: 10px; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-actions { display: flex; gap: 20px; align-items: center; }
.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--fg); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  letter-spacing: -0.005em;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(79,70,229,0.18);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79,70,229,0.32);
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--bg-alt);
  border-color: var(--fg-muted);
}

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

/* ─── Hero ─── */
.hero {
  padding: 96px 32px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(79,70,229,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.hero-headline {
  font-size: var(--text-display, clamp(2.75rem, 5vw, 4.25rem));
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Trust strip ─── */
.proof-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 32px;
}
.proof-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.proof-item {
  text-align: center;
}
.proof-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.proof-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.proof-divider {
  display: none;
}

/* ─── Sections ─── */
.section {
  padding: 96px 32px;
}
.section-alt { background: var(--bg-alt); }
.section-center { text-align: center; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.divider {
  max-width: 1200px;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--border);
}

/* ─── How it works ─── */
.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.step-body {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── Portfolio section ─── */
.portfolio-section {
  background: var(--bg-tinted);
  padding: 96px 32px;
}
.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-grid-pair { max-width: 880px; }
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.portfolio-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  position: relative;
  overflow: hidden;
}
.portfolio-thumb-barber { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); color: #3730a3; }
.portfolio-thumb-landscape { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); color: #065f46; }
.portfolio-thumb-plumber { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #1e40af; }
.portfolio-thumb-dental { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); color: #075985; }
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.7) 0%, transparent 50%);
  pointer-events: none;
}
.portfolio-thumb-label {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.portfolio-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.portfolio-meta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 10px;
  border-radius: 4px;
}
.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.portfolio-tagline {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.55;
}
.portfolio-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portfolio-link svg { transition: transform 0.15s; }
.portfolio-card:hover .portfolio-link svg { transform: translateX(3px); }

/* ─── Pricing ─── */
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
  padding: 48px 32px 44px;
  margin-top: -8px;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--fg);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245,158,11,0.28);
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-price-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1;
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%234f46e5' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card .btn { width: 100%; }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 88px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.cta-section p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 32px;
  color: var(--white);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.cta-section .btn-primary:hover {
  background: var(--white);
  color: var(--primary-hover);
  transform: translateY(-1px);
}

/* ─── Footer ─── */
.footer {
  background: #0b1220;
  color: rgba(255,255,255,0.6);
  padding: 56px 32px 28px;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  align-items: flex-start;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer-brand-tagline {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  max-width: 280px;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,0.6); }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: left;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .section, .portfolio-section, .hero { padding: 72px 24px; }
  .hero { padding-top: 72px; padding-bottom: 56px; }
  .portfolio-grid,
  .pricing-grid,
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-strip-inner { gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .nav-actions .nav-link { display: none; }
  .nav-actions { gap: 10px; }
  .hero { padding: 56px 20px 48px; }
  .hero-headline { font-size: clamp(2.1rem, 8vw, 2.75rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section, .portfolio-section { padding: 56px 20px; }
  .container { padding: 0 20px; }
  .portfolio-grid,
  .pricing-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { margin-top: 0; }
  .proof-strip-inner {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .cta-section { padding: 64px 20px; }
  .footer { padding: 40px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { text-align: center; }
}
