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

:root {
  --bg:            #0d0d0d;
  --bg2:           #111111;
  --card:          #1a1a1a;
  --border:        #2a2a2a;
  --fg:            #e8e8e8;
  --fg-dim:        #888;
  --orange:        #da7756;
  --orange-d:      #c4634a;
  --orange-bg:     #2b1a14;
  --orange-border: #4a2d22;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

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

/* ── Layout ───────────────────────────────────────────────────────────────── */
.inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 8px;
  transition: background .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-d); text-decoration: none; }

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 23px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--orange-bg); text-decoration: none; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--fg);
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  transition: border-color .15s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--fg-dim); text-decoration: none; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -.2px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 72px; text-align: center; }
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-block;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--orange-border);
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(30px, 5.5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: #fff;
  margin-bottom: 20px;
}
.accent { color: var(--orange); }

.sub {
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ── Widget preview ───────────────────────────────────────────────────────── */
.preview-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 7px 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(218,119,86,.07);
}
.preview-bar-wrap {
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  overflow: hidden;
}
.preview-bar { height: 100%; background: #4ade80; border-radius: 3px; }
.preview-text { font-size: 12px; color: #fff; white-space: nowrap; }
.preview-close { font-size: 14px; color: #555; cursor: default; }

/* ── 2-step Timeline (horizontal) ────────────────────────────────────────── */
.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  text-align: left;
  flex-wrap: wrap;
}

.tl-step {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tl-num {
  width: 32px;
  height: 32px;
  background: var(--orange-bg);
  border: 1.5px solid var(--orange-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}

.tl-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.tl-desc {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.65;
  flex: 1;
}

.tl-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  padding-top: 40px;
  flex-shrink: 0;
}
.tl-arrow { font-size: 38px; color: #444; line-height: 1; }

/* Vertical connector (download section) */
.tl-connector-v {
  padding: 8px 0;
  flex-direction: column;
}

/* ── Download timeline (vertical) ────────────────────────────────────────── */
.download-tl {
  flex-direction: column;
  align-items: center;
}
.download-tl .tl-step {
  width: 100%;
  max-width: 540px;
  flex: none;
}
.download-tl .tl-connector {
  padding: 6px 0;
  padding-top: 6px;
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 88px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg2); }

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -.3px;
}
.download-inner h2 { margin-bottom: 8px; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  transition: border-color .15s;
}
.feature:hover { border-color: #3a3a3a; }
.feature-icon { font-size: 26px; color: var(--orange); margin-bottom: 14px; line-height: 1; }
.feature-icon-circle {
  width: 26px;
  height: 26px;
  border: 2.5px solid var(--orange);
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 14px;
}
.feature h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--fg-dim); line-height: 1.65; }

/* ── Download box ─────────────────────────────────────────────────────────── */
.download-inner { text-align: center; }
.download-inner .sub { margin-bottom: 40px; }

.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #222;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.download-info { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.download-name { font-size: 13px; font-weight: 600; color: #fff; }
.download-meta { font-size: 11px; color: var(--fg-dim); }

.download-note {
  font-size: 14px;
  color: #e0e0e0;
  line-height: 1.65;
  margin-top: 14px;
  text-align: left;
}
.download-note strong { color: #fff; font-weight: 700; }

/* ── Donation ─────────────────────────────────────────────────────────────── */
.donate-section { text-align: center; background: var(--bg2); }
.donate-inner { max-width: 720px; margin: 0 auto; }

.donate-love {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.donate-text {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.75;
  margin-bottom: 28px;
}
.btn-donate {
  display: inline-block;
  background: #1f1a17;
  border: 1.5px solid var(--orange-border);
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 10px;
  transition: background .15s, border-color .15s;
}
.btn-donate:hover { background: var(--orange-bg); border-color: var(--orange); text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-note { font-size: 13px; color: #444; flex: 1; text-align: center; }
footer a { font-size: 13px; color: var(--fg-dim); }
footer a:hover { color: var(--fg); }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .timeline:not(.download-tl) { flex-direction: column; align-items: center; }
  .tl-step { max-width: 100%; width: 100%; }
  .tl-connector { padding: 6px 0; }
  .tl-connector:not(.tl-connector-v) .tl-arrow { content: ""; }
  .tl-connector:not(.tl-connector-v) .tl-arrow::before { content: "\2193"; }
}
