/* ==========================================================================
   .jhon — Premium Personal Landing & Trajectory Stylesheet
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #08090d;
  --bg-card: rgba(16, 20, 29, 0.65);
  --bg-card-hover: rgba(22, 28, 41, 0.85);
  --bg-surface: #0f131a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 242, 254, 0.35);
  --border-card: rgba(255, 255, 255, 0.06);

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-violet: #7928ca;
  --accent-purple: #9b51e0;
  --accent-green: #00e676;

  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7928ca 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(121, 40, 202, 0.08) 50%, transparent 70%);
  --glow-shadow: 0 0 35px -5px rgba(0, 242, 254, 0.3);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  line-height: 1.65;
}

main, section, header, footer {
  max-width: 100%;
  overflow-x: clip;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e2638;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d3852;
}

/* Ambient Background Lights & Grid */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(0, 242, 254, 0.08), transparent 80%),
              radial-gradient(800px circle at 80% 20%, rgba(121, 40, 202, 0.07), transparent 70%);
  transition: background 0.15s ease-out;
}

.mesh-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Base Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.22);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(0, 242, 254, 0.1);
}

/* Gradient Text Helper */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 9, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(8, 9, 13, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-dot {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px var(--accent-cyan);
}

.brand-name {
  color: #fff;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-green);
  position: relative;
}

.pulse-core {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.pulse-ring {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: transparent;
  border: 1px solid var(--accent-green);
  border-radius: 50%;
  animation: pulseAnimation 2s infinite ease-out;
}

@keyframes pulseAnimation {
  0% { transform: translateY(-50%) scale(1); opacity: 1; }
  100% { transform: translateY(-50%) scale(3); opacity: 0; }
}

.status-text {
  letter-spacing: 0.03em;
}

/* Buttons */
.btn-primary-sm {
  background: var(--text-primary);
  color: var(--bg-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-primary-sm:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
  background: var(--gradient-brand);
  color: #06080d;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.35);
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-lang-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  z-index: 101;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(10, 12, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-highlight);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
  animation: slideDrawerDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDrawerDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-link:hover, .mobile-link:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 0.85rem;
}

.mobile-link.highlight {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  color: var(--accent-cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Action Buttons */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-brand);
  color: #05070a;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-glow.big {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

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

.metric-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

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

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

/* Hero Avatar Card */
.avatar-card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-card {
  position: relative;
  background: linear-gradient(160deg, rgba(25, 20, 38, 0.85) 0%, rgba(12, 11, 22, 0.95) 100%);
  border: 1px solid rgba(155, 81, 224, 0.3);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 45px -10px rgba(121, 40, 202, 0.35);
  max-width: 420px;
  width: 100%;
}

.avatar-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 571 / 1024;
  background: #0d111a;
  width: 100%;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-slow);
  display: block;
}

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

.avatar-overlay {
  display: none;
}

.avatar-details {
  margin-top: 1.2rem;
  padding: 0 0.4rem;
}

.tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.code-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.code-tag.accent {
  color: var(--accent-cyan);
}

.avatar-caption h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.avatar-caption p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}



/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 242, 254, 0.06);
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Story Section
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.story-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.story-card.highlight-box {
  border-color: rgba(0, 242, 254, 0.35);
  background: linear-gradient(165deg, rgba(16, 25, 38, 0.8) 0%, rgba(12, 16, 25, 0.6) 100%);
}

.story-index {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.story-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.story-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.story-quote {
  font-style: italic;
  color: #e2e8f0 !important;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 1rem;
  margin-top: auto;
}

.story-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: auto;
}

.story-highlights li {
  position: relative;
  padding-left: 1.2rem;
}

.story-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--gradient-brand);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.story-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  color: var(--accent-blue);
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  margin-top: 1.5rem;
  z-index: 2;
}

.marker-line {
  position: absolute;
  top: 2rem;
  bottom: -2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan) 0%, rgba(255, 255, 255, 0.1) 80%);
  z-index: 1;
}

.timeline-content {
  padding: 1.8rem 2rem;
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.timeline-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

.timeline-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-tag {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  color: var(--accent-cyan);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(124, 77, 255, 0.12));
  border: 1px solid rgba(0, 242, 254, 0.22);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.skill-category:hover .category-icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.25);
}

.category-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.skill-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.project-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
}

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

.project-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

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

.project-metrics-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  width: 100%;
}

.metric-mini {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.metric-mini strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-cyan);
  word-break: break-word;
}

.metric-mini span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.project-tech span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.philo-card {
  padding: 2.2rem 1.8rem;
}

.philo-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  display: block;
  margin-bottom: 0.75rem;
}

.philo-card:hover .philo-num {
  color: var(--accent-cyan);
  transition: color var(--transition-fast);
}

.philo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.philo-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-box {
  padding: 3.5rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  border-color: rgba(0, 242, 254, 0.25);
  background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.06), rgba(16, 20, 29, 0.8) 70%);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 3rem;
}

.method-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  transition: all var(--transition-fast);
}

.method-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 254, 0.3);
}

a.method-card {
  text-decoration: none;
  color: inherit;
}

.method-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.18);
}

