/* =========================================
   CORE VARIABLES & RESET
   ========================================= */
:root {
  --bg-main: #3e3232;
  --bg-dark: #352b2b;
  --bg-surface: #503c3c;
  --accent-soft: #7e6363;
  --accent-strong: #a87c7c;
  --text-main: #f5efef;
  --text-muted: #d6caca;
  --code-bg: #2b2222;
  --terminal-green: #a3be8c;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes dropIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popUp {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(163, 190, 140, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(163, 190, 140, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(163, 190, 140, 0);
  }
}

@keyframes expandWidth {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 95%;
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
    border-left-color: transparent;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    border-left-color: var(--terminal-green);
  }
}

@keyframes tiltUp {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateX(90deg) translateY(50px);
  }
  to {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
  }
}

@keyframes lockOn {
  0% {
    opacity: 0;
    transform: scale(1.5);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p {
  color: var(--text-muted);
  max-width: 60ch;
}

.mono-badge {
  font-family: monospace;
  color: var(--accent-strong);
  font-weight: bold;
  display: block;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.hero-highlight,
.highlight-text {
  background: linear-gradient(to right, #fff, var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 550px;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
  background: rgba(80, 60, 60, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(126, 99, 99, 0.4);
  width: 100%;
  animation: slideDown 0.8s ease-out forwards;
}

.navbar {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--accent-strong);
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(168, 124, 124, 0.4);
  transition: transform 0.3s ease;
}

.nav-logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
}

.navbar nav {
  display: flex;
  align-items: center;
}

.navbar nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 40px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}

.navbar nav a:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.navbar nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-strong);
  transition: width 0.3s ease;
}

.navbar nav a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  .navbar nav a {
    margin-left: 20px;
    font-size: 0.85rem;
  }
}

/* =========================================
   LAYOUT & SECTIONS
   ========================================= */
main {
  width: 100%;
}

.fullpage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
}

.fullpage-inner {
  max-width: 1600px;
  margin: auto;
  width: 100%;
}

#home {
  background: radial-gradient(circle at center, #554444 0%, #2b2222 100%);
}
#about {
  background-color: var(--bg-dark);
  padding: 60px 0;
}
#skills {
  background-color: var(--bg-main);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}
#projects {
  background-color: var(--bg-dark);
  padding: 80px 5%;
}

/* --- Hero Section --- */
.section-hero .hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  opacity: 0;
  animation: dropIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero-text .hero-description {
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}
.hero-visual {
  display: flex;
  justify-content: center;
}

/* --- Terminal --- */
.terminal-window {
  background: var(--code-bg);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--accent-soft);
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  opacity: 0;
  transform: scale(0.9);
  animation: popUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
  transition: all 0.3s ease;
}

.terminal-window:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border-color: var(--accent-strong);
}

.terminal-header {
  background: #231b1b;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #bf616a;
}
.yellow {
  background: #ebcb8b;
}
.green {
  background: #a3be8c;
}

.terminal-body {
  padding: 24px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
}
.prompt {
  color: var(--accent-strong);
  font-weight: bold;
}
.output {
  color: var(--text-muted);
  margin-bottom: 6px;
}
.blink {
  animation: blink 1s infinite;
  color: var(--terminal-green);
}

/* --- SIEM Dashboard (Hero Background/Effect) --- */
.siem-dashboard {
  background: var(--code-bg);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  font-family: "Consolas", "Monaco", monospace;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-size: 0.95rem;
}

.siem-topbar {
  background: #231b1b;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.siem-brand {
  color: var(--text-main);
  font-weight: bold;
  letter-spacing: 0.5px;
}
.siem-brand .path {
  color: var(--text-muted);
  font-weight: normal;
}

.siem-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.meta-item .label {
  color: var(--accent-strong);
  font-weight: bold;
  margin-right: 4px;
}
.status-live {
  color: var(--terminal-green);
  font-weight: bold;
  animation: pulse 2s infinite;
}

.siem-viewport {
  overflow-x: hidden;
  background: var(--code-bg);
  padding-bottom: 20px;
}

