/* ══════════════════════════════════════════════════════════════
   MichaCare — Home Page Styles
   ══════════════════════════════════════════════════════════════ */

/* ── Hero Section ────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fef9f3 0%, #faf8f5 40%, #fef6ec 75%, #fff 100%);
  overflow: hidden;
  padding: 3rem 1.25rem;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, .07) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.hero-circle-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, .05) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero-circle-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 201, 138, .08) 0%, transparent 70%);
  top: 30%;
  left: 15%;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 1;
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 1rem 2.4rem !important;
  font-size: .95rem !important;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}

.hero-stat-label {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-2);
}

/* ── Section Shared ──────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  text-align: center;
  color: var(--text);
  margin-bottom: .6rem;
  position:relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-3);
  font-size: .92rem;
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height:1.7;
}

/* ── Features Section ────────────────────────────────────────── */
.features-section {
  padding: 6rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #fef9f3 50%, #fff 100%);
  position:relative;
}
.features-section::before {
  content:''; position:absolute; width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(212,165,116,.06) 0%, transparent 70%);
  top:50px; left:-200px; pointer-events:none;
}
.features-section::after {
  content:''; position:absolute; width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(232,201,138,.05) 0%, transparent 70%);
  bottom:80px; right:-150px; pointer-events:none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position:relative; z-index:1;
}

.feature-card {
  background: rgba(255,255,255,.8);
  backdrop-filter:blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark));
  opacity:0; transition:opacity .4s;
}
.feature-card:hover::before { opacity:1; }

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(212,165,116,.15), 0 4px 12px rgba(0,0,0,.04);
  border-color: rgba(212,165,116,.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 165, 116, .12), rgba(232, 201, 138, .15));
  border-radius: 16px;
  color: var(--gold);
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:#fff;
  transform:scale(1.1) rotate(-3deg);
  box-shadow:0 8px 24px rgba(212,165,116,.35);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
  transition:color .3s;
}
.feature-card:hover h3 { color:var(--gold-dark); }

.feature-card p {
  font-size: .84rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── How It Works Section ────────────────────────────────────── */
.how-section {
  padding: 6rem 1.25rem;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  position:relative;
}
.how-section::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,165,116,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,201,138,.04) 0%, transparent 50%);
  pointer-events:none;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position:relative; z-index:1;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem;
  position: relative;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.step-card:hover { transform:translateY(-6px); }

.step-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  margin-bottom: .5rem;
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--border-2);
  border-radius: 50%;
  color: var(--gold);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position:relative;
}
.step-icon::after {
  content:''; position:absolute; inset:-6px; border-radius:50%;
  border:1px dashed rgba(212,165,116,.2);
  animation:stepSpin 12s linear infinite;
}
@keyframes stepSpin { to { transform:rotate(360deg); } }

.step-card:hover .step-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(212, 165, 116, .35);
  transform:scale(1.08);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.step-card p {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 5rem;
  flex-shrink: 0;
}

.step-connector svg {
  width: 40px;
  height: 24px;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 6rem 1.25rem;
  background: linear-gradient(135deg, #1a1209 0%, #2c1f0e 50%, #1a1209 100%);
  text-align: center;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 165, 116, .1) 0%, transparent 45%),
    radial-gradient(circle at 80% 50%, rgba(212, 165, 116, .08) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(232,201,138,.06) 0%, transparent 40%);
  pointer-events: none;
  animation:ctaPulse 6s ease-in-out infinite alternate;
}
@keyframes ctaPulse {
  0% { opacity:.7; }
  100% { opacity:1; }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: .8rem;
  letter-spacing:-.01em;
}

.cta-content p {
  color: rgba(255, 255, 255, .55);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width:500px; margin-left:auto; margin-right:auto;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: .92rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
    margin: -.5rem 0;
  }

  .step-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 1rem 2.5rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .hero-stat-num {
    font-size: 1.3rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}
