/* ========================
   HOMEPAGE — ENHANCED ENTRY
   ======================== */

/* HERO: Bold, full-width, stops the scroll */
.hero {
  padding: 0;
  background: var(--fg);
  position: relative;
  overflow: hidden;
}

/* Subtle radial gradient for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199, 118, 58, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 100% 100%, rgba(125, 158, 123, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ALL CAPS headline — Oswald energy */
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Oswald', 'Fraunces', Georgia, serif !important;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-lede {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 44ch;
  margin-bottom: 2rem;
}

/* ========================
   GOAL SELECTOR (INLINE)
   ======================== */
.goal-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.goal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.goal-card:hover,
.goal-card:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.goal-card-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: grayscale(1) brightness(1.5);
  transition: filter 0.2s;
}

.goal-card:hover .goal-card-icon { filter: none; }

.goal-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}

.goal-card-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* Hero CTA */
.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.hero-cta:hover {
  background: #b86a2e !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(199, 118, 58, 0.4);
}

.hero-cta-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
}

/* ========================
   SAMPLE STACK CARD (HERO)
   ======================== */
.hero-stack-card {
  background: rgba(247, 245, 240, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4);
}

.stack-card-label {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.7rem 1.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stack-card-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7D9E7B;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.stack-card-items { display: flex; flex-direction: column; gap: 0; }

.stack-item { padding: 1rem 1.2rem; }

.stack-item--training {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stack-item--rest { background: rgba(0, 0, 0, 0.2); }

.stack-item-day {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.stack-item--training .stack-item-day { color: var(--accent-muted); }
.stack-item--rest .stack-item-day { color: rgba(255, 255, 255, 0.35); }

.stack-item-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.stack-item-time {
  font-size: 0.65rem;
  font-family: 'DM Sans', monospace;
  min-width: 80px;
}

.stack-item--training .stack-item-time { color: rgba(255, 255, 255, 0.35); }
.stack-item--rest .stack-item-time { color: rgba(255, 255, 255, 0.3); }

.stack-item-compound {
  font-size: 0.82rem;
  font-weight: 600;
  flex: 1;
}

.stack-item--training .stack-item-compound { color: var(--white); }
.stack-item--rest .stack-item-compound { color: rgba(255, 255, 255, 0.75); }

.stack-item-dose {
  font-size: 0.7rem;
  font-family: 'DM Sans', monospace;
}

.stack-item--training .stack-item-dose { color: var(--accent-muted); }
.stack-item--rest .stack-item-dose { color: var(--sage-light); }

.stack-card-footer {
  padding: 0.65rem 1.2rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.stack-card-footer span { opacity: 0.5; }

/* ========================
   CLOSING SECTION (CTA)
   ======================== */
.closing {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--fg);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(199, 118, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-family: 'Oswald', 'Fraunces', Georgia, serif !important;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.closing p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
}

.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.closing-cta:hover {
  background: #b86a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(199, 118, 58, 0.4);
}

.closing-note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem 3rem;
  }

  .hero-stack-card { order: -1; }

  .goal-selector {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.8rem; }

  .goal-selector {
    grid-template-columns: 1fr;
  }

  .closing h2 { font-size: 2.5rem !important; }
}