/* ============================================================
   MowClick — Global Design System
   ============================================================ */

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

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg-base:        #f8fafc;
  --bg-surface:     #ffffff;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f1f5f9;
  --bg-input:       #f8fafc;
  --border:         #e2e8f0;
  --border-bright:  #cbd5e1;

  --green-primary:  #10b981;
  --green-light:    #059669;
  --green-bright:   #34d399;
  --green-dim:      #047857;
  --lime:           #84cc16;
  --lime-dark:      #4f7a0b;

  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-dim:       #94a3b8;

  --gradient-hero:  linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  --gradient-card:  linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-lime:  linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  --gradient-glow:  radial-gradient(ellipse at center, rgba(16,185,129,0.05) 0%, transparent 70%);

  --shadow-card:    0 4px 20px rgba(15,23,42,0.03), 0 1px 3px rgba(15,23,42,0.02);
  --shadow-green:   0 4px 14px rgba(16,185,129,0.2);
  --shadow-hover:   0 10px 30px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.02);

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-pill:    999px;

  --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:all 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --font: 'Plus Jakarta Sans', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--font); outline: none; }
ul, ol { list-style: none; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-xl { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; }
.display-lg { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
.display-md { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
.text-xl    { font-size: 1.25rem; }
.text-lg    { font-size: 1.125rem; }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }

.text-muted    { color: var(--text-muted); }
.text-secondary{ color: var(--text-secondary); }
.text-green    { color: var(--green-primary); }
.text-lime     { color: var(--lime); }

/* ── Layout Helpers ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-green);
}

.logo-icon-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
}

.logo-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.nav-logo .logo-text { color: var(--text-primary); }
.nav-logo .logo-text span { color: var(--green-primary); }

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

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover { color: var(--text-primary); background: rgba(34,197,94,0.08); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,197,94,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,197,94,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-lime {
  background: var(--gradient-lime);
  color: #052e03;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(163,230,53,0.3);
}
.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(163,230,53,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover {
  background: rgba(34,197,94,0.08);
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(0,0,0,0.04); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-pill); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: var(--radius-md); }

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-green {
  background: rgba(16,185,129,0.08);
  color: var(--green-light);
  border: 1px solid rgba(16,185,129,0.2);
}

.badge-lime {
  background: rgba(132,204,22,0.08);
  color: var(--lime-dark);
  border: 1px solid rgba(132,204,22,0.25);
}

.badge-gray {
  background: rgba(0,0,0,0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(0,0,0,0.05);
}

/* ── Form Controls ─────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
  background: var(--bg-surface);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Address search input special */
.address-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.address-input-wrap .input-icon {
  position: absolute;
  left: 18px;
  color: var(--green-primary);
  font-size: 1.1rem;
  pointer-events: none;
}

.address-input-wrap .form-input { padding-left: 48px; }

.address-input-wrap .btn {
  position: absolute;
  right: 6px;
  border-radius: var(--radius-pill);
}

/* ── Stars ─────────────────────────────────────────────────── */
.stars { display: flex; gap: 2px; align-items: center; }
.star { font-size: 14px; }
.star.filled { color: #f59e0b; }
.star.empty  { color: var(--text-dim); }

/* ── Section Headers ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── Progress Steps ────────────────────────────────────────── */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-surface);
}

.step-item.active .step-circle {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(34,197,94,0.4);
}

.step-item.done .step-circle {
  background: rgba(34,197,94,0.2);
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  transition: var(--transition);
}

.step-item.done + .step-item .step-line,
.step-item.done .step-line { background: var(--green-primary); }

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-label { color: var(--green-primary); }
.step-item.done .step-label { color: var(--text-secondary); }

.step-with-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ── Tooltip ───────────────────────────────────────────────── */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a3a22;
  color: var(--text-primary);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  border: 1px solid var(--border);
}
[data-tooltip]:hover::after { opacity: 1; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10%       { transform: translate(-1%,-2%); }
  20%       { transform: translate(2%,1%); }
  30%       { transform: translate(-1%,3%); }
  40%       { transform: translate(1%,-1%); }
  50%       { transform: translate(-2%,2%); }
  60%       { transform: translate(1%,1%); }
  70%       { transform: translate(-1%,-1%); }
  80%       { transform: translate(2%,-2%); }
  90%       { transform: translate(-1%,1%); }
}

.animate-fade-up   { animation: fadeUp 0.6s ease both; }
.animate-fade-in   { animation: fadeIn 0.5s ease both; }
.animate-float     { animation: floatY 4s ease-in-out infinite; }
.animate-pulse-green { animation: pulse-green 2s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  animation: grain 8s steps(1) infinite;
  pointer-events: none;
  opacity: 0.4;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(34,197,94,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  width: 100%;
}

.hero-grid .hero-content {
  text-align: left;
  margin: 0;
  max-width: 100%;
  padding: 0;
}

.hero-grid .hero-sub {
  margin-left: 0;
}

.hero-grid .hero-search {
  margin-left: 0;
}

.hero-grid .hero-trust {
  justify-content: flex-start;
}

.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.brand-image-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 10px;
  box-shadow: 0 20px 40px rgba(15,23,42,0.06);
  overflow: hidden;
  max-width: 320px;
  width: 100%;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-slow);
}

