/* ============================================================
   HOME PAGE — HUBSPOT + BINJAN INSPIRED (COLOR-ENHANCED)
============================================================ */

/* ---------- ROOT & BASE ---------- */

:root {
  --bg-white: #ffffff;
  --bg-soft: #f9fafb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;

  --buying: #2563eb;
  --selling: #16a34a;
  --renting: #9333ea;
  --financing: #f59e0b;
  --vendors: #0ea5e9;

  --brand-blue: #2563eb;
  --brand-green: #10b981;
  --brand-amber: #f59e0b;

  --radius: 12px;
  --radius-lg: 18px;
}

/* ---------- GLOBAL LAYOUT ---------- */

.section {
  padding: 4rem 0;
}

/* Soft alternating background rhythm */
.section.white {
  background:
    linear-gradient(
      180deg,
      rgba(37,99,235,.04),
      transparent
    );
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow {
  max-width: 760px;
}

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3 {
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: #374151;
}

/* ---------- HERO (COLOR SPLASH) ---------- */

.hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(
      900px 420px at 12% 20%,
      rgba(37,99,235,.12),
      transparent 60%
    ),
    radial-gradient(
      700px 360px at 85% 10%,
      rgba(16,185,129,.10),
      transparent 60%
    ),
    #fff;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

/* ---------- HERO ACTIONS ---------- */

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ---------- BUTTONS & LINKS ---------- */

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.primary-btn {
  background:
    linear-gradient(
      135deg,
      var(--brand-blue),
      var(--brand-green)
    );
  color: #fff;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.secondary-btn {
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.secondary-btn:hover {
  background: #f3f4f6;
}

.text-link {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- FEATURE CARD ---------- */

.hero-feature .feature-card {
  background:
    linear-gradient(
      135deg,
      rgba(37,99,235,.10),
      rgba(16,185,129,.08)
    );
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.feature-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
}

/* ---------- CATEGORY GRID (COLOR STRIPES) ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.category-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(
    180deg,
    var(--brand-blue),
    var(--brand-green)
  );
}

/* Category-specific colors */
.category-card.buying::before { background: var(--buying); }
.category-card.selling::before { background: var(--selling); }
.category-card.renting::before { background: var(--renting); }
.category-card.financing::before { background: var(--financing); }
.category-card.vendors::before { background: var(--vendors); }

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.category-card p {
  font-size: 0.9rem;
}

/* ---------- ARTICLE GRID ---------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow .2s ease, transform .2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}

.article-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  font-weight: 600;
}

/* ---------- VALUE / WHY SECTION ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.highlight-box {
  background:
    linear-gradient(
      135deg,
      rgba(37,99,235,.08),
      rgba(16,185,129,.06)
    );
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-box li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.highlight-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-green);
}

/* ---------- FOOTER CTA ---------- */

.soft-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}