:root {
  --primary: #006A60;
  --primary-hover: #00534B;
  --primary-light: #E0F2F1;
  --primary-container: #A2EFE3;
  --on-primary: #FFFFFF;
  --accent: #26A69A;
  --danger: #BA1A1A;
  --danger-light: #FFEDEA;
  --text-main: #191C1C;
  --text-muted: #3F4948;
  --text-subtle: #6F7978;
  --bg-page: #F4F7F6;
  --bg-card: #FFFFFF;
  --border-card: #CCE8E4;
  --border-light: #E0E3E2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 106, 96, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-main: #E0E3E2;
    --text-muted: #BEC9C7;
    --text-subtle: #899391;
    --bg-page: #0E1514;
    --bg-card: #19201F;
    --border-card: #283735;
    --border-light: #2D3534;
    --primary-light: #162E2B;
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & Nav */
header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

img {
  max-width: 100%;
  height: auto;
}

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

.brand-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 106, 96, 0.18);
  flex-shrink: 0;
}

.brand-icon img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

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

/* Hero Section */
.hero {
  padding: 56px 0 36px;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 24px;
}

.hero-meta {
  display: inline-flex;
  gap: 16px;
  background: var(--bg-card);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* Card & Content */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-main);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 14px;
}

.content-card ul,
.content-card ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

/* Alerts and Highlights */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.info-box p {
  color: var(--text-main);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.warning-box {
  background: var(--danger-light);
  border-left: 4px solid var(--danger);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.warning-box p {
  color: var(--danger);
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.step-card {
  background: var(--bg-page);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.step-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.step-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-subtle);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text-main);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: var(--primary-hover);
}

.btn-danger {
  background: var(--danger);
}

.btn-danger:hover {
  background: #961313;
}

/* Success Card */
.success-banner {
  display: none;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.success-banner h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* Footer */
footer {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  color: var(--text-subtle);
  font-size: 0.9rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    gap: 12px;
  }
  .content-card {
    padding: 24px 18px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
}
