/* ============================================================
   TraidScale — Premium Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #040810;
  --bg-2: #070d1a;
  --panel: rgba(255,255,255,0.03);
  --panel-mid: rgba(255,255,255,0.06);
  --teal: #5ee9ba;
  --teal-dim: #3abf96;
  --blue: #4f8ef7;
  --blue-dim: #2f65cc;
  --purple: #7b93ff;
  --text: #f0f4ff;
  --muted: #8fa4cc;
  --muted-2: #5c738f;
  --line: rgba(255,255,255,0.07);
  --line-mid: rgba(255,255,255,0.12);
  --glow-teal: 0 0 32px rgba(94,233,186,0.20), 0 0 64px rgba(94,233,186,0.08);
  --glow-blue: 0 0 32px rgba(79,142,247,0.25), 0 0 64px rgba(79,142,247,0.08);
  --glow-btn: 0 4px 20px rgba(94,233,186,0.35);
  --grad-brand: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --grad-brand-text: linear-gradient(135deg, #5ee9ba 0%, #4f8ef7 100%);
  --grad-card-border: linear-gradient(135deg, rgba(94,233,186,0.25), rgba(79,142,247,0.15));
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

h1 { margin: 0.3rem 0 0.7rem; font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* ---- Dot Grid Background ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Animated Orbs ---- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.orb-teal {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(94,233,186,0.11) 0%, transparent 70%);
  top: -220px;
  left: -120px;
}
.orb-blue {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(79,142,247,0.09) 0%, transparent 70%);
  bottom: -160px;
  right: -120px;
  animation-delay: -7s;
  animation-direction: alternate-reverse;
}
@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.06); }
}

/* ---- Layout ---- */
.container { width: min(1120px, 92vw); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ---- Gradient Text ---- */
.gradient-text {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--line-mid);
  background: var(--panel-mid);
}
.badge-teal {
  color: var(--teal);
  border-color: rgba(94,233,186,0.25);
  background: rgba(94,233,186,0.08);
}
.badge-blue {
  color: var(--blue);
  border-color: rgba(79,142,247,0.25);
  background: rgba(79,142,247,0.08);
}
.badge-featured {
  color: var(--teal);
  border-color: rgba(94,233,186,0.35);
  background: rgba(94,233,186,0.1);
}

/* ---- Glass Card ---- */
.glass-card {
  position: relative;
  background: var(--panel);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass-card.glow-teal { box-shadow: var(--glow-teal); }
.glass-card.glow-blue  { box-shadow: var(--glow-blue); }

/* ---- Announce Bar ---- */
.announce-bar {
  background: linear-gradient(90deg, rgba(94,233,186,0.06), rgba(79,142,247,0.06));
  border-bottom: 1px solid rgba(94,233,186,0.1);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.announce-bar strong { color: var(--teal); }

/* ---- Navigation ---- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(4,8,16,0.88);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  position: relative;
}
.brand img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--panel-mid);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-mid);
  color: var(--text);
  border-radius: var(--r-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn {
  border: 0;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 1.1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  color: #04140f;
  box-shadow: var(--glow-btn);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(94,233,186,0.45); }

.btn-secondary {
  background: var(--panel-mid);
  border: 1px solid var(--line-mid);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: rgba(94,233,186,0.3);
  background: rgba(94,233,186,0.05);
}

.btn-lg {
  min-height: 56px;
  padding: 0 1.75rem;
  font-size: 1rem;
  border-radius: var(--r-lg);
}

.btn-primary-hero {
  background: var(--grad-brand);
  color: #04140f;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(94,233,186,0.35); }
  50%       { box-shadow: 0 4px 44px rgba(94,233,186,0.65), 0 0 80px rgba(94,233,186,0.15); }
}

/* ---- Kicker & Section Labels ---- */
.kicker {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}
.section-sub {
  color: var(--muted);
  margin-top: -0.4rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.section-header { margin-bottom: 3rem; }
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Hero ---- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 880px;
  margin: 0.6rem auto 1.2rem;
  line-height: 1.05;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}
.micro-proof {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-bottom: 3rem;
}

/* ---- Hero BG image with edge fade ---- */
.hero-bg-img {
  position: relative;
  margin: 0 auto;
  max-width: 900px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-mid);
  background: linear-gradient(135deg, #0a1428 0%, #060d1f 50%, #040810 100%);
}
.hero-bg-img img { width: 100%; display: block; border-radius: var(--r-xl); }
.hero-bg-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ---- Hero SVG Visual ---- */
.hero-svg-wrap {
  margin: 0 auto;
  max-width: 900px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-mid);
  background: #040810;
  position: relative;
}
.hero-svg-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-svg-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ---- Social Proof Avatars ---- */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.avatar-stack { display: flex; }
.avatar-stack .avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #04140f;
  margin-left: -10px;
}
.avatar-stack .avatar-fallback:first-child { margin-left: 0; }
.social-proof-text { font-size: 0.85rem; color: var(--muted); }
.social-proof-text strong { color: var(--text); }

