:root {
  /* Palette Tema Hutan Sumatera */
  --tiger-orange: #e67e22; /* Warna Harimau */
  --survivor-green: #2ecc71; /* Warna Survivor */
  --bg-deep-forest: #111a15; /* Latar Belakang Utama */
  --bg-card: #1e2b23; /* Warna Kartu */
  --bg-nav: rgba(20, 30, 24, 0.95); /* Navigasi Transparan */
  --text-main: #ecf0f1;
  --text-muted: #aab7b8;
  --border-color: #2f4035;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep-forest);
  color: var(--text-main);
  line-height: 1.6;
  background-image: linear-gradient(to bottom, #111a15 0%, #0c120f 100%);
}

/* === HEADER HERO SECTION === */
header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), var(--bg-deep-forest)),
    url("https://images.unsplash.com/photo-1511497584788-876760111969?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem 4rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--tiger-orange);
  position: relative;
}

h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--tiger-orange);
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.subtitle {
  color: #dcdde1;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* === NAVIGASI STICKY === */
.step-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  padding: 15px 0;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.nav-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.nav-item.active {
  border-color: var(--tiger-orange);
  color: var(--tiger-orange);
  background: rgba(230, 126, 34, 0.15);
  box-shadow: 0 0 15px rgba(230, 126, 34, 0.2);
}

/* === LAYOUT UTAMA === */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 5rem;
  scroll-margin-top: 100px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title i {
  font-size: 1.2rem;
  color: var(--bg-deep-forest);
  background: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.section-title h2 {
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.8rem;
}

/* === KARTU KONTEN === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card.info {
  border-top: 4px solid #3498db;
}

.card h3 {
  margin-bottom: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

/* === TOMBOL DOWNLOAD BARU === */
.download-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--tiger-orange);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
  background: transparent;
  border-color: var(--tiger-orange);
  color: var(--tiger-orange);
  box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
  transform: translateY(-2px);
}

.download-btn i {
  margin-right: 10px;
  font-size: 1.2em;
}

/* === SISTEM TAB === */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px;
  border-radius: 8px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: 0.3s;
  flex: 1;
  text-align: center;
  border-radius: 6px;
  letter-spacing: 1px;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active-survivor {
  background: var(--survivor-green);
  color: #000;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.tab-btn.active-tiger {
  background: var(--tiger-orange);
  color: #000;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.tab-content {
  display: none;
  animation: slideUp 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === VISUAL TOMBOL KEYBOARD === */
.key {
  display: inline-block;
  background: #dfe6e9;
  color: #2d3436;
  padding: 3px 8px;
  border-radius: 4px;
  border-bottom: 3px solid #b2bec3;
  font-weight: bold;
  font-family: "Consolas", monospace;
  font-size: 0.85rem;
  min-width: 28px;
  text-align: center;
  margin: 0 2px;
}

.control-list {
  list-style: none;
}

.control-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.control-list li:last-child {
  border-bottom: none;
}

/* === TAG & LIST === */
.role-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.bg-survivor {
  background: rgba(46, 204, 113, 0.15);
  color: var(--survivor-green);
  border: 1px solid var(--survivor-green);
}

.bg-tiger {
  background: rgba(230, 126, 34, 0.15);
  color: var(--tiger-orange);
  border: 1px solid var(--tiger-orange);
}

.feature-list li {
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list i {
  margin-top: 5px;
  min-width: 20px;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 4rem 2rem;
  background: #0b110e;
  color: #5d6d66;
  font-size: 0.9rem;
  margin-top: 5rem;
  border-top: 1px solid #1a2620;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .step-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 20px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tabs {
    flex-direction: column;
  }

  .card {
    padding: 1.5rem;
  }
}