.brand-image-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 30px 60px rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
}

.brand-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 85px;
    padding-bottom: 48px;
  }
  .hero-grid .hero-content {
    text-align: center;
  }
  .hero-grid .hero-sub {
    margin: 0 auto 32px;
  }
  .hero-grid .hero-search {
    margin: 0 auto 32px;
  }
  .hero-grid .hero-trust {
    justify-content: center;
  }
  .brand-image-card {
    max-width: 260px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto 32px;
  background: #ffffff;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.hero-search .search-icon {
  color: var(--green-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font);
}

.hero-search input::placeholder { color: var(--text-muted); }

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .trust-item .icon { color: var(--green-primary); }

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works { background: var(--bg-surface); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-primary), var(--lime));
  border-radius: var(--radius-pill);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-green);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Feature Cards ─────────────────────────────────────────── */
.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-bright); }

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 0.9rem; }
.author-loc  { color: var(--text-muted); font-size: 0.8rem; }

/* ── Pro CTA Banner ────────────────────────────────────────── */
.pro-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6f4ea 100%);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.pro-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pro-banner h2 { font-size: 2rem; margin-bottom: 12px; color: var(--text-primary); }
.pro-banner p  { color: var(--text-secondary); max-width: 460px; line-height: 1.7; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin: 16px 0 20px; }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 16px; }

.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--green-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Homeowner Flow ────────────────────────────────────────── */
.flow-page {
  min-height: 100vh;
  padding: 80px 0 60px;
  background: var(--bg-base);
}

.flow-header {
  text-align: center;
  margin-bottom: 48px;
}

.flow-step { display: none; }
.flow-step.active { display: block; animation: fadeUp 0.4s ease; }

/* Service checkboxes */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.service-check {
  position: relative;
}

.service-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-check label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.service-check label .icon { font-size: 1.6rem; }

.service-check input:checked + label {
  border-color: var(--green-primary);
  background: rgba(34,197,94,0.1);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--green-primary);
}

.service-check label:hover {
  border-color: var(--border-bright);
  color: var(--text-primary);
}

/* Yard size */
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.size-check { position: relative; }
.size-check input { position: absolute; opacity: 0; pointer-events: none; }

.size-check label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.size-check label .size-name { font-weight: 600; font-size: 0.9rem; }
.size-check label .size-sqft { font-size: 0.75rem; color: var(--text-muted); }

.size-check input:checked + label {
  border-color: var(--green-primary);
  background: rgba(34,197,94,0.1);
  box-shadow: 0 0 0 1px var(--green-primary);
}

/* Map preview */
.map-preview {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 24px;
}

#map { width: 100%; height: 100%; }

/* Bid cards */
.bids-list { display: flex; flex-direction: column; gap: 16px; }

.bid-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.bid-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.bid-card.selected {
  border-color: var(--green-primary);
  background: rgba(34,197,94,0.07);
  box-shadow: 0 0 0 1px var(--green-primary), var(--shadow-green);
}

.bid-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.bid-info { flex: 1; }
.bid-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.bid-meta { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--text-muted); }
.bid-meta .sep { color: var(--border-bright); }
.bid-jobs { color: var(--green-primary); font-weight: 600; }

.bid-price {
  text-align: right;
  flex-shrink: 0;
}
.bid-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
}
.bid-unit { font-size: 0.78rem; color: var(--text-muted); }

.bid-select-btn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-bright);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.bid-card.selected .bid-select-btn {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
}

