/* ==========================================================================
   ARDI RAGIL SAPUTRA (ARS DEV) - PORTFOLIO DESIGN SYSTEM
   Modern, Premium, & Intimate Visual Language
   ========================================================================== */

:root {
  /* Default: Light Mode - Clean, Airy, High-Contrast & Premium */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-active: rgba(217, 119, 6, 0.1);
  --bg-nav: rgba(255, 255, 255, 0.88);
  --bg-nav-scrolled: rgba(255, 255, 255, 0.98);
  --bg-input: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(217, 119, 6, 0.45);
  --border-cyan: rgba(8, 145, 178, 0.35);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-highlight: #b45309;

  /* Accent Colors */
  --accent-amber: #d97706;
  --accent-amber-light: #f59e0b;
  --accent-amber-glow: rgba(217, 119, 6, 0.2);
  --accent-cyan: #0891b2;
  --accent-cyan-glow: rgba(8, 145, 178, 0.18);
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.2);
  --accent-rose: #e11d48;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-amber-cyan: linear-gradient(135deg, #d97706 0%, #0891b2 100%);
  --grad-surface: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  --grad-dark-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

  /* Typography */
  --font-heading:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacings & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px rgba(217, 119, 6, 0.15);
  --shadow-cyan-glow: 0 0 30px rgba(8, 145, 178, 0.15);
}

