:root {
  --bg: #0a0d12;
  --bg-elev: #121824;
  --panel: #0f1520;
  --border: #1f2a3a;
  --text: #e7edf4;
  --muted: #9aa7b8;
  --accent: #29f1c3;
  --accent-soft: rgba(41, 241, 195, 0.16);
  --warning: #ffb020;
  --danger: #ff4d4d;
  --shadow: 0 30px 70px rgba(6, 12, 20, 0.55);
  --left-pane: clamp(420px, 52vw, 560px);
  --hero-gap: 3rem;
}

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

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at 10% 20%, #10202b, #0a0d12 45%),
    radial-gradient(circle at 90% 10%, #1a1f2c, #0a0d12 50%),
    linear-gradient(180deg, #0a0d12, #0a0d12);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(32, 44, 62, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 44, 62, 0.25) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  inset: -20%;
  background: radial-gradient(circle at 40% 20%, rgba(41, 241, 195, 0.12), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(255, 176, 32, 0.1), transparent 50%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  padding: 3rem 7vw 4rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 7vw;
  margin-bottom: 0;
  background: rgba(8, 12, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-weight: 500;
}

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

.lang-switch {
  display: inline-flex;
  gap: 0.5rem;
  border: 1px solid rgba(41, 241, 195, 0.4);
  border-radius: 999px;
  padding: 0.3rem;
  background: rgba(8, 12, 18, 0.8);
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  overflow: hidden;
  isolation: isolate;
}

.lang-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(41, 241, 195, 0.9), rgba(41, 241, 195, 0.45));
  box-shadow: 0 0 20px rgba(41, 241, 195, 0.35), inset 0 0 12px rgba(10, 16, 24, 0.35);
  transform: translateX(calc(100% + 4px));
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.45s ease;
  z-index: 0;
}

.lang-switch.en::before {
  transform: translateX(0);
}

.lang {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.lang.active {
  color: #0b0f14;
}

.lang-switch.tr .lang.active,
.lang-switch.en .lang.active {
  text-shadow: 0 0 8px rgba(41, 241, 195, 0.35);
}

.hero-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--hero-gap);
  align-items: start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.3rem;
  color: var(--accent);
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1.05;
}

.subtitle {
  color: var(--muted);
  max-width: 34rem;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  background: rgba(15, 21, 32, 0.8);
  min-width: 130px;
}

