/* ============================================
   Human Design Health Key - Landing Page Styles
   Redesigned to match HD Health design system
   ============================================ */

/* ---------- Health Key Hero ---------- */
.hk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, #0a0f0d 0%, #111a16 30%, #0d1512 60%, #080c0a 100%);
  overflow: hidden;
}

.hk-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 108, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(45, 74, 62, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.hk-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hk-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hk-hero__title em {
  color: var(--color-accent);
  font-style: italic;
}

.hk-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

.hk-hero__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hk-hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.hk-hero__feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.hk-hero__price-block {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hk-hero__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

.hk-hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hk-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.hk-hero__image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Stats Bar ---------- */
.hk-stats {
  background: var(--color-secondary);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.hk-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.hk-stats__item {
  padding: var(--space-sm);
}

.hk-stats__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.hk-stats__label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ---------- Video Section ---------- */
.hk-video {
  padding: calc(var(--space-xl) * 1.5) 0;
}

.hk-video .section__header {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.hk-video__wrapper {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
}

.hk-video__player {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-border);
}

.hk-video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hk-video__player:hover .hk-video__poster {
  transform: scale(1.03);
}

.hk-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 47, 35, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hk-video__play:hover {
  background: rgba(26, 47, 35, 0.55);
}

.hk-video__play svg {
  width: 68px;
  height: 68px;
  color: var(--color-white);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hk-video__player:hover .hk-video__play svg {
  transform: scale(1.1);
}

.hk-video__player.playing .hk-video__poster,
.hk-video__player.playing .hk-video__play {
  display: none;
}

.hk-video__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Course Overview ---------- */
.hk-overview {
  padding: calc(var(--space-xl) * 1.5) 0;
}

.hk-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hk-overview__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hk-overview__image img {
  width: 100%;
  height: auto;
  display: block;
}

.hk-overview__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hk-overview__content h2 em {
  color: var(--color-accent);
  font-style: italic;
}

.hk-overview__content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* ---------- Modules Section ---------- */
.hk-modules {
  padding: calc(var(--space-xl) * 1.5) 0;
  background: var(--color-secondary);
}

.hk-modules__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hk-module {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
}

.hk-module:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(201, 168, 108, 0.3);
}

.hk-module__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.hk-module__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hk-module__content {
  padding: var(--space-md) var(--space-md) calc(var(--space-md) * 1.2);
}

.hk-module__number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 168, 108, 0.15);
  display: inline-block;
}

.hk-module__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.hk-module__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.hk-module__topics {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.hk-module__topics li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.hk-module__topics li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

/* Bonus module spans full width */
.hk-module--bonus {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
}

.hk-module--bonus .hk-module__image {
  aspect-ratio: auto;
  height: 100%;
}

/* ---------- About Lorena ---------- */
.hk-about {
  padding: calc(var(--space-xl) * 1.5) 0;
}

.hk-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hk-about__image-wrapper {
  position: relative;
}

.hk-about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hk-about__image img {
  width: 100%;
  height: auto;
  display: block;
}

.hk-about__image-accent {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: -1;
}

.hk-about__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.hk-about__content h2 em {
  color: var(--color-accent);
  font-style: italic;
}

.hk-about__content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.hk-about__credentials {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.hk-about__credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.hk-about__credentials li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* ---------- Section Header Enhancements ---------- */
.hk-modules .section__header,
.hk-testimonials .section__header,
.hk-faq .section__header {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(201, 168, 108, 0.15);
  margin-bottom: var(--space-md);
}

.hk-testimonials .section__header {
  border-bottom-color: rgba(201, 168, 108, 0.25);
}

/* ---------- Testimonials ---------- */
.hk-testimonials {
  padding: calc(var(--space-xl) * 1.5) 0;
  background: var(--gradient-spiritual);
}

.hk-testimonials .section__badge,
.hk-testimonials .section__title {
  color: var(--color-white);
}

.hk-testimonials .section__badge {
  border-color: rgba(201, 168, 108, 0.3);
}

.hk-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hk-testimonial {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 108, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.hk-testimonial__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.hk-testimonial__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  stroke: var(--color-accent);
}

.hk-testimonial__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.hk-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hk-testimonial__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 168, 108, 0.3);
}

.hk-testimonial__name {
  font-weight: 500;
  color: var(--color-white);
  font-size: 0.9rem;
}

.hk-testimonial__role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- FAQ ---------- */
.hk-faq {
  padding: calc(var(--space-xl) * 1.5) 0;
}

.hk-faq__list {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

.hk-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.hk-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-primary);
  list-style: none;
}

.hk-faq__item summary::-webkit-details-marker {
  display: none;
}

.hk-faq__item summary .hk-faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  transition: var(--transition-base);
}

.hk-faq__item[open] summary .hk-faq__icon {
  transform: rotate(45deg);
}

.hk-faq__answer {
  padding: 0 0 var(--space-md);
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.hk-cta {
  padding: calc(var(--space-xl) * 1.5) 0;
  background: var(--color-secondary);
  text-align: center;
}

.hk-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.hk-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.hk-cta__title em {
  color: var(--color-accent);
  font-style: italic;
}

.hk-cta__text {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hk-cta__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hk-cta__guarantee {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: var(--space-sm);
}

/* ---------- Homepage Product Card ---------- */
.hk-product-section {
  padding: var(--space-xl) 0;
  background: var(--color-secondary);
}

.hk-product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.hk-product-card__image {
  height: 100%;
  overflow: hidden;
}

.hk-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.hk-product-card__content {
  padding: var(--space-lg);
}

.hk-product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(201, 168, 108, 0.1);
  border: 1px solid rgba(201, 168, 108, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-accent-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hk-product-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.hk-product-card__title em {
  color: var(--color-accent);
  font-style: italic;
}

.hk-product-card__text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hk-product-card__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hk-product-card__highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.hk-product-card__highlights li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hk-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hk-hero__image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hk-overview__grid,
  .hk-about__grid,
  .hk-product-card {
    grid-template-columns: 1fr;
  }

  .hk-overview__image {
    max-width: 600px;
    margin: 0 auto;
  }

  .hk-product-card__image img {
    min-height: 300px;
    max-height: 400px;
  }

  .hk-module--bonus {
    grid-template-columns: 1fr;
  }

  .hk-module--bonus .hk-module__image {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 768px) {
  .hk-hero {
    padding: 100px 0 60px;
  }

  .hk-hero__features {
    grid-template-columns: 1fr;
  }

  .hk-modules__grid {
    grid-template-columns: 1fr;
  }

  .hk-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .hk-stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .hk-about__image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .hk-product-card__highlights {
    grid-template-columns: 1fr;
  }

  .hk-product-card__content {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hk-hero__price {
    font-size: 2rem;
  }
}

/* ---------- Print ---------- */
@media print {
  .hk-hero__bg,
  .hk-hero__image-glow {
    display: none;
  }
}
