:root {
  --bg: #090b10;
  --bg-elevated: #12151d;
  --bg-card: #171b25;
  --bg-soft: #1f2430;
  --text: #f4f6fb;
  --text-muted: #9aa4b8;
  --accent: #4caf50;
  --accent-bright: #6fdc75;
  --accent-glow: rgba(76, 175, 80, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(76, 175, 80, 0.14), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(76, 175, 80, 0.08), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(76, 175, 80, 0.06), transparent 35%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #9de8a0;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(9, 11, 16, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
}

.lang-btn {
  padding: 0.38rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
  color: var(--accent-bright);
  border-color: rgba(76, 175, 80, 0.35);
  background: rgba(76, 175, 80, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand img,
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #3d9a42);
  color: #071109;
  box-shadow: 0 12px 30px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(76, 175, 80, 0.45);
  color: #071109;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  padding: 5rem 0 3.5rem;
  position: relative;
}

.hero-grid > div {
  animation: fade-up 0.7s ease both;
}

.app-preview {
  animation: fade-up 0.7s ease 0.15s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.25);
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent-bright);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff, #9de8a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 54ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.meta-pill {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.app-preview {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.screenshot-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  aspect-ratio: 4 / 3;
}

.screenshot-img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #f2f2f2;
}

.screenshot-img.active {
  display: block;
}

.screenshot-tabs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.screenshot-tab {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.screenshot-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.screenshot-tab.active {
  color: var(--accent-bright);
  border-color: rgba(76, 175, 80, 0.35);
  background: rgba(76, 175, 80, 0.1);
}

.screenshots-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.screenshot-card {
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 175, 80, 0.28);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #f2f2f2;
}

.screenshot-card figcaption {
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.preview-caption {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section {
  padding: 4rem 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-intro {
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 2.2rem;
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 175, 80, 0.28);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.22);
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.08));
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.step h3 {
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hotkeys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hotkey-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.hotkey-key {
  min-width: 46px;
  text-align: center;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: #0d1016;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  color: var(--accent-bright);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.hotkey-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hotkey-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.download-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.16), rgba(76, 175, 80, 0.04));
  border: 1px solid rgba(76, 175, 80, 0.28);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
}

.download-box::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.12);
  filter: blur(10px);
}

.download-box h2,
.download-box p,
.download-box .btn,
.download-box .hero-note {
  position: relative;
}

.download-box p {
  color: var(--text-muted);
  margin: 0.85rem auto 1.4rem;
  max-width: 52ch;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(76, 175, 80, 0.28);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.changelog-list {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.changelog-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.35rem;
  transition: border-color 0.2s ease;
}

.changelog-entry:first-child {
  border-color: rgba(76, 175, 80, 0.28);
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.08);
}

.changelog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

.changelog-version-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.changelog-version {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.changelog-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.changelog-badge-feature {
  background: rgba(76, 175, 80, 0.14);
  color: var(--accent-bright);
  border: 1px solid rgba(76, 175, 80, 0.28);
}

.changelog-badge-bugfix {
  background: rgba(255, 183, 77, 0.12);
  color: #ffcc80;
  border: 1px solid rgba(255, 183, 77, 0.28);
}

.changelog-date {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.changelog-items {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.45rem;
}

.changelog-items li::marker {
  color: var(--accent);
}

.ad-slot {
  margin: 2rem auto;
  min-height: 90px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ad-slot.tall {
  min-height: 250px;
}

.ad-slot-active {
  border-style: solid;
  border-color: rgba(76, 175, 80, 0.25);
  background: rgba(76, 175, 80, 0.04);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.legal-page {
  padding: 3.5rem 0 4rem;
}

.legal-page h1 {
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-page h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  margin: 0.5rem 0 1rem 1.25rem;
  color: var(--text-muted);
}

.legal-page ul li {
  margin-bottom: 0.45rem;
}

.disclaimer-note {
  position: relative;
  margin-top: 1.25rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .screenshots-showcase {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
