:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f7f8fc;
  color: #1b1f3b;
  line-height: 1.6;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

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

.hero {
  padding: 32px clamp(24px, 5vw, 80px) 96px;
  background: radial-gradient(circle at top right, rgba(102, 89, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(243, 247, 255, 0.9) 0%, rgba(247, 248, 252, 0.95) 60%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1b1f3b;
}

.brand-accent {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b63ff 0%, #9c74ff 100%);
  box-shadow: 0 8px 16px rgba(116, 99, 255, 0.25);
}

.brand-name {
  letter-spacing: 0.08em;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b63ff 0%, #4b86ff 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(91, 87, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(91, 87, 255, 0.55);
}

.cta-button.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.secondary-link {
  font-weight: 500;
  color: #4b4f73;
  margin-left: 20px;
}

.secondary-link:hover {
  color: #1b1f3b;
}

.hero-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw + 1.2rem, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-copy p {
  color: #50577a;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-screenshot-frame {
  width: min(460px, 92%);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(242, 244, 255, 0.95) 100%);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: 0 24px 50px rgba(27, 31, 59, 0.14);
  border: 1px solid rgba(27, 31, 59, 0.05);
  backdrop-filter: blur(6px);
}

.hero-screenshot {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(27, 31, 59, 0.08);
  box-shadow: 0 20px 46px -28px rgba(27, 31, 59, 0.55);
}

.section {
  padding: clamp(64px, 10vw, 100px) clamp(24px, 5vw, 80px);
}

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

.section-heading h2 {
  font-size: clamp(2rem, 2.5vw + 1rem, 2.8rem);
  margin-bottom: 12px;
}

.section-heading p {
  color: #50577a;
  font-size: 1.05rem;
}

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

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px -24px rgba(27, 31, 59, 0.35);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.feature-card p {
  color: #50577a;
}

.highlight {
  background: linear-gradient(135deg, #6b63ff 0%, #4b86ff 100%);
  color: #fff;
}

.highlight-card {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 48px);
  backdrop-filter: blur(10px);
}

.highlight-card h2 {
  font-size: clamp(2rem, 2.3vw + 1rem, 2.6rem);
}

.highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.highlight-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.highlight-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
}

.metric-label {
  display: block;
  opacity: 0.8;
}

.gallery {
  background: radial-gradient(circle at top left, rgba(107, 99, 255, 0.08), transparent 60%);
}

.screenshot-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-items: center;
}

.screenshot-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 31, 59, 0.06);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 22px 48px -30px rgba(27, 31, 59, 0.6);
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-card:hover,
.screenshot-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(27, 31, 59, 0.55);
}

.screenshot-thumb {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  cursor: zoom-in;
  border-radius: 20px;
}

.screenshot-thumb:focus-visible {
  outline: 3px solid rgba(75, 134, 255, 0.6);
  outline-offset: 6px;
}

.screenshot-thumb img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(27, 31, 59, 0.08);
  box-shadow: 0 16px 40px -32px rgba(27, 31, 59, 0.55);
  background: #e7e9f5;
}

.screenshot-card figcaption {
  font-size: 0.95rem;
  color: #4b4f73;
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 31, 59, 0.7);
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  background: #ffffff;
  border-radius: 24px;
  max-width: min(90vw, 1100px);
  width: 100%;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 28px 80px -32px rgba(27, 31, 59, 0.55);
  position: relative;
  display: grid;
  gap: 18px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(27, 31, 59, 0.08);
  color: #1b1f3b;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(27, 31, 59, 0.15);
  transform: translateY(-2px);
}

.lightbox-close:focus-visible {
  outline: 3px solid rgba(75, 134, 255, 0.6);
  outline-offset: 4px;
}

.lightbox-image {
  width: 100%;
  max-height: calc(90vh - 140px);
  border-radius: 18px;
  object-fit: contain;
  background: #f3f4fb;
}

.lightbox-caption {
  margin: 0;
  font-size: 1rem;
  color: #4b4f73;
  text-align: center;
}

.download {
  background: #fff;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 16px;
  background: #1b1f3b;
  color: #fff;
  font-weight: 500;
  min-width: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 40px -24px rgba(27, 31, 59, 0.6);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -20px rgba(27, 31, 59, 0.6);
}

.badge-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.badge-text {
  display: grid;
  gap: 2px;
  font-size: 0.95rem;
}

.badge-text span {
  opacity: 0.75;
}

.email-cta {
  font-size: 0.95rem;
  color: #4b4f73;
}

.email-cta a {
  font-weight: 600;
  color: #4b86ff;
}

.footer {
  padding: 48px clamp(24px, 5vw, 80px);
  background: #f2f3fa;
  border-top: 1px solid rgba(27, 31, 59, 0.07);
  color: #50577a;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-copy {
  max-width: 360px;
  margin-top: 12px;
}

.footer-links {
  display: grid;
  gap: 12px;
  font-weight: 500;
}

.footer-legal {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(27, 31, 59, 0.6);
}

@media (max-width: 720px) {
  .nav {
    margin-bottom: 64px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .highlight-metrics {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-divider {
    width: 100%;
    height: 1px;
  }

  .screenshot-card {
    padding: 18px;
  }

  .screenshot-thumb img {
    border-radius: 16px;
  }

  .lightbox-inner {
    padding: 20px;
    max-width: 100%;
  }

  .lightbox-image {
    max-height: calc(80vh - 120px);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
