/* =========================================================
   PORTOFOLIO DIGITAL GURU — DESIGN SYSTEM
   SDN Sadartengah × Diah Pitaloka
   ========================================================= */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Primary Colors */
  --primary: #0d9488;
  --primary-light: #14b8a6;
  --primary-dark: #0f766e;
  --primary-glow: rgba(13, 148, 136, 0.4);
  
  /* Secondary (Gold/Amber) */
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --secondary-dark: #d97706;
  --secondary-glow: rgba(245, 158, 11, 0.3);
  
  /* Accent (Indigo) */
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.3);
  
  /* Background */
  --bg-primary: #0a0f1e;
  --bg-secondary: #111827;
  --bg-tertiary: #1e293b;
  --bg-card: #162032;
  
  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-accent: #94a3b8;
  
  /* Glassmorphism */
  --glass-bg: rgba(17, 24, 39, 0.65);
  --glass-bg-light: rgba(30, 41, 59, 0.5);
  --glass-border: rgba(148, 163, 184, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
  --shadow-glow-primary: 0 0 20px var(--primary-glow);
  --shadow-glow-secondary: 0 0 20px var(--secondary-glow);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  
  /* Layout */
  --navbar-height: 72px;
  --container-max: 1200px;
  --container-narrow: 900px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  max-width: 70ch;
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.section__label::before,
.section__label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.section__title {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Glassmorphism Card ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: var(--glass-shadow), var(--shadow-glow-primary);
  transform: translateY(-4px);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.navbar__brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text-primary);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__admin-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 18px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.navbar__admin-btn:hover {
  background: rgba(13, 148, 136, 0.25);
  border-color: var(--primary);
  color: #fff;
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl);
}

.hero__avatar-wrapper {
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: center;
}

.hero__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(13, 148, 136, 0.5);
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  box-shadow: 0 0 40px var(--primary-glow), 0 0 80px rgba(13, 148, 136, 0.15);
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
}

.hero__avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(13, 148, 136, 0.3);
  animation: spin-slow 20s linear infinite;
}

.hero__avatar-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-glow);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.hero__school {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--secondary);
  letter-spacing: 2px;
  margin-bottom: var(--space-2xl);
}

.hero__nip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: var(--space-2xl);
}

/* Hero Stats */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-body);
  color: var(--primary-light);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: var(--space-xs);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float-down 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

/* ── Profile Section ── */
.profil {
  background: var(--bg-secondary);
  position: relative;
}

.profil::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.profil__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.profil__card {
  padding: var(--space-xl);
}

.profil__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.profil__card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow-primary);
}

.profil__card-title {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.profil__info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.profil__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  transition: all var(--transition-fast);
}

.profil__info-item:hover {
  background: rgba(13, 148, 136, 0.08);
}

.profil__info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 120px;
  flex-shrink: 0;
}

.profil__info-value {
  color: var(--text-primary);
  font-weight: 500;
}

/* ASN Card */
.profil__asn-card {
  text-align: center;
}

.profil__asn-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  max-width: 320px;
  transition: transform var(--transition-base);
}

.profil__asn-image:hover {
  transform: scale(1.03);
}

.profil__asn-image img {
  width: 100%;
  height: auto;
}

.profil__asn-label {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── Portfolio Section ── */
.portfolio {
  position: relative;
}

.portfolio__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.portfolio__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.portfolio__tab:hover {
  color: var(--text-primary);
  border-color: rgba(13, 148, 136, 0.3);
  background: rgba(13, 148, 136, 0.08);
}

.portfolio__tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}

.portfolio__tab-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.portfolio__tab.active .portfolio__tab-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Document Grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.portfolio__panel {
  display: none;
}

.portfolio__panel.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

/* Document Card */
.doc-card {
  padding: var(--space-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.doc-card:hover::before {
  opacity: 1;
}

.doc-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(13, 148, 136, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
}

.doc-card:hover .doc-card__icon {
  background: rgba(13, 148, 136, 0.2);
  transform: scale(1.1);
}

.doc-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.doc-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.doc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
}

.doc-card__type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doc-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.doc-card__download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.doc-card__download:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Empty state */
.portfolio__empty {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-muted);
}

.portfolio__empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

.portfolio__empty-text {
  font-size: 0.95rem;
}

/* ── Timeline Section ── */
.timeline {
  background: var(--bg-secondary);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.timeline__track {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--secondary));
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid var(--bg-secondary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 12px var(--primary-glow);
}

.timeline__card {
  width: calc(50% - 40px);
  padding: var(--space-lg);
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary-light);
  background: rgba(13, 148, 136, 0.12);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.timeline__card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.timeline__card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Map Section ── */
.lokasi {
  position: relative;
}

.lokasi__wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: stretch;
}

/* Map Card */
.lokasi__map-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Toolbar: 3 Modes */
.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.map-tabs {
  display: flex;
  align-items: center;
  background: rgba(11, 19, 38, 0.85);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 4px;
}

.map-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.map-tab.active {
  background: linear-gradient(135deg, #0d9488, #059669);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.map-tab.active svg {
  color: #ffffff;
}

/* Direct Google Maps Button */
.map-btn-gmaps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  background: rgba(234, 67, 53, 0.12);
  border: 1.5px solid rgba(234, 67, 53, 0.35);
  color: #fca5a5;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.map-btn-gmaps:hover {
  background: linear-gradient(135deg, #ea4335, #db2777);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(234, 67, 53, 0.5);
  transform: translateY(-2px);
}

/* Map Viewport */
.map-viewport {
  position: relative;
  width: 100%;
  height: 420px;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #020617;
}

.map-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-panel.active {
  display: block;
  opacity: 1;
}

#map {
  width: 100%;
  height: 100%;
}