.method-icon.icon-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.25);
}

.method-icon.icon-linkedin {
  color: #4aa3ff;
  background: rgba(10, 102, 194, 0.12);
  border-color: rgba(74, 163, 255, 0.25);
}

.method-icon.icon-github {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.method-icon.icon-mail {
  color: #b388ff;
  background: rgba(124, 77, 255, 0.12);
  border-color: rgba(179, 136, 255, 0.25);
}

.method-info {
  min-width: 0;
}

.method-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
}

.method-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.method-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.method-value:hover {
  color: var(--accent-cyan);
}

.btn-copy-mini {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.btn-copy-mini:hover {
  color: var(--accent-cyan);
}

.external-arrow {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.method-card:hover .external-arrow {
  color: var(--accent-cyan);
  transform: translate(2px, -2px);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #04140a;
  background: linear-gradient(135deg, #25d366, #12b886);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-whatsapp.big {
  padding: 1rem 2rem;
  font-size: 1.02rem;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: #050608;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

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

.footer-copy strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(16, 24, 38, 0.95);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 242, 254, 0.3);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablets and below (<= 992px) */
@media (max-width: 992px) {
  /* Navigation switch */
  .nav-desktop {
    display: none !important;
  }

  .site-header .status-indicator,
  .site-header .btn-primary-sm {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .header-inner {
    height: 64px;
  }

  /* Hero Section */
  .hero-section {
    padding: 3.5rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 2.9rem);
    max-width: 680px;
  }

  .hero-description {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 2.5rem;
  }

  .hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  .metric-separator {
    display: none !important;
  }

  .hero-visual {
    order: 2; /* Content stays on top so value proposition is immediately visible */
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .avatar-card {
    max-width: 330px;
    margin: 0 auto;
    padding: 1rem;
  }

  /* Story Grid */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Contact */
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Hero Metrics */
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding-top: 1.5rem;
  }

  .metric-separator {
    display: none;
  }

  .metric-num {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.75rem;
  }

  /* Header on Mobile */
  .header-actions .btn-primary-sm,
  .header-actions .status-indicator {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .lang-switcher {
    padding: 2px;
    gap: 1px;
  }

  .header-actions .lang-btn {
    padding: 0.22rem 0.42rem;
    font-size: 0.68rem;
  }

  /* Projects & Skills */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Timeline adjustments */
  .timeline-container {
    padding-left: 0;
  }

  .timeline-item {
    grid-template-columns: 32px 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .marker-dot {
    width: 14px;
    height: 14px;
    margin-top: 1.4rem;
  }

  .timeline-content {
    padding: 1.4rem 1.25rem;
  }

  .timeline-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  /* Contact Card */
  .contact-box {
    padding: 2.25rem 1.25rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-actions .status-indicator {
    display: none; /* Keep header clean on small phones */
  }

  .btn-primary-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .avatar-card {
    max-width: 290px;
    padding: 0.85rem;
  }

  .avatar-details {
    margin-top: 0.85rem;
  }

  .tag-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .metric-item {
    align-items: center;
  }

  .timeline-item {
    grid-template-columns: 20px 1fr;
    gap: 0.75rem;
  }

  .marker-dot {
    width: 12px;
    height: 12px;
    margin-top: 1.2rem;
  }

  .timeline-content {
    padding: 1.2rem 0.9rem;
  }

  .timeline-title {
    font-size: 1.12rem;
  }

  .mini-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }

  .project-card,
  .story-card,
  .skill-category,
  .philo-card {
    padding: 1.4rem 1.1rem;
  }

  .project-metrics-box {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-glow.big {
    width: 100%;
    justify-content: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   JomaTech — Founder Section
   ========================================================================== */
.inline-link {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 242, 254, 0.45);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.inline-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.jomatech-section {
  position: relative;
}

.jomatech-section::before {
  content: '';
  position: absolute;
  inset: 10% 0 auto;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(124, 77, 255, 0.1), transparent 65%);
  pointer-events: none;
}

.jt-role-badge {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(124, 77, 255, 0.2));
  border: 1px solid rgba(124, 77, 255, 0.35);
}

.jt-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 2.25rem;
}

.jt-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  min-width: 0;
}

.jt-stat-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.jt-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.2;
}

.jt-stat span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.jt-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.jt-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.6rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.jt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 242, 254, 0.08);
}

.jt-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.jt-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: var(--accent-cyan);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(124, 77, 255, 0.14));
  border: 1px solid rgba(0, 242, 254, 0.22);
  transition: transform var(--transition-fast);
}

.jt-card:hover .jt-icon {
  transform: rotate(-6deg) scale(1.05);
}

.jt-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.jt-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.jt-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.jt-features span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.jt-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.75rem;
}

@media (max-width: 992px) {
  .jt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .jt-grid { grid-template-columns: 1fr; }
  .jt-stats { gap: 0.75rem; }
  .jt-stat { padding: 0.85rem; gap: 0.65rem; }
  .jt-stat-icon { width: 34px; height: 34px; }
  .jt-card { padding: 1.4rem 1.25rem; }
}

@media (max-width: 400px) {
  .jt-stats { grid-template-columns: 1fr; }
}
