/* ============================================
   Chicken Road 2.0 — Home Page Styles
   ============================================ */

/* --- Hero --- */
.hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(170deg, var(--color-bg) 0%, #dceeff 60%, var(--color-surface-2) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
}
.hero-content h1 {
  margin-bottom: 0.4em;
  margin-top: 0;
}
.hero-content .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.hero-content .byline {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}
.hero-content .byline a {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual svg {
  width: 100%;
  max-width: 420px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: center;
  margin-top: var(--space-lg);
}
.hero-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 600;
}
.hero-meta .meta-item .val {
  color: var(--color-road);
}

@media (min-width: 1025px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
  }
  .hero-content {
    text-align: left;
  }
  .hero-content .subtitle {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-ctas {
    justify-content: flex-start;
  }
  .hero-meta {
    justify-content: flex-start;
  }
}

/* --- Quick Facts Strip --- */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}
.quick-fact {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.quick-fact .fact-icon {
  font-size: 1.5rem;
  margin-bottom: 0.3em;
}
.quick-fact .fact-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.quick-fact .fact-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-road);
}

@media (min-width: 601px) {
  .quick-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Content Sections --- */
.content-section {
  margin-bottom: var(--space-2xl);
}
.content-section h2 {
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.content-section h2 .icon {
  font-size: 1.2em;
}

/* --- Image Slot --- */
.img-slot {
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  margin: var(--space-lg) 0;
  border: 2px dashed var(--color-border);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-slot img {
  border-radius: var(--radius-sm);
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.step-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-card h4 {
  margin-top: 0;
  margin-bottom: 0.3em;
}
.step-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

@media (min-width: 601px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Difficulty Grid --- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.diff-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-muted);
  transition: transform 0.2s, box-shadow 0.2s;
}
.diff-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.diff-card.easy { border-left-color: var(--color-success); }
.diff-card.medium { border-left-color: var(--color-accent); }
.diff-card.hard { border-left-color: var(--color-primary); }
.diff-card.hardcore { border-left-color: var(--color-danger); }

.diff-card h4 {
  margin-top: 0;
  margin-bottom: 0.3em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.diff-card .diff-detail {
  font-size: 0.9rem;
  color: var(--color-muted);
}

@media (min-width: 601px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Warning Box --- */
.warning-box {
  background: rgba(255, 59, 48, 0.06);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}
.warning-box h4 {
  color: var(--color-danger);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.warning-box p {
  font-size: 0.95rem;
  margin-bottom: 0.5em;
}
.warning-box p:last-child {
  margin-bottom: 0;
}

/* --- Info Box --- */
.info-box {
  background: rgba(53, 199, 89, 0.06);
  border: 1px solid rgba(53, 199, 89, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}
.info-box h4 {
  color: var(--color-success);
  margin-top: 0;
}

/* --- Brand Cards --- */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.brand-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.2s;
}
.brand-card:hover {
  box-shadow: var(--shadow-md);
}
.brand-card h4 {
  margin-top: 0.5em;
  margin-bottom: 0.3em;
}
.brand-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1em;
}

@media (min-width: 601px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Inline CTA --- */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin: var(--space-xl) 0;
  border-left: 4px solid var(--color-primary);
}
.inline-cta .cta-text h4 {
  margin-top: 0;
  margin-bottom: 0.2em;
}
.inline-cta .cta-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --- Final CTA --- */
.final-cta {
  background: linear-gradient(135deg, var(--color-road) 0%, #555b6a 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  margin: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,106,0,0.15), transparent 70%);
  border-radius: 50%;
}
.final-cta h2 {
  color: #fff;
  margin-top: 0;
  position: relative;
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  position: relative;
}
.final-cta .btn {
  position: relative;
}