.stat .label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta {
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.primary {
  background: var(--accent);
  color: #081018;
  box-shadow: 0 12px 40px rgba(41, 241, 195, 0.3);
}

.cta.ghost {
  border-color: var(--border);
  color: var(--text);
}

.cta:hover {
  transform: translateY(-2px);
}

.contact-inline {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pod-card {
  margin-bottom: 0.9rem;
  width: min(100%, 320px);
  opacity: 1;
  max-height: none;
  transform: none;
  height: 100%;
}


.secure-terminal {
  border-radius: 16px;
  border: 1px solid rgba(255, 176, 32, 0.45);
  background: #0a1018;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(5, 10, 18, 0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.secure-strip {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: #0b0f14;
  background: repeating-linear-gradient(120deg,
      #f7b32b 0,
      #f7b32b 12px,
      #0a1018 12px,
      #0a1018 24px);
  animation: stripeMove 3s linear infinite;
}

.secure-strip span {
  background: #f7b32b;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  color: #0b0f14;
}

.pod-card .terminal-body {
  height: 100%;
  min-height: 170px;
}

.pod-terminal {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pod-terminal .terminal-body {
  flex: 1;
}

@keyframes stripeMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 120px 0;
  }
}

.hero-right {
  display: grid;
  gap: 1.5rem;
}

.cluster-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(13, 18, 28, 0.88);
  box-shadow: var(--shadow);
  animation: rise 0.7s ease forwards;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.status {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1rem;
  border: 1px solid var(--border);
}

.status.success {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.status.warn {
  color: var(--warning);
  border-color: rgba(255, 176, 32, 0.5);
  background: rgba(255, 176, 32, 0.1);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.step {
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  border: 1px solid var(--border);
  background: #0c131e;
}

.step.done {
  border-color: rgba(41, 241, 195, 0.6);
  color: var(--accent);
}

.step.running {
  border-color: rgba(255, 176, 32, 0.6);
  color: var(--warning);
  position: relative;
}

.step.running::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 176, 32, 0.4);
  animation: pulse 1.6s ease-in-out infinite;
}

.step.queued {
  border-color: rgba(154, 167, 184, 0.4);
  color: var(--muted);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.metric-value {
  font-weight: 600;
  color: var(--text);
}

.terminal {
  border-radius: 16px;
  border: 1px solid rgba(41, 241, 195, 0.3);
  overflow: hidden;
  background: #0a1018;
}

.terminal.primary {
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  transition: transform 0.5s ease, max-width 0.5s ease;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: #080c12;
  border-bottom: 1px solid var(--border);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.terminal-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3342;
}

.terminal-header span:nth-child(1) {
  background: #f05d5e;
}

.terminal-header span:nth-child(2) {
  background: #f7b32b;
}

.terminal-header span:nth-child(3) {
  background: #3ddc97;
}

.terminal-body {
  position: relative;
  padding: 1.2rem 1.2rem 1.8rem;
  height: 190px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
  overflow: hidden;
}

.terminal-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(10, 16, 24, 0.9));
  pointer-events: none;
}

.terminal pre {
  white-space: pre-wrap;
}

.incident-panel {
  opacity: 0;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease,
    padding 0.4s ease;
  width: 100%;
  position: relative;
}

.incident-panel.active {
  opacity: 1;
  max-height: 620px;
  padding: 1.5rem;
  transform: translateY(0);
}

.secondary-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  justify-items: stretch;
  width: 100%;
  margin-right: auto;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
}

.secondary-row.active {
  opacity: 1;
  max-height: 600px;
  transform: translateY(0);
}

.secondary-row.split {
  grid-template-columns: var(--left-pane) 1fr;
  align-items: stretch;
  justify-content: stretch;
}

.terminal.secondary {
  width: 100%;
  transition: transform 0.5s ease, max-width 0.5s ease, opacity 0.4s ease;
}

.terminal.secondary.collapsed {
  justify-self: stretch;
}

.terminal.tertiary {
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
}

.terminal.tertiary.active {
  opacity: 1;
  max-height: 260px;
  visibility: visible;
  transform: translateY(0);
}


.cursor {
  position: absolute;
  bottom: 0.8rem;
  left: 1.2rem;
  color: var(--accent);
  animation: blink 1s steps(2, start) infinite;
}

.infra-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.infra-tags span {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

main {
  padding: 0 7vw 4rem;
  display: grid;
  gap: 3.5rem;
  position: relative;
}

.section {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.4rem;
  background: rgba(13, 18, 28, 0.9);
  box-shadow: var(--shadow);
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 1.9rem;
}

.section-title p {
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.tool-grid article {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  background: #0b121c;
}

.tool-grid h3 {
  margin-bottom: 0.5rem;
}

.tool-grid p {
  color: var(--muted);
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.log-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.3rem;
  background: #0b121c;
}

.log-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

.badge {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  color: var(--accent);
  background: rgba(41, 241, 195, 0.08);
}

.role {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.log-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.5;
}

.focus-grid,
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.focus-card,
.edu-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  background: #0b121c;
}

.focus-card h3,
.edu-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.edu-card span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--warning);
  font-size: 0.85rem;
}

.footer {
  margin: 0 7vw 3rem;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(130deg, rgba(41, 241, 195, 0.1), rgba(16, 24, 36, 0.95));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow);
}

.footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.6;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --left-pane: 100%;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Fix blog layout blowout on mobile */
  main {
    display: block;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .cluster-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2rem 5vw 3rem;
  }

  main {
    padding: 0 5vw 3rem;
  }

  .section {
    padding: 1.5rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    margin: 0 5vw 2rem;
  }
}

@media (max-width: 540px) {
  .hero-main {
    gap: 2rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    min-width: 0;
  }
}


/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--warning));
  box-shadow: 0 0 10px var(--accent);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Scroll Animations */
.observe-me {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.observe-me.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delay for grid items */
.tool-grid article:nth-child(1),
.log-grid article:nth-child(1) {
  transition-delay: 0.1s;
}

.tool-grid article:nth-child(2),
.log-grid article:nth-child(2) {
  transition-delay: 0.2s;
}

.tool-grid article:nth-child(3),
.log-grid article:nth-child(3) {
  transition-delay: 0.3s;
}

.tool-grid article:nth-child(4),
.log-grid article:nth-child(4) {
  transition-delay: 0.4s;
}

.tool-grid article:nth-child(5),
.log-grid article:nth-child(5) {
  transition-delay: 0.5s;
}

.tool-grid article:nth-child(6),
.log-grid article:nth-child(6) {
  transition-delay: 0.6s;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 20, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 2rem;
}

.modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background: rgba(13, 18, 28, 0.98);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 50px 100px rgba(6, 12, 20, 0.8);
  animation: modalSlideIn 0.4s ease;
  transform-origin: center;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.modal-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
  background: rgba(41, 241, 195, 0.1);
}

.modal-body .log-card {
  border: none;
  background: transparent;
  cursor: default;
}

/* Boot Screen */
.boot-screen {
  position: fixed;
  inset: 0;
  background: #0a0d12;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bootFadeIn 0.3s ease;
}

.boot-screen.fade-out {
  animation: bootFadeOut 0.5s ease forwards;
}

@keyframes bootFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bootFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.boot-content {
  text-align: center;
  max-width: 500px;
}

.boot-logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 2.5rem;
  letter-spacing: 0.3rem;
  color: var(--accent);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(41, 241, 195, 0.5);
}

.boot-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--text);
  text-align: left;
}

.boot-text p {
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: bootLineIn 0.3s ease forwards;
}

.boot-text p:nth-child(1) {
  animation-delay: 0.3s;
}

.boot-text p:nth-child(2) {
  animation-delay: 0.7s;
}

.boot-text p:nth-child(3) {
  animation-delay: 1.1s;
}

.boot-text p:nth-child(4) {
  animation-delay: 1.5s;
}

.boot-text p:nth-child(5) {
  animation-delay: 1.9s;
}

@keyframes bootLineIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.boot-progress {
  display: block;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.boot-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--warning));
  width: 0;
  animation: bootProgress 2s ease-in-out forwards;
  animation-delay: 0.5s;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes bootProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Interactive Terminal Input */
