/* Homepage — loaded only on the front page. */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(61,191,164,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(61,191,164,0.2);
  color: var(--teal);
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid rgba(61,191,164,0.3);
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; max-width: 680px; }
.hero h1 span { color: var(--teal); }
.hero-lead {
  color: rgba(255,255,255,0.68);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 1.25rem 0 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   WHY UNPLUG — FEATURES GRID
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3rem; }
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 4px solid var(--teal);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-icon {
  width: 48px;
  height: 48px;
  background: var(--mint-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.why-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.why-card p  { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.testimonial-quote {
  font-size: 2.5rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 1.25rem; }
.testimonial-author { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.82rem;
  color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.testimonial-role { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.2rem; }

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.pact-steps { display: flex; flex-direction: column; gap: 0; }
.pact-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  position: relative;
}
.pact-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  width: 2px;
  bottom: 0;
  background: linear-gradient(to bottom, var(--teal), rgba(61,191,164,0.2));
}
.pact-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pact-step-num.amber { background: var(--amber); }
.pact-step-content { padding-top: 0.4rem; }
.pact-step-content h3 { margin-bottom: 0.4rem; }
.pact-step-content p  { color: var(--muted); font-size: 0.93rem; margin: 0; }

.testimonial-card figcaption { display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.75rem; }
.testimonial-text p { margin: 0; }
.posts-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-card-on-dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.post-card-on-dark .post-card-title a { color: #fff; }
.post-card-on-dark p { color: rgba(255,255,255,0.55); }
.post-card-on-dark .post-card-title { font-size: 1rem; }

@media (max-width: 1024px) {
  .posts-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 4rem 0 2.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .posts-grid-3 { grid-template-columns: 1fr; }
}
