/* ==========================================================================
   MUHAMMAD HANIF YUDISTIRA - PORTFOLIO DESIGN SYSTEM
   Aviation Blue & Deep Slate Aesthetic
   Fully Optimized for Desktop, Tablet & Android / Mobile Screens
   ========================================================================== */

:root {
  /* Aviation Electric Blue & Obsidian Palette */
  --bg-black: #060913;
  --bg-surface: #0a1122;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  --border-card: rgba(56, 189, 248, 0.12);
  
  --blue-primary: #0284c7;
  --blue-hover: #0ea5e9;
  --blue-vivid: #38bdf8;
  --blue-dark: #034f7c;
  --blue-navy: #082f49;
  --blue-glow: rgba(2, 132, 199, 0.45);
  --blue-subtle: rgba(2, 132, 199, 0.15);
  
  /* Primary Theme Aliases */
  --red-primary: #0284c7;
  --red-hover: #0ea5e9;
  --red-dark: #034f7c;
  --red-glow: rgba(2, 132, 199, 0.45);
  --red-subtle: rgba(2, 132, 199, 0.15);
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Typography */
  --font-display: 'Bebas Neue', 'Anton', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Utilities */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-main);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-primary);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s linear;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
  user-select: none;
}

.btn-red {
  background: var(--red-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-red:hover,
.btn-red:active {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-outline:hover,
.btn-outline:active {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: rgba(2, 132, 199, 0.08);
}

.btn-pill-red {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--red-primary);
  color: #ffffff;
  padding: 0.75rem 1.6rem 0.75rem 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-pill-red:hover,
.btn-pill-red:active {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.6);
}

.btn-pill-red .arrow-circle {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   Top Header Status Bar
   ========================================================================== */

.top-nav {
  position: relative;
  width: 100%;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-card);
  z-index: 100;
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-highlight {
  color: var(--red-primary);
}

.role-separator {
  color: var(--text-muted);
}

.role-sub {
  color: var(--text-secondary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition);
}

.status-badge:hover {
  color: var(--red-primary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-primary);
  animation: pulseDot 2s infinite;
}

.sparkle {
  color: var(--red-primary);
  font-size: 0.95rem;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

/* ==========================================================================
   Hero Section - Editorial Magazine Cover
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 1.5rem 0 3rem 0;
  overflow: hidden;
}

.hero-container {
  border: none !important;
  border-bottom: none !important;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 50% 35%, rgba(2, 132, 199, 0.32) 0%, rgba(6, 9, 19, 0.98) 75%);
  padding: 0;
  padding-right: 0 !important;
  overflow: hidden;
  position: relative;
  height: 620px;
  min-height: 620px;
  box-shadow: none !important;
}

/* Giant Background Typography PORTFOLIO - Efek Neon Redup */
.hero-bg-text {
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 21vw, 17rem);
  line-height: 0.8;
  letter-spacing: 0.03em;
  color: #38bdf8;
  opacity: 0.85;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  text-shadow:
    0 0 8px rgba(56, 189, 248, 0.65),
    0 0 20px rgba(14, 165, 233, 0.45),
    0 0 40px rgba(2, 132, 199, 0.35),
    0 0 70px rgba(3, 105, 161, 0.25);
  width: 100%;
  text-align: center;
  animation: neonRedupGlow 4s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Center Bust Portrait - Elevated in front of PORTFOLIO */
.hero-center {
  position: absolute;
  bottom: 0;
  right: 5%;
  left: auto;
  transform: none;
  height: 95%;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.portrait-card {
  position: relative;
  height: 100%;
  width: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  border: none;
}

.portrait-img {
  height: 100%;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 50px rgba(2, 132, 199, 0.45));
  transition: transform var(--transition);
}

.portrait-img:hover {
  transform: scale(1.02);
}

.portrait-vignette {
  position: absolute;
  bottom: -2px;
  left: -20%;
  width: 140%;
  height: 30%;
  background: linear-gradient(to top, #060913 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.portrait-glow { display: none !important; 
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.55) 0%, rgba(3, 79, 124, 0.25) 45%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* Left Hero Content */
.hero-left {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: 48%;
  max-width: 540px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-header-block {
  display: flex;
  flex-direction: column;
}

.hero-bottom-block {
  display: flex;
  flex-direction: column;
}

.hero-greeting {
  margin-bottom: -0.25rem;
}

.greeting-script {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--red-primary);
  font-weight: 700;
  line-height: 1;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
}

.hero-subrole {
  color: var(--red-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero-bio {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-primary);
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
}

/* Right Hero Stats & Quote */
.hero-right {
  display: none !important;
}

.quote-sparkle-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
}

.sparkle-icon {
  color: var(--red-primary);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.quote-sparkle-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.85;
  color: var(--red-primary);
}

.stat-plus {
  color: var(--red-primary);
  font-size: 2.2rem;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
  line-height: 1.2;
}

/* ==========================================================================
   Selected Projects Section
   ========================================================================== */

.projects-section {
  border-top: 1px solid var(--border-card);
}

.section-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.75rem;
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.section-view-all {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}

.section-view-all:hover {
  color: var(--text-main);
}

.arrow-red {
  color: var(--red-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(2, 132, 199, 0.25);
}

.project-thumb-box {
  position: relative;
  width: 100%;
  height: 240px;
  background: #09090c;
  overflow: hidden;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.06);
}

.project-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-primary);
  border-radius: 4px;
}

.project-thumb-preview-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111117;
  padding: 1.5rem;
}

.project-vector-mockup {
  width: 100%;
  background: #181822;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.m-dot.red { background: #ef4444; }
.m-dot.yellow { background: #eab308; }
.m-dot.green { background: #22c55e; }

.m-title {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--red-primary);
  font-weight: 700;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
}

.status-chip {
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}
.status-chip.approved {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.mockup-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.bar-fill {
  height: 100%;
  background: var(--red-primary);
  border-radius: 2px;
}

.project-card-footer {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
}

.project-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--red-primary);
  line-height: 1;
}

.project-info {
  flex-grow: 1;
}

.project-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.project-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.project-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.project-card:hover .project-arrow {
  color: var(--red-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   3-Column Middle Section
   ========================================================================= */

.middle-section {
  border-top: none !important;
}

.middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 2.5rem;
}

.middle-col {
  display: flex;
  flex-direction: column;
}

.col-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* Col 1: Education & Skills */
.education-block {
  margin-bottom: 2.5rem;
}

.block-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-primary);
  margin-bottom: 1.25rem;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-card);
}

.timeline-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.edu-degree {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.edu-school {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.edu-years {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-primary);
  white-space: nowrap;
}

.skill-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: default;
}

.skill-pill:hover,
.skill-pill:active {
  border-color: var(--red-primary);
  color: #ffffff;
  background: var(--red-primary);
  transform: translateY(-2px);
}

/* Col 2: Work Process Stepper */
.process-stepper {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 1.75rem;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 54px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--border-card);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red-primary);
  width: 24px;
}

