@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #0a0c10;
  --surface: #10141b;
  --card: #161b24;
  --border: #252c38;
  --border-h: #343c4b;
  --text: #eef2f6;
  --text-2: #8b95a6;
  --text-3: #5c6574;
  --accent: #e89a1c;
  --accent-h: #f0ae3a;
  --accent-ink: #161208;
  --accent-soft: rgba(232, 154, 28, 0.14);
  --white: #ffffff;
  --r: 14px;
  --r-s: 10px;
  --r-xs: 6px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 120;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-xs);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.nav-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-lang {
  position: relative;
}

.nav-lang-btn {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}

.nav-lang-btn:hover {
  color: var(--white);
  border-color: var(--border-h);
}

.nav-lang-drop {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  z-index: 30;
}

.nav-lang-drop.open {
  display: block;
}

.nav-lang-drop a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
}

.nav-lang-drop a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.nav-lang-drop a.active {
  color: var(--accent);
}

.nav-cta {
  display: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 650;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--r-xs);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-h);
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-2);
  font-size: 18px;
  background: none;
  border: 0;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-mobile-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 0 16px;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--white);
}

.mobile-menu .m-cta {
  margin-top: 12px;
  padding: 12px 0;
  text-align: center;
  font-weight: 650;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--r-xs);
}

.hero {
  padding: 104px 0 64px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 55% 45% at 80% 20%, rgba(232, 154, 28, 0.06), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    min-height: 0;
  }
}

.hero-copy {
  text-align: left;
  max-width: 560px;
}

@media (max-width: 959px) {
  .hero-copy {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-2);
  margin: 0 0 26px;
  line-height: 1.65;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

@media (max-width: 959px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--text-3);
}

@media (max-width: 959px) {
  .hero-trust {
    justify-content: center;
  }
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust i {
  font-size: 11px;
  color: var(--accent);
}

.hero-visual {
  margin: 0;
}

.hero-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: linear-gradient(180deg, #141922 0%, #0e1218 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(52vh, 420px);
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-caption {
  margin: 10px 0 0;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-s);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  color: var(--accent-ink);
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-h);
}

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

.btn-secondary:hover {
  border-color: var(--border-h);
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.3s;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--white);
  border-color: var(--border-h);
}

.fixed-download-btn {
  display: none;
}

.scroll-target-download {
  scroll-margin-top: 5.5rem;
}

.guide-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.guide-article h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 1.25rem 0 1rem;
  color: var(--text);
}

.guide-article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.guide-article p,
.guide-article li {
  color: var(--text-2);
  font-size: 0.975rem;
}

.guide-article ul,
.guide-article ol {
  margin: 0.75rem 0 1rem 1.25rem;
}

.guide-article li + li {
  margin-top: 0.4rem;
}

.guide-article a {
  color: var(--accent);
}

.guide-article a:hover {
  color: var(--accent-h);
}

.guide-article code {
  font-size: 0.875em;
  background: var(--card);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.guide-crumbs {
  color: var(--text-3);
  font-size: 0.8125rem;
}

.guide-related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
