/* ============================================
   HOMEPAGE STYLES
   ============================================ */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero__capsules {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.12;
}

.hero__capsule {
  position: absolute;
  border-radius: 100px;
  background: rgba(255,255,255,0.4);
}
.hero__capsule--1 { width: 300px; height: 120px; top: 10%; right: -50px; transform: rotate(-35deg); }
.hero__capsule--2 { width: 400px; height: 160px; top: 40%; right: 15%; transform: rotate(-35deg); }
.hero__capsule--3 { width: 250px; height: 100px; bottom: 15%; right: 5%; transform: rotate(-35deg); }
.hero__capsule--4 { width: 180px; height: 72px; top: 20%; left: 60%; transform: rotate(-35deg); }
.hero__capsule--5 { width: 350px; height: 140px; bottom: 30%; left: -80px; transform: rotate(-35deg); }
.hero__capsule--6  { width: 200px; height: 80px;  top: 65%; right: 35%; transform: rotate(-35deg); }
.hero__capsule--7  { width: 280px; height: 112px; bottom: 5%; left: 30%; transform: rotate(-35deg); }
.hero__capsule--8  { width: 150px; height: 60px;  top: 5%;  left: 25%; transform: rotate(-35deg); }
.hero__capsule--9  { width: 220px; height: 88px;  top: 75%; left: 10%; transform: rotate(-35deg); }
.hero__capsule--10 { width: 170px; height: 68px;  top: 15%; right: 40%; transform: rotate(-35deg); }

.hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 204, 212, 0.2) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero__text { padding-top: 40px; }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(130, 204, 212, 0.2);
  border: 1px solid rgba(130, 204, 212, 0.4);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__label-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title em { font-style: normal; color: var(--teal-bright); }

.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 14px;
  font-weight: 400;
}
.hero__subtitle:last-of-type {
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__pill-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.hero__pill-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(130, 204, 212, 0.25);
  border-radius: 50%;
  animation: ring-rotate 20s linear infinite;
}
.hero__pill-ring--2 {
  inset: 40px;
  border-color: rgba(255,255,255,0.1);
  animation-direction: reverse;
  animation-duration: 30s;
}
.hero__pill-ring--3 {
  inset: 80px;
  border-color: rgba(130, 204, 212, 0.15);
  animation-duration: 25s;
}

.hero__pill-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__stat-badge {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 16px 20px;
  animation: float 4s ease-in-out infinite;
}
.hero__stat-badge--1 { top: 10%; right: 0; animation-delay: 0s; }
.hero__stat-badge--2 { bottom: 20%; left: 0; animation-delay: 1.5s; }
.hero__stat-badge--3 { top: 55%; right: -20px; animation-delay: 3s; }

.hero__stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-bright);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* PROBLEM SECTION */
.problem {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.problem__header {
  text-align: center;
  margin-bottom: 80px;
}

.problem__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--plum-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.problem__subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.problem__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.stat-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--off-white);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 36, 109, 0.08);
}

.stat-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--plum), var(--plum-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.stat-card__icon svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 2; }

.stat-card__number {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--plum-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-card__number span { color: var(--teal); }

.stat-card__desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

.problem__quote {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.problem__quote-capsule {
  position: absolute;
  width: 200px; height: 80px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  top: -20px; right: 10%;
  transform: rotate(-35deg);
}

.problem__quote-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: rgba(130, 204, 212, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem__quote-text {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: white;
  line-height: 1.7;
  font-weight: 400;
}

/* MECHANISM */
.mechanism {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.mechanism__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mechanism__pill-container {
  position: relative;
  background: linear-gradient(135deg, #f3eef6, #e8f7f5);
  border-radius: 32px;
  padding: 60px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mechanism__pill-svg { animation: pill-float 5s ease-in-out infinite; }

.mechanism__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mechanism__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s;
  cursor: default;
}
.mechanism__step:hover {
  background: white;
  box-shadow: 0 4px 20px rgba(123, 36, 109, 0.06);
}

.mechanism__step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--gradient-hero);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}

.mechanism__step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--plum-deep);
  margin-bottom: 6px;
}

.mechanism__step-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* PIPELINE PREVIEW */
.pipeline-preview {
  padding: var(--section-padding) 0;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}
.pipeline-preview::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 204, 212, 0.1) 0%, transparent 70%);
  top: -200px; left: -100px;
}

