/* =========================
   🌙 Base
========================= */
body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  margin: 0;
  text-align: center;
}

/* =========================
   🔥 Navigation
========================= */
.top-nav {
  background: #020617;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #e2e8f0;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.95em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #22c55e;
}

@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================
   📦 Layout
========================= */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-section {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

/* =========================
   🚀 Hero
========================= */
.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero p {
  font-size: 1.1em;
  color: #cbd5f5;
}

/* =========================
   🧱 Cards (unified)
========================= */
.card,
.page-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: left;
  border: 1px solid #334155;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width:100%;
}

.card:hover,
.page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.card h2,
.page-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* =========================
   📋 Lists
========================= */
.card ul,
.page-card ul {
  padding-left: 20px;
  color: #cbd5f5;
  list-style-type: disc;
  list-style-position: inside;
}

.card li,
.page-card li {
  margin-bottom: 8px;
}

.card ul li::marker,
.page-card ul li::marker {
  color: #22c55e;
}

.card a,
.page-card a {
  color: inherit;
  text-decoration: none;
}

.card a:hover,
.page-card a:hover {
  color: #22c55e;
  text-decoration: underline;
}

/* =========================
   ✨ Highlight + Text
========================= */
.highlight {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  margin: 30px 0;
}

.muted {
  color: #94a3b8;
  font-size: 0.9em;
  margin-top: 30px;
  text-align: center;
}

/* =========================
   🧭 Steps Grid
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  background: #1e293b;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  border: 1px solid #334155;
  transition: all 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #22c55e;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.15);
}

.step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #22c55e;
  color: #022c22;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.step-card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* =========================
   📌 Extra Info
========================= */
.extra-info {
  margin-top: 50px;
}

.extra-info ul {
  text-align: left;
  max-width: 600px;
  margin: 15px auto;
  color: #cbd5f5;
}
/* =========================
   📋 Unified List Styling
========================= */

/* Make lists consistent inside cards */
.card ul {
  max-width: 520px;          /* 🔥 controls width */
  margin: 15px auto 0 auto;  /* center inside card */
  padding-left: 20px;
  text-align: left;
}

/* Better spacing */
.card li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Align headings with lists */
.card h2 {
  text-align: left;
}

/* Optional: center cards but keep content readable */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ensure text blocks match list width */
.card p,
.card .highlight {
  max-width: 520px;
}