/* ==========================================================================
   BURAKIO.COM v2 — Modern Developer & Platform Engineer Portfolio Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #030712;
  --bg-tint: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.4);
  --border-card: rgba(148, 163, 184, 0.14);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --primary-glow: rgba(56, 189, 248, 0.25);

  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'DM Mono', monospace;

  --max-width: 1180px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px rgba(56, 189, 248, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

/* Ambient Lights & Grid Background */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 60%, transparent 100%);
}

.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
  transition: opacity 0.5s ease;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #0284c7, #2563eb);
  top: -120px;
  left: -150px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4f46e5, #0ea5e9);
  top: 300px;
  right: -180px;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0284c7, #10b981);
  bottom: 100px;
  left: 20%;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-3px);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 20%, #818cf8 80%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Pulse Animation */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: pulseLight 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
  background: #0f172a;
}

.brand-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

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

.brand-name {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-top: 2px;
}

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

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav a:hover {
  color: var(--text-main);
}

.nav .nav-contact {
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.nav .nav-contact:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--primary);
  color: #fff;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 60px;
  padding-bottom: 90px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

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

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  width: fit-content;
  margin-bottom: 24px;
}

.pill-divider {
  color: var(--border-subtle);
}

.pill-badge {
  color: var(--primary);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-family: var(--font-mono);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.hero-tag i {
  color: var(--primary);
  font-size: 13px;
}

.hero-tag:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(2, 132, 199, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  box-shadow: 0 12px 28px -4px rgba(14, 165, 233, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-card);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.hero-social-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.hero-social-strip a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
}

.hero-social-strip a:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.social-divider {
  width: 1px;
  height: 18px;
  background-color: var(--border-subtle);
}

.social-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   HERO RIGHT / GLASS PROFILE & TERMINAL
   ========================================================================== */
.hero-visual {
  position: relative;
}

.glass-profile-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 45px -10px rgba(56, 189, 248, 0.18);
  position: relative;
  overflow: hidden;
}

.glass-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.avatar-container {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.main-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  background: #020617;
}

.online-status {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  border: 2.5px solid #0f172a;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.profile-card-meta {
  display: flex;
  flex-direction: column;
}

.profile-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.profile-card-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.profile-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.profile-card-status i {
  color: var(--accent-emerald);
  font-size: 10px;
}

/* Terminal Component */
.code-terminal {
  margin-top: 20px;
  background: #060b16;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  height: 38px;
  background: #0d1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-tabs {
  display: flex;
  gap: 4px;
}

.term-tab {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.term-tab.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  font-weight: 600;
}

.terminal-content {
  padding: 20px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  min-height: 180px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.term-line {
  margin: 0;
  color: #94a3b8;
}

.term-line .prompt {
  color: var(--primary);
  margin-right: 8px;
  user-select: none;
}

.term-line .cmd {
  color: #f1f5f9;
  font-weight: 500;
}

.term-line.output {
  color: #cbd5e1;
  padding-left: 14px;
}

.term-line.comment {
  color: #64748b;
  font-style: italic;
}

.term-line .val {
  color: #38bdf8;
}

.term-line .str {
  color: #a5f3fc;
}

.highlight-green {
  color: #4ade80;
  font-weight: 600;
}

.highlight-cyan {
  color: #38bdf8;
  font-weight: 600;
}

.highlight-blue {
  color: #60a5fa;
  font-weight: 600;
}

.term-cursor-line {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: var(--primary);
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.terminal-footer {
  background: #090e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
}

.term-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-label {
  color: var(--text-dim);
}

.stat-value {
  font-weight: 600;
}

/* ==========================================================================
   TICKER MARQUEE
   ========================================================================== */
.ticker-section {
  border-block: 1px solid var(--border-subtle);
  background: rgba(11, 15, 25, 0.7);
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: tickerScroll 42s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-track span i {
  color: var(--primary);
  font-size: 13px;
}

.ticker-star {
  color: var(--primary);
  font-size: 12px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.5) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(11, 15, 25, 0.5) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-header h2 {
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ==========================================================================
   SECTION 01: ABOUT & PHILOSOPHY
   ========================================================================== */
.about-cards-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.quote-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 70%), var(--bg-card);
}

.quote-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.85;
}

.quote-text {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  margin-bottom: 30px;
}

.quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.quote-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
}

.quote-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phil-card {
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.phil-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.phil-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.phil-body p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 02: FOCUS AREAS
   ========================================================================== */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.focus-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.focus-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.focus-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1px solid transparent;
}

.icon-cyan {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.focus-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.focus-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.focus-card > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.focus-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #cbd5e1;
}

.feat-item i {
  color: var(--accent-emerald);
  font-size: 11px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.tech-pills span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.tech-pills span:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
}

/* ==========================================================================
   SECTION 03: TECH TOOLKIT
   ========================================================================== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stack-card {
  padding: 28px;
}

.stack-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.stack-icon-mini {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 16px;
}

.stack-card-title h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.stack-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
}

.stack-items-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.stack-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.stack-pill i {
  color: var(--primary);
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.stack-pill:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION 04: INTERESTS
   ========================================================================== */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.interest-box {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.interest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.interest-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}

.interest-icon {
  font-size: 22px;
  color: var(--text-muted);
}

.interest-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.interest-box p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.interest-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 500;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.interest-link a:hover {
  color: #fff;
}

/* ==========================================================================
   SECTION 05: CONTACT
   ========================================================================== */
.contact-card {
  padding: 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.15), transparent 60%), rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.contact-glow-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-body {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-title {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.contact-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.contact-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.contact-main-btn {
  font-size: 14px;
  padding: 14px 28px;
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 12px;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.contact-social-link i:first-child {
  color: var(--primary);
  font-size: 15px;
}

.contact-social-link i:last-child {
  font-size: 10px;
  opacity: 0.6;
}

.contact-social-link:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.9);
  padding: 34px 0;
}

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

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .focus-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .contact-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 24px;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 8px 0;
    font-size: 14px;
  }

  .language-toggle {
    align-self: flex-start;
  }

  .hero-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-status-pill {
    flex-wrap: wrap;
    font-size: 10px;
  }

  .glass-profile-card {
    padding: 18px;
  }

  .quote-card {
    padding: 26px;
  }

  .quote-text {
    font-size: 18px;
  }

  .focus-card {
    padding: 24px;
    min-height: auto;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-title {
    font-size: 28px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
