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

/* ── Tokens ── */
:root {
  --bg:        #0f1117;
  --surface:   #1c1d21;
  --surface2:  #26272e;
  --border:    #2e2f38;
  --accent:    #4cc9f0;
  --text:      #e8e8ec;
  --text-dim:  #7b7d8a;
  --font:      'Inter', system-ui, sans-serif;
  --radius:    10px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img { display: block; max-width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}

.btn:hover { opacity: 0.88; text-decoration: none; }

.btn--sm   { font-size: 14px; padding: 8px 18px; }
.btn--lg   { font-size: 16px; padding: 14px 32px; }
.btn--full { display: block; text-align: center; width: 100%; }

/* Green download button -- must come after .btn */
.btn--green {
  background: #1d8f67;
  color: #fff;
}
.btn--green:hover { background: #22a678; opacity: 1; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo:hover { color: #fff; text-decoration: none; }
.nav__logo img { border-radius: 6px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  padding-left: 40px;
}

.nav .nav__links a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.nav .nav__links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--text-dim);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-select {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  appearance: auto;
}
.lang-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.hero__inner { max-width: 640px; }

.hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__trial {
  font-size: 13px;
  color: var(--text-dim);
}

.hero__screenshot {
  margin-top: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.hero__img { width: 100%; }

/* ── Features ── */
.features {
  border-top: 1px solid var(--border);
  padding: 80px 24px;
}

.features__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px 40px;
}

.feature__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.feature__body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Screenshots ── */
.screenshots {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}

.screenshots__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.screenshots__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

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

.screenshot-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.screenshot-card img { width: 100%; display: block; }

.screenshot-card figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Pricing ── */
.pricing {
  padding: 80px 24px;
}

.pricing__inner {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.pricing__title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pricing__sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.pricing__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.pricing__amount {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.pricing__list {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing__list li {
  font-size: 15px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}

.pricing__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;  /* ← add this */
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer__sep { color: var(--border); }

.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--text); }

/* ── Legal pages ── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal__inner h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal__date {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.legal__inner h2 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 32px 0 10px;
}

.legal__inner p, .legal__inner li {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
}

.legal__inner ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.changelog-entry { margin-bottom: 48px; }

.changelog-entry h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.changelog-date {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 20px 40px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .features { padding: 56px 20px; }
  .features__inner { grid-template-columns: 1fr; gap: 36px; }
  .screenshots { padding: 56px 20px; }
  .pricing { padding: 56px 20px; }
  .pricing__card { padding: 28px 20px; }
  .legal { padding: 40px 20px 60px; }
  .legal__inner h1 { font-size: 28px; }
}
