/* ===== DESIGN TOKENS ===== */
:root {
  --bg: hsl(210, 20%, 98%);
  --fg: hsl(215, 25%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-fg: hsl(215, 25%, 15%);
  --primary: hsl(215, 85%, 18%);
  --primary-fg: hsl(0, 0%, 100%);
  --secondary: hsl(160, 65%, 45%);
  --secondary-fg: hsl(0, 0%, 100%);
  --muted: hsl(210, 15%, 94%);
  --muted-fg: hsl(215, 15%, 45%);
  --accent: hsl(45, 90%, 60%);
  --border: hsl(215, 15%, 88%);
  --radius: 0.75rem;
  --shadow: 0 1px 3px hsl(0 0% 0% / 0.06);
  --shadow-hover: 0 2px 8px hsl(0 0% 0% / 0.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--fg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 9999px; cursor: pointer;
  font-weight: 600; font-size: 0.875rem; padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}
.btn-sm { padding: 0.375rem 1rem; font-size: 0.8125rem; }
.btn-secondary { background: var(--secondary); color: var(--secondary-fg); }
.btn-secondary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--muted); }
.btn-icon { background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--fg); }

.brush-underline {
  position: relative; display: inline-block;
}
.brush-underline::after {
  content: ""; position: absolute; bottom: 2px; left: 0;
  width: 100%; height: 6px;
  background-color: hsla(160, 65%, 45%, 0.45);
  border-radius: 4px 2px 6px 2px;
  transform: skewX(-12deg); z-index: 0; pointer-events: none;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-header p { color: var(--muted-fg); font-size: 0.875rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--card); border-bottom: 1px solid var(--border);
  height: 4rem;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1rem;
}
.navbar-logo img { height: 3.5rem; }
.navbar-spacer { flex: 1; }
.navbar-actions { display: flex; align-items: center; gap: 0.5rem; }
.navbar-mobile { display: none; }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .navbar-actions { display: none; }
  .navbar-mobile { display: flex; align-items: center; }
  .mobile-menu {
    padding: 0.75rem 1rem; display: none; flex-direction: column; gap: 0.5rem;
    background: var(--card); border-bottom: 1px solid var(--border);
  }
  .mobile-menu.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-background.jpg') center/cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    hsla(180,40%,15%,0.85),
    hsla(170,50%,20%,0.75),
    hsla(160,60%,25%,0.7));
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 4rem 1rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--primary-fg); line-height: 1.2;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: hsla(0,0%,100%,0.8); max-width: 640px; margin: 1rem auto 1.5rem;
}

.search-box {
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--card); padding: 0.75rem; border-radius: var(--radius);
  box-shadow: var(--shadow-hover); max-width: 640px; margin: 0 auto;
}
@media (min-width: 640px) { .search-box { flex-direction: row; } }
.search-input-wrapper { position: relative; flex: 1; }
.search-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted-fg);
}
.search-input {
  width: 100%; height: 3rem; padding-left: 3rem;
  border: none; background: transparent; font-size: 1rem;
  outline: none; color: var(--fg); font-family: var(--font);
}
.search-btn { height: 3rem; padding: 0 1.5rem; }

.chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-top: 1rem;
}
.chip {
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500;
  background: hsla(0,0%,100%,0.1); color: hsla(0,0%,100%,0.8);
  border: 1px solid hsla(0,0%,100%,0.2);
  cursor: pointer; transition: background 0.2s;
}
.chip:hover { background: hsla(0,0%,100%,0.2); }

/* ===== STATS ===== */
.stats { padding: 4rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.stat-value { font-size: 1.875rem; font-weight: 700; }
.stat-label { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.25rem; }
.stats-updated { text-align: center; font-size: 0.75rem; color: var(--muted-fg); margin-top: 1rem; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 4rem 0; background: hsl(210, 15%, 94%, 0.3); }
.how-it-works h2 { text-align: center; font-size: 1.875rem; font-weight: 700; margin-bottom: 3rem; }
.steps-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step-icon-wrapper {
  position: relative; width: 3.5rem; height: 3.5rem;
  border-radius: 50%; background: hsla(215, 85%, 18%, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--primary);
}
.step-number {
  position: absolute; top: -0.75rem; left: -0.5rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--secondary); color: var(--secondary-fg);
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--muted-fg); }

