/* ============================================================
   Landing Page Styles
   ============================================================ */

/* Hero */
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
  }
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__viz {
  flex: 0 0 auto;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero__viz {
    flex: 0 0 420px;
    margin: 0;
  }
}

.hero__viz svg {
  width: 100%;
  height: 100%;
}

/* Background decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(167, 139, 250, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Key Results Strip */
.results-strip {
  padding: var(--space-3xl) 0;
}

.results-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .results-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.result-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.result-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.result-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.result-card__math {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.result-card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* Teaser section */
.teaser {
  padding: var(--space-3xl) 0;
}

.teaser__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.teaser__header h2 {
  margin-bottom: var(--space-sm);
}

.teaser__header p {
  max-width: 600px;
  margin: 0 auto;
}

/* How it works teaser - 3 steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
}

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

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-primary);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* Arrow between steps (desktop) */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    right: calc(-1 * var(--space-xl) / 2 - 8px);
    top: 24px;
    font-size: var(--text-xl);
    color: var(--text-tertiary);
  }
}

/* Publications teaser */
.pub-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.pub-teaser__card {
  padding: var(--space-xl);
}

.pub-teaser__year {
  margin-bottom: var(--space-sm);
}

.pub-teaser__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-tight);
}

.pub-teaser__authors {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.pub-teaser__link {
  color: var(--accent-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.pub-teaser__link:hover {
  text-decoration: underline;
}