[data-theme="dark"] {
  /* Dark Mode Palette */
  --bg-primary: #080c14;
  --bg-secondary: #0e1422;
  --bg-tertiary: #141c2e;
  --bg-card: rgba(18, 25, 41, 0.7);
  --bg-card-hover: rgba(26, 36, 58, 0.85);
  --bg-glass: rgba(15, 22, 38, 0.65);
  --bg-glass-active: rgba(245, 158, 11, 0.12);
  --bg-nav: rgba(10, 15, 26, 0.85);
  --bg-nav-scrolled: rgba(8, 12, 22, 0.95);
  --bg-input: rgba(255, 255, 255, 0.04);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.35);
  --border-cyan: rgba(6, 182, 212, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #fef08a;

  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-rose: #f43f5e;

  --grad-primary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-amber-cyan: linear-gradient(135deg, #f59e0b 0%, #06b6d4 100%);
  --grad-surface: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  --grad-dark-card: linear-gradient(
    145deg,
    rgba(20, 29, 48, 0.8) 0%,
    rgba(11, 16, 28, 0.9) 100%
  );

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 35px var(--accent-amber-glow);
  --shadow-cyan-glow: 0 0 35px var(--accent-cyan-glow);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: light;
}

[data-theme="dark"] html {
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  /* clip (bukan hidden) supaya position: sticky tetap bekerja */
  overflow-x: clip;
  position: relative;
  background-image:
    radial-gradient(
      circle at 15% 10%,
      rgba(217, 119, 6, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(8, 145, 178, 0.05) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(217, 119, 6, 0.03) 0%,
      transparent 50%
    );
  background-attachment: fixed;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(
      circle at 15% 10%,
      rgba(245, 158, 11, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(6, 182, 212, 0.07) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(245, 158, 11, 0.05) 0%,
      transparent 50%
    );
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #1e293b;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}

/* Selection */
::selection {
  background: rgba(245, 158, 11, 0.25);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
}

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

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-contrast {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .section-contrast {
  background: rgba(14, 20, 34, 0.7);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag.tag-cyan {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight-amber {
  color: var(--accent-amber);
  background: linear-gradient(135deg, #d97706, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-cyan {
  color: var(--accent-cyan);
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Card Base */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition:
    transform 0.3s var(--ease-spring),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-surface);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow:
    var(--shadow-md),
    0 0 25px rgba(217, 119, 6, 0.08);
}

/* ==========================================================================
   NAVIGATION BAR (Ultra-Compact Floating Island)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.nav-container {
  width: fit-content;
  min-width: 660px;
  max-width: 860px;
  margin: 0 auto;
  padding: 4px 8px 4px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-container {
  background: var(--bg-nav-scrolled);
  border-color: var(--border-hover);
  box-shadow:
    var(--shadow-md),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--grad-dark-card);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 6px;
  color: var(--accent-amber);
}

.logo-badge svg {
  width: 13px;
  height: 13px;
}

.logo-text {
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent-amber);
  font-weight: 600;
}

/* Menu Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent-amber);
  background: rgba(217, 119, 6, 0.1);
  font-weight: 600;
}

/* Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Theme Toggle Button (Light/Dark Mode, Default: Light) */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  padding: 0;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .theme-btn {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.theme-btn:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  background: rgba(217, 119, 6, 0.12);
  transform: translateY(-1px);
}

/* Compact Language Switcher */
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .lang-btn {
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Compact Refined CTA Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-cta-btn svg {
  color: var(--accent-amber);
}

.nav-cta-btn:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

/* Legacy btn-nav-cta compatibility */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-nav-cta:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #080c14;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px var(--accent-amber-glow);
  transition: all 0.3s var(--ease-spring);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.45);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION (Intimate & High-Tech)
   ========================================================================== */

.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-lead {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-spring);
}

.social-icon-btn:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  background: rgba(217, 119, 6, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15);
}

/* Quick Metrics Strip */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.metric-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

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

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.profile-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .profile-card {
  background: var(--grad-dark-card);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    var(--shadow-glow);
}

.profile-avatar-container {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 0 auto;
}

.profile-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--grad-amber-cyan);
  opacity: 0.7;
  filter: blur(14px);
  animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.profile-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2.5px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .profile-avatar {
  background: #080c14;
  border: 2.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.profile-card:hover .profile-avatar img {
  transform: scale(1.08);
}

.profile-meta {
  text-align: center;
}

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

.profile-badge-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(8, 145, 178, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.profile-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Floating Badges */
.floating-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .floating-chip {
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT & PERSONAL STORY ("Siapa di Balik Layar")
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-author-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.about-author-photo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--accent-amber);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
  flex-shrink: 0;
}

.about-author-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.about-author-meta {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.story-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.75;
  font-weight: 500;
}

.story-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.98rem;
}

.personal-passions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.passion-box {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.passion-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.passion-emoji {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
}

.passion-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.personal-languages {
  margin-top: 18px;
}

.languages-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Philosophy Cards Grid */
.philosophy-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phil-card {
  display: flex;
  gap: 20px;
  padding: 22px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.phil-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.phil-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.phil-card.cyan .phil-icon {
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(8, 145, 178, 0.2);
}

.phil-card.emerald .phil-icon {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
  border-color: rgba(5, 150, 105, 0.2);
}

.phil-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   SKILLS & TECH ARSENAL
   ========================================================================== */

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

.skill-category-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.skill-cat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.skill-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.tech-pill:hover {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tech-pill.primary-pill {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.25);
  color: #b45309;
}

[data-theme="dark"] .tech-pill.primary-pill {
  color: #fed7aa;
}

.tech-pill.cyan-pill {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.25);
  color: #0e7490;
}

[data-theme="dark"] .tech-pill.cyan-pill {
  color: #bae6fd;
}

/* ==========================================================================
   FEATURED PROJECTS & SHOWCASE
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: all 0.35s var(--ease-spring);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(245, 158, 11, 0.1);
}

.project-card-image-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  background: var(--bg-tertiary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.project-cover-img,
.project-card-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
  transition:
    transform 0.5s var(--ease-spring),
    opacity 0.3s ease;
  background: var(--bg-secondary);
}

/* Sembunyikan otomatis jika src kosong atau error */
.project-cover-img:not([src]),
.project-cover-img[src=""],
.project-cover-img.img-hidden,
.project-card-image-wrap img:not([src]),
.project-card-image-wrap img[src=""],
.project-card-image-wrap img.img-hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.project-card-image-wrap.contain-mode .project-cover-img,
.project-card-image-wrap.contain-mode img {
  object-fit: contain;
  padding: 24px;
}

.project-card:hover .project-cover-img:not(.img-hidden),
.project-card:hover .project-card-image-wrap img:not(.img-hidden) {
  transform: scale(1.05);
}

/* Custom Interactive Project Graphic Banners */
.project-graphic-banner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

/* SiapKerja Theme */
.project-graphic-banner.banner-siapkerja {
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(16, 185, 129, 0.22) 0%,
      rgba(6, 20, 16, 0.95) 100%
    ),
    #06110c;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.siapkerja-radar {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
  margin-bottom: 14px;
}

.siapkerja-radar::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.3);
}

.siapkerja-radar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 15px var(--accent-emerald);
  animation: pulse 1.8s infinite;
}

.banner-pill-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* MabarAsik Theme */
.project-graphic-banner.banner-mabarasik {
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(168, 85, 247, 0.22) 0%,
      rgba(15, 10, 30, 0.95) 100%
    ),
    #0b0716;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.mabar-game-tiles {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mabar-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.project-card:hover .mabar-tile {
  transform: translateY(-3px);
}