.terminal-input-wrapper {
  display: flex;
  align-items: center;
  margin-top: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.terminal-prompt {
  color: var(--accent);
  margin-right: 0.5rem;
}

.terminal-input {
  flex: 1;
  outline: none;
  color: var(--text);
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  caret-color: var(--accent);
}

.terminal-input:empty:before {
  content: attr(placeholder);
  color: var(--muted);
  opacity: 0.5;
}

/* Card Hover Enhancements */
.log-card,
.tool-grid article,
.focus-card,
.edu-card {
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.log-card:hover,
.tool-grid article:hover,
.focus-card:hover,
.edu-card:hover {
  border-color: rgba(41, 241, 195, 0.4);
  box-shadow: 0 20px 60px rgba(6, 12, 20, 0.6),
    0 0 30px rgba(41, 241, 195, 0.15);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .observe-me {
    transform: translateY(20px);
  }

  .modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .boot-logo {
    font-size: 2rem;
  }

  .boot-text {
    font-size: 0.75rem;
  }

  /* Disable 3D tilt on mobile */
  .log-card,
  .tool-grid article,
  .focus-card,
  .edu-card {
    transform: none !important;
  }

  /* Better touch targets */
  .cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .nav-links a {
    padding: 0.5rem;
    font-size: 0.95rem;
  }

  /* Hero section mobile optimization */
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cluster-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-right {
    gap: 1rem;
  }

  /* Nav links optimization for mobile */
  .nav-links {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 0.4rem 0.3rem;
    white-space: nowrap;
  }

  /* Section padding optimization for mobile */
  .section {
    padding: 1.5rem;
    border-radius: 16px;
  }

  /* Contact container stack on mobile */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Timeline mobile optimization */
  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  .timeline-date {
    font-size: 0.75rem;
  }

  /* Terminal mobile optimization */
  .terminal-body {
    font-size: 0.7rem;
    padding: 1rem;
    min-height: 150px;
  }

  .terminal-input-wrapper {
    font-size: 0.7rem;
  }

  /* Scroll progress thicker on mobile */
  .scroll-progress {
    height: 4px;
  }

  /* Modal full screen on small devices */
  .modal {
    padding: 0;
  }

  .modal-content {
    border-radius: 0;
    min-height: 100vh;
    max-width: 100%;
  }

  /* Cards clickable feedback */
  .log-card:active,
  .tool-grid article:active {
    transform: scale(0.98);
  }
}

@media (max-width: 540px) {

  /* Improve readability */
  h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .subtitle {
    font-size: 0.95rem;
  }

  /* Stack stats vertically on very small screens */
  .stat-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .stat {
    width: 100%;
    min-width: auto;
  }

  /* Better pipeline layout */
  .pipeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .step {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .observe-me {
    opacity: 1;
    transform: none;
  }
}

/* Loading state for images and heavy content */
@media (prefers-reduced-data: reduce) {
  .glow {
    display: none;
  }

  .grid-overlay {
    opacity: 0.2;
  }
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
  background: rgba(13, 18, 28, 0.88);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card:hover {
  border-color: rgba(41, 241, 195, 0.4);
  box-shadow: 0 20px 60px rgba(6, 12, 20, 0.6),
    0 0 30px rgba(41, 241, 195, 0.15);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-card-image {
  border-color: rgba(41, 241, 195, 0.3);
  box-shadow: 0 10px 30px rgba(6, 12, 20, 0.4);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.blog-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.blog-title {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0;
}

.blog-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}

.reading-time {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.blog-read-more {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
  display: inline-block;
}

.blog-read-more:hover {
  transform: translateX(4px);
}

/* Blog Post Detail Page */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.blog-post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.blog-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.blog-content p {
  margin-bottom: 1.5rem;
  color: rgba(231, 237, 244, 0.9);
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
  color: rgba(231, 237, 244, 0.9);
}

.blog-content code {
  font-family: "IBM Plex Mono", monospace;
  background: rgba(41, 241, 195, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
}

.blog-content pre {
  background: #0a1018;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.blog-content pre code {
  background: none;
  padding: 0;
  color: var(--text);
}

.blog-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin-left: 0;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--muted);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(6, 12, 20, 0.4);
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
}

.blog-back:hover {
  transform: translateX(-4px);
}

@media (max-width: 768px) {

  /* Reduce main padding for blog pages on mobile */
  main {
    padding: 0 4vw 3rem;
    gap: 2rem;
  }

  /* Blog grid responsive */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card {
    padding: 1.5rem;
  }

  /* Blog post header responsive */
  .blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .blog-post-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .blog-post-meta {
    gap: 1rem;
    font-size: 0.8rem;
  }

  /* Blog content responsive */
  .blog-content {
    font-size: 1rem;
    line-height: 1.7;
  }

  .blog-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .blog-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }

  .blog-content p {
    margin-bottom: 1.2rem;
  }

  .blog-content ul,
  .blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
  }

  /* Improve code block scrolling on mobile */
  .blog-content pre {
    padding: 1rem;
    margin-bottom: 1.2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .blog-content pre code {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Ensure inline code doesn't break layout */
  .blog-content code {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Better image display on mobile */
  .blog-content img {
    margin: 1.5rem 0;
  }

  /* Blockquote responsive */
  .blog-content blockquote {
    padding-left: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
  }

  /* Blog post wrapper */
  .blog-post {
    max-width: 100%;
  }

  /* Back button responsive */
  .blog-back {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* Extra small screens - phones in portrait (480px and below) */
@media (max-width: 480px) {

  /* Further reduce padding for very small screens */
  main {
    padding: 0 3vw 2rem;
  }

  .hero {
    padding: 2rem 3vw 3rem;
  }

  /* Make nav more compact */
  .nav {
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .logo {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    letter-spacing: 0.15rem;
  }

  /* Enable horizontal scroll for nav links if needed */
  .nav-links {
    gap: 0.3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    padding-bottom: 0.2rem;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .nav-links a {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    flex-shrink: 0;
  }

  /* Language switch more compact */
  .lang-switch {
    padding: 0.25rem;
  }

  .lang {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }

  /* Blog specific adjustments */
  .section {
    padding: 1rem;
    border-radius: 12px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .blog-post-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .blog-post-meta {
    font-size: 0.75rem;
    gap: 0.6rem;
  }

  .blog-content {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .blog-content h2 {
    font-size: 1.3rem;
    margin-top: 1.75rem;
  }

  .blog-content h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
  }

  .blog-content pre {
    padding: 0.75rem;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .blog-content pre code {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .blog-content blockquote {
    font-size: 0.9rem;
    padding-left: 0.75rem;
    border-left-width: 3px;
  }

  /* Share buttons more compact */
  .share-section {
    padding: 1rem;
  }

  .share-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .share-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* Experience Logbook Styles */
.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.experience-card:hover {
  border-color: rgba(41, 241, 195, 0.4);
  background: rgba(41, 241, 195, 0.05);
  transform: translateX(4px);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.experience-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.experience-company {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  opacity: 0.9;
}

.experience-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.4rem 0.8rem;
  background: rgba(41, 241, 195, 0.1);
  border: 1px solid rgba(41, 241, 195, 0.2);
  border-radius: 8px;
}

.experience-summary {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.experience-details {
  margin-bottom: 1rem;
}

.experience-details ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.experience-details li {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.experience-details li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.experience-toggle {
  background: transparent;
  border: 1px solid rgba(41, 241, 195, 0.3);
  color: var(--accent);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05rem;
}

.experience-toggle:hover {
  background: rgba(41, 241, 195, 0.1);
  border-color: var(--accent);
  transform: translateX(4px);
}

.experience-card[data-expanded="true"] {
  background: rgba(41, 241, 195, 0.08);
  border-color: rgba(41, 241, 195, 0.5);
}

@media (max-width: 768px) {
  .experience-card {
    padding: 1.5rem;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience-date {
    font-size: 0.75rem;
  }

  .experience-title {
    font-size: 1.2rem;
  }

  .experience-company {
    font-size: 1rem;
  }

  .experience-details li {
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }
}

/* ================================
   BLOG SHARE BUTTONS
   ================================ */

.share-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(15, 21, 32, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.share-section.share-bottom {
  margin-top: 3rem;
  text-align: center;
}

.share-label {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.share-cta {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-btn svg {
  flex-shrink: 0;
}

/* Native Share Button */
.share-native {
  background: linear-gradient(135deg, var(--accent) 0%, #1a9f7a 100%);
  border-color: var(--accent);
  color: #0a0d12;
  font-weight: 600;
}

.share-native:hover {
  background: linear-gradient(135deg, #3affdb 0%, var(--accent) 100%);
  box-shadow: 0 4px 16px rgba(41, 241, 195, 0.4);
}

/* Twitter (X) */
.share-twitter {
  border-color: rgba(29, 155, 240, 0.5);
}

.share-twitter:hover {
  background: rgba(29, 155, 240, 0.15);
  border-color: #1d9bf0;
  color: #1d9bf0;
}

/* LinkedIn */
.share-linkedin {
  border-color: rgba(10, 102, 194, 0.5);
}

.share-linkedin:hover {
  background: rgba(10, 102, 194, 0.15);
  border-color: #0a66c2;
  color: #0a66c2;
}

/* WhatsApp */
.share-whatsapp {
  border-color: rgba(37, 211, 102, 0.5);
}

.share-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #25d366;
}

/* Copy Link */
.share-copy {
  border-color: rgba(255, 176, 32, 0.5);
}

.share-copy:hover {
  background: rgba(255, 176, 32, 0.15);
  border-color: var(--warning);
  color: var(--warning);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .share-section {
    padding: 1.25rem;
  }

  .share-buttons {
    justify-content: center;
  }

  .share-btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  /* Hide social media labels on mobile */
  .share-btn .btn-text {
    display: none;
  }

  /* Keep main action buttons with labels */
  .share-native span,
  .share-copy span {
    display: inline;
  }

  .share-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Animation for copy feedback */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

#copy-text {
  animation: pulse 0.3s ease-in-out;
}

/* ============================================
   NEW SECTIONS - Projects, Skills, Timeline, Contact
   ============================================ */

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(41, 241, 195, 0.15);
}

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

.project-header h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
}

.project-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(41, 241, 195, 0.1);
  color: var(--accent);
  border: 1px solid rgba(41, 241, 195, 0.3);
  white-space: nowrap;
}

.project-desc {
  color: var(--muted);
  line-height: 1.6;
  margin: 1rem 0;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.project-tech span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
}

.project-metrics {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.project-metrics div {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--muted);
}

.project-metrics strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 1rem;
  transition: gap 0.3s ease;
}

.project-link:hover {
  gap: 0.75rem;
}

/* Skills Section */
.skills-container {
  max-width: 800px;
  margin: 2rem auto 0;
}

.skill-item {
  margin-bottom: 1.5rem;
}

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

.skill-name {
  font-weight: 500;
  color: var(--text);
}

.skill-percent {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  color: var(--accent);
}

.skill-bar {
  height: 8px;
  background: var(--bg-elev);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #1a9f7a 100%);
  border-radius: 999px;
  transition: width 1s ease-out;
  box-shadow: 0 0 10px rgba(41, 241, 195, 0.5);
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 2rem auto 0;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px var(--panel);
}

.timeline-content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.timeline-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  margin: 0 0 0.25rem 0;
  color: var(--text);
  font-size: 1.1rem;
}

.timeline-company {
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 0.75rem 0;
}

.timeline-desc {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.contact-item p,
.contact-item a {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.contact-item a {
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 241, 195, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #1a9f7a 100%);
  border: none;
  border-radius: 8px;
  color: #0a0d12;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(41, 241, 195, 0.3);
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

/* Honeypot field - hide from users but visible to bots */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status.sending {
  background: rgba(255, 176, 32, 0.1);
  color: var(--warning);
  border: 1px solid rgba(255, 176, 32, 0.3);
}

.form-status.success {
  background: rgba(41, 241, 195, 0.1);
  color: var(--accent);
  border: 1px solid rgba(41, 241, 195, 0.3);
}

.form-status.error {
  background: rgba(255, 77, 77, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 77, 0.3);
}

/* Responsive Updates */
@media (max-width: 968px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-marker {
    left: -1.5rem;
  }
}

@media (max-width: 768px) {
  .project-metrics {
    flex-direction: column;
    gap: 0.75rem;
  }

  .skills-container {
    padding: 0 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}