:root {
  --primary: #1e70ff;
  --primary-dark: #0b3d91;
  --cta: #0a4fcc;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 32px rgba(30, 112, 255, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(244, 246, 250, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.blob-blue {
  width: 420px;
  height: 420px;
  background: rgba(30, 112, 255, 0.28);
  top: -120px;
  right: -80px;
}

.blob-orange {
  width: 280px;
  height: 280px;
  background: rgba(251, 146, 60, 0.22);
  bottom: -40px;
  left: -60px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  order: 2;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.hero-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.hero-rating {
  grid-column: 1;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-rating-stars {
  color: #f59e0b;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  line-height: 1;
}

.hero-rating-score {
  color: var(--text);
  line-height: 1;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.45rem;
  align-items: center;
  justify-content: start;
  margin-bottom: 1.5rem;
}

.hero-actions .app-store-badge {
  grid-column: 1;
  grid-row: 1;
}

.hero-actions .btn-secondary {
  grid-column: 2;
  grid-row: 1;
}

.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge img {
  width: auto;
  height: 44px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.phone-preview {
  position: relative;
  order: 1;
  margin-inline: auto;
  width: min(100%, 360px);
}

.phone-preview img,
.phone-preview-video {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(30, 112, 255, 0.12);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-icon .mdi {
  font-size: 1.35rem;
  line-height: 1;
}

.feature-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(34%) sepia(89%) saturate(2472%)
    hue-rotate(207deg) brightness(99%) contrast(101%);
}

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

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.steps {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: -1rem;
  padding-inline: 1rem;
  padding-bottom: 0.25rem;
}

.steps::-webkit-scrollbar {
  display: none;
}

.step {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(82vw, 300px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  gap: 1.25rem;
  height: auto;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 5.75rem;
}

.step-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: auto;
  border-radius: var(--radius-md);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.price-card.featured {
  border-color: rgba(30, 112, 255, 0.35);
  box-shadow: var(--shadow-soft);
}

.price-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.price-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.price-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

.cta-band {
  margin: 0 1rem 5rem;
  padding: 3rem 1.5rem;
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(135deg, #1e70ff 0%, #0a4fcc 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-app-store {
  margin-inline: auto;
}

.cta-app-store img {
  height: 44px;
}

.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer p,
.footer a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.legal-card h1 {
  margin-top: 0;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
}

.legal-card ul {
  padding-left: 1.2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-copy {
    order: 1;
  }

  .phone-preview {
    order: 2;
  }

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

  .section-header {
    text-align: center;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .step {
    flex: unset;
    scroll-snap-align: unset;
    scroll-snap-stop: unset;
    height: 100%;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .legal-card {
    padding: 3rem;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .nav-inner {
    min-height: 58px;
    gap: 0.75rem;
  }

  .brand {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .nav .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero {
    padding: 1.5rem 0 2.5rem;
  }

  .hero-grid {
    gap: 1.25rem;
  }

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

  .hero-brand {
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }

  .hero-brand img {
    width: 30px;
    height: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 1.25rem;
  }

  .phone-preview {
    width: min(68%, 260px);
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0;
  }

  .hero-actions .app-store-badge,
  .hero-actions .btn-secondary,
  .hero-rating {
    grid-column: unset;
    grid-row: unset;
  }

  .hero-actions .btn-secondary {
    width: 100%;
    max-width: 260px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .app-store-badge img {
    height: 38px;
  }

  .hero-rating {
    padding-left: 0;
    font-size: 0.88rem;
  }

  .hero-rating-stars {
    font-size: 0.82rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .section-header h2 {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
  }

  .section-header p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .feature-card {
    padding: 1.1rem 1.15rem;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0.75rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

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

  .step {
    flex: 0 0 min(78vw, 280px);
    padding: 1rem;
    gap: 1rem;
  }

  .step-header {
    min-height: auto;
    gap: 0.75rem;
  }

  .step-num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .step h3 {
    font-size: 1rem;
  }

  .step p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .cta-band {
    margin: 0 0.75rem 2.5rem;
    padding: 2rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .cta-band h2 {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
  }

  .cta-band p {
    font-size: 0.92rem;
    margin-bottom: 1.15rem;
  }

  .cta-app-store img {
    height: 38px;
  }

  .footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer .brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .feature-card.span-2 {
    grid-column: auto;
  }
}