/* Booking confirm */
.confirm-card {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.confirm-icon {
  width: 72px; height: 72px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
  border: 2px solid rgba(34,197,94,0.3);
}

/* ── Vendor Dashboard ──────────────────────────────────────── */
.dashboard {
  display: flex;
  min-height: 100vh;
  padding-top: 68px;
}

.sidebar {
  width: 260px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 68px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-nav { flex: 1; padding: 20px 12px; }

.sidebar-section {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 16px 12px 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
  cursor: pointer;
}

.sidebar-link:hover { background: rgba(34,197,94,0.08); color: var(--text-primary); }
.sidebar-link.active { background: rgba(34,197,94,0.12); color: var(--green-primary); font-weight: 600; }

.sidebar-link .link-icon { font-size: 1.1rem; flex-shrink: 0; }

.sidebar-link .badge-count {
  margin-left: auto;
  background: var(--green-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  min-width: 22px;
  text-align: center;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.vendor-profile-mini {
  display: flex; align-items: center; gap: 12px;
}

.vendor-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}

.vendor-name { font-weight: 600; font-size: 0.9rem; }
.vendor-rating { font-size: 0.78rem; color: var(--text-muted); }

.main-content {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
  min-height: calc(100vh - 68px);
}

/* Dashboard panels */
.dash-panel { display: none; }
.dash-panel.active { display: block; animation: fadeUp 0.35s ease; }

.page-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.page-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }

/* Earnings cards */
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.earning-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: var(--transition);
}
.earning-card:hover { border-color: var(--border-bright); }

.earning-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.earning-val { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.earning-val.green { color: var(--green-primary); }
.earning-change { font-size: 0.78rem; margin-top: 6px; }
.earning-change.up { color: var(--green-light); }
.earning-change.down { color: #f87171; }

/* Job feed */
.job-feed { display: flex; flex-direction: column; gap: 14px; }

.job-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}
.job-card:hover { border-color: var(--border-bright); box-shadow: var(--shadow-hover); }

.job-map-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0fdf4, #e6f4ea);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.job-info { flex: 1; }
.job-address { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.job-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.job-distance { font-size: 0.8rem; color: var(--text-muted); text-align: right; }
.job-posted  { font-size: 0.75rem; color: var(--text-dim); }

/* Bid modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
  transform: scale(0.96) translateY(12px);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close { background: rgba(0,0,0,0.04); border: none; border-radius: var(--radius-md); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.modal-close:hover { background: rgba(0,0,0,0.08); color: var(--text-primary); }

/* Active jobs table */
.jobs-table { width: 100%; border-collapse: collapse; }
.jobs-table th { text-align: left; padding: 12px 16px; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.jobs-table td { padding: 16px; font-size: 0.9rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.jobs-table tr:last-child td { border-bottom: none; }
.jobs-table tr:hover td { background: rgba(16,185,129,0.04); }

/* Status pills */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-pending  { background: rgba(217,119,6,0.08); color: #b45309; }
.status-pending::before { background: #b45309; }
.status-active   { background: rgba(16,185,129,0.08); color: var(--green-primary); }
.status-active::before { background: var(--green-primary); animation: pulse-green 2s infinite; }
.status-done     { background: rgba(79,70,229,0.08); color: #4338ca; }
.status-done::before { background: #4338ca; }

/* ── Autocomplete ──────────────────────────────────────────── */
.pac-container {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 30px rgba(15,23,42,0.08) !important;
  font-family: var(--font) !important;
  margin-top: 4px !important;
  overflow: hidden !important;
}
.pac-item {
  padding: 12px 16px !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  border-top: 1px solid var(--border) !important;
  font-size: 0.9rem !important;
}
.pac-item:hover, .pac-item-selected { background: #f1f5f9 !important; }
.pac-item-query { color: var(--text-primary) !important; font-weight: 600 !important; }
.pac-matched { color: var(--green-primary) !important; font-weight: 700 !important; }
.pac-icon { display: none !important; }
.pac-logo::after { display: none !important; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .earnings-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .size-grid { grid-template-columns: 1fr 1fr; }
  .pro-banner { flex-direction: column; text-align: center; padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .earnings-grid { grid-template-columns: 1fr 1fr; }
  .bid-card { flex-wrap: wrap; }
  .job-card { flex-wrap: wrap; }
  .hero h1 { font-size: 2.5rem; }
  .nav-links { display: none; }
  .main-content { padding: 20px 16px; }
  .modal { padding: 24px; }

  /* Responsive Tables into Cards */
  .jobs-table, 
  .jobs-table thead, 
  .jobs-table tbody, 
  .jobs-table th, 
  .jobs-table td, 
  .jobs-table tr { 
    display: block; 
    width: 100%;
  }
  .jobs-table thead {
    display: none !important;
  }
  .jobs-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
  }
  .jobs-table td {
    border-bottom: none !important;
    padding: 8px 0 !important;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }
  .jobs-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    margin-right: 12px;
    text-align: left;
  }
}

@media (max-width: 580px) {
  /* Prevent Header Navigation Truncation/Overflow globally */
  .nav-logo .logo-text {
    display: none !important;
  }
  .nav-logo img, .logo-icon-img {
    width: 28px !important;
    height: 28px !important;
  }
  .nav-cta {
    gap: 4px !important;
  }
  .nav-cta .btn {
    padding: 5px 8px !important;
    font-size: 0.74rem !important;
  }
  
  /* Refine Hero typography to look sleeker and less bulky */
  .hero h1 {
    font-size: 1.95rem !important;
    line-height: 1.25 !important;
  }
  .hero-sub {
    font-size: 0.9rem !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
  }
  
  /* Stack & Compact Hero Search Bar */
  .hero-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md) !important;
    padding: 8px !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
  }
  .hero-search input {
    padding: 6px 8px !important;
    width: 100% !important;
    text-align: center;
    font-size: 0.88rem !important;
  }
  .hero-search .btn {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-search .search-icon {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .size-grid { grid-template-columns: 1fr 1fr; }
  .earnings-grid { grid-template-columns: 1fr; }
}
