@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-dark: #08140F;
  --bg-surface: #0F221B;
  --bg-card: #152E24;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: #2ECC71;
  --text-main: #FFFFFF;
  --text-muted: #9BB3A7;
  --text-dim: #6B8579;
  --primary: #2ECC71;
  --primary-glow: rgba(46, 204, 113, 0.25);
  --gold: #E5B869;
  --danger: #FF5E5E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 20px;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Main Content */
main {
  padding: 48px 0 80px;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.doc-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-block;
  background: rgba(46, 204, 113, 0.12);
  color: var(--primary);
  border: 1px solid rgba(46, 204, 113, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.badge.danger {
  background: rgba(255, 94, 94, 0.12);
  color: var(--danger);
  border-color: rgba(255, 94, 94, 0.3);
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.last-updated {
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* Typography inside documents */
h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 32px 0 14px;
  color: #E2ECE7;
  display: flex;
  align-items: center;
  gap: 10px;
}

h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

p, ul, ol {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

ul, ol {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: #FFFFFF;
}

.highlight-box {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.highlight-box.danger-box {
  border-left-color: var(--danger);
  background: rgba(255, 94, 94, 0.08);
}

/* Deletion Form / Steps */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--danger);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.2s;
  margin-top: 10px;
}

.action-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 680px) {
  .doc-card {
    padding: 26px 20px;
  }
  h1 {
    font-size: 1.7rem;
  }
  .nav-links {
    display: none;
  }
}