/* --- Log Table --- */
.log-table {
  width: 100%;
  border-collapse: collapse;
  color: #ccc;
  table-layout: fixed;
}
.log-table th {
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
  padding: 16px 20px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 1px;
}
.log-table th:nth-child(1) {
  width: 180px;
}
.log-table th:nth-child(2) {
  width: 150px;
}
.log-table th:nth-child(3) {
  width: 180px;
}

.log-table tbody tr {
  transition: all 0.2s ease-in-out;
  border-left: 3px solid transparent;
}
.log-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--terminal-green);
  cursor: crosshair;
}
.highlight-row {
  background: transparent;
}

.log-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.log-table td.msg {
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.6;
}

.time {
  color: #569cd6;
  font-size: 0.9rem;
}
.src {
  color: #ce9178;
}
.sev-info {
  color: #569cd6;
  font-weight: bold;
}
.sev-notice {
  color: #dcdcaa;
  font-weight: bold;
}
.sev-warn {
  color: #d7ba7d;
  font-weight: bold;
}
.sev-crit {
  color: #f44747;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(244, 71, 71, 0.4);
}
.sev-success {
  color: #b5cea8;
  font-weight: bold;
}
.msg strong {
  color: #fff;
  font-weight: bold;
}
.msg em {
  color: #dcdcaa;
  font-style: normal;
}
.badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ddd;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 8px;
  border: 1px solid #555;
  white-space: nowrap;
}
.last-row td {
  border-bottom: none;
}

.siem-footer {
  background: #231b1b;
  padding: 8px 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   SKILLS SECTION STYLES
   ========================================= */
.center-text {
  text-align: center;
  margin-bottom: 80px;
}
.sub-heading {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-strong);
  margin-bottom: 10px;
  font-weight: 600;
}
.center-text h2 {
  font-size: 3rem;
  color: var(--text-main);
  margin: 0 0 20px 0;
  letter-spacing: -1px;
}
.header-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 35px 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-10px);
  border-color: var(--accent-soft);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-main);
  position: relative;
  z-index: 2;
}
.card-content h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-strong);
  margin-top: 10px;
  border-radius: 2px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.clean-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.clean-list li:last-child {
  border-bottom: none;
}

.bg-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.03);
  z-index: 1;
  transition: all 0.4s ease;
  transform: rotate(-15deg);
}
.glass-card:hover .bg-icon {
  color: rgba(255, 255, 255, 0.08);
  transform: rotate(0deg) scale(1.1);
  bottom: -20px;
  right: -20px;
}

/* =========================================
   PROJECTS SECTION STYLES
   ========================================= */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}

.ops-card {
  background: linear-gradient(145deg, #2d2424, #231b1b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 5px solid var(--accent-strong);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.ops-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #322828, #261e1e);
}

.ops-card-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ops-id {
  font-family: "Consolas", monospace;
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.6;
  letter-spacing: 1px;
}

.ops-status {
  font-size: 0.65rem;
  background: rgba(168, 124, 124, 0.1);
  color: var(--accent-strong);
  padding: 4px 8px;
  border: 1px solid var(--accent-strong);
  font-family: "Consolas", monospace;
  font-weight: bold;
}

.ops-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.ops-card-body h3 {
  font-size: 1.25rem;
  margin: 0 0 5px 0;
  color: var(--text-main);
  line-height: 1.3;
}
.ops-role {
  font-size: 0.8rem;
  color: var(--accent-strong);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}
.ops-divider {
  height: 2px;
  width: 40px;
  background: var(--accent-soft);
  margin: 15px 0;
  opacity: 0.5;
}
.ops-summary {
  margin-bottom: 20px;
  flex-grow: 1;
}
.ops-summary p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.ops-summary strong {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-right: 5px;
}

.ops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ops-tags span {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.3);
  color: #ccc;
  padding: 6px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: "Consolas", monospace;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  background: var(--accent-strong);
  color: var(--bg-main);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
  transition: 0.2s;
}
.btn:hover {
  background: var(--text-main);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-soft);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--accent-soft);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-main);
}

/* =========================================
   FLOATING ELEMENTS (Contact Dock & Language)
   ========================================= */
