:root {
  --accent: #e83050;
  --accent-hot: #ff5a78;
  --accent-hover: #c42038;
  --accent-glow: rgba(232, 48, 80, .35);
  --blue: #e83050;
  --cyan: #e83050;
  --cyan-hover: #c42038;
  --dark: #0c0c0e;
  --dark-2: #141418;
  --dark-3: #1a1a22;
  --dark-4: #101014;
  --surface: #141418;
  --surface-2: #1a1a22;
  --text: #c8ccd6;
  --text-light: #ececf0;
  --text-muted: #8a8a98;
  --border: rgba(255, 255, 255, .08);
  --white: #ececf0;
  --header-h: 72px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h);
}

/* Lenis glide */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}

#scroll-root {
  background: var(--dark);
}

a { color: var(--cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan-hover); }

img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Top bar ── */
.top-bar {
  background: var(--dark-4);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 3px 0;
  font-size: 11px;
  color: #aaa;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar a { color: #bbb; }
.top-bar a:hover { color: #fff; }
.top-bar .sep { margin: 0 8px; opacity: .4; }

.social-links { display: none; }

/* ── Header ── */
.site-header {
  background: var(--dark-2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 38px; }

.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  height: 100%;
}

.main-nav > li { position: relative; height: 100%; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: #ddd;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.main-nav > li > a:hover { color: var(--cyan); }

.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--dark-2);
  min-width: 240px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  list-style: none;
  z-index: 200;
}
.main-nav li:hover .submenu { display: block; }
.main-nav .submenu a {
  display: block;
  padding: 10px 16px;
  color: #bbb;
  font-size: 13px;
  text-transform: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.main-nav .submenu a:hover { background: rgba(255,255,255,.04); color: var(--cyan); }

.btn-forum {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0 18px !important;
  margin-left: 8px;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .6px;
}
.btn-forum:hover { background: var(--accent-hover) !important; color: #fff !important; }

.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0;
}

/* ── Ambassador ── */
.ambassador-strip {
  background: var(--dark-2);
  text-align: center;
  padding: 9px 20px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.ambassador-strip a { color: var(--accent-hot); }
.ambassador-strip a:hover { color: #fff; }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(232,48,80,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(232,48,80,.08) 0%, transparent 50%),
    linear-gradient(180deg, #0c0c0e 0%, #141418 50%, #0c0c0e 100%);
  background-color: var(--dark);
  padding: 130px 0 70px;
  min-height: 500px;
}

.hero .container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.8vw, 50px);
  text-transform: uppercase;
  color: var(--text-light);
  line-height: .92;
  margin-bottom: 18px;
}

.hero h1 span {
  font-weight: 400;
  font-size: .58em;
  display: block;
  margin-top: 6px;
  letter-spacing: .5px;
}

.hero-tagline {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 28px;
  opacity: .9;
}
.hero-tagline strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-cta {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
}
.hero-cta-arrow {
  font-size: 22px;
  margin-top: 2px;
  color: var(--accent-hot);
  animation: bounce-arrow 2s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.hero-cta-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: .3px;
}
.hero-cta:hover { color: var(--accent-hot); }
.hero-cta:hover .hero-cta-arrow { color: #fff; }

/* ── Update / News ── */
.update-banner {
  background: var(--dark);
  padding: 28px 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.75;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.update-banner strong { color: #fff; font-weight: 600; }
.update-banner a { color: var(--accent-hot); }
.update-banner a:hover { color: #fff; }

.news-section {
  background: var(--dark-2);
  padding: 22px 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.85;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.news-section a { color: var(--accent-hot); }
.news-section a:hover { color: #fff; }

.news-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 2px 10px;
  margin-bottom: 6px;
}

/* ── Interface showcase ── */
.versions-showcase {
  background: var(--dark);
  padding: 48px 16px 40px;
  border-top: 1px solid var(--border);
}

.versions-showcase .container {
  max-width: 900px;
  padding: 0 12px;
}

/* ── Downloads ── */
.downloads-section {
  padding: 48px 0 32px;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.download-single {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 32px;
  border: 1px solid rgba(232, 48, 80, .15);
  background: var(--surface);
  border-radius: 12px;
}
.download-single h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.download-single .desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}
.download-single .version {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.download-card {
  text-align: center;
  padding: 36px 24px 32px;
  background: var(--surface);
}

.download-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.download-card .desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 6px;
  min-height: 40px;
}

.download-card .version {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 22px;
}

/* Professional flat buttons — not rounded/pill */
.btn-download {
  display: inline-block;
  background: linear-gradient(145deg, var(--accent-hot), var(--accent));
  color: #fff;
  padding: 11px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: background .15s ease, box-shadow .15s ease;
}
.btn-download:hover {
  background: linear-gradient(145deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 6px 24px var(--accent-glow);
}

.action-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.btn-action {
  display: block;
  text-align: center;
  padding: 13px 16px;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn-action:last-child { border-right: none; }
.btn-action:hover,
.btn-action.active {
  background: rgba(232, 48, 80, .1);
  color: var(--accent-hot);
}

/* ── Reveal panels ── */
.reveal-panel {
  display: none;
  background: var(--dark-3);
  color: #dde2ec;
  padding: 44px 0;
  border-top: 3px solid var(--accent);
}
.reveal-panel.open { display: block; }

.reveal-panel h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #fff;
}

.reveal-panel .lead {
  text-align: center;
  color: #9aa8bc;
  font-size: 13px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
}

.reveal-close {
  display: block;
  margin: 0 20px 0 auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: #aaa;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s;
}
.reveal-close:hover { border-color: #fff; color: #fff; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}

.info-card {
  background: rgba(0,0,0,.15);
  padding: 28px 24px;
  text-align: center;
}

.info-card img { width: 44px; margin: 0 auto 14px; }
.info-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.info-card p { font-size: 12px; color: #9aa8bc; line-height: 1.7; }

/* ── Features ── */
.use-cases {
  padding: 64px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.section-lead {
  text-align: center;
  max-width: 560px;
  margin: -20px auto 36px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(232,48,80,.12);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  border-color: rgba(232,48,80,.35);
  box-shadow: 0 8px 32px rgba(232,48,80,.1);
}

.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(232,48,80,.12);
  color: var(--accent-hot);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 10px;
  line-height: 1.35;
}
.feature-card p {
  font-size: 12px;
  color: #9aa0b0;
  line-height: 1.65;
}
.feature-card p strong { color: #ccc; font-weight: 500; }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 38px);
  text-transform: uppercase;
  text-align: center;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 36px;
}
.section-lead strong { color: var(--text-light); }

/* ── Quote ── */
.quote-section {
  background: var(--dark-2);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
}
.quote-section::before { display: none; }
.quote-section .container { position: relative; z-index: 1; }
.quote-section blockquote {
  font-size: 17px;
  font-style: italic;
  color: #eee;
  max-width: 660px;
  margin: 0 auto 14px;
  line-height: 1.65;
}
.quote-section cite {
  color: var(--accent-hot);
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .5px;
}

/* ── SEO content ── */
.seo-section {
  padding: 48px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.seo-section .container {
  max-width: 720px;
  text-align: center;
}

.seo-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
}
.seo-section p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.seo-section p strong { color: var(--text); }
.seo-section code {
  background: var(--surface-2);
  color: var(--accent-hot);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* ── FAQ ── */
.faq-section {
  padding: 64px 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-light);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--accent-hot);
  font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-item a { color: var(--accent-hot); }
.faq-item code {
  background: var(--surface-2);
  color: var(--accent-hot);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* ── Donation ── */
.donation-section {
  padding: 56px 0;
  text-align: center;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

.donation-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.donation-section p {
  max-width: 620px;
  margin: 0 auto 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 36px 0 20px;
  position: relative;
  border-top: 1px solid rgba(232, 48, 80, .15);
}

.footer-wave { display: none; }

.footer-inner { text-align: center; padding-top: 24px; }
.footer-logo img { height: 34px; margin: 0 auto 14px; filter: brightness(10); }

.footer-tagline {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a { color: #bbb; font-size: 11px; letter-spacing: .3px; }
.footer-links a:hover { color: var(--accent-hot); }

.footer-social { display: none; }

.install-steps .step-num,
.info-card .step-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.info-card .manual-icon {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 8px 14px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 10px;
  color: #555;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding-top: 90px; min-height: auto; }
  .action-row, .info-grid { grid-template-columns: 1fr; }
  .btn-action { border-right: none; border-bottom: 1px solid var(--border); }
  .btn-action:last-child { border-bottom: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    height: auto;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav > li { height: auto; width: 100%; }
  .main-nav > li > a { padding: 12px 20px; height: auto; }
  .main-nav .submenu { position: static; box-shadow: none; border: none; background: rgba(0,0,0,.2); }
  .site-header { position: relative; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cta-arrow { animation: none; }
}
