:root {
  color-scheme: dark;
  --surface: rgba(19, 22, 34, 0.85);
  --surface-strong: rgba(29, 33, 48, 0.9);
  --text-primary: #f5f7ff;
  --text-muted: #c1c8e1;
  --accent: #6a7bff;
  --accent-strong: #7b8cff;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 20px 60px rgba(5, 7, 16, 0.55);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 120% at 50% 0%, rgba(94, 63, 255, 0.4), transparent 60%),
    radial-gradient(80% 80% at 20% 20%, rgba(0, 171, 255, 0.3), transparent 70%),
    #0b0d15;
  color: var(--text-primary);
  font-family: inherit;
  line-height: 1.6;
  display: flex;
  justify-content: center;
}

.page-shell {
  width: min(96vw, 1200px);
  padding: 2.5rem clamp(1.5rem, 3vw, 3.25rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

main section + section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.hero-copy,
.hero-image-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border-radius: 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  min-height: 400px;
}

.hero-image-container {
  padding-bottom: 0;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--accent-strong);
}

.hero-subtext {
  margin: 0;
  color: var(--text-muted);
  max-width: 38ch;
}

.badge-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-copy a {
  align-self: flex-start;
  display: inline-flex;
  transition: transform 180ms ease;
}

.hero-copy a:hover,
.hero-copy a:focus-visible {
  transform: translateY(-3px);
}

.app-store-badge,
.product-hunt-badge {
  display: block;
  height: 54px;
  width: auto;
  max-width: 250px;
}

.hero-image {
  width: 100%;
  max-width: 350px;
  border-radius: 1rem;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.feature-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

.cta {
  text-align: center;
  background: var(--surface-strong);
  border: 1px solid var(--border-subtle);
  border-radius: 1.75rem;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.cta a {
  display: inline-flex;
  justify-content: center;
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cta p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0 0;
  gap: 1rem;
}

.contact-button {
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, rgba(95, 110, 255, 0.85), rgba(43, 109, 255, 0.8));
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 14px 35px rgba(56, 101, 255, 0.4);
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(56, 101, 255, 0.55);
}

.policy-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.policy-link:hover,
.policy-link:focus-visible {
  color: var(--text-primary);
}

@media (max-width: 960px) {
  .page-shell {
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-copy a {
    align-self: center;
  }

  .badge-container {
    justify-content: center;
  }

  .hero-image-container {
    order: -1;
    min-height: 300px;
  }
  
  .hero-copy {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-button {
    text-align: center;
  }
}

@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;
  }
}
