/* Homepage — matches app login / welcome screens */

body.home-page {
  background: var(--color-screen-bg);
}

body.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.65) 70%, transparent 100%);
  border-bottom: none;
}

body.home-page .site-header .brand span {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.home-page main {
  max-width: none;
  padding: 0;
}

.hero-banner {
  position: relative;
  min-height: clamp(28rem, 72vh, 40rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5.5rem 1.25rem 3rem;
}

.hero-banner__bg {
  position: absolute;
  inset: 0;
  background-color: #ede6f7;
  background-image:
    url("/assets/SENBackground.jpg"),
    linear-gradient(
      180deg,
      #ddd0f5 0%,
      #f5dce8 28%,
      #ede6f7 55%,
      #fef7ff 100%
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.07) translateY(-12px); }
}

.hero-banner__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(237, 230, 247, 0.55) 0%,
    rgba(255, 250, 255, 0.72) 45%,
    rgba(254, 247, 255, 0.88) 100%
  );
}

.hero-banner__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(139, 83, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-banner__motifs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-banner__motifs span {
  position: absolute;
  opacity: 0.45;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
  animation: motif-float 8s ease-in-out infinite;
}

.hero-banner__motifs .m1 { top: 14%; left: 12%; font-size: 1rem; animation-delay: 0s; }
.hero-banner__motifs .m2 { top: 20%; right: 14%; font-size: 0.95rem; animation-delay: 1.2s; }
.hero-banner__motifs .m3 { top: 38%; left: 8%; font-size: 1.1rem; animation-delay: 2s; }
.hero-banner__motifs .m4 { bottom: 28%; right: 10%; font-size: 1.15rem; animation-delay: 0.6s; }
.hero-banner__motifs .m5 { bottom: 18%; left: 22%; font-size: 1rem; animation-delay: 1.8s; }

@keyframes motif-float {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-10px); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner__bg,
  .hero-banner__motifs span {
    animation: none;
  }
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  text-align: center;
}

.hero-banner__logo {
  width: clamp(5.5rem, 18vw, 7.5rem);
  height: clamp(5.5rem, 18vw, 7.5rem);
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(106, 85, 142, 0.2));
}

.hero-banner__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-title);
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-banner__subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--color-subtitle, #2d3853);
  letter-spacing: 0.02em;
}

.hero-banner__tagline {
  margin: 0 auto 1.75rem;
  max-width: 36ch;
  font-size: 1.0625rem;
  color: #475569;
  line-height: 1.55;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.25rem 0.7rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 11.5rem;
  justify-content: flex-start;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106, 85, 142, 0.18);
}

.store-btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.store-btn--play {
  background: #1a1a1a;
  color: #fff;
}

.store-btn--apple {
  background: #000;
  color: #fff;
}

.store-btn__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
}

.store-btn__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn__small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn__big {
  font-size: 1rem;
}

.store-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

.home-sections {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-heading-legal);
}

.section-intro p {
  max-width: 58ch;
  margin: 0.75rem auto 0;
  color: #475569;
  font-size: 1.0625rem;
}

.summary-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 32px rgba(106, 85, 142, 0.08);
  margin-bottom: 1.5rem;
}

.summary-card p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.summary-card p:last-child {
  margin-bottom: 0;
}

.pillar-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.pillar {
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: 1.35rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(106, 85, 142, 0.06);
}

.pillar__icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--color-section-heading);
}

.pillar p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-body);
  line-height: 1.5;
}

.mission-strip {
  background: linear-gradient(135deg, #8b53ff 0%, #6b41cc 100%);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  text-align: center;
  margin-top: 1.5rem;
}

.mission-strip h2 {
  color: #fff;
  margin-top: 0;
  font-size: 1.35rem;
}

.mission-strip p {
  margin: 0 auto;
  max-width: 52ch;
  opacity: 0.95;
  line-height: 1.6;
}

.mission-strip a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.mission-strip a:hover {
  color: #ede6f7;
}

.disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-button);
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}
