/* ─── Reset & Base ─────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-dark:   #0F1428;
  --bg-mid:    #142350;
  --bg-card:   #1A2548;
  --accent:    #E94560;
  --accent-2:  #00B4D8;
  --text:      #E8EEFF;
  --text-mute: #8FA3D0;
  --border:    #2A3A6E;
  --success:   #28A745;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* ─── Header / Navbar ──────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), #b8324a);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-mute);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.lang-switch {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.lang-switch a {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  border-radius: 6px;
  transition: all .15s;
}
.lang-switch a.active {
  background: var(--accent);
  color: white;
}
.lang-switch a:not(.active):hover {
  color: var(--text);
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 28px 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 60%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
  padding-bottom: 0.15em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #B4C8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-mute);
  max-width: 640px;
  margin: 0 auto 40px;
}

.cta-row {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: #d63854;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* ─── Sections ─────────────────────────────────────────────────────── */
section {
  padding: 80px 28px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-mute);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Feature Grid ─────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #b8324a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-mute);
  font-size: 14.5px;
}

/* ─── Stats / Highlight ────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin: 60px 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(20, 35, 80, 0.8), rgba(15, 20, 40, 0.8));
  border: 1px solid var(--border);
  border-radius: 20px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-label {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
}

/* ─── Donation Section ────────────────────────────────────────────── */
.donation {
  max-width: 720px;
  margin: 60px auto 40px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.08), rgba(0, 180, 216, 0.06));
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}
.donation h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.donation .donation-sub {
  color: var(--text-mute);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.donation-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: border-color .15s;
}
.donation-row:hover { border-color: var(--accent-2); }
.donation-row .chain {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.donation-row .addr {
  flex: 1;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 13.5px;
  color: var(--text);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}
.donation-row .copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mute);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
  font-size: 14px;
}
.donation-row .copy-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.donation-row .copy-btn.copied {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

@media (max-width: 600px) {
  .donation { padding: 26px 18px; }
  .donation-row { flex-wrap: wrap; }
  .donation-row .addr { font-size: 12px; flex-basis: 100%; order: 3; }
}

/* ─── Footer ───────────────────────────────────────────────────────── */
footer {
  padding: 50px 28px 30px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--text-mute);
  font-size: 14px;
}
.copyright {
  color: var(--text-mute);
  font-size: 13px;
}

/* ─── Document Pages (privacy etc.) ────────────────────────────────── */
.doc {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 28px;
}
.doc h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: var(--accent);
}
.doc .meta {
  color: var(--text-mute);
  font-size: 14px;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.doc h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--accent-2);
}
.doc h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.doc p, .doc li {
  color: #C8D2EE;
  font-size: 15px;
  margin-bottom: 12px;
}
.doc ul, .doc ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.doc strong { color: var(--text); }
.doc hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0 20px;
}

/* ─── App Showcase ─────────────────────────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.showcase-text h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.showcase-text p {
  color: var(--text-mute);
  font-size: 16px;
  margin-bottom: 16px;
}
.showcase-img {
  display: flex;
  justify-content: center;
}
.showcase-img img {
  max-height: 500px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .showcase { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .hero { padding: 80px 20px 60px; }
  section { padding: 60px 20px; }
}
