:root {
  --primary: #4a90d9;
  --primary-dark: #2e5c8a;
  --accent: #5b8def;
  --accent-dark: #4a7bd4;
  --dark: #0f172a;
  --darker: #020617;
  --gray: #64748b;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.06);
  --text-muted: rgba(255, 255, 255, 0.55);
  --radius: 16px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 300;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .guide-card { transition: none; }
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { width: min(1200px, 100% - 40px); margin: 0 auto; }

/* ---- Nav ---- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-border);
  z-index: 200;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: #fff; }

.btn-download {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: rgba(2, 6, 23, 0.98);
  padding: 24px;
  z-index: 190;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer a {
  color: #fff;
  text-decoration: none;
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.mobile-drawer a:hover { background: var(--card-bg); }

.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid var(--card-border);
  z-index: 180;
}

.sticky-mobile-cta a {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
}

/* ---- Hero ---- */
.hero {
  padding: calc(var(--nav-h) + 48px) 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(74, 144, 217, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 149, 0, 0.08), transparent);
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 16px;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-bullets li { padding: 4px 0; }
.hero-bullets li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.app-store-badge {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.app-store-badge .store-stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.app-store-badge .store-new {
  color: var(--accent);
  font-weight: 600;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}

/* ---- Phone mock + in-app UI ---- */
.phone-wrap { display: flex; justify-content: center; }

.phone {
  width: min(100%, 300px);
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #0b1220;
  min-height: 560px;
  position: relative;
}

.phone-screen img.hero-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-screen.has-shot .app-ui { display: none; }

.feature-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.video-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.video-wrap img, .video-wrap video {
  width: 100%;
  display: block;
}

.video-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
}

.screenshot-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.screenshot-strip img {
  height: 420px;
  width: auto;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  scroll-snap-align: start;
}

.use-case {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}

.use-case strong { display: block; margin-bottom: 8px; color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.use-case p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin: 0; }


.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #020617;
  border-radius: 20px;
  z-index: 2;
}

.app-ui {
  padding: 48px 14px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-ui-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.app-ui-header img { width: 28px; height: 28px; border-radius: 7px; }
.app-ui-header strong { font-size: 0.95rem; }

.ui-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.ui-card .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}

.ui-card .title { font-size: 0.82rem; font-weight: 700; }
.ui-card .meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.ui-map {
  flex: 1;
  min-height: 120px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 40%, rgba(74, 144, 217, 0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255, 149, 0, 0.25), transparent 40%),
    linear-gradient(180deg, #1e293b, #0f172a);
  position: relative;
}

.ui-pin {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 149, 0, 0.25);
}

.ui-pin:nth-child(1) { top: 28%; left: 22%; }
.ui-pin:nth-child(2) { top: 52%; left: 58%; }
.ui-pin:nth-child(3) { top: 68%; left: 36%; }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-alt { background: var(--darker); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-head p { color: var(--text-muted); font-size: 1.05rem; }

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

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

.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(74, 144, 217, 0.18);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

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

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

.feature-shot {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(74, 144, 217, 0.12), rgba(255, 149, 0, 0.08));
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-shot img { width: 100%; height: 100%; object-fit: cover; }

.feature-shot--icon {
  font-size: 2.8rem;
  background: linear-gradient(135deg, rgba(90, 200, 250, 0.12), rgba(74, 144, 217, 0.1));
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.compare-table th { background: rgba(255, 255, 255, 0.03); }
.compare-table td:last-child, .compare-table th:last-child { color: var(--text-muted); }

.yes { color: var(--primary); font-weight: 700; }
.no { color: #f87171; }

.demo-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.demo-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.demo-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.demo-step .icon { font-size: 1.8rem; margin-bottom: 8px; }
.demo-step p { color: var(--text-muted); font-size: 0.88rem; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.quote {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}

.quote p { color: rgba(255, 255, 255, 0.82); margin-bottom: 12px; font-size: 0.95rem; }
.quote cite { color: var(--text-muted); font-style: normal; font-size: 0.85rem; }

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

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.price-card.featured { border-color: var(--primary); }
.price-card h3 { margin-bottom: 8px; }
.price-card .amount { font-size: 2.4rem; font-weight: 800; margin: 12px 0; }
.price-card .amount .period { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.price-card ul { list-style: none; text-align: left; color: var(--text-muted); font-size: 0.92rem; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--card-border); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.cta-block {
  text-align: center;
  padding: 88px 0;
  background: linear-gradient(180deg, var(--darker), var(--dark));
}

.cta-block h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; }
.cta-block p { color: var(--text-muted); margin-bottom: 24px; }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.guide-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 144, 217, 0.35);
}

.guide-card h3 { margin-bottom: 8px; font-size: 1rem; }
.guide-card p { color: var(--text-muted); font-size: 0.9rem; }

.site-footer {
  padding: 56px 0 28px;
  background: var(--darker);
  border-top: 1px solid var(--card-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 { margin-bottom: 12px; font-size: 0.9rem; }
.footer-grid a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.9rem;
}

.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}

/* ---- Landing / guide article pages ---- */
.page-hero { padding: calc(var(--nav-h) + 40px) 0 32px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 720px; font-size: 1.05rem; }

.article {
  padding: 24px 0 80px;
  max-width: 760px;
}

.article h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.article p, .article li {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

.article ul { padding-left: 20px; margin-bottom: 16px; }

.inline-cta {
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(74, 144, 217, 0.1);
  border: 1px solid rgba(74, 144, 217, 0.25);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
  .steps, .demo-flow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}

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