/* Contact Dock (Pojok Kanan Bawah) */
.contact-dock {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(43, 34, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 12px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  transform: none;
  animation: fadeInUp 1s ease-out 1.5s forwards;
  opacity: 0;
}

.contact-dock:hover {
  background: rgba(43, 34, 34, 0.95);
  border-color: var(--accent-strong);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.dock-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--terminal-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--terminal-green);
  animation: pulse-green 2s infinite;
}
.status-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}
.dock-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}
.dock-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.dock-link {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
}
.dock-link:hover {
  color: var(--accent-strong);
  transform: scale(1.3) translateY(-3px);
}

/* FLOATING LANGUAGE SWITCHER (Pojok Kanan Atas - UPDATE!) */
.lang-switch-container {
  position: fixed;
  top: 100px; /* Letaknya di ATAS (bawah header) */
  right: 30px;
  bottom: auto; /* Hapus posisi bawah */
  z-index: 1001;

  background: rgba(43, 34, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
  transition: all 0.3s ease;
}

.lang-switch-container:hover {
  background: rgba(43, 34, 34, 0.95);
  border-color: var(--accent-strong);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.btn-lang {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  cursor: pointer;
  font-family: "Consolas", monospace;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-lang span.active {
  color: var(--terminal-green);
  font-weight: bold;
  text-shadow: 0 0 8px rgba(163, 190, 140, 0.5);
}

.btn-lang span:not(.active) {
  opacity: 0.6;
}
.btn-lang span.divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9998;
  width: 450px;
  background: rgba(20, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent-strong);
  border-radius: 2px;
  padding: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  visibility: hidden;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-content {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.cookie-icon {
  font-size: 1.8rem;
  color: var(--accent-strong);
  margin-top: 5px;
  opacity: 0.9;
}
.cookie-text h4 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 0.85rem;
  font-family: "Consolas", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  display: inline-block;
}
.cookie-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.cookie-text strong {
  color: #e2e2e2;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

.btn-cookie-solid {
  background: var(--accent-strong);
  color: #1a1a1a;
  border: none;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-family: "Consolas", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s;
}
.btn-cookie-solid:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-cookie-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-family: "Consolas", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s;
}
.btn-cookie-outline:hover {
  border-color: var(--text-muted);
  color: #fff;
}

/* =========================================
   SCROLL ANIMATIONS CLASSES
   ========================================= */
.scroll-visible .siem-dashboard {
  animation: expandWidth 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 1;
}
.scroll-visible .log-table tbody tr {
  opacity: 0;
  animation: slideInLeft 0.5s ease-out forwards;
}
.scroll-visible .log-table tbody tr:nth-child(1) {
  animation-delay: 0.3s;
}
.scroll-visible .log-table tbody tr:nth-child(2) {
  animation-delay: 0.5s;
}
.scroll-visible .log-table tbody tr:nth-child(3) {
  animation-delay: 0.7s;
}
.scroll-visible .log-table tbody tr:nth-child(4) {
  animation-delay: 0.9s;
}
.scroll-visible .log-table tbody tr:nth-child(5) {
  animation-delay: 1.1s;
}

.scroll-visible .glass-card {
  opacity: 0;
  animation: tiltUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.scroll-visible .glass-card:nth-child(1) {
  animation-delay: 0.2s;
}
.scroll-visible .glass-card:nth-child(2) {
  animation-delay: 0.4s;
}
.scroll-visible .glass-card:nth-child(3) {
  animation-delay: 0.6s;
}
.scroll-visible .glass-card:nth-child(4) {
  animation-delay: 0.8s;
}
.scroll-visible .glass-card:nth-child(5) {
  animation-delay: 1s;
}
.scroll-visible .glass-card:nth-child(6) {
  animation-delay: 1.2s;
}

.scroll-visible .ops-card {
  opacity: 0;
  animation: lockOn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.scroll-visible .ops-card:nth-child(1) {
  animation-delay: 0.2s;
}
.scroll-visible .ops-card:nth-child(2) {
  animation-delay: 0.5s;
}
.scroll-visible .ops-card:nth-child(3) {
  animation-delay: 0.8s;
}
.scroll-hidden {
  opacity: 0;
}

/* =========================================
   TIMELINE STYLES
   ========================================= */
.timeline-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Garis Tengah */
.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background: rgba(168, 124, 124, 0.2);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(168, 124, 124, 0.1);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Kiri & Kanan */
.timeline-item:nth-child(even) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(odd) {
  left: 50%;
  text-align: left;
}

/* Dot */
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--bg-main);
  border: 4px solid var(--accent-strong);
  top: 15px;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 10px var(--accent-strong);
  transition: all 0.3s ease;
}
.timeline-item:nth-child(even) .timeline-dot {
  right: -10px;
}
.timeline-item:nth-child(odd) .timeline-dot {
  left: -10px;
}
.timeline-item:hover .timeline-dot {
  background: var(--accent-strong);
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--accent-strong);
}

/* Tanggal */
.timeline-date {
  position: absolute;
  top: 12px;
  font-family: "Consolas", monospace;
  font-weight: bold;
  color: var(--accent-strong);
  font-size: 1.1rem;
}
.timeline-item:nth-child(even) .timeline-date {
  right: -180px;
  left: auto;
}
.timeline-item:nth-child(odd) .timeline-date {
  left: -180px;
  right: auto;
  text-align: right;
}

/* Konten Kartu */
.timeline-content {
  padding: 25px;
  background: linear-gradient(145deg, #2d2424, #231b1b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--accent-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.timeline-content h3 {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: var(--text-main);
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Animation Delays */
.timeline-item:nth-child(1) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.8s;
}

/* =========================================
   SKILLS: HOLOGRAPHIC GLASS (ANIMATED)
   ========================================= */
.glass-bg {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(
      circle at 50% 50%,
      rgba(168, 124, 124, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size:
    100% 100%,
    40px 40px,
    40px 40px;
  min-height: 100vh;
  padding: 100px 0;
}

.tech-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
}
.tech-header .badge-pro {
  color: var(--accent-strong);
  font-family: "Consolas", monospace;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}
.tech-header h2 {
  font-size: 3rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.tech-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.tech-card {
  position: relative;
  background: rgba(30, 25, 25, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 35px 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.tech-card:hover {
  transform: translateY(-10px);
  background: rgba(50, 40, 40, 0.7);
  border-color: var(--accent-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-20deg);
  transition: none;
}
.tech-card:hover .scan-line {
  left: 200%;
  transition: left 0.8s ease-in-out;
}

/* Animasi Skills */
.anim-drop {
  animation: dropIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.anim-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ops-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Timeline Tablet/Small Laptop */
  .timeline-container::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left !important;
  }
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    left: 0;
  }
  .timeline-item:nth-child(even) .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot {
    left: 21px;
    right: auto;
  }

  .timeline-content {
    max-width: 600px;
    width: 100%;
  }

  .timeline-date {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    margin-bottom: 10px;
    display: block;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .tech-grid,
  .glass-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }
  .tech-header h2 {
    font-size: 2.5rem;
  }
  .center-text h2 {
    font-size: 2.2rem;
  }

  /* Geser tombol bahasa di HP agar tidak ketutup Header */
  .lang-switch-container {
    top: 150px;
    bottom: auto;
    right: 20px;
  }
  .contact-dock {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    gap: 10px;
  }
  .status-text {
    font-size: 0.75rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section-hero .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 30px;
  }
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
  .navbar nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }
  .navbar nav a {
    margin: 0;
  }
  .siem-meta {
    display: none;
  }
  .siem-viewport {
    overflow-x: auto;
  }
  .log-table {
    min-width: 800px;
  }
  .project-meta {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-banner {
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    bottom: 20px;
    width: 90%;
    padding: 20px;
  }
  .cookie-banner.show {
    transform: translateX(-50%) translateY(0);
  }
  .cookie-content {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-actions {
    justify-content: space-between;
  }
  .btn-cookie-solid,
  .btn-cookie-outline {
    flex: 1;
    text-align: center;
  }
}
