:root {
  --background: #1b2131;
  --panel: #1e2432;
  --highlight: #fed428;
  --accent: #23ce6b;
  --text: #f7f8ff;
  --muted: #9aa1b9;
  --border: rgba(255, 255, 255, 0.08);
  font-family: "Inter", "Poppins", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: inherit;
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--panel);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand .logo {
  width: 130px;
  height: auto;
  max-width: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 24px;
  border-radius: 40px;
  justify-self: center;
}

.main-nav a {
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text);
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--highlight);
  transform: translateY(-1px);
}

.cta-group {
  display: flex;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.nav-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.nav-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.btn {
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost:hover {
  background: rgba(35, 206, 107, 0.12);
}

.btn.solid {
  background: var(--highlight);
  color: #1a1a1a;
}

.btn.solid:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 40px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.hero-content {
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-heading h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--highlight);
  margin: 0 0 24px;
  font-weight: 600;
}

.hero p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.content-section {
  margin: 48px 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.content-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--highlight);
  margin: 0 0 20px;
  font-weight: 700;
}

.content-section h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text);
  margin: 32px 0 16px;
  font-weight: 600;
}

.content-section p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.feature-list li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.06);
}

.meta-note {
  font-style: italic;
  color: var(--text);
  margin-bottom: 28px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.info-table thead {
  background: rgba(254, 212, 40, 0.1);
}

.info-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--highlight);
  border-bottom: 2px solid var(--border);
  font-size: 0.95rem;
}

.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.info-table tbody tr {
  transition: background 0.2s ease;
}

.info-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.info-table tbody tr:last-child td {
  border-bottom: none;
}

.info-table strong {
  color: var(--text);
  font-weight: 600;
}

.faq-section {
  margin-top: 24px;
}

.faq-section h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 24px 0 12px;
  font-weight: 600;
}

.faq-section p {
  color: var(--muted);
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid rgba(35, 206, 107, 0.3);
  line-height: 1.7;
}

.download-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 48px;
}

.download-card {
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.5;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(254, 212, 40, 0.15);
  border-color: var(--highlight);
}

.download-card strong {
  font-size: 1.2rem;
  display: block;
  margin-top: 8px;
  color: var(--highlight);
}

.download-card.desktop span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
}

.site-footer {
  margin-top: 80px;
  padding: 0 0 30px;
  background: #1d222f;
  border-top: 1px solid var(--border);
}

.footer-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 0 12px;
}

.footer-strip {
  display: block;
  width: min(1100px, 100%);
  filter: grayscale(1) brightness(1.15);
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.footer-strip img {
  width: 100%;
  display: block;
}

.footer-strip:hover {
  transform: translateY(-2px);
}

.strip-downloads {
  max-width: 900px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.ref-link {
  color: var(--highlight);
  font-weight: 600;
}


@media (max-width: 1024px) {
  .content-section {
    padding: 24px;
  }

  .info-table {
    font-size: 0.9rem;
  }

  .info-table th,
  .info-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    justify-self: flex-start;
  }

  .brand {
    justify-self: center;
  }

  .brand .logo {
    width: 130px;
  }

  .footer-strip {
    width: 100%;
  }

  .footer-strip img {
    width: 100%;
    max-width: 100%;
  }

  .footer-visuals {
    padding: 0 0 20px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    flex-direction: column;
    border-radius: 0;
    padding: 18px;
    gap: 12px;
    background: #151b2b;
    opacity: 0;
    pointer-events: none;
    transform: translate(-10px, -10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 70%;
    border-radius: 0 12px 12px 0;
  }

  .main-nav.nav-open {
    opacity: 1;
    pointer-events: all;
    transform: translate(0, 0);
  }

  .cta-group {
    justify-content: flex-end;
  }

  .content-section {
    padding: 20px;
    margin: 32px 0;
  }

  .hero {
    padding: 20px 0 40px;
  }

  .info-table {
    display: block;
    overflow-x: auto;
    font-size: 0.85rem;
  }

  .info-table th,
  .info-table td {
    padding: 8px 10px;
    white-space: nowrap;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .content-section {
    padding: 16px;
  }

  .info-table {
    font-size: 0.8rem;
  }

  .info-table th,
  .info-table td {
    padding: 6px 8px;
  }

  .feature-list li {
    font-size: 0.9rem;
    padding: 12px 14px;
  }
}