:root {
  color-scheme: dark light;
  --bg: #0b0513;
  --bg-alt: #160b24;
  --accent: #f246b6;
  --text: #f6e9ff;
  --text-muted: rgba(246, 233, 255, 0.76);
  --card: rgba(19, 11, 32, 0.68);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #2a0f4a, var(--bg));
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 5rem clamp(1.5rem, 3vw, 5rem) 3rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero__content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 2.4rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button--primary {
  background: linear-gradient(135deg, #f246b6, #7a4bff);
  color: #fff;
  box-shadow: 0 18px 45px rgba(242, 70, 182, 0.35);
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(122, 75, 255, 0.35);
}

.button--ghost {
  background: transparent;
  border-color: rgba(242, 70, 182, 0.3);
  color: var(--text);
}

.button--active {
  border-color: rgba(242, 70, 182, 0.6);
  box-shadow: 0 0 0 3px rgba(242, 70, 182, 0.25);
}

.app-meta {
  display: grid;
  gap: 1rem;
  margin: 3rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  color: var(--text-muted);
}

.app-meta dt {
  font-weight: 700;
  color: var(--text);
}

.device-frame {
  justify-self: center;
}

.device-frame__screen {
  width: min(320px, 80vw);
  aspect-ratio: 10 / 20;
  border-radius: 2.5rem;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(70, 42, 122, 0.65), rgba(15, 8, 34, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 35px 70px rgba(5, 2, 12, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.device-frame__badge {
  align-self: flex-start;
  background: rgba(242, 70, 182, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  padding: 0 clamp(1.5rem, 3vw, 5rem) 5rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--bg-alt);
  border-radius: 2rem;
  padding: 4rem clamp(1.5rem, 3vw, 5rem);
  margin: 4rem 0;
}

.section--grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 1.5rem;
}

.section p,
.section li {
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1rem;
}

.footer {
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
