:root {
  --primary: #2bb578;
  --primary-dark: #01875f;
  --primary-soft: rgba(43, 181, 120, 0.14);
  --accent: #d8b66a;
  --bg: #08102a;
  --bg-elevated: #101c3d;
  --text: #eef2fb;
  --muted: #8b96b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --surface: #0c1635;
  --card: #111d3e;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(43, 181, 120, 0.18), transparent 70%),
    radial-gradient(50% 40% at 0% 10%, rgba(45, 90, 200, 0.18), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 16, 42, 0.75);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #01875f, #2bb578);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer .brand-logo {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}

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

.nav-cta {
  margin-left: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 22px 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 75% 20%, rgba(43, 181, 120, 0.22), transparent 70%),
    radial-gradient(40% 40% at 15% 40%, rgba(80, 130, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-logo {
  display: block;
  height: 72px;
  width: auto;
  margin-bottom: 22px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 28px;
}

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

.metrics {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.metric strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Phone mockup ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  background: #0e1521;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 9 / 19.5;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0e1521;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

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

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- Screenshots ---------- */
.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 22px 22px;
  margin: 0 -22px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.screenshots::-webkit-scrollbar {
  height: 8px;
}

.screenshots::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
}

.shot {
  scroll-snap-align: start;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #0e1521;
  aspect-ratio: 9 / 19.5;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.shot:hover {
  transform: translateY(-4px);
}

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

.screenshots-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.ss-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.ss-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ---------- Download ---------- */
.download {
  text-align: center;
}

.download-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(43, 181, 120, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.download h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 10px;
}

.download > .download-inner > p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #0b1530;
  padding: 12px 22px;
  border-radius: 14px;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-btn:hover {
  background: #f4f7ff;
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(43, 181, 120, 0.28);
  transform: translateY(-2px);
}

.store-btn .store-label {
  color: #5b6480;
}

.store-btn .store-name {
  color: #0b1530;
}

.store-logo {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-label {
  font-size: 11px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.store-name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
}

.download-note {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    padding-top: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions, .metrics {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

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

  .screenshots {
    grid-auto-columns: 180px;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 56px 22px;
  }

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

  .phone {
    width: 240px;
  }

  .screenshots {
    grid-auto-columns: 160px;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }
}
