/* Landing Page Styles - CSS-only animations for SEO-friendly server rendering */

/* Bleeds out of StyledContent's padding so the hero runs edge to edge -
   keep these in sync with that padding (components/Navigation/styles.js). */
.landing-page {
  margin: -2rem -2.5rem;
  padding: 0;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .landing-page {
    margin: -1.25rem -1rem;
  }
}

/* Hero Section - two columns on cream: pitch left, arched photo right.
   Was a full-bleed photo with a dark overlay, centred white text, a fake
   app-preview panel and a wave divider; the Cabinet design replaces all of
   that with the jukebox-dome arch. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 3.5rem 2.5rem;
  background: #f6ecd9; /* theme.colors.background.main */
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 3.5rem;
    padding: 4.5rem 3.5rem 3rem;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 2.5rem 1.25rem 1.5rem;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  min-width: 0;
}

.hero h1 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0;
  color: #1a2238;
  text-wrap: balance;
}

.hero .tagline {
  font-size: clamp(1.05rem, 1.7vw, 1.6rem);
  line-height: 1.5;
  color: #233358;
  margin: 0;
  max-width: 34ch;
}

.cta-buttons {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b23a2e;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.15rem 2.25rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 5px 0 #7a2808;
  transition: filter 0.2s, transform 0.2s;
}

.cta-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fffcf5;
  color: #1a2238;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.05rem 2.1rem;
  border: 3px solid #1a2238;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.cta-secondary:hover {
  background: #f6ecd9;
  transform: translateY(-1px);
}

/* The jukebox dome: a brass-edged arch framing the photo. */
.hero-arch {
  padding: 18px;
  border-radius: 260px 260px 24px 24px;
  background: linear-gradient(180deg, #233358, #1a2238);
  box-shadow: 0 18px 40px rgba(12, 18, 34, 0.35);
  min-width: 0;
}

.hero-arch-inner {
  position: relative;
  overflow: hidden;
  height: 500px;
  border-radius: 230px 230px 10px 10px;
  border: 4px solid #b8862b;
  background: #1a2238;
}

.hero-arch-image {
  object-fit: cover;
}

@media (max-width: 899px) {
  .hero-arch-inner {
    height: 360px;
    border-radius: 170px 170px 10px 10px;
  }
  .hero-arch {
    border-radius: 190px 190px 24px 24px;
  }
}

/* Launch Banner - Inline promo section */
.launch-banner {
  background: linear-gradient(135deg, #212c45 0%, #2a3a62 50%, #212c45 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 3px solid #b8862b;
  border-bottom: 3px solid #b8862b;
  position: relative;
  overflow: hidden;
  animation: glowPulse 2.5s ease-in-out infinite;
}

.launch-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(184, 134, 43, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.launch-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d9b46a 0%, #ffed4e 100%);
  color: #212c45;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.launch-title {
  font-size: 1.5rem;
  color: #d9b46a;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .launch-title {
    font-size: 1.75rem;
  }
}

.launch-desc {
  color: #ffe4b5;
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
}

.launch-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.launch-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffe4b5;
  font-size: 0.85rem;
  background: rgba(184, 134, 43, 0.15);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(184, 134, 43, 0.3);
}

.launch-feature svg {
  color: #d9b46a;
}

