:root {
  --bg-deep: #161124;
  --bg-light: #f6f3ff;
  --text-main: #1e1633;
  --text-muted: #4e4267;
  --brand: #6c4eff;
  --brand-dark: #452db5;
  --accent: #ffc857;
  --white: #ffffff;
  --max-width: 1080px;
  --shadow-soft: 0 22px 45px rgba(22, 17, 36, 0.15);
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

.section {
  padding: 96px 20px;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  margin: 12px 0 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.hero {
  background: radial-gradient(circle at top left, rgba(108, 78, 255, 0.18), rgba(22, 17, 36, 0.9)), var(--bg-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 40px 0 120px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 20% auto auto -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.16), transparent 70%);
  filter: blur(0.5px);
  z-index: 0;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nav .logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav .cta {
  background: var(--accent);
  color: #2c1a15;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-body {
  max-width: var(--max-width);
  margin: 64px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-copy p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero .cta,
.split-copy .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #201114;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .cta:hover,
.split-copy .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(32, 17, 20, 0.12);
}

.ghost {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-highlights li::before {
  content: '✦';
  margin-right: 10px;
  color: var(--accent);
}

.hero-visual {
  position: relative;
}

.hero-carousel {
  position: relative;
  width: min(320px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  padding: 18px 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, rgba(22, 17, 36, 0.65), rgba(108, 78, 255, 0.32));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(0.97);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(10, 7, 24, 0.9);
  display: block;
}

.features {
  background: var(--bg-light);
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--white);
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 18px 45px rgba(36, 24, 66, 0.08);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-card img {
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(22, 17, 36, 0.12);
}

.split {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.split-copy ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.split-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.split-copy li::before {
  content: '•';
  font-size: 1.4rem;
  color: var(--brand);
}

.screenshot-gallery {
  background: var(--bg-light);
}

.screenshot-row {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 20px;
}

.screenshot-row img {
  border-radius: 22px;
  box-shadow: 0 15px 36px rgba(30, 22, 51, 0.15);
  transition: transform 0.25s ease;
}

.screenshot-row img:hover {
  transform: translateY(-6px);
}

.testimonial {
  text-align: center;
}

.quote-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.quote-card p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.quote-card span {
  color: var(--text-muted);
}

.faq-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0 20px;
}

.faq-list article {
  background: var(--bg-light);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(30, 22, 51, 0.08);
}

.faq-list h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 20px 56px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-note {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .nav {
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .nav .cta {
    order: 2;
  }

  .hero-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-carousel {
    margin-top: 24px;
  }

  .hero-highlights {
    justify-items: center;
  }

  .split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .split-copy ul {
    align-items: center;
  }

  .split-copy li {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 16px;
  }

  .hero {
    padding-bottom: 80px;
  }

  .feature-card {
    padding: 24px;
  }

  .faq-list {
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .cta,
  .ghost {
    width: 100%;
    justify-content: center;
  }

  .quote-card {
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}
