/* Audio Cradle — Landing Page Styles
   Color palette derived from app icon (audio-cradle-logo.svg):
   - Deep purple  #331948  (background)
   - Dark purple  #1a0c26  (alt sections)
   - Light amber  #F2DC4A  (CTA / accent)
   - Coral        #EC695F  (hover accent)
   - Warm beige   #D6C2AC  (body text)
   - White        #FFFFFF  (headings)
*/

/* ── Reset & Base ─────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background: #331948;
  color: #D6C2AC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #F2DC4A;
  text-decoration: none;
}

a:hover {
  color: #EC695F;
}

/* ── Layout ───────────────────────────────────────────── */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: #1a0c26;
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 100px 0 80px;
}

.hero-icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  border-radius: 22%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #F2DC4A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #D6C2AC;
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: #D6C2AC;
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  background: #F2DC4A;
  color: #1a0c26;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
}

.cta-button:hover {
  background: #EC695F;
  color: #fff;
  transform: translateY(-1px);
}

.cta-secondary {
  background: transparent;
  color: #F2DC4A;
  border: 2px solid #F2DC4A;
}

.cta-secondary:hover {
  background: #F2DC4A;
  color: #1a0c26;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(214, 194, 172, 0.6);
}

/* ── Carousel ─────────────────────────────────────────── */

.carousel {
  margin: 48px auto 0;
  max-width: 720px;
  position: relative;
}

.carousel-track {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 194, 172, 0.12);
  background: #1a0c26;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(214, 194, 172, 0.3);
  font-size: 0.9rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(214, 194, 172, 0.3);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-dot.active {
  background: #F2DC4A;
  border-color: #F2DC4A;
}

.carousel-dot:hover {
  border-color: #F2DC4A;
}

/* ── Section headings ─────────────────────────────────── */

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

/* ── Features ─────────────────────────────────────────── */

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

.feature-card {
  background: rgba(214, 194, 172, 0.06);
  border: 1px solid rgba(214, 194, 172, 0.1);
  border-radius: 12px;
  padding: 28px 24px;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Free Trial ────────────────────────────────────────── */

.trial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.trial-explanation {
  font-size: 1rem;
  line-height: 1.7;
}

.trial-headline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2DC4A;
  margin-bottom: 12px;
}

.trial-explanation p + p {
  margin-top: 16px;
}

.trial-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trial-card {
  background: rgba(214, 194, 172, 0.06);
  border: 1px solid rgba(214, 194, 172, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.trial-card h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.trial-card ul {
  list-style: none;
  padding: 0;
}

.trial-card ul li {
  padding: 4px 0;
  font-size: 0.95rem;
}

.trial-card ul li::before {
  margin-right: 8px;
  font-size: 0.85rem;
}

.trial-included ul li::before {
  content: "\2713";
  color: #F2DC4A;
}

.trial-limitation ul li::before {
  content: "\2192";
  color: rgba(214, 194, 172, 0.5);
}

/* ── Supported Plugins ────────────────────────────────── */

.plugin-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.plugin-tag {
  background: rgba(214, 194, 172, 0.08);
  border: 1px solid rgba(214, 194, 172, 0.15);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: #D6C2AC;
}

/* ── Pricing ──────────────────────────────────────────── */

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  background: rgba(214, 194, 172, 0.06);
  border: 1px solid rgba(214, 194, 172, 0.12);
  border-radius: 16px;
  padding: 48px 32px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: #F2DC4A;
  line-height: 1;
  margin-bottom: 8px;
}

.price-detail {
  font-size: 1rem;
  margin-bottom: 8px;
}

.price-trial {
  font-size: 0.95rem;
  color: rgba(214, 194, 172, 0.7);
  margin-bottom: 32px;
}

/* ── FAQ ──────────────────────────────────────────────── */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid rgba(214, 194, 172, 0.12);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #F2DC4A;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list .faq-answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────── */

footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(214, 194, 172, 0.5);
  border-top: 1px solid rgba(214, 194, 172, 0.08);
}

footer a {
  color: rgba(214, 194, 172, 0.6);
}

footer a:hover {
  color: #F2DC4A;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero h1 {
    font-size: 1.2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .hero-icon {
    width: 120px;
    height: 120px;
  }

  section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .price {
    font-size: 2.4rem;
  }
}