/* ---- Stats Strip ---- */
.stats-strip {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(94,233,186,0.025) 0%, transparent 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-block {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--line);
}
.stat-block:last-child { border-right: none; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { color: var(--muted); font-size: 0.85rem; }

/* ---- Demo Visual ---- */
.demo-section { padding: 5rem 0; }
.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.demo-image-wrap { position: relative; }
.demo-image-wrap img { width: 100%; border-radius: var(--r-xl); display: block; }

/* Inline dashboard mockup (used if no real image) */
.demo-ui {
  background: linear-gradient(135deg, #070d1a 0%, #0a1428 50%, #060d1f 100%);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-mid);
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.demo-ui-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.demo-ui-dot-bar { display: flex; gap: 0.4rem; }
.demo-ui-dot-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.demo-ui-dot-bar span:nth-child(1) { background: #ff5f57; }
.demo-ui-dot-bar span:nth-child(2) { background: #febc2e; }
.demo-ui-dot-bar span:nth-child(3) { background: #28c840; }
.demo-ui-title { color: var(--muted-2); font-size: 0.75rem; margin-left: auto; }

.demo-ui-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
}
.demo-ui-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-qualified { background: var(--teal); box-shadow: 0 0 6px rgba(94,233,186,0.6); }
.dot-pending   { background: #f0a030; }
.dot-new       { background: var(--blue); box-shadow: 0 0 6px rgba(79,142,247,0.5); }
.demo-ui-name  { color: var(--text); font-weight: 600; flex: 1; }
.demo-ui-tag   { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; }
.tag-qualified { background: rgba(94,233,186,0.12); color: var(--teal); border: 1px solid rgba(94,233,186,0.25); }
.tag-booked    { background: rgba(79,142,247,0.12); color: var(--blue); border: 1px solid rgba(79,142,247,0.25); }
.tag-new-lead  { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid var(--line); }
.demo-ui-time  { color: var(--muted-2); font-size: 0.72rem; white-space: nowrap; }

.demo-features { display: grid; gap: 1.5rem; }
.demo-feature { display: flex; gap: 1rem; align-items: flex-start; }
.demo-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(94,233,186,0.09);
  border: 1px solid rgba(94,233,186,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.demo-icon.blue   { background: rgba(79,142,247,0.09); border-color: rgba(79,142,247,0.2); }
.demo-icon.purple { background: rgba(123,147,255,0.09); border-color: rgba(123,147,255,0.2); }
.demo-feature-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.demo-feature-desc  { color: var(--muted); font-size: 0.87rem; margin: 0; }

/* ---- How It Works ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
.how-connector {
  position: absolute;
  top: 2.75rem;
  left: calc(33.333% - 0.75rem);
  right: calc(33.333% - 0.75rem);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0.25;
  pointer-events: none;
}
.step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--teal);
  background: rgba(94,233,186,0.1);
  border: 1px solid rgba(94,233,186,0.2);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.how-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- Comparison Table ---- */
.comparison-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-mid);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table thead th {
  background: rgba(94,233,186,0.04);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.comparison-table thead th:first-child { color: var(--text); }
.col-ts  { color: var(--teal); font-weight: 600; }
.col-alt { color: var(--muted-2); }
.check   { color: var(--teal); font-size: 1rem; }
.cross   { color: var(--muted-2); font-size: 1rem; }

/* ---- Icon Circles (Why Switch) ---- */
.icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(94,233,186,0.08);
  border: 1px solid rgba(94,233,186,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.icon-circle.blue { background: rgba(79,142,247,0.08); border-color: rgba(79,142,247,0.2); }
.icon-circle.purple { background: rgba(123,147,255,0.08); border-color: rgba(123,147,255,0.2); }
.why-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; }
.stars { color: #f0a030; font-size: 0.9rem; letter-spacing: 0.1em; }
.testimonial-quote { color: var(--muted); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar-initials {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #04140f;
  flex-shrink: 0;
}
.testimonial-name  { font-weight: 700; font-size: 0.9rem; margin: 0; }
.testimonial-trade { color: var(--muted); font-size: 0.8rem; margin: 0; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line-mid);
}
.avatar-stack .avatar-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.avatar-stack .avatar-img:first-child { margin-left: 0; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.price-card { position: relative; padding: 2rem; }
.price-card.featured {
  background: rgba(94,233,186,0.04);
  box-shadow: var(--glow-teal), 0 0 0 1px rgba(94,233,186,0.2);
}
.price-card.featured::before {
  background: linear-gradient(135deg, rgba(94,233,186,0.4), rgba(79,142,247,0.3));
}
.price-card-label { color: var(--muted); font-size: 0.85rem; margin-bottom: 0; }

.price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price span {
  font-size: 1rem;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  font-weight: 500;
}
.price-desc { color: var(--muted); font-size: 0.87rem; margin-bottom: 1.25rem; }

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.65rem;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.price-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #04140f;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ---- Integrations Strip ---- */
.integrations-strip {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.integrations-label {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.integrations-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--panel-mid);
  border: 1px solid var(--line-mid);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Lead Form ---- */
.lead-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.lead-copy h2 { margin-bottom: 0.75rem; }
.lead-copy p  { color: var(--muted); margin-bottom: 1rem; }
.lead-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.lead-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.lead-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.lead-form { padding: 2rem; display: grid; gap: 0.85rem; }

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-mid);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: var(--r-md);
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus {
  border-color: rgba(94,233,186,0.4);
  box-shadow: 0 0 0 3px rgba(94,233,186,0.08);
}
textarea { min-height: 110px; resize: vertical; }
#form-status { color: var(--teal); min-height: 1.2rem; margin: 0; font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--line-mid); }
.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: content 0.15s;
}
.faq-item details[open] summary::after { content: '×'; }
.faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---- Footer ---- */
.footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(4,8,16,0.92);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img  { height: 32px; margin-bottom: 0.75rem; display: block; }
.footer-tagline    { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin: 0; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 0 0 0.85rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-cta { margin-top: 0.5rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { color: var(--muted-2); font-size: 0.82rem; margin: 0; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0s;   }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.4s; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero-kicker { margin-bottom: 0.5rem; }
.page-hero h1     { margin-bottom: 1rem; }
.page-hero p      { color: var(--muted); max-width: 580px; margin: 0; font-size: 1.05rem; }

/* ---- Two-column layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* ---- Tradesperson Image placeholder ---- */
.tradesperson-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #0a1428 0%, #070d1a 100%);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 3rem;
}
.tradesperson-img { border-radius: var(--r-xl); overflow: hidden; }
.tradesperson-img img { width: 100%; display: block; border-radius: var(--r-xl); }

/* ---- Values grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- Process Timeline ---- */
.process-timeline { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.process-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(94,233,186,0.1);
  border: 1px solid rgba(94,233,186,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--teal);
  flex-shrink: 0;
  z-index: 1;
}
.process-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(94,233,186,0.3), transparent);
  margin: 0.5rem 0;
  min-height: 1.5rem;
}
.process-step:last-child .process-line { display: none; }
.process-content { padding-top: 0.65rem; }
.process-content h3 { margin-bottom: 0.4rem; }
.process-content p  { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card .callout {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(94,233,186,0.06);
  border-left: 2px solid var(--teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.service-card .callout strong { color: var(--text); }

/* ---- ROI Calculator ---- */
.roi-block { padding: 2.5rem; text-align: center; }
.roi-block h2 { margin-bottom: 0.5rem; }
.roi-block .section-sub { margin-bottom: 2rem; }
.roi-calc {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.roi-item {
  text-align: center;
  padding: 1.1rem;
  background: var(--panel-mid);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.roi-num   { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--teal); }
.roi-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }
.roi-op    { color: var(--muted-2); font-size: 1.5rem; font-weight: 300; text-align: center; }
.roi-result {
  padding: 1.5rem 2rem;
  border-radius: var(--r-lg);
  background: rgba(94,233,186,0.06);
  border: 1px solid rgba(94,233,186,0.2);
  display: inline-block;
}
.roi-result-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.roi-result-label { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }

/* ---- Email Mockup (case study) ---- */
.email-mockup {
  background: #0a1020;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 0.82rem;
}
.email-header {
  background: rgba(255,255,255,0.03);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.email-chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.email-chrome-dot:nth-child(1) { background: #ff5f57; }
.email-chrome-dot:nth-child(2) { background: #febc2e; }
.email-chrome-dot:nth-child(3) { background: #28c840; }
.email-chrome-title { color: var(--muted-2); font-size: 0.72rem; margin-left: auto; }
.email-body { padding: 1rem; }
.email-field { margin-bottom: 0.35rem; }
.email-field-label { color: var(--muted-2); }
.email-field-value { color: var(--text); font-weight: 500; }
.email-divider { border: none; border-top: 1px solid var(--line); margin: 0.75rem 0; }
.email-note { color: var(--teal); font-size: 0.8rem; }

/* ---- Pull Quote ---- */
.pull-quote {
  padding: 3rem;
  text-align: center;
  position: relative;
}
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(94,233,186,0.07);
  line-height: 1;
  pointer-events: none;
}
.pull-quote blockquote {
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}
.pull-quote cite { color: var(--muted); font-size: 0.9rem; font-style: normal; }

/* ---- Week timeline (case study) ---- */
.week-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.week-card { text-align: center; }
.week-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.week-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.week-card p  { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---- Founder note ---- */
.founder-note {
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--teal);
}
.founder-note blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}
.founder-note cite { color: var(--text); font-style: normal; font-weight: 600; font-size: 0.9rem; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero { padding: 3.5rem 0 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-block:nth-child(odd)  { border-right: 1px solid var(--line); }
  .stat-block:nth-last-child(-n+2) { border-bottom: none; }
  .demo-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .how-grid    { grid-template-columns: 1fr; }
  .how-connector { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .lead-section { grid-template-columns: 1fr; gap: 2rem; }
  .two-col  { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.flip { direction: ltr; }
  .values-grid   { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(4,8,16,0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 0.2rem;
    z-index: 100;
  }
  .nav-toggle { display: flex; }

  .roi-calc { grid-template-columns: 1fr 1fr; }
  .roi-op   { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-lg   { width: 100%; max-width: 320px; }
  .lead-form { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .week-grid { grid-template-columns: 1fr; }
  .roi-calc  { grid-template-columns: 1fr; }
  .pull-quote { padding: 2rem 1.25rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.7rem 0.75rem; font-size: 0.8rem; }
}
