/* ===== Base Reset ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f8fafc;
  color: #111827;
  line-height: 1.7;
}

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

.section {
  padding: 80px 0;
}

/* ===== Navigation ===== */
nav {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  margin-left: 28px;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 60px 0;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #475569;
  max-width: 720px;
}

.badge {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 12px;
  background: #e2e8f0;
  border-radius: 999px;
  font-size: 13px;
  color: #334155;
}

/* ===== Card System ===== */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.card + .card {
  margin-top: 28px;
}

/* ===== Table Styling ===== */
.table-card {
  margin-top: 40px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

th {
  font-weight: 600;
  color: #1e293b;
}

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover {
  background-color: #f1f5f9;
}

/* ===== Headings ===== */
h2 {
  margin-top: 60px;
  font-size: 28px;
}

h3 {
  margin-top: 32px;
  font-size: 20px;
}

/* ===== Buttons ===== */
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #2563eb;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* ===== Guide Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* ===== Footer ===== */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0;
  margin-top: 100px;
  font-size: 14px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.7;
}
/* ===== Improved Navbar ===== */

nav .brand {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
}

nav .nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

nav .nav-links a:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}
/* ===== Jump Buttons ===== */

.jump-group {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jump-link {
  padding: 8px 14px;
  background: #e0e7ff;
  color: #1e3a8a;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.jump-link:hover {
  background: #c7d2fe;
  transform: translateY(-2px);
}