/* ===== FEATURES ===== */
.features { padding: 4rem 0; }
.features-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  display: flex; gap: 1rem; padding: 1.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-hover); }
.feature-icon {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem; background: hsla(215, 85%, 18%, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted-fg); }

/* ===== INDUSTRIES ===== */
.industries { padding: 4rem 0; background: hsl(210, 15%, 94%, 0.3); }
.industries-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; max-width: 1100px; margin: 0 auto;
}
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }
.industry-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: box-shadow 0.2s;
}
.industry-card:hover { box-shadow: var(--shadow-hover); }
.industry-card-header { display: flex; align-items: center; gap: 0.75rem; }
.industry-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem;
  background: hsla(215, 85%, 18%, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary);
}
.industry-card h3 { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.industry-meta { font-size: 0.6875rem; color: var(--muted-fg); line-height: 1.4; }
.industry-meta strong { font-weight: 500; }
.industry-pct { font-size: 1.25rem; font-weight: 700; color: var(--primary); }

/* ===== PRICING ===== */
.pricing { padding: 5rem 0; background: hsl(210, 15%, 94%, 0.3); }
.pricing-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; max-width: 1100px; margin: 0 auto; align-items: stretch;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.pricing-card.highlighted {
  border-color: var(--secondary);
  box-shadow: 0 4px 20px hsla(160, 65%, 45%, 0.15);
  ring: 2px solid hsla(160, 65%, 45%, 0.2);
}
.pricing-badge {
  position: absolute; top: -0.75rem; right: 1.25rem;
  background: var(--secondary); color: var(--secondary-fg);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  box-shadow: var(--shadow);
}
.pricing-header { min-height: 80px; margin-bottom: 1.25rem; }
.pricing-header h3 { font-size: 1.25rem; font-weight: 700; }
.pricing-header p { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.25rem; }
.pricing-price { margin-bottom: 0.25rem; }
.price { font-size: 1.875rem; font-weight: 800; }
.period { font-size: 1rem; color: var(--muted-fg); }
.billing-note { font-size: 0.75rem; color: var(--muted-fg); height: 1.5rem; margin-bottom: 1.25rem; }
.pricing-btn {
  display: block; width: 100%; text-align: center;
  padding: 0.625rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem;
}
.pricing-features { flex: 1; }
.list-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.pricing-features ul { display: flex; flex-direction: column; gap: 0.625rem; }
.pricing-features li {
  font-size: 0.875rem; color: var(--muted-fg);
  padding-left: 1.25rem; position: relative;
}
.pricing-features li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--secondary); font-weight: 700;
}
.pricing-note { text-align: center; font-size: 0.75rem; color: var(--muted-fg); margin-top: 2rem; }

/* ===== FOOTER ===== */
.site-footer { position: relative; color: var(--primary-fg); overflow: hidden; }
.footer-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-background.jpg') center/cover;
}
.footer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    hsla(180,40%,15%,0.85),
    hsla(170,50%,20%,0.75),
    hsla(160,60%,25%,0.7));
}
.footer-content { position: relative; z-index: 1; padding: 2.5rem 1rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-grid h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-grid p { font-size: 0.875rem; opacity: 0.6; }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.375rem; }
.footer-grid a { font-size: 0.875rem; opacity: 0.6; transition: opacity 0.2s; }
.footer-grid a:hover { opacity: 1; }
.footer-email { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid hsla(0,0%,100%,0.1);
  margin-top: 2rem; padding-top: 1.5rem; text-align: center;
  font-size: 0.75rem; opacity: 0.4;
}