.step-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition);
}

.step-item:hover .step-icon-circle {
  border-color: var(--red-primary);
  color: var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
}

.step-content {
  flex-grow: 1;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red-primary);
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Col 3: Aviation Blue Quote Card */
.quote-crimson-card {
  background: linear-gradient(145deg, #034f7c 0%, #0284c7 100%);
  border-radius: var(--radius-sm);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 15px 40px rgba(2, 132, 199, 0.4);
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.quote-text {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.quote-signature {
  margin-bottom: 2.5rem;
}

.sig-name {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: #ffffff;
  font-weight: 700;
  display: inline-block;
  transform: rotate(-3deg);
}

.quote-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.25rem;
}

.footer-callout {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sparkle-red {
  color: #ffffff;
}

/* ==========================================================================
   Terminal Playground
   ========================================================================== */

.terminal-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-card);
}

.terminal-wrapper {
  background: #09090e;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.terminal-bar {
  background: #121218;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-card);
}

.term-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.d-red { background: #ef4444; }
.d-yellow { background: #eab308; }
.d-green { background: #22c55e; }

.term-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.term-live {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red-primary);
  letter-spacing: 0.05em;
}

.terminal-screen {
  padding: 1.5rem;
  min-height: 200px;
  max-height: 360px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.t-line {
  margin-bottom: 0.35rem;
}

.t-red {
  color: var(--red-primary);
  font-weight: 700;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.t-prompt {
  color: var(--red-primary);
  font-weight: 700;
  white-space: nowrap;
}

.term-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #ffffff;
  flex-grow: 1;
}

.terminal-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #0d0d12;
  border-top: 1px solid var(--border-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.chip-cmd {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.chip-cmd:hover,
.chip-cmd:active {
  background: var(--red-primary);
  color: #ffffff;
  border-color: var(--red-primary);
}

/* ==========================================================================
   Contact Section (LET'S WORK TOGETHER)
   ========================================================================== */

.contact-section {
  border-top: 1px solid var(--border-card);
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.title-sparkle {
  color: var(--red-primary);
  font-size: 2.2rem;
  vertical-align: top;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Contact Action Button (Hubungi WA) */
.contact-actions-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.btn-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
}

.btn-contact-action svg {
  flex-shrink: 0;
}

.btn-contact-action.btn-wa-primary {
  background: #0284c7;
  color: #ffffff;
  border: 1px solid #0284c7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-contact-action.btn-wa-primary:hover,
.btn-contact-action.btn-wa-primary:active {
  background: #0ea5e9;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-contact-action.btn-wa-share {
  background: rgba(2, 132, 199, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
}

.btn-contact-action.btn-wa-share:hover,
.btn-contact-action.btn-wa-share:active {
  background: rgba(2, 132, 199, 0.22);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-2px);
}

/* Contact Middle Channel Cards */
.contact-middle {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  cursor: pointer;
}

.channel-card:hover,
.channel-card:active {
  border-color: var(--red-primary);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.channel-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.12);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-texts {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ch-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ch-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.copy-badge,
.ext-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red-primary);
  border: none !important;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

/* Contact Right: Tech Mockup */
.contact-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.tech-mockup-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.laptop-screen {
  background: #0c0c12;
  border: 1px solid var(--border-card);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.laptop-top-bar {
  background: #14141e;
  padding: 0.4rem 0.8rem;
  display: flex;
  gap: 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.laptop-top-bar .dot {
  width: 6px;
  height: 6px;
  background: #475569;
  border-radius: 50%;
}

.laptop-body {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.laptop-hero-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.laptop-graphic-bar {
  width: 50px;
  height: 3px;
  background: var(--red-primary);
  margin-bottom: 1rem;
}

.laptop-code-snippet {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.text-green {
  color: #4ade80;
  font-weight: 700;
}

.laptop-base {
  width: 110%;
  height: 10px;
  background: #1c1c28;
  border-radius: 0 0 6px 6px;
  margin-left: -5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mug-decor {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 44px;
  height: 52px;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.mug-letter {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--red-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 2rem 0;
  background: #060608;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy strong {
  color: var(--text-main);
}

/* ==========================================================================
   Android Native Bottom App Navigation Bar
   ========================================================================== */

.android-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  padding: 0.5rem 1rem calc(0.5rem + var(--safe-bottom));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.android-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all var(--transition);
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
}

.android-bottom-nav .nav-item svg {
  transition: transform var(--transition), stroke var(--transition);
}

.android-bottom-nav .nav-item:hover,
.android-bottom-nav .nav-item.active {
  color: #ffffff;
}

.android-bottom-nav .nav-item.active svg {
  stroke: var(--red-primary);
  transform: translateY(-2px);
}

.android-bottom-nav .nav-item.active span {
  color: var(--red-primary);
  font-weight: 700;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--red-glow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 800;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:active {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.6);
}

/* ==========================================================================
   Modals & Toast
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #111117;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close-btn:hover,
.modal-close-btn:active {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

.modal-body {
  padding: 2rem 1.75rem;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-primary);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.35rem 0 1.25rem 0;
  color: #ffffff;
}

.modal-img-wrapper {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #000;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.modal-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modal-highlights li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.modal-highlights li::before {
  content: '✦';
  color: var(--red-primary);
}

.modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: var(--red-primary);
}

/* CV Modal */
.cv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.cv-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

.cv-role {
  font-size: 0.8rem;
  color: var(--red-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cv-content-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cv-sec-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red-primary);
  margin-bottom: 0.5rem;
}

.cv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cv-chips span {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.cv-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #14141c;
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--red-primary);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideInToast 0.3s ease forwards;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & ANDROID VIEW OPTIMIZATION
   ========================================================================== */

/* Tablet (iPad, landscape tablets) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .hero-right {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .stats-column {
    flex-direction: row;
    gap: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .middle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .col-quote-wrapper {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-right {
    grid-column: span 2;
  }
}

/* Mobile & Android Phones (Galaxy, Pixel, Xiaomi, Redmi, iPhone, etc.) */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for Android bottom nav */
  }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Show Android Bottom App Navigation */
  .android-bottom-nav {
    display: flex;
  }

  .back-to-top {
    bottom: 5.5rem;
    right: 1.25rem;
  }

  .top-nav {
    padding: 1rem 0;
  }

  .top-nav-inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .top-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .status-badge {
    font-size: 0.72rem;
  }

  /* Hero Mobile Android Layout - FOKUS ANDROID */
  .hero-section {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    min-height: auto;
  }

  .hero-container {
    padding: 1.5rem 0 1.75rem 1.25rem;
    padding-right: 0 !important;
    height: auto;
    min-height: 600px;
    display: block;
    position: relative;
    overflow: hidden;
    border: none !important;
    border-bottom: none !important;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 80% 25%, rgba(2, 132, 199, 0.35) 0%, rgba(6, 9, 19, 0.98) 72%);
    box-shadow: none !important;
  }

  .hero-bg-text {
    font-size: clamp(5.2rem, 24vw, 7.8rem);
    line-height: 0.8;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    color: #38bdf8;
    opacity: 0.85;
    letter-spacing: 0.04em;
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 1;
    text-shadow:
      0 0 5px rgba(56, 189, 248, 0.7),
      0 0 15px rgba(56, 189, 248, 0.45),
      0 0 30px rgba(14, 165, 233, 0.35),
      0 0 60px rgba(2, 132, 199, 0.25);
    pointer-events: none;
    animation: neonRedupGlow 4s ease-in-out infinite alternate;
  }


  .hero-grid {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
    height: auto;
  }

  /* POSISI FOTO ANDROID: KEPALA SEJAJAR HELLO I'M & MEPET KANAN, TANPA BINGKAI BAWAH */
  .hero-center {
    position: absolute;
    top: 95px; /* Naik agar kepala sejajar dengan Hello, I'm */
    bottom: 0;
    right: 0 !important; /* Mepet kanan */
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  .portrait-card {
    position: relative;
    width: 6cm;
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
  }

  .portrait-img {
    width: 6cm;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: top right;
    transform: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    filter: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Gradasi Hitam di Bawah Foto */
  .portrait-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.85) 45%, transparent 100%);
    pointer-events: none;
    z-index: 6;
  }

  .portrait-glow { display: none !important; 
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.55) 0%, rgba(3, 79, 124, 0.2) 50%, transparent 75%);
    filter: blur(30px);
    z-index: -1;
  }

  .portrait-vignette {
    display: none;
  }

  /* KONTEN KIRI & BAWAH ANDROID (MURNI TIPOGRAFI - TANPA BINGKAI / FRAME) */
  .hero-left {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }

  .hero-header-block {
    width: 52%;
    max-width: 210px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0.5rem;
    z-index: 4;
    background: transparent !important;
    border: none !important;
  }

  .greeting-script {
    font-size: 1.95rem;
    color: var(--blue-vivid);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .hero-name {
    font-size: 2.25rem;
    line-height: 0.88;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .hero-name span {
    display: block;
  }

  .hero-subrole {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    margin-bottom: 0;
    color: var(--blue-vivid);
    font-weight: 800;
  }

  /* Bagian Bawah: Kalimat Bio Murni Tipografi Tanpa Bingkai */
  .hero-bottom-block {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    z-index: 4;
    background: transparent !important;
    border: none !important;
  }

  .hero-bio {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    /* TANPA BINGKAI: hapus box, background, border, dan shadow bingkai */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  }

  .hero-badges {
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }

  .location-badge {
    font-size: 0.75rem;
    gap: 0.45rem;
    color: var(--blue-vivid);
    font-weight: 700;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }

  .hero-cta-group {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-cta-group .btn {
    flex: 1 1 0;
    padding: 0.8rem 0.65rem;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    text-align: center;
    justify-content: center;
    font-weight: 800;
  }

  .hero-right {
    display: none !important;
  }

  /* Projects Section Mobile */
  .section-top-bar {
    margin-bottom: 1.75rem;
  }

  .section-heading {
    font-size: 1.1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-thumb-box {
    height: 200px;
  }

  .project-card-footer {
    padding: 1.25rem;
  }

  /* Middle Section Mobile */
  .middle-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .col-title {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }

  .col-quote-wrapper {
    grid-column: span 1;
  }

  .quote-crimson-card {
    padding: 2rem 1.5rem;
  }

  .quote-text {
    font-size: 1.05rem;
  }

  .sig-name {
    font-size: 2.2rem;
  }

  /* Terminal Section Mobile */
  .terminal-section {
    padding: 2.5rem 0;
  }

  .terminal-screen {
    padding: 1rem;
    min-height: 180px;
    max-height: 280px;
    font-size: 0.8rem;
  }

  .term-input {
    font-size: 0.8rem;
  }

  .terminal-quick-chips {
    padding: 0.6rem 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  /* Contact Section Mobile */
  .contact-section {
    padding-bottom: 5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .contact-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn-pill-red {
    width: 100%;
    justify-content: center;
  }

  .channel-card {
    padding: 0.85rem 1rem;
  }

  .ch-val {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .contact-right {
    grid-column: span 1;
  }

  .tech-mockup-frame {
    max-width: 320px;
  }

  .laptop-body {
    padding: 1rem;
    min-height: 140px;
  }

  .laptop-hero-text {
    font-size: 1.15rem;
  }

  .mug-decor {
    right: -10px;
    width: 38px;
    height: 44px;
  }

  .site-footer {
    text-align: center;
    padding: 1.75rem 0;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }
}

/* Extra Small Phones (Android compact <= 380px) */
@media (max-width: 380px) {
  .hero-container {
    min-height: 560px;
    padding: 1.25rem 0.85rem;
  }

  .hero-header-block {
    width: 50%;
    min-height: 220px;
  }

  .hero-center {
    width: 58%;
    max-width: 230px;
    height: 330px;
    right: -8px;
    top: 10px;
  }

  .hero-name {
    font-size: 1.95rem;
  }

  .greeting-script {
    font-size: 1.65rem;
  }

  .hero-subrole {
    font-size: 0.6rem;
  }

  .hero-bottom-block {
    margin-top: 1.25rem;
  }

  .hero-bio {
    font-size: 0.78rem;
    line-height: 1.5;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
}

/* ==========================================================================
   EXACT 1080 x 1920 ANDROID POSTER DESIGN SYSTEM
   Matches reference poster media_1792948431013.jpg
   ========================================================================== */

/* Hilangkan Garis Siku dan Garis Speed Stripes */
.hero-container::before {
  content: none !important;
  display: none !important;
}

.aviation-speed-stripes {
  display: none !important;
}

/* Giant Background Typography PORTFOLIO - Efek Neon Redup */
.hero-bg-text {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5.4rem, 23vw, 11rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: #38bdf8;
  opacity: 0.85;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  text-shadow:
    0 0 5px rgba(56, 189, 248, 0.7),
    0 0 15px rgba(56, 189, 248, 0.45),
    0 0 30px rgba(14, 165, 233, 0.35),
    0 0 60px rgba(2, 132, 199, 0.25);
  width: 100%;
  text-align: center;
  animation: neonRedupGlow 4s ease-in-out infinite alternate;
}

@keyframes neonRedupGlow {
  0% {
    opacity: 0.75;
    text-shadow:
      0 0 4px rgba(56, 189, 248, 0.6),
      0 0 12px rgba(56, 189, 248, 0.4),
      0 0 25px rgba(14, 165, 233, 0.3),
      0 0 50px rgba(2, 132, 199, 0.2);
  }
  50% {
    opacity: 0.88;
    text-shadow:
      0 0 6px rgba(125, 211, 252, 0.75),
      0 0 18px rgba(56, 189, 248, 0.55),
      0 0 35px rgba(14, 165, 233, 0.4),
      0 0 65px rgba(2, 132, 199, 0.28);
  }
  100% {
    opacity: 0.75;
    text-shadow:
      0 0 4px rgba(56, 189, 248, 0.6),
      0 0 12px rgba(56, 189, 248, 0.4),
      0 0 25px rgba(14, 165, 233, 0.3),
      0 0 50px rgba(2, 132, 199, 0.2);
  }
}


/* Hero Section & Card */
.hero-section {
  position: relative;
  padding: 0.75rem 0 1.25rem 0;
  overflow: hidden;
}

.hero-container {
  border: none !important;
  border-radius: 6px;
  background: radial-gradient(circle at 80% 25%, rgba(2, 132, 199, 0.35) 0%, rgba(4, 8, 20, 0.98) 72%);
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 520px;
  min-height: 520px;
  box-shadow: none !important;
}

.hero-grid {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Hero Center (Right Side) - Foto No 2: Kepala Sejajar dengan Tulisan Hello, I'm, Mepet Kanan, Tanpa Bingkai Bawah */
.hero-center {
  position: absolute;
  top: 95px; /* Naik agar kepala sejajar presisi dengan Hello, I'm */
  bottom: 0;
  right: 0 !important; /* Mepet kanan */
  left: auto;
  width: auto;
  height: auto;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

.portrait-card {
  position: relative;
  width: 6cm;
  height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.portrait-img {
  width: 6cm;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top right;
  display: block;
  transform: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  filter: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Gradasi Hitam / Bingkai Bawah Dihapus */
.portrait-bottom-gradient {
  display: none !important;
}

.portrait-glow { display: none !important; 
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: 125%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.5) 0%, rgba(3, 79, 124, 0.2) 50%, transparent 75%);
  filter: blur(35px);
  z-index: -1;
}

/* Hero Left Content - Diturunkan di bawah tulisan PORTFOLIO */
.hero-left {
  position: absolute;
  top: 115px; /* Diturunkan di bawah tulisan PORTFOLIO */
  left: 1.25rem;
  bottom: 1.25rem;
  width: 50%;
  max-width: 260px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.hero-greeting {
  margin-bottom: -0.2rem;
}

.greeting-script {
  font-family: var(--font-script);
  font-size: 1.95rem;
  color: #38bdf8;
  font-weight: 700;
  line-height: 1;
}

.hero-name {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
}

.hero-name .name-white {
  color: #ffffff;
}

.hero-name .name-blue {
  color: #0284c7;
}

/* Aviation Pill Badge */
.aviation-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(2, 132, 199, 0.16);
  border: 1px solid #0284c7;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  width: fit-content;
  max-width: 100%;
}

.pill-plane-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.pill-text {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  white-space: nowrap;
}

/* Bio Text: Pure Typography (NO BINGKAI / NO BOX) */
.hero-bio {
  font-size: 0.74rem;
  line-height: 1.48;
  color: #cbd5e1;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-cta-group {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.hero-cta-group .btn {
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 4px;
}

.btn-blue {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45);
}

.btn-blue:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

/* ==========================================================================
   Selected Projects Section (Poster Style)
   ========================================================================== */
.projects-section {
  padding: 0.75rem 0 1.25rem 0;
}

.section-title-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.section-heading {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0284c7;
  white-space: nowrap;
}

.section-title-line {
  flex-grow: 1;
  height: 1.5px;
  background: #0284c7;
  opacity: 0.8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.project-card {
  background: #060c1c;
  border: none !important;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition);
}

.project-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
}

.project-card-header {
  padding: 0.5rem 0.55rem 0.4rem 0.55rem;
  background: #081126;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.p-title-main {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.p-title-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.p-caption {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.2;
}

.project-thumb-box {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: #02050e;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.06);
}

.project-card-footer-bar {
  padding: 0.4rem 0.5rem;
  background: #050b18;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.p-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0284c7;
  line-height: 1;
}

.p-footer-sep {
  color: rgba(56, 189, 248, 0.4);
  font-size: 0.7rem;
}

.p-footer-label {
  font-size: 0.46rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.18;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.p-footer-arrow {
  color: #0284c7;
  font-size: 0.7rem;
  transition: transform var(--transition);
}

.project-card:hover .p-footer-arrow {
  color: #38bdf8;
  transform: translateX(3px);
}

/* ==========================================================================
   3-Column Middle Section (Education, Work Process, Quote)
   ========================================================================== */
.middle-section {
  padding: 0.75rem 0 2rem 0;
}

.middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.middle-col {
  display: flex;
  flex-direction: column;
}

.col-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0284c7;
  margin-bottom: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid #0284c7;
}

/* Col 1 Education & Skills */
.aviation-info-item {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.info-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid #0284c7;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-icon-badge svg {
  width: 13px;
  height: 13px;
}

.info-item-content {
  display: flex;
  flex-direction: column;
}

.info-item-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #38bdf8;
  margin-bottom: 0.1rem;
}

.info-item-main {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.info-item-sub {
  font-size: 0.62rem;
  color: #94a3b8;
}

.aviation-skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aviation-skill-list li {
  font-size: 0.62rem;
  color: #cbd5e1;
  line-height: 1.45;
  position: relative;
  padding-left: 0.75rem;
}

.aviation-skill-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: 800;
}

/* Col 2 Work Process */
.process-aviation-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pa-step {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.pa-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0284c7;
  line-height: 1;
  width: 16px;
}

.pa-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #060f22;
  border: 1px solid #0284c7;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pa-circle svg {
  width: 11px;
  height: 11px;
}

.pa-content {
  display: flex;
  flex-direction: column;
}

.pa-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #38bdf8;
  margin-bottom: 0.08rem;
}

.pa-desc {
  font-size: 0.55rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* Col 3 Quote Aviation Card */
.quote-aviation-card {
  background: linear-gradient(145deg, #021a36 0%, #032d5e 100%);
  border: none !important;
  border-radius: 6px;
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 26, 54, 0.5);
}

.quote-mark-cyan {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 0.65;
  color: #38bdf8;
  margin-bottom: 0.45rem;
}

.quote-text-italic {
  font-size: 0.82rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.quote-accent-bar {
  width: 32px;
  height: 2.5px;
  background: #38bdf8;
  border-radius: 2px;
  margin-bottom: 0.45rem;
}

.quote-plane-art {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.jet-flight-svg {
  width: 85px;
  height: 55px;
}

/* Container responsive formatting */
.container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 0.85rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 0.65rem;
  }
  .hero-container {
    height: 520px;
    min-height: 520px;
  }
  .hero-left {
    width: 52%;
    top: 110px; /* Diturunkan di bawah tulisan PORTFOLIO */
    left: 1rem;
    bottom: 1rem;
  }
  .hero-name {
    font-size: 2.15rem;
  }
  .greeting-script {
    font-size: 1.75rem;
  }
  .hero-bio {
    font-size: 0.7rem;
    line-height: 1.45;
  }
  .hero-center {
    width: auto;
    right: 0 !important; /* Mepet kanan */
    top: 92px; /* Naik agar kepala sejajar dengan Hello, I'm */
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  .portrait-card {
    width: 6cm;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    border: none !important;
    border-bottom: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .portrait-img {
    width: 6cm;
    height: auto;
    object-fit: contain;
    object-position: top right;
    transform: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    filter: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .projects-grid {
    gap: 0.45rem;
  }
  .project-thumb-box {
    height: 95px;
  }
  .p-title-main, .p-title-sub {
    font-size: 0.62rem;
  }
  .p-caption {
    font-size: 0.46rem;
  }
  .p-num {
    font-size: 0.95rem;
  }
  .p-footer-label {
    font-size: 0.42rem;
  }
  .middle-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

/* Floating Android View Badge */
.android-view-floating-badge {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  background: rgba(4, 8, 20, 0.92);
  border: 1px solid #0284c7;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(2, 132, 199, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.android-view-floating-badge:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.6);
}

/* Hide SMKN 29 badge as requested */
.aviation-pill,
.hero-subrole {
  display: none !important;
}
