/* ===================================================================
   Marine EcoSim: Interaksi Makhluk Hidup & Lingkungan Laut
   SMK Negeri 1 Mundu - Kelas X Nautika Kapal Niaga (NKN)
   Maritime Glassmorphism & High-Contrast Design System
   =================================================================== */

:root {
  --bg-deep: #050d1a;
  --bg-surface: #0a182e;
  --bg-card: rgba(13, 29, 56, 0.75);
  --bg-card-hover: rgba(19, 42, 80, 0.85);
  --border-glow: rgba(56, 189, 248, 0.25);
  --border-focus: #38bdf8;
  --primary-cyan: #00f2fe;
  --primary-blue: #0284c7;
  --accent-teal: #14b8a6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(2, 132, 199, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(20, 184, 166, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #050d1a 0%, #07152b 50%, #030811 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Top Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 19, 39, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glow);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7, #00f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Tabs */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  background: transparent;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.4), rgba(6, 182, 212, 0.3));
  border-color: #06b6d4;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glow);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #38bdf8;
}

.sound-toggle-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  padding: 0.45rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-toggle-btn:hover {
  color: #38bdf8;
  border-color: #38bdf8;
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Page Section Container */
.page-section {
  display: none;
  padding: 2rem 0 4rem;
  animation: fadeIn 0.35s ease-out forwards;
}

.page-section.active {
  display: block;
}

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

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-glow);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: #38bdf8;
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(15, 38, 74, 0.7) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67e8f9;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #ffffff 40%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Identity Form Card */
.identity-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.925rem;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(30, 41, 59, 0.95);
}

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Feature Icon Card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Tabs Inside Pages */
.tab-nav-pills {
  display: flex;
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glow);
  padding: 0.45rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  overflow-x: auto;
}

.tab-pill-btn {
  flex: 1;
  white-space: nowrap;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-pill-btn:hover {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.08);
}

.tab-pill-btn.active {
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Water Column Depth Visualizer */
.depth-visualizer-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.depth-column {
  background: linear-gradient(180deg, #1e3a8a 0%, #0f2b57 25%, #081d3d 50%, #030d1d 75%, #01050d 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.depth-zone-item {
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(15, 23, 42, 0.4);
}

.depth-zone-item:hover, .depth-zone-item.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  transform: translateX(4px);
}

.depth-zone-item.active {
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.depth-zone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.depth-meter {
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Interactive Food Web Nodes */
.food-web-diagram {
  background: rgba(10, 20, 38, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.trophic-ladder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trophic-tier {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  transition: all 0.2s;
}

.trophic-tier:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--primary-cyan);
}

.trophic-badge {
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* SIMULATION LAYOUT */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sim-canvas-card {
  background: #040914;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

#marineCanvas {
  width: 100%;
  height: 480px;
  display: block;
  border-radius: var(--radius-md);
  background: #020817;
}

.sim-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.slider-group {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.slider-value {
  font-weight: 700;
  color: #38bdf8;
  font-size: 0.875rem;
}

.custom-range {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00f2fe;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

/* Graph Canvas */
.graph-container {
  background: rgba(10, 20, 38, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1.5rem;
}

#graphCanvas {
  width: 100%;
  height: 180px;
  display: block;
}

/* Real-time Diagnostics Log */
.eco-log-terminal {
  background: #020611;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  height: 220px;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.825rem;
  color: #67e8f9;
  line-height: 1.5;
}

.log-entry {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.log-time {
  color: #64748b;
  flex-shrink: 0;
}

.log-warn {
  color: #fbbf24;
}

.log-danger {
  color: #f87171;
}

.log-success {
  color: #34d399;
}

/* QUIZ STYLES */
.quiz-card {
  max-width: 860px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #00f2fe);
  width: 10%;
  transition: width 0.3s ease;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.question-number-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.question-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #e2e8f0;
}

.option-item:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: #38bdf8;
}

.option-item.selected {
  background: rgba(2, 132, 199, 0.25);
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.option-item.correct {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10b981 !important;
}

.option-item.incorrect {
  background: rgba(244, 63, 94, 0.25) !important;
  border-color: #f43f5e !important;
}

.option-key {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #94a3b8;
  flex-shrink: 0;
}

.option-item.selected .option-key {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.feedback-box {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glow);
  display: none;
}

.feedback-box.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* CERTIFICATE / RESULT STYLES */
.cert-container {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  position: relative;
  border: 8px double #0284c7;
}

.cert-header {
  text-align: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.cert-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-header p {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

.cert-body {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cert-name {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: underline;
  text-decoration-color: #0284c7;
  text-underline-offset: 8px;
  margin: 1rem 0;
}

.cert-score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.cert-score-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: #166534;
  line-height: 1;
}

.cert-score-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
  text-transform: uppercase;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

.cert-sign-col {
  text-align: center;
  width: 220px;
}

.cert-sign-space {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-family: cursive;
  color: #0284c7;
  font-size: 1.35rem;
}

.cert-sign-line {
  border-top: 1px solid #0f172a;
  padding-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
}

/* REFLECTION STYLES */
.reflection-card {
  max-width: 860px;
  margin: 0 auto;
}

.likert-scale {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.likert-option {
  text-align: center;
  cursor: pointer;
}

.likert-radio {
  accent-color: #00f2fe;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-glow);
  background: rgba(3, 8, 17, 0.95);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Badges & Tags */
.badge-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Responsive Utilities */
@media (max-width: 1024px) {
  .hero-banner {
    grid-template-columns: 1fr;
  }
  .sim-grid {
    grid-template-columns: 1fr;
  }
  .depth-visualizer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #071327;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-glow);
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .cert-container {
    padding: 1.5rem;
  }
  .cert-name {
    font-size: 1.5rem;
  }
  .cert-footer {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .navbar, .site-footer, .nav-actions, .btn-print-ignore {
    display: none !important;
  }
  .page-section {
    display: none !important;
  }
  #section-hasil.active, #section-refleksi.active {
    display: block !important;
  }
  .cert-container, .reflection-card {
    box-shadow: none !important;
    border: 2px solid #000000 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
}
