:root {
  --accent: #14b8a6;
  --accent-dark: #0d9488;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --bg: #0b1220;
    --card: #111827;
    --border: #1f2937;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--accent-dark); }

.hero {
  padding: 3.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { text-decoration: none; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.phone-frame {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
}

.phone-frame img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.section { padding: 3rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-head h2 { margin: 0 0 0.5rem; font-size: 1.75rem; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--text-muted); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.feature h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.feature p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .screenshots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .screenshots { grid-template-columns: 1fr; } }

.shot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot img { width: 100%; display: block; }
.shot figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 760px) { .support-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card h3 { margin-top: 0; }
.card ul { padding-left: 1.1rem; margin: 0.5rem 0 0; }
.card li { margin: 0.35rem 0; color: var(--text-muted); }

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 0.65rem 0 0; color: var(--text-muted); font-size: 0.95rem; }

.page-title { padding: 2.5rem 0 1rem; }
.page-title h1 { margin: 0 0 0.35rem; font-size: 2rem; }
.page-title p { margin: 0; color: var(--text-muted); }

.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; color: var(--accent-dark); font-size: 1.15rem; }
.prose ul { padding-left: 1.2rem; }

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.lang-switch { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.lang-switch a {
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.lang-switch a.active { background: var(--accent-soft); color: var(--accent-dark); border-color: transparent; }