.streetview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.streetview-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  color: #34d399;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Right Column: Neon Location Cards */
.lokasi__info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.neon-card {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 20px;
  text-decoration: none;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.neon-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.neon-card__glow--cyan {
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.25), transparent 70%);
}

.neon-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.35), 0 10px 25px rgba(0, 0, 0, 0.5);
}

.neon-card--cyan:hover {
  border-color: #06b6d4;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.35), 0 10px 25px rgba(0, 0, 0, 0.5);
}

.neon-card:hover .neon-card__glow {
  opacity: 1;
}

.neon-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.neon-card__icon--emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.neon-card:hover .neon-card__icon--emerald {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 18px #10b981;
  transform: rotate(5deg) scale(1.08);
}

.neon-card__icon--cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.neon-card:hover .neon-card__icon--cyan {
  background: #06b6d4;
  color: #ffffff;
  box-shadow: 0 0 18px #06b6d4;
  transform: rotate(-5deg) scale(1.08);
}

.neon-card__content {
  flex: 1;
  min-width: 0;
}

.neon-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
}

.neon-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 12px;
}

.neon-card__badge--emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.neon-card__badge--cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
}

.neon-card__arrow {
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.neon-card:hover .neon-card__arrow {
  color: #ffffff;
  transform: translate(2px, -2px);
}

.neon-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
  transition: color 0.25s ease;
}

.neon-card:hover .neon-card__title {
  color: #34d399;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

.neon-card--cyan:hover .neon-card__title {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.neon-card__title--code {
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.neon-card__desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.lokasi__coords {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
  position: relative;
}

.footer__brand-box {
  margin-bottom: 24px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__school {
  color: var(--primary-light);
  font-size: 0.92rem;
  font-weight: 500;
}

/* Social Media Capsules */
.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.social-chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Facebook Luxury Glow */
.social-chip--fb {
  border-color: rgba(24, 119, 242, 0.3);
}

.social-chip--fb .social-chip__icon {
  color: #1877f2;
}

.social-chip--fb:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 0 25px rgba(24, 119, 242, 0.7);
  transform: translateY(-3px) scale(1.04);
}

.social-chip--fb:hover .social-chip__icon {
  color: #ffffff;
  transform: scale(1.15);
}

/* Instagram Luxury Sunset Glow */
.social-chip--ig {
  border-color: rgba(225, 48, 108, 0.35);
}

.social-chip--ig .social-chip__icon {
  color: #e1306c;
}

.social-chip--ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(225, 48, 108, 0.7);
  transform: translateY(-3px) scale(1.04);
}

.social-chip--ig:hover .social-chip__icon {
  color: #ffffff;
  transform: scale(1.15);
}

/* TikTok Luxury Cyber Glow */
.social-chip--tiktok {
  border-color: rgba(0, 242, 254, 0.35);
}

.social-chip--tiktok .social-chip__icon {
  color: #00f2fe;
}

.social-chip--tiktok:hover {
  background: #000000;
  color: #ffffff;
  border-color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.7), inset 0 0 10px rgba(254, 9, 121, 0.5);
  transform: translateY(-3px) scale(1.04);
}

.social-chip--tiktok:hover .social-chip__icon {
  color: #00f2fe;
  filter: drop-shadow(2px 0 0 #fe0979) drop-shadow(-2px 0 0 #00f2fe);
  transform: scale(1.15);
}

.footer__divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: var(--space-lg) auto;
  border-radius: 1px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__powered {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  opacity: 0.6;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-glow-primary);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Loading Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, rgba(255,255,255,0.08) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ── Modal / Lightbox ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s ease-out;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--glass-border);
}

.modal__title {
  font-size: 1.1rem;
  font-weight: 600;
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.modal__body {
  padding: var(--space-xl);
}

.modal__body img {
  width: 100%;
  border-radius: var(--radius-md);
}

.modal__body iframe,
.modal__body embed,
.modal__body object {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: var(--radius-md);
}

/* ── Toast / Notification ── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.4s var(--transition-spring);
  min-width: 300px;
}

.toast--success { border-left: 3px solid #10b981; }
.toast--error { border-left: 3px solid #ef4444; }
.toast--info { border-left: 3px solid var(--accent); }

.toast__message {
  font-size: 0.88rem;
  color: var(--text-primary);
  flex: 1;
}

/* ── Responsive Design ── */
@media (max-width: 1024px) {
  .profil__grid {
    grid-template-columns: 1fr;
  }
  
  .lokasi__wrapper {
    grid-template-columns: 1fr;
  }
  
  .map-viewport {
    height: 350px;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }
  
  .navbar__links {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
  }
  
  .navbar__links.open {
    display: flex;
  }
  
  .navbar__toggle {
    display: flex;
  }
  
  .hero__avatar {
    width: 140px;
    height: 140px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__stats {
    gap: var(--space-lg);
  }
  
  .hero__stat-number {
    font-size: 1.6rem;
  }
  
  .portfolio__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .portfolio__tabs::-webkit-scrollbar {
    display: none;
  }
  
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  
  .timeline__line {
    left: 20px;
  }
  
  .timeline__dot {
    left: 20px;
  }
  
  .timeline__item,
  .timeline__item:nth-child(even) {
    flex-direction: row;
    padding-left: 48px;
  }
  
  .timeline__card {
    width: 100%;
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .profil__info-item {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .profil__info-label {
    min-width: unset;
  }
}
