/* ==========================================================================
   EXECUTIVE DESIGN SYSTEM & THEME
   Hendy Maliq Octavian - Professional CV & Portfolio
   Zero Emojis • Vector Icons Only • High-End Tech Aesthetic
   ========================================================================== */

:root {
  /* Color Palette - Executive Obsidian Theme (Default) */
  --bg-primary: #05070c;
  --bg-secondary: #090d15;
  --bg-surface: rgba(13, 19, 32, 0.75);
  --bg-surface-hover: rgba(20, 28, 46, 0.85);
  --bg-glass: rgba(10, 15, 26, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  --border-accent: rgba(99, 102, 241, 0.4);

  /* Signature Accents */
  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-platinum: #e2e8f0;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #05070c;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(56, 189, 248, 0.22);
  --glow-indigo: 0 0 30px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
  --shadow-popup: 0 25px 50px -15px rgba(0, 0, 0, 0.9);

  /* Geometry */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SUPPRESS NETLIFY DRAWER & INJECTED BADGES
   ========================================================================== */
#netlify-drawer,
[data-netlify-drawer],
.netlify-badge,
iframe[src*="netlify"],
div[class*="netlify-drawer"],
div[id*="netlify-drawer"],
a[href*="netlify.com"][class*="badge"],
netlify-drawer {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: rgba(255, 255, 255, 0.9);
  --bg-surface-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(37, 99, 235, 0.25);
  --border-accent: rgba(99, 102, 241, 0.25);

  --accent-cyan: #0284c7;
  --accent-blue: #1d4ed8;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --glow-cyan: 0 0 20px rgba(2, 132, 199, 0.15);
  --glow-indigo: 0 0 20px rgba(79, 70, 229, 0.12);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
  background: var(--accent-cyan);
  color: #05070c;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* High-End Ambient Tech Background */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: -150px;
  left: -150px;
}
.glow-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
  top: 35%;
  right: -200px;
}

.ambient-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #60a5fa 50%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Card */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #05070c;
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Section Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skill-tag, .tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.skill-tag:hover {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #05070c;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-main);
}
.logo-text span {
  color: var(--accent-cyan);
  margin-left: 3px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.nav-link.highlight-link {
  color: #60a5fa;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & EXECUTIVE PHOTO CARD
   ========================================================================== */

.hero-section {
  padding: 70px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 20px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.role-badge {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

.role-sep {
  color: var(--text-muted);
}

.hero-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-summary strong {
  color: var(--text-main);
}

.hero-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.contact-pill:hover {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.06);
}

.location-pill {
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Quick Metrics Strip */
.quick-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Executive Photo Card Showcase */
.executive-photo-frame {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.photo-glow-border {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.25));
  border-radius: 24px;
  filter: blur(15px);
  z-index: 0;
  opacity: 0.7;
}

.photo-container {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090e17;
  box-shadow: var(--shadow-card);
}

.profile-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-container:hover .profile-photo {
  transform: scale(1.02);
}

.photo-overlay-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  padding: 10px 14px;
  background: rgba(9, 13, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pob-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}

.pob-text {
  display: flex;
  flex-direction: column;
}

.pob-text strong {
  font-size: 0.88rem;
  color: var(--text-main);
}

.pob-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.photo-spec-card {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-main);
}

.spec-val.active {
  color: var(--accent-cyan);
}

/* ==========================================================================
   SECTION GENERAL
   ========================================================================== */

.section {
  padding: 85px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION: PROFIL (WITH FULL-BODY PHOTO)
   ========================================================================== */

.profil-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}

.fullbody-showcase-card {
  padding: 16px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.fullbody-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090d15;
}

.fullbody-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.fullbody-caption {
  padding: 14px 10px 6px;
  text-align: center;
}

.fullbody-caption h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.fullbody-caption p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.profil-bio-card {
  padding: 36px;
}

.executive-quote-line {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  opacity: 0.35;
  margin-bottom: 14px;
}

.bio-lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 16px;
}

.bio-body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.profile-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  margin-bottom: 28px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hl-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.highlight-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.bio-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.bcb-item {
  display: flex;
  flex-direction: column;
}

.bcb-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.bcb-item .val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.bcb-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   SECTION: AXEL 2.0 (FLAGSHIP SHOWCASE)
   ========================================================================== */

.axel-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
}

.badge-flagship {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.tech-pills-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tech-pills-bar .pill {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tech-pills-bar .pill:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pillar-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.pillar-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.pillar-features li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features li i {
  color: var(--accent-emerald);
  font-size: 0.75rem;
}

/* Terminal Simulator */
.terminal-showcase {
  background: #04060a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.terminal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #090e18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #f59e0b; }
.term-dot.green { background: #10b981; }

.term-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.term-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.term-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.term-btn:hover {
  background: var(--accent-cyan);
  color: #04060a;
}

.terminal-body {
  padding: 20px;
  min-height: 220px;
  max-height: 380px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
}

.term-line {
  margin-bottom: 6px;
}

.term-line.sys { color: #64748b; }
.term-line.prompt { color: #f1f5f9; }
.term-line.usr { color: var(--accent-cyan); font-weight: 700; }
.term-line.agent { color: #34d399; }
.term-line.tool { color: #facc15; }
.term-line.web3 { color: #c084fc; }
.term-line.success { color: #38bdf8; font-weight: 700; }

/* ==========================================================================
   SECTION: PENGALAMAN (CHRONOLOGICAL TIMELINE)
   ========================================================================== */

.timeline-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-cyan);
  color: #05070c;
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.timeline-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 200px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-indigo) 60%, transparent 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  margin-bottom: 36px;
  position: relative;
}

.timeline-marker {
  text-align: right;
  padding-top: 18px;
  position: relative;
}

.marker-year {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.marker-dot {
  position: absolute;
  right: -27px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  z-index: 2;
}

.marker-dot.current {
  border-color: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
  animation: pulseDot 2s infinite;
}

.timeline-card {
  padding: 28px;
}

.timeline-card.highlight-card {
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.2);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.experience-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.badge-primary {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

.company-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.role-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.role-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.achievement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.achievement-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.achievement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.achievement-list li strong {
  color: var(--text-main);
}

/* ==========================================================================
   SECTION: KETERAMPILAN
   ========================================================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-group-card {
  padding: 28px;
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.sg-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.skill-group-header h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.skill-group-header span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.skill-chip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-chip-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-chip-list li i {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

.highlight-group {
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.highlight-group .sg-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.highlight-group .skill-chip-list li i {
  color: #fbbf24;
}

/* ==========================================================================
   SECTION: PENDIDIKAN
   ========================================================================== */

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.edu-card {
  padding: 32px;
  display: flex;
  gap: 20px;
}

.edu-card.highlight-edu {
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.edu-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.edu-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.edu-status {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.edu-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.edu-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.edu-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION: KONTAK & CTA
   ========================================================================== */

.contact-section {
  padding-bottom: 100px;
}

.contact-cta-card {
  padding: 56px 48px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(13, 19, 32, 0.92) 0%, rgba(8, 12, 20, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150px;
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.2rem;
  margin: 14px 0 16px;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: var(--transition);
}

.contact-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.cab-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.wa-btn .cab-icon { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.email-btn .cab-icon { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.linkedin-btn .cab-icon { background: rgba(10, 102, 194, 0.15); color: #0a66c2; }

.cab-info {
  display: flex;
  flex-direction: column;
}

.cab-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.cab-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Quick Direct Message Form */
.quick-mail-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.quick-mail-box h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.form-submit-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: #030508;
  padding: 36px 0;
}

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

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-left p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.footer-right p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #0f172a;
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  color: #fff;
  box-shadow: var(--shadow-popup);
  animation: slideInRight 0.3s ease forwards;
  pointer-events: auto;
  font-size: 0.88rem;
}

.toast i {
  color: var(--accent-cyan);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   PRINT-ONLY RESUME STYLESHEET (@media print)
   ========================================================================== */

.print-resume-document {
  display: none;
}

@media print {
  .ambient-glow,
  .ambient-grid-overlay,
  .navbar,
  .hero-section,
  #profil,
  #axel,
  #pengalaman,
  #keterampilan,
  #pendidikan,
  #kontak,
  .footer,
  .toast-container {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10pt;
    line-height: 1.4;
    padding: 0;
    margin: 0;
  }

  .print-resume-document {
    display: block !important;
    padding: 0;
    max-width: 100%;
  }

  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #111827;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .print-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .print-avatar {
    width: 65px;
    height: 85px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #111827;
  }

  .print-name {
    font-size: 18pt;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 2px 0;
  }

  .print-subtitle {
    font-size: 9pt;
    font-weight: 700;
    color: #1d4ed8;
    margin: 0;
    letter-spacing: 0.05em;
  }

  .print-contact-block {
    text-align: right;
    font-size: 8.5pt;
    line-height: 1.35;
    color: #374151;
  }

  .print-section {
    margin-bottom: 12px;
    page-break-inside: avoid;
  }

  .print-title {
    font-size: 10.5pt;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 2px;
    margin-bottom: 6px;
  }

  .print-text {
    font-size: 9pt;
    color: #1f2937;
    line-height: 1.4;
    text-align: justify;
  }

  .print-item {
    margin-bottom: 8px;
    page-break-inside: avoid;
  }

  .print-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 9.5pt;
    color: #0f172a;
  }

  .print-item-header strong {
    font-weight: 700;
  }

  .print-item-sub {
    font-size: 8.5pt;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 3px;
  }

  .print-bullets {
    padding-left: 16px;
    margin: 0;
  }

  .print-bullets li {
    font-size: 8.5pt;
    color: #374151;
    line-height: 1.35;
    margin-bottom: 2px;
  }

  .print-skills-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 8.5pt;
    color: #374151;
  }

  @page {
    margin: 1.2cm 1.4cm;
    size: A4 portrait;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profil-layout {
    grid-template-columns: 1fr;
  }
  .fullbody-showcase-card {
    max-width: 380px;
    margin: 0 auto;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #05070c;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 45px;
  }
  .timeline-marker {
    text-align: left;
    padding-top: 0;
  }
  .marker-dot {
    left: 14px;
    right: auto;
    top: 4px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .education-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-submit-row {
    flex-direction: column;
  }
  .quick-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .metric-divider {
    display: none;
  }
}
