/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --bg3: #13131f;
  --surface: #16162a;
  --surface2: #1c1c30;
  --border: rgba(255,255,255,0.07);
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.15);
  --purple: #8b5cf6;
  --green: #22c55e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img { max-width: 100%; border-radius: 8px; display: block; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text) !important;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.85rem !important;
  transition: background 0.2s, border-color 0.2s;
}

.nav-btn:hover { background: var(--surface); border-color: var(--blue); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.blue { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.badge.green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge.purple { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.25); }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: #2563eb; transform: translateY(-1px); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--blue); background: var(--blue-glow); text-decoration: none; }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  max-width: 480px;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== NOTICE ===== */
.notice-bar {
  padding: 16px 0;
  background: rgba(59,130,246,0.06);
  border-top: 1px solid rgba(59,130,246,0.15);
  border-bottom: 1px solid rgba(59,130,246,0.15);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notice-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.notice p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.dark-section { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== METHODS ===== */
.methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .methods-grid { grid-template-columns: 1fr; }
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color 0.2s;
}

.method-card:hover { border-color: rgba(59,130,246,0.3); }

.method-card.featured {
  border-color: rgba(59,130,246,0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(59,130,246,0.04) 100%);
}

.method-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.method-icon { font-size: 2rem; margin-bottom: 12px; }

.method-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.method-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 24px; }

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  padding: 4px 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.step-img {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 100%;
}

/* ===== CODE BLOCK ===== */
.code-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  gap: 12px;
  margin-top: 6px;
}

.code-block code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #7dd3fc;
  word-break: break-all;
}

.copy-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font);
}

.copy-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.method-result {
  margin-top: 28px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4ade80;
}

/* ===== KEYS TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }

.keys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.keys-table thead tr {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.keys-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.keys-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.keys-table tbody tr:last-child td { border-bottom: none; }

.keys-table tbody tr:hover { background: var(--surface); }

.keys-table td:first-child { font-weight: 500; color: var(--text); }

.keys-table code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #7dd3fc;
  background: rgba(59,130,246,0.08);
  padding: 3px 8px;
  border-radius: 5px;
}

.copy-btn-sm {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  white-space: nowrap;
}

.copy-btn-sm:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.table-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== REQUIREMENTS ===== */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.req-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.req-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-2px); }

.req-icon { font-size: 2rem; margin-bottom: 12px; }

.req-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.req-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== AUTHOR ===== */
.author-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 600px;
  margin: 40px auto 0;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.author-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.author-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none !important;
}

.author-link.github { color: var(--text); background: var(--surface2); }
.author-link.github:hover { border-color: var(--text); background: rgba(255,255,255,0.05); }
.author-link.linkedin { color: #60a5fa; background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); }
.author-link.linkedin:hover { background: rgba(59,130,246,0.15); border-color: var(--blue); }

/* ===== BKASH SECTION ===== */
.bkash-section {
  margin: 40px auto;
  max-width: 600px;
}

.bkash-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f472b6;
  margin-bottom: 14px;
  text-align: center;
}

.crypto-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 14px;
  text-align: center;
}

.bkash-qr-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid rgba(226,0,116,0.3);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(226,0,116,0.04) 100%);
}

.bkash-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  border: 2px solid rgba(226,0,116,0.2);
  flex-shrink: 0;
  object-fit: cover;
}

.bkash-qr-info { flex: 1; }

.bkash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bkash-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.bkash-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(226,0,116,0.15);
  color: #f472b6;
  border: 1px solid rgba(226,0,116,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bkash-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.bkash-num-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bkash-num {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: #f472b6;
  letter-spacing: 0.04em;
}

@media (max-width: 500px) {
  .bkash-qr-card { flex-direction: column; text-align: center; }
  .bkash-brand { justify-content: center; }
  .bkash-num-row { justify-content: center; }
  .author-card { flex-direction: column; text-align: center; }
  .author-links { justify-content: center; }
}

/* ===== SUPPORT ===== */
.support-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.crypto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}

.crypto-card:hover { border-color: rgba(59,130,246,0.3); }

.crypto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crypto-token {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
  padding: 2px 8px;
  border-radius: 100px;
}

.crypto-network {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.crypto-addr {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #7dd3fc;
  word-break: break-all;
  line-height: 1.5;
  background: rgba(59,130,246,0.06);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(59,130,246,0.1);
}

.crypto-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.bkash-card {
  border-color: rgba(226, 0, 116, 0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(226,0,116,0.04) 100%);
}

.bkash-card:hover { border-color: rgba(226, 0, 116, 0.6); }

.bkash-token {
  background: rgba(226,0,116,0.15) !important;
  color: #f472b6 !important;
  border: 1px solid rgba(226,0,116,0.3) !important;
}

.bkash-number {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bkash-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 0 0 28px;
  background: var(--bg);
}

.footer-crypto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(59,130,246,0.04);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-crypto-label {
  font-weight: 700;
  color: var(--text);
}

.footer-crypto-item code {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #7dd3fc;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-crypto-item code:hover { color: #fff; }

.footer-crypto-sep { color: var(--border); }

.bkash-footer code { color: #f472b6 !important; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  padding: 24px 24px 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== KBD ===== */
kbd {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero { padding: 70px 0 60px; }
  .hero-stats { padding: 20px 16px; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 1.4rem; }
  .method-card { padding: 24px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links { gap: 16px; }
}
