/* =============================================
   DICOIN — Learn Page Styles
   ============================================= */

/* Hero */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,70,229,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(6,182,212,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  max-width: 680px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 24px 0 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: fit-content;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.5rem; font-weight: 800; display: block; }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat-div { width: 1px; height: 40px; background: var(--border); }

/* Info cards */
.info-card { text-align: center; }
.info-card-icon { font-size: 2.5rem; margin-bottom: 16px; }

/* Concept compare */
.concept-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.concept-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-muted);
  text-align: center;
}
.concept-label { margin-bottom: 16px; }
.concept-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Journey */
.journey-steps-dots {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  position: relative;
}
.journey-steps-dots::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: default;
}
.step-dot.done {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
}
.step-dot.done::after { content: '✓'; }
.step-dot.active {
  background: var(--indigo);
  border-color: var(--indigo-light);
  box-shadow: 0 0 12px rgba(79,70,229,0.5);
}

/* Journey Steps */
.journey-step {
  margin-bottom: 20px;
  transition: all var(--transition);
}
.journey-step.locked {
  opacity: 0.5;
  pointer-events: none;
}
.journey-step.completed {
  border-color: var(--emerald);
  opacity: 1;
}
.journey-step.active {
  border-color: var(--indigo);
  box-shadow: var(--glow-indigo);
  opacity: 1;
  pointer-events: all;
}
.step-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #fff;
}
.step-status {
  margin-left: auto;
  flex-shrink: 0;
}
.step-done-badge {
  background: rgba(16,185,129,0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}
.step-body { padding-left: 64px; }

.step-explain { padding: 20px; margin-bottom: 20px; }
.step-explain h4 { font-size: 1rem; margin-bottom: 0; }
.explain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.step-done-msg {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.done-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--emerald-light);
}

/* Wallet display */
.wallet-display { display: flex; flex-direction: column; gap: 16px; }
.wallet-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.wallet-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.wallet-address {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--cyan-light);
  word-break: break-all;
  background: rgba(6,182,212,0.05);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(6,182,212,0.15);
}
.wallet-balances {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.balance-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.balance-row > div:nth-child(2) { flex: 1; }

/* Send demo */
.input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-weight: 600;
}
.tx-summary { padding: 16px; }
.buy-preview { padding: 16px; }

/* Completion banner */
.completion-banner {
  text-align: center;
  border: 1px solid var(--emerald);
  box-shadow: 0 0 40px rgba(16,185,129,0.2);
  padding: 60px 40px;
  margin-top: 20px;
}
.completion-content { max-width: 500px; margin: 0 auto; }
.completion-icon { font-size: 4rem; margin-bottom: 16px; }

/* How it works */
.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.how-step {
  max-width: 220px;
  text-align: center;
}
.how-step-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.how-arrow {
  font-size: 2rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* CTA */
.cta-section { padding-bottom: 120px; }
.cta-card {
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.1) 0%, rgba(6,182,212,0.05) 100%);
  border-color: rgba(79,70,229,0.3);
}

/* Footer */
.footer { border-top: 1px solid var(--border); }

@media (max-width: 768px) {
  .concept-compare { grid-template-columns: 1fr; }
  .concept-vs { display: none; }
  .step-body { padding-left: 0; }
  .how-arrow { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-div { width: 60px; height: 1px; }
}
