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

:root {
  --primary: #5B5BD6;
  --primary-dark: #4040b8;
  --primary-light: #ede9fe;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

html { scroll-behavior: smooth; }

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

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  max-width: 28px;
  border-radius: 7px;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
}

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

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.18s, transform 0.18s !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #0d0d1f 0%, #12113a 55%, #0d0d1f 100%);
  color: white;
  padding: 100px 28px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 91, 214, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

.hero-app-icon {
  margin-bottom: 28px;
}

.hero-app-icon img {
  width: 96px;
  height: 96px;
  max-width: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91, 91, 214, 0.18);
  border: 1px solid rgba(91, 91, 214, 0.35);
  color: #a5b4fc;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #818cf8 20%, #c084fc 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

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

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #111;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.btn-appstore svg { width: 22px; height: 22px; flex-shrink: 0; }

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

/* ── Screenshots ── */
.screenshots {
  padding: 80px 0;
  background: var(--bg);
}

.screenshots .section-header {
  padding: 0 28px;
  margin-bottom: 40px;
}

.screenshots-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: safe center;
}

.screenshots-track::-webkit-scrollbar { display: none; }

.screenshots-track::before,
.screenshots-track::after {
  content: '';
  display: block;
  min-width: 28px;
  flex-shrink: 0;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.screenshot-caption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 0 4px;
}

/* ── Features ── */
.features {
  padding: 96px 28px;
  background: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-header p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.features-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Use cases ── */
.use-cases {
  padding: 96px 28px;
  background: var(--bg);
}

.use-cases-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.use-case-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.use-case-pill .uc-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 18px;
}

.use-case-pill h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.use-case-pill p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing ── */
.pricing {
  padding: 96px 28px;
  background: var(--bg-subtle);
}

.pricing-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  background: white;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 100%);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card.featured .plan-name { color: var(--primary); }

.plan-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price-old {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
  opacity: 0.6;
}

.plan-price-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* ── FAQ strip ── */
.faq-strip {
  padding: 96px 28px;
  background: var(--bg);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.faq-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.faq-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.faq-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA band ── */
.cta-band {
  padding: 96px 28px;
  background: linear-gradient(135deg, #0d0d1f 0%, #12113a 100%);
  text-align: center;
  color: white;
}

.cta-band h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
footer {
  background: #0a0a16;
  color: rgba(255, 255, 255, 0.45);
  padding: 48px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s;
}

.footer-links a:hover { color: white; }

footer p { font-size: 13px; text-align: center; }

/* ── Content pages ── */
.page-hero {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 72px 28px 56px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
}

.content-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}

.content-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.content-body h2:first-child { margin-top: 0; }

.content-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 15px;
}

.content-body ul {
  color: var(--text-muted);
  padding-left: 22px;
  margin-bottom: 16px;
}

.content-body ul li {
  margin-bottom: 8px;
  line-height: 1.65;
  font-size: 15px;
}

.content-body a {
  color: var(--primary);
  text-decoration: none;
}

.content-body a:hover { text-decoration: underline; }

/* ── Support ── */
.support-intro {
  padding: 64px 28px 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 0 28px;
}

.support-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.support-card .s-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 16px;
}

.support-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s, transform 0.18s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.faq-section {
  max-width: 720px;
  margin: 72px auto 96px;
  padding: 0 28px;
}

.faq-section h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 20px 60px; }
  .features, .use-cases, .pricing, .cta-band { padding: 64px 20px; }
}

@media (max-width: 480px) {
  .screenshot-item { width: 180px; }
  .screenshots-track::before,
  .screenshots-track::after { min-width: 20px; }
}
