/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lexend Deca', sans-serif;
  color: #1C1C2E;
  background: #FAFCFD;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(232, 241, 245, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E0E0E0;
}
nav .logo {
  font-size: 1.35rem; font-weight: 700; color: #6A9FB5;
  display: flex; align-items: center; gap: 8px;
}
nav .logo .logo-icon { width: 28px; height: 28px; }
nav .logo span { color: #1C1C2E; }
nav ul { list-style: none; display: flex; gap: 28px; }
nav ul a {
  font-size: .95rem; font-weight: 500; color: #6E6E8A;
  transition: color .2s;
}
nav ul a:hover, nav ul a.active { color: #6A9FB5; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 60px;
  background: linear-gradient(160deg, #E8F1F5 0%, #FAFCFD 50%, #E8F1F5 100%);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #6A9FB5; }
.hero p { max-width: 520px; color: #6E6E8A; font-size: 1.1rem; margin-bottom: 32px; }
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: #6A9FB5; color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(106,159,181,.35); }
.btn-outline { border: 2px solid #6A9FB5; color: #6A9FB5; margin-left: 12px; }
.btn-outline:hover { background: #6A9FB5; color: #fff; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── Download Badges ── */
.download-badges {
  display: flex; gap: 16px; margin-top: 28px;
  justify-content: center; flex-wrap: wrap;
}
.store-badge svg {
  height: 48px; width: auto;
  transition: transform .2s, opacity .2s;
  opacity: .9;
}
.store-badge:hover svg {
  transform: translateY(-2px); opacity: 1;
}

/* ── Sections ── */
section { padding: 80px 24px; max-width: 1080px; margin: 0 auto; }
section.hero { max-width: none; width: 100%; }
section h2 {
  font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 12px;
}
section .subtitle {
  text-align: center; color: #6E6E8A; max-width: 560px; margin: 0 auto 48px;
}

/* ── Features Grid ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: #fff; border: 1px solid #E8F1F5; border-radius: 16px;
  padding: 32px 24px; transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(106,159,181,.12); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; color: #6E6E8A; }

/* icon background variants */
.icon-teal   { background: #E0F4F4; }
.icon-purple { background: #EEE9FF; }
.icon-pink   { background: #FFE8F0; }
.icon-amber  { background: #FFF4E0; }
.icon-green  { background: #E6F8ED; }
.icon-blue   { background: #E0EEFF; }

/* ── Screenshots ── */
.screenshots {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 0 20px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.screenshots img {
  width: 220px; flex-shrink: 0; border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.1); scroll-snap-align: center;
}

/* ── Footer ── */
footer {
  text-align: center; padding: 32px 24px; color: #9E9EB0;
  font-size: .85rem; border-top: 1px solid #E8F1F5;
}
footer a { color: #6A9FB5; }
footer .footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 12px; }

/* ── Page header (Privacy / Support) ── */
.page-header {
  padding: 120px 24px 48px; text-align: center;
  background: linear-gradient(160deg, #E8F1F5, #FAFCFD);
}
.page-header h1 { font-size: 2.2rem; font-weight: 800; }
.page-header p { color: #6E6E8A; margin-top: 8px; }
.page-body { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.page-body h2 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 8px; }
.page-body p, .page-body li { color: #4a4a5a; font-size: .95rem; margin-bottom: 12px; }
.page-body ul { padding-left: 20px; }
.page-body a { color: #6A9FB5; text-decoration: underline; }

/* ── Hamburger button (hidden by default) ── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
  z-index: 110;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: #1C1C2E; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { padding: 14px 20px; }
  nav ul a { font-size: .85rem; }
  .screenshots img { width: 180px; }

  /* Hamburger menu */
  .hamburger { display: flex; }

  nav ul {
    position: fixed; top: 0; right: 0;
    width: 260px; height: 100vh;
    flex-direction: column; gap: 0;
    background: rgba(250, 252, 253, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 80px 32px 32px;
    box-shadow: -4px 0 24px rgba(0,0,0,.08);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 105;
  }
  nav ul.nav-open {
    transform: translateX(0);
  }
  nav ul a {
    font-size: 1.1rem;
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #E8F1F5;
  }

  /* Equal hero buttons on mobile */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 24px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    margin: 0;
    padding: 14px 0;
  }
  .hero-buttons .btn-outline {
    margin-left: 0;
  }
}