.pipeline-preview__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.pipeline-preview__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pipeline-preview__subtitle {
  color: var(--gray-700);
  font-size: 1rem;
}

.pipeline-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pipeline-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--teal);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}
.pipeline-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.pipeline-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.pipeline-card__target {
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 600;
}
.pipeline-card__indication {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.pipeline-card__progress {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.pipeline-card__progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-teal);
}

.pipeline-card__phase {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.pipeline-preview__cta {
  text-align: center;
}

/* IMPACT */
.impact {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.impact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.impact__content-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--plum-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.impact__content-title em { font-style: normal; color: var(--teal); }

.impact__content-text {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.impact__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.impact__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.impact__feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(130, 204, 212, 0.1), rgba(130, 204, 212, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.impact__feature-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 2; }
.impact__feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--plum-deep);
  margin-bottom: 2px;
}
.impact__feature-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.impact__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.impact__compare-card {
  padding: 36px 28px;
  border-radius: 20px;
  text-align: center;
  position: relative;
}
.impact__compare-card--old {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.impact__compare-card--new {
  background: linear-gradient(135deg, var(--plum-deep), var(--plum));
  color: white;
  box-shadow: 0 12px 40px rgba(123, 36, 109, 0.25);
}
.impact__compare-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.impact__compare-card--old .impact__compare-label { color: var(--gray-500); }
.impact__compare-card--new .impact__compare-label { color: var(--teal-light); }
.impact__compare-icon { font-size: 3rem; margin-bottom: 16px; }
.impact__compare-icon svg { transition: transform 0.4s ease; }
.impact__compare-card:hover .impact__compare-icon svg { transform: scale(1.1); }
.impact__compare-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.impact__compare-card--old .impact__compare-title { color: var(--gray-700); }
.impact__compare-desc { font-size: 0.85rem; line-height: 1.5; }
.impact__compare-card--old .impact__compare-desc { color: var(--gray-500); }
.impact__compare-card--new .impact__compare-desc { color: rgba(255,255,255,0.7); }
.impact__compare-arrow {
  position: absolute;
  top: 50%; left: -14px;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(130, 204, 212, 0.4);
}

/* CREDIBILITY */
.credibility {
  padding: 60px 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.credibility__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.credibility__number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--plum-deep);
  letter-spacing: -0.03em;
}
.credibility__number span { color: var(--teal); }
.credibility__label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.4;
}

/* NEWS */
.news {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.news__title {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--plum-deep);
  letter-spacing: -0.02em;
}
.news__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.news__link:hover { color: var(--plum); }

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news__card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 36, 109, 0.08);
  border-color: var(--teal);
}

.news__card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--off-white);
  color: var(--plum);
  margin-bottom: 12px;
}

.news__card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news__card-date {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 8px;
}
.news__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--plum-deep);
  line-height: 1.4;
  margin-bottom: 12px;
}
.news__card-excerpt {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  flex: 1;
}

/* HOMEPAGE RESPONSIVE */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin: 0 auto 40px; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .mechanism__layout { grid-template-columns: 1fr; }
  .mechanism__visual { order: -1; }
  .impact__layout { grid-template-columns: 1fr; }
  .impact__visual { order: -1; }
  .pipeline-preview__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .problem__stats { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .credibility__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .problem__quote { flex-direction: column; text-align: center; padding: 36px 24px; }
  .pipeline-preview__grid { grid-template-columns: 1fr; }
}

@media (max-height: 860px) {
  .hero {
    align-items: flex-start;
    padding-top: 130px;
    padding-bottom: 40px;
  }
  .hero__text { padding-top: 0; }
}