.mabar-tile-emoji {
  font-size: 1.5rem;
}

.mabar-pill-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #e9d5ff;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Android Tools All-in-One Theme */
.project-graphic-banner.banner-tools {
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(6, 182, 212, 0.2) 0%,
      rgba(8, 16, 28, 0.95) 100%
    ),
    #060e18;
  border-bottom: 1px solid rgba(6, 182, 212, 0.25);
}

.tools-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.tool-chip-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: #cbd5e1;
}

.tool-chip-preview span {
  font-size: 1.2rem;
}

.tools-pill-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #a5f3fc;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* BUMK & Desa Finance Theme */
.project-graphic-banner.banner-bumk {
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(5, 150, 105, 0.25) 0%,
      rgba(4, 22, 16, 0.95) 100%
    ),
    #04120b;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.bumk-stat-grid {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.bumk-stat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #fff;
  font-size: 0.82rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.project-card:hover .bumk-stat-chip {
  transform: translateY(-3px);
}

.bumk-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.bumk-pill-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(5, 150, 105, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.project-badge-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--accent-amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

[data-theme="dark"] .project-badge-tag {
  background: rgba(8, 12, 20, 0.85);
}

.project-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-amber);
  transition: all 0.2s ease;
}

.project-link-btn:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

[data-theme="dark"] .project-link-btn:hover {
  color: #fff;
}

/* ==========================================================================
   WORKFLOW & SERVICES ("Bagaimana Kita Bekerja")
   ========================================================================== */

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  opacity: 0.35;
  line-height: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services 3-col */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ==========================================================================
  PROJECT TIMELINE
  ========================================================================== */

/* Section timeline: tinggi wrapper diatur JS supaya kartu bergeser
   ke samping mengikuti scroll halaman (scroll-pinned horizontal). */
.timeline-section {
  padding: 0;
}

.timeline-scroll-wrap {
  position: relative;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  min-height: 100vh;
  padding: 90px 0;
  overflow: hidden;
}

.timeline-viewport {
  width: 100%;
  /* min-width: 0 wajib: sebagai anak flex, lebar minimumnya mengikuti isi
     (track selebar ribuan piksel) dan membuat layout halaman melebar. */
  min-width: 0;
  overflow: hidden;
}

.project-timeline {
  position: relative;
  display: flex;
  align-items: stretch;
  /* max-content supaya lebar kotak mengikuti seluruh kartu - dibutuhkan agar
     garis penghubung (::before) ikut memanjang sampai kartu terakhir. */
  width: max-content;
  gap: 22px;
  /* Padding kiri menyejajarkan kartu pertama dengan container halaman.
     Ruang di kanan memakai elemen .timeline-spacer, bukan padding, karena
     padding kanan flex container diabaikan saat digeser manual (swipe). */
  padding: 6px 0 6px max(24px, calc((100% - 1152px) / 2));
  will-change: transform;
}

