:root {
  --bg: #f4f7ff;
  --bg-alt: #eef4ff;
  --panel: #ffffff;
  --panel-soft: #f9fbff;
  --primary: #1d4ed8;
  --primary-dark: #153eaf;
  --accent: #4f46e5;
  --text: #10203d;
  --muted: #5b6b85;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #f7f9ff 0%, #ecf2ff 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.alt-section {
  background: rgba(255, 255, 255, 0.5);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 255, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  max-width: 620px;
}

.hero-copy p {
  max-width: 610px;
  font-size: 1.08rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.25);
}

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

.social-proof {
  display: flex;
  gap: 34px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.social-proof div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-proof strong {
  font-size: 1.5rem;
}

.social-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-showcase {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(400px, 100%);
  padding: 16px 16px 18px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1d273c 0%, #0f1b2a 100%);
  border: 8px solid #0a1322;
  box-shadow: var(--shadow);
}

.screen-header {
  display: flex;
  gap: 8px;
  padding: 6px 6px 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2f; }
.dot.green { background: #28c840; }

.app-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px 16px;
  color: #eef4ff;
}

.premium-card {
  margin-bottom: 18px;
}

.mini-label {
  margin: 0 0 8px;
  color: #98b2ff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-card h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.call-window {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.3rem;
}

.avatar-one {
  background: linear-gradient(135deg, #7dd3fc, #2563eb);
}

.avatar-two {
  background: linear-gradient(135deg, #c4b5fd, #7c3aed);
}

.call-pill {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #a7f3d0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}

.session-stats {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #d9e7ff;
}

.quick-card p {
  margin: 0 0 8px;
  color: #cfe0ff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.08rem;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tags span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.74rem;
  color: #edf4ff;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  max-width: 640px;
}

.center {
  text-align: center;
}

.center .section-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

.feature-grid,
.steps-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.step-card,
.screen-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(79, 70, 229, 0.18));
  font-size: 1.8rem;
}

.feature-card h3,
.step-card h3,
.screen-card h3 {
  margin: 20px 0 10px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.feature-card p,
.step-card p,
.check-list li,
.quote-block p,
.site-footer p {
  color: var(--muted);
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(79, 70, 229, 0.18));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

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

.screen-placeholder {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, #edf4ff 0%, #dfe8ff 100%);
  border: 1px dashed rgba(29, 78, 216, 0.35);
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 600;
}

.testimonial-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.04), rgba(79, 70, 229, 0.06));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
}

.quote-block {
  padding: 16px 8px 16px 0;
}

.quote-block p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 18px 0 12px;
}

.check-list h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.check-list ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1c9a5a;
  font-weight: 800;
}

.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  border-radius: 30px;
  padding: 34px 36px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.25);
}

.download-box h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  min-width: 200px;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

.store-btn strong {
  display: block;
  font-size: 1.2rem;
}

.store-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 28px;
}

.small-brand {
  font-size: 0.96rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .testimonial-box,
  .download-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .download-box {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    gap: 10px;
  }

  .nav-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .social-proof {
    gap: 18px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .store-btn {
    width: 100%;
  }

  .download-box {
    padding: 28px 20px;
  }
}
