/* ==========================================================================
   HOME PAGE — hero + section-specific styles
   ========================================================================== */

/* ---------------------------------- HERO ---------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(7rem, 8vw, 10rem);
  padding-bottom: var(--sp-9);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: var(--accent);
  top: -180px; right: -120px;
}
.hero-blob-2 {
  width: 360px; height: 360px;
  background: var(--accent-2);
  top: 220px; left: -140px;
  opacity: 0.35;
}
.hero-blob-3 {
  width: 420px; height: 420px;
  background: var(--accent);
  top: 10%; right: -160px;
  opacity: 0.22;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-9);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-8); }
}

.hero-title {
  font-size: var(--fs-4xl);
  margin-block: var(--sp-5);
  max-width: 15ch;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.hero-trust {
  display: flex;
  gap: var(--sp-7);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.hero-trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero-trust-item strong { font-family: var(--font-display); font-size: var(--fs-lg); }
.hero-trust-item span { font-size: var(--fs-xs); color: var(--text-faint); }

.hero-visual { position: relative; }
.hero-mock { max-width: 480px; margin-inline: auto; }
.hero-mock-body { min-height: 260px; }

.floating-tile {
  position: absolute;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-md);
  top: 8%;
  left: -8%;
  backdrop-filter: blur(8px);
}
.floating-tile-2 {
  top: auto;
  left: auto;
  bottom: 6%;
  right: -6%;
}
.floating-orb {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 22px;
  background: var(--gradient-primary);
  bottom: -10%;
  left: 8%;
  z-index: -1;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .floating-tile { display: none; }
}

.scroll-cue {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: var(--sp-9);
}
.scroll-cue span {
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-pill);
  position: relative;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--accent-2);
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
  animation: float-y-sm 1.6s var(--ease-in-out) infinite;
}

/* ------------------------------- TRUST STRIP ------------------------------- */
.trust-strip { padding-block: var(--sp-7); }
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-7);
  color: var(--text-faint);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

/* ----------------------------- PROBLEM / SOLUTION ---------------------------- */
.problem-list { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-6); }
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  color: var(--text-muted);
}
.x-mark, .check-mark {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}
.x-mark { background: rgba(255, 90, 90, 0.14); color: #ff6b6b; }
.check-mark { background: rgba(212, 178, 115, 0.14); color: var(--accent-2); }

/* -------------------------------- PROCESS STRIP -------------------------------- */
.process-row {
  display: grid;
  gap: var(--sp-6);
  position: relative;
}
@media (min-width: 780px) {
  .process-row { grid-template-columns: repeat(4, 1fr); }
  .process-row::before {
    content: '';
    position: absolute;
    top: 22px; left: 6%; right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
  }
}
.process-step { position: relative; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--accent-2);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
}
.process-step h5 { margin-bottom: var(--sp-2); }

/* ------------------------------- PORTFOLIO TEASER ------------------------------- */
.portfolio-teaser { position: relative; overflow: hidden; }
.portfolio-teaser .hero-blob-3 { z-index: 0; }
.portfolio-teaser .container { position: relative; z-index: 1; }
.portfolio-teaser a.browser-mock { display: block; }

/* -------------------------------- PRICING TEASER -------------------------------- */
.pricing-teaser-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3vw, 3.5rem);
  display: grid;
  gap: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.pricing-teaser-card::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: var(--gradient-radial-glow);
  opacity: 0.5;
  pointer-events: none;
}
.pricing-teaser-card > * { position: relative; z-index: 1; }
@media (min-width: 860px) {
  .pricing-teaser-card { grid-template-columns: 1.3fr 0.7fr; align-items: center; }
}
.check-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-block: var(--sp-6); }
.check-list li { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }

.pricing-teaser-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-7);
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}
.price-huge {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: 1;
}

/* --------------------------------- ABOUT TEASER --------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.stat-card strong { font-family: var(--font-display); font-size: var(--fs-md); color: var(--accent-2); }
.stat-card span { font-size: var(--fs-xs); color: var(--text-faint); }
