:root {
  --bg: #f2f2f7;
  --surface: #ffffff;
  --surface-secondary: #e5e5ea;
  --text: #1c1c1e;
  --muted: #8e8e93;
  --blue: #007aff;
  --blue-dark: #0056b3;
  --blue-soft: rgba(0, 122, 255, 0.12);
  --gradient-start: #14388c;
  --gradient-end: #2673d9;
  --gradient-pro-start: #1a4dcc;
  --gradient-pro-end: #4d99ff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 56, 140, 0.18);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(242, 242, 247, 0.82);
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.12);
  overflow: visible;
}

.site-header .container,
.header-right,
.nav-links {
  overflow: visible;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 0.5px solid rgba(60, 60, 67, 0.18);
  box-shadow: var(--shadow);
}

.btn-outline:hover {
  background: #fafafa;
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.store-links,
.store-buttons,
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.store-badge img {
  display: block;
  width: auto;
  height: 40px;
}

.store-badge.play-store-link img {
  height: 56px;
}

.store-badges--header .store-badge img {
  height: 36px;
}

.store-badges--header .store-badge.play-store-link img {
  height: 48px;
}

/* Hero */

.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 85% 15%, rgba(77, 153, 255, 0.35), transparent 42%),
    linear-gradient(145deg, var(--gradient-start), var(--gradient-end));
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.hero-app-name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.82;
  margin: 0 0 4px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-stars {
  color: #ffd60a;
  letter-spacing: 1px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Phone mockup */

.phone-card {
  width: min(100%, 240px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-device {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.28);
  background: #000;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  pointer-events: none;
}

.phone-device img,
.phone-device video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-video {
  background: #000;
}

.section-screenshots {
  background: var(--surface);
  border-top: 0.5px solid rgba(60, 60, 67, 0.08);
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.08);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-item {
  margin: 0;
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  border-radius: 22px;
  border: 3px solid var(--surface-secondary);
  box-shadow: var(--shadow-lg);
}

.screenshot-item figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 64px 0;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 10px;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section-intro {
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 32px;
  font-size: 1rem;
}

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

.feature-card,
.pricing-card,
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 0.5px solid rgba(60, 60, 67, 0.08);
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.pricing-card {
  padding: 26px;
  background: linear-gradient(145deg, var(--gradient-pro-start), var(--gradient-pro-end));
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.pricing-card ul {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pricing-card li + li {
  margin-top: 10px;
}

.price-tag {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0 0;
  opacity: 0.9;
}

.pricing-card .btn-outline {
  background: white;
  color: var(--gradient-start);
  border: none;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item a {
  color: var(--blue);
  font-weight: 500;
}

/* CTA */

.cta-band {
  padding: 48px 0 64px;
}

.cta-inner {
  background: linear-gradient(145deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.cta-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-brand img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 0.5px solid rgba(60, 60, 67, 0.12);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

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

/* Privacy page */

.page-header {
  padding: 48px 0 32px;
  background: var(--surface);
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.12);
}

.page-header .brand {
  margin-bottom: 24px;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.page-header p {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  padding: 40px 0 64px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 20px;
}

@media (max-width: 900px) {
  .hero-grid,
  .features,
  .split,
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .nav-links > a:not(.btn):not(.store-badge) {
    display: none;
  }

  .header-right,
  .nav-links {
    margin-left: auto;
    flex-shrink: 0;
  }

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

  .phone-card {
    width: min(100%, 220px);
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }

  .store-badges--header .store-badge:last-child {
    display: none;
  }
}