.launch-cta {
  display: inline-block;
  background: linear-gradient(135deg, #d9b46a 0%, #ffed4e 100%);
  color: #212c45;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.launch-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Features Section - "Make your selection" wood panel with title strips */
.features-panel {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 40px;
  border-radius: 24px;
  border: 4px solid #b8862b;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #22305a, #1a2238);
}

.features-panel h2 {
  margin: 0 0 26px;
  text-align: center;
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: #ffe4b5;
}

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

/* One feature rendered as a physical title strip */
.feature-strip {
  position: relative;
  background: #fff;
  border: 4px solid #b23a2e;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  min-width: 0;
  font-family: "Courier Prime", Courier, monospace;
}

.feature-strip-title {
  padding: 10px 40px 8px;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: #1a1a1a;
}

.feature-strip-band {
  position: relative;
  background: #fdecea;
  border-top: 2px solid #b23a2e;
  border-bottom: 2px solid #b23a2e;
}

.feature-strip-selection {
  padding: 4px 44px;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: #7a1f16;
}

.feature-strip .notch {
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
}

.feature-strip .notch-left {
  left: -1px;
  border-left: 22px solid #b23a2e;
}

.feature-strip .notch-right {
  right: -1px;
  border-right: 22px solid #b23a2e;
}

.feature-strip-body {
  padding: 10px 28px 14px;
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: #22305a;
}

@media (max-width: 768px) {
  .features-panel {
    padding: 24px;
    margin: 2rem 1rem;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.feature-card {
  background: linear-gradient(135deg, #faf8f5 0%, #fff 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 24px;
  border: 2px solid #efe8e0;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0a500;
  color: #0b1020;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background:
    linear-gradient(135deg, #faf8f5 0%, #fff 100%) padding-box,
    linear-gradient(135deg, #b8862b 0%, #d9b46a 50%, #b23a2e 100%) border-box;
  box-shadow:
    0 20px 40px rgba(163, 55, 44, 0.15),
    0 0 20px rgba(184, 134, 43, 0.2),
    0 0 40px rgba(184, 134, 43, 0.1);
}

.feature-card:hover .icon {
  animation: bounce 0.6s ease-in-out;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 134, 43, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #b23a2e 0%, #b8862b 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(163, 55, 44, 0.25);
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  color: #666;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* How It Works - plain cream cards with a numbered crimson disc. Was icon
   circles joined by a dashed connector line, centred, under a two-tone
   heading with a subtitle; the Cabinet design has none of that. The
   subtitle string (HOME_HOW_IT_WORKS_SUBTITLE) is unused as a result. */
.how-it-works {
  background: #f6ecd9; /* theme.colors.background.main */
  padding: 5rem 3.5rem;
}

@media (max-width: 767px) {
  .how-it-works {
    padding: 3rem 1.25rem;
  }
}

.how-it-works h2 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  color: #1a2238;
  text-align: center;
  margin: 0 0 2.25rem;
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.step {
  background: #fffcf5;
  border: 3px solid #e2cfae;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: 1.85rem;
  color: #fff;
  background: #b23a2e;
}

.step h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2238;
}

.step p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #233358;
}

/* Bottom CTA - wood panel, copy left, brass button right. Was a centred
   orange gradient band with a pill button. */
.bottom-cta {
  margin: 0 3.5rem 5rem;
  padding: 3rem 3.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #233358, #1a2238);
  border: 4px solid #b8862b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .bottom-cta {
    margin: 0 1.25rem 3rem;
    padding: 2rem 1.5rem;
  }
}

.bottom-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.bottom-cta h2 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  margin: 0;
  color: #fff4dc;
  text-shadow:
    0 0 6px #ff4500,
    0 0 18px rgba(255, 69, 0, 0.7);
}

.bottom-cta p {
  margin: 0;
  font-size: 1.15rem;
  color: #ffe4b5;
}

.bottom-cta .cta-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0c1222;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1.2rem 2.2rem;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    #b8860b 0%,
    #daa520 15%,
    #ffd700 50%,
    #daa520 85%,
    #b8860b 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 5px 0 #44557a;
  transition: filter 0.2s, transform 0.2s;
}

.bottom-cta .cta-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}


/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

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

/* Pulsing glow for launch banner */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(184, 134, 43, 0.3),
                0 0 20px rgba(184, 134, 43, 0.2),
                inset 0 0 20px rgba(184, 134, 43, 0.05);
  }
  50% {
    box-shadow: 0 0 20px rgba(184, 134, 43, 0.5),
                0 0 40px rgba(184, 134, 43, 0.3),
                0 0 60px rgba(184, 134, 43, 0.1),
                inset 0 0 30px rgba(184, 134, 43, 0.1);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .launch-banner {
    animation: none !important;
  }

  .feature-card,
  .cta-primary,
  .cta-secondary,
  .launch-cta,
  .bottom-cta .cta-button {
    transition: none !important;
  }
}

/* "See it in action" - three screens of the demo jukebox on the cream ground,
   brass-framed like the hero arch, captions underneath. */
.showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3.5rem 1rem;
  text-align: center;
}

@media (max-width: 767px) {
  .showcase {
    padding: 3rem 1.25rem 0.5rem;
  }
}

.showcase h2 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  color: #1a2238;
  margin: 0 0 0.75rem;
}

.showcase-intro {
  max-width: 680px;
  margin: 0 auto 2.25rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #233358;
}

.showcase-shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .showcase-shots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.showcase-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 4px solid #b8862b;
  box-shadow: 0 8px 24px rgba(26, 34, 56, 0.18);
}

.showcase-shot figcaption {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2238;
}

.showcase-link {
  display: inline-flex;
}

.bottom-cta-pricing {
  color: #ffe4b5;
  font-weight: 700;
  text-decoration: underline;
  width: fit-content;
}

/* The App Store badge under the bottom CTA, iPhone visitors only (12 Nov 2026). */
.bottom-cta-app {
  display: inline-block;
  margin-top: 0.75rem;
}