.project-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-cyan);
}

.timeline-progress {
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--border-subtle);
  overflow: hidden;
}

.timeline-progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-amber));
  transform: scaleX(0);
  transform-origin: left center;
}

.timeline-hint {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.project-timeline.is-empty {
  display: none;
}

/* Penahan ruang di ujung kanan supaya kartu terakhir tidak mentok tepi layar.
   Lebarnya disamakan dengan padding kiri oleh JavaScript. */
.timeline-spacer {
  flex: 0 0 24px;
  align-self: stretch;
}

.timeline-entry {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--bg-primary);
}

.timeline-content {
  flex: 1;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-spring),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.timeline-entry:hover .timeline-content {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-md), var(--shadow-cyan-glow);
}

.timeline-period {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.timeline-title {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.3;
}

.timeline-status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: var(--bg-glass-active);
  color: var(--accent-amber);
  font-size: 0.75rem;
  font-weight: 600;
}

.timeline-description {
  min-height: 76px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.timeline-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.timeline-tech {
  padding: 4px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

/* Warna badge status berdasarkan properti "state" pada PROJECT_TIMELINE */
.timeline-status.state-done {
  color: var(--accent-emerald, #10b981);
}

.timeline-status.state-ongoing {
  color: var(--accent-amber, #f59e0b);
}

.timeline-status.state-planned {
  color: var(--text-muted);
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.timeline-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}


/* Mode cadangan: di layar kecil atau saat pengguna mematikan animasi sistem,
   timeline tidak dikunci ke scroll halaman melainkan digeser manual (swipe). */
.timeline-static .timeline-sticky {
  position: static;
  min-height: 0;
  padding: 90px 0;
  overflow: visible;
}

.timeline-static .timeline-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* tanpa ini, snap menempelkan kartu pertama ke tepi dan padding kiri hilang */
  scroll-padding-left: 24px;
  -webkit-overflow-scrolling: touch;
}

.timeline-static .project-timeline {
  transform: none !important;
  padding-left: 24px;
}

.timeline-static .timeline-progress {
  display: none;
}

/* ==========================================================================
   ANIMASI (muncul saat di-scroll & gerak halus)
   Atribut data-reveal dipasang oleh JavaScript, jadi kalau JS mati semua
   konten tetap terlihat normal.
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-spring),
    transform 0.7s var(--ease-spring);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Chip melayang di kartu profil */
@keyframes floatChip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.floating-chip {
  animation: floatChip 5s ease-in-out infinite;
}

.floating-chip:nth-of-type(2) {
  animation-delay: 1.6s;
}

/* Garis bawah menyapu pada menu navigasi */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-amber);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Tombol utama sedikit terangkat saat disentuh kursor */
.btn-primary,
.btn-secondary {
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s var(--ease-spring),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .floating-chip {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   CONTACT SECTION ("Mari Terhubung / Let's Connect")
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.channel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.channel-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

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

/* Quick Message Box */
.quick-message-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-box {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.input-box:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

textarea.input-box {
  resize: vertical;
  min-height: 120px;
}

.form-actions-row {
  display: flex;
  gap: 12px;
}

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

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  transition: background-color 0.3s ease;
}

[data-theme="dark"] .footer {
  background: #05080e;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-motto {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile First & Tablet Overrides)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .nav-container {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    padding: 6px 12px;
  }
  .nav-cta-btn,
  .btn-nav-cta {
    display: none;
  }
  .navbar .nav-links {
    display: none;
  }
  .navbar .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 16px;
    right: 16px;
    background: var(--bg-nav-scrolled);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .navbar .nav-links.mobile-open .nav-link {
    padding: 10px 14px;
    width: 100%;
    font-size: 0.95rem;
  }
  .mobile-toggle {
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
  }
  .local-time-badge {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
