:root {
  --bg-hero: #091a2e;
  --bg-body: #091a2e;
  --bg-muted: #0c2337;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #93c5fd, #60a5fa);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

#navbar-container {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: rgba(9, 26, 46, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.08);
}

.navbar-minimal {
  background-color: transparent !important;
  border-bottom: none !important;
}

.navbar-minimal .navbar-brand {
  color: var(--text-main);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.navbar-minimal .navbar-nav .nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: lowercase;
}

.navbar-minimal .navbar-nav .nav-link.active,
.navbar-minimal .navbar-nav .nav-link:hover {
  color: var(--text-main);
}

/* Custom Navbar Toggler */
.navbar-toggler {
  border: none !important;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent !important;
  box-shadow: none !important;
}

.toggler-icon {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  display: block;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.navbar-toggler:not(.collapsed) .top-bar {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .middle-bar {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .bottom-bar {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(9, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 231, 235, 0.1);
    border-radius: 20px;
    margin-top: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem !important;
    padding: 0.75rem 0;
  }
}

.hero-section {
  background-color: var(--bg-hero);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 10rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.98rem;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(3.1rem, 7.4vw, 4.4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(229, 231, 235, 0.9);
  margin-bottom: 1.75rem;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
}

.hero-typing-text {
  display: inline-block;
}

.hero-caret {
  display: inline-block;
  margin-left: 2px;
  animation: hero-caret-blink 1s steps(1, end) infinite;
}

@keyframes hero-caret-blink {

  0%,
  50% {
    opacity: 1;
  }

  50.01%,
  100% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn-lg {
  border-radius: 999px;
  padding-inline: 2.2rem;
  font-size: 1.02rem;
}

.hero-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(229, 231, 235, 0.8);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.hero-social-btn:hover,
.hero-social-btn:focus-visible {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #34d399;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: inherit;
  border-radius: inherit;
  animation: status-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.status-time {
  color: rgba(229, 231, 235, 0.6);
  font-family: "Roboto Mono", monospace;
  margin-left: 0.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-copy {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-fade-up 0.6s ease-out forwards;
}

.hero-stack-wrapper {
  width: 100%;
  max-width: 30rem;
  perspective: 1200px;
}

.project-stack {
  position: relative;
  width: 100%;
  height: 400px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.stack-card {
  position: absolute;
  width: 280px;
  height: 180px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-ui {
  z-index: 3;
  transform: translateZ(60px) rotateY(-15deg);
  left: 20%;
  top: 55%;
}

.card-backend {
  z-index: 2;
  transform: translateZ(20px) rotateY(-10deg);
  left: 10%;
  top: 30%;
}

.card-ai {
  z-index: 1;
  transform: translateZ(-20px) rotateY(-5deg);
  left: 0;
  top: 5%;
}

.project-stack:hover .card-ui { transform: translateZ(100px) translateY(-10px) rotateY(-10deg); }
.project-stack:hover .card-backend { transform: translateZ(50px) translateY(-5px) rotateY(-5deg); }
.project-stack:hover .card-ai { transform: translateZ(10px) rotateY(0deg); }

/* Mini Content Styles */
.card-header-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: #93c5fd;
}

.node-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
  animation: mini-pulse 1.5s infinite;
}

@keyframes mini-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.card-content-mini {
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  color: rgba(229, 231, 235, 0.7);
  line-height: 1.4;
}

.ai-thought {
  background: rgba(147, 197, 253, 0.1);
  border-left: 2px solid #93c5fd;
  padding: 0.4rem 0.6rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.ai-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #34d399;
}

.ai-result {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.code-snippet {
  display: block;
  color: #93c5fd;
  font-size: 0.65rem;
  line-height: 1.5;
}

.task-line {
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.6rem;
}

.t-ok { color: #34d399; }
.t-wait { color: #fbbf24; animation: blink 1s infinite; }

@keyframes blink {
  50% { opacity: 0.5; }
}

/* Contact Section V2 Refined */
.contact-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(147, 197, 253, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #93c5fd;
  font-weight: 600;
}

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

.method-item-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  padding-left: 1rem;
}

.method-item-v2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(147, 197, 253, 0.2);
}

.method-label-v2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.method-value-v2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: all 0.2s;
  cursor: pointer;
}

.method-value-v2:hover {
  color: #93c5fd;
  transform: translateX(4px);
}

.contact-glass-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 28px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Subtle grid pattern inside the card */
.contact-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(147, 197, 253, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
  opacity: 0.5;
}

.form-group-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group-v2 label {
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group-v2 input,
.form-group-v2 textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.form-group-v2 input:focus,
.form-group-v2 textarea:focus {
  outline: none;
  background: rgba(147, 197, 253, 0.04);
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.08), 
              inset 0 0 10px rgba(147, 197, 253, 0.05);
  transform: translateY(-2px);
}

.form-group-v2 input::placeholder,
.form-group-v2 textarea::placeholder {
  color: rgba(156, 163, 175, 0.4);
}

.contact-btn-v2 {
  width: 100%;
  background: rgba(147, 197, 253, 0.05);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 12px;
  padding: 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1rem;
  cursor: pointer;
}

.contact-btn-v2:hover {
  background: rgba(147, 197, 253, 0.15);
  border-color: #93c5fd;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact-glass-card {
    padding: 2rem;
  }
}

.fs-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.fs-ui {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.65rem;
}

.fs-ui span {
  background: #93c5fd;
  color: #0f172a;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 0.4rem;
}

.fs-api {
  font-size: 0.6rem;
  color: #34d399;
}

.task-line i {
  font-size: 0.85rem;
}

.t-wait { 
  display: inline-block;
  animation: rotate 2s linear infinite; 
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-runner {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: min(880px, 96vw);
  height: 90px;
  opacity: 0.8;
  overflow: hidden;
  pointer-events: none;
}

.hero-runner-track {
  position: absolute;
  inset-inline: 0;
  bottom: 18px;
  height: 2px;
  background: repeating-linear-gradient(to right,
      rgba(229, 231, 235, 0.4) 0,
      rgba(229, 231, 235, 0.4) 24px,
      rgba(229, 231, 235, 0.12) 24px,
      rgba(229, 231, 235, 0.12) 48px);
  animation: hero-ground-scroll 1.9s linear infinite;
}

.hero-runner-trees {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero-runner-tree {
  position: absolute;
  bottom: 18px;
  left: 100%;
  width: calc(14px * var(--scale, 1));
  height: calc(36px * var(--scale, 1));
  border-radius: 999px 999px 4px 4px;
  background: rgba(147, 197, 253, 0.45);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.8);
  opacity: 0.9;
  animation-name: hero-tree-move;
  animation-duration: 8.8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

.hero-runner-char {
  position: absolute;
  bottom: 22px;
  left: 18%;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(147, 197, 253, 0.5);
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.25);
  animation: hero-runner-hop 0.9s ease-in-out infinite;
}

@keyframes hero-ground-scroll {
  from {
    background-position: 0 0;
  }

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

@keyframes hero-tree-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-200vw);
  }
}

@keyframes hero-runner-hop {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

  .hero-terminal-wrapper {
    justify-content: flex-start;
    padding-left: 0;
    padding-bottom: 2.5rem;
  }

  .hero-inner {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .hero-copy {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-top: 0.25rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-muted {
  background-color: var(--bg-muted);
}

.section-dark {
  background-color: var(--bg-hero);
  color: #e5e7eb;
}

.section-dark .section-title {
  color: rgba(229, 231, 235, 0.7);
}

.section-title {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.section-text {
  max-width: 40rem;
  color: var(--text-main);
}

.about-text {
  text-align: justify;
}

.about-typing-text {
  display: inline-block;
}

.about-caret {
  display: inline-block;
  margin-left: 2px;
  animation: hero-caret-blink 1s steps(1, end) infinite;
}

/* About Section Simplified */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pillar-number {
  font-family: "Roboto Mono", monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: #93c5fd;
  opacity: 0.5;
  margin-top: 0.2rem;
}

.pillar-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.pillar-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.about-image-stack {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.stack-frame {
  position: absolute;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #0f172a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-frame {
  width: 280px;
  height: 380px;
  z-index: 3;
  transform: rotate(-2deg);
}

.accent-frame-1 {
  width: 200px;
  height: 240px;
  z-index: 2;
  top: 10%;
  right: 5%;
  transform: rotate(6deg) translateZ(-50px);
  opacity: 0.8;
}

.accent-frame-2 {
  width: 180px;
  height: 180px;
  z-index: 1;
  bottom: 15%;
  left: 5%;
  transform: rotate(-8deg) translateZ(-100px);
  opacity: 0.6;
}

.about-image-stack:hover .main-frame { transform: rotate(0) scale(1.05); }
.about-image-stack:hover .accent-frame-1 { transform: rotate(10deg) translate(20px, -20px) translateZ(-20px); opacity: 1; }
.about-image-stack:hover .accent-frame-2 { transform: rotate(-12deg) translate(-20px, 20px) translateZ(-50px); opacity: 0.9; }

.frame-tag {
  position: absolute;
  font-family: "Roboto Mono", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(15, 23, 42, 0.8);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  pointer-events: none;
}

.frame-tag.top-left { top: 1rem; left: 1rem; }
.frame-tag.bottom-right { bottom: 1rem; right: 1rem; }

.stack-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.15) 0%, transparent 70%);
  z-index: 0;
  filter: blur(40px);
  pointer-events: none;
}

@media (max-width: 992px) {
  .about-image-stack {
    height: 400px;
    margin-top: 2rem;
  }
  .main-frame { width: 220px; height: 300px; }
  .accent-frame-1 { width: 150px; height: 180px; }
  .accent-frame-2 { width: 130px; height: 130px; }
}

.footer-minimal {
  border-top: 1px solid rgba(229, 231, 235, 0.08);
  padding: 1.25rem 0;
  background-color: var(--bg-body);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-brand {
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--text-main);
}

/* --- Meta Features --- */

/* Under the Hood Button */
.under-the-hood-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 50%;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.under-the-hood-btn:hover {
  background: rgba(147, 197, 253, 0.1);
  color: #93c5fd;
  border-color: #93c5fd;
  transform: rotate(15deg) scale(1.1);
}

/* Technical Overlay */
.technical-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.technical-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  width: 100%;
  max-width: 800px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.technical-overlay.show .overlay-content {
  transform: scale(1);
}

.overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
}

.overlay-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #93c5fd;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.overlay-body h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.overlay-body pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.overlay-body code {
  font-family: "Roboto Mono", monospace;
  font-size: 0.9rem;
  color: #e2e8f0;
}

#overlay-description {
  color: #94a3b8;
  line-height: 1.6;
}

/* Skill Radar */
.radar-chart-container {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .work-log-widget, .under-the-hood-btn {
    display: none;
  }
}

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

.contact-wrap {
  display: grid;
  gap: 1.5rem;
  width: min(760px, 92vw);
  margin: 0 auto;
}

.contact-header .contact-subtitle {
  margin-top: 0.35rem;
  color: var(--text-main);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.contact-label {
  font-size: 0.9rem;
  color: rgba(229, 231, 235, 0.85);
}

.contact-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: transparent;
  color: #e5e7eb;
  padding: 0.75rem 0.85rem;
  resize: vertical;
  min-height: 44px;
}

.contact-input:focus {
  outline: 2px solid rgba(147, 197, 253, 0.6);
  outline-offset: 0;
  border-color: transparent;
}

.contact-submit {
  margin-top: 0.35rem;
  border: 1px solid rgba(147, 197, 253, 0.65);
  background: rgba(147, 197, 253, 0.12);
  color: #e5e7eb;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.9);
  background: rgba(147, 197, 253, 0.18);
}

.contact-hint {
  margin: 0;
  color: rgba(229, 231, 235, 0.65);
  font-size: 0.9rem;
}

/* Project Filters */
.project-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.3);
}

.filter-btn.active {
  background: rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.5);
  color: #93c5fd;
}

.project-card-v3.hide-filter {
  display: none !important;
}

@media (max-width: 992px) {
  .project-filters {
    justify-content: center;
  }
}

.projects-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.project-card-v3 {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 28px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  min-height: 380px;
}

.project-card-v3.featured {
  grid-column: span 2;
  min-height: 420px;
  background: linear-gradient(
    145deg,
    rgba(147, 197, 253, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-color: rgba(147, 197, 253, 0.15);
}

.project-card-v3:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-top-v3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.project-label-v3 {
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.4rem 0.8rem;
  background: rgba(147, 197, 253, 0.08);
  border-radius: 999px;
}

.project-name-v3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.featured .project-name-v3 {
  font-size: 2.25rem;
}

.project-desc-v3 {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(229, 231, 235, 0.7);
  margin-bottom: auto;
  max-width: 90%;
}

.project-bottom-v3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}

.project-tech-stack-v3 {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tech-pill-v3 {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-btn-v3 {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(147, 197, 253, 0.05);
  border: 1px solid rgba(147, 197, 253, 0.2);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.project-btn-v3:hover {
  background: rgba(147, 197, 253, 0.15);
  border-color: #93c5fd;
  color: #ffffff;
}

@media (max-width: 1200px) {
  .projects-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-bento {
    grid-template-columns: 1fr;
  }
  
  .project-card-v3.featured {
    grid-column: span 1;
  }
  
  .project-card-v3 {
    min-height: auto;
    padding: 2rem;
  }
}

.skill-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 20px;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
}

.skill-card:hover {
  background: rgba(147, 197, 253, 0.05);
  border-color: rgba(147, 197, 253, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 10px 40px -10px rgba(147, 197, 253, 0.25);
}

.skill-icon {
  font-size: 1.5rem;
  color: #93c5fd;
  margin-bottom: 1rem;
}

.skill-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.skill-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(147, 197, 253, 0.8);
  background: rgba(147, 197, 253, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}


/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(147, 197, 253, 0.15);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 3rem;
}

#back-to-top:hover {
  background: #93c5fd;
  color: #091a2e;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(147, 197, 253, 0.2);
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  visibility: hidden;
}

#toast-container.show {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

#toast-container i {
  color: #34d399;
}/* Global Mobile Responsiveness Audit */
@media (max-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .display-4 {
    font-size: 2.25rem !important;
  }

  .display-5 {
    font-size: 1.85rem !important;
  }

  /* Hero Section Mobile */
  .hero-inner {
    padding-top: 4rem;
    padding-bottom: 6rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stack-wrapper {
    margin-top: 3rem;
    height: 350px;
  }

  /* Expertise Section Mobile */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .radar-chart-container {
    height: 250px;
  }

  /* Projects Section Mobile */
  .project-grid {
    grid-template-columns: 1fr;
  }

  .filter-btns {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 1rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  /* Contact Section Mobile */
  .contact-glass-card {
    padding: 2rem 1.5rem;
  }

  .contact-meta-badge {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .status-badge {
    padding: 0.25rem 0.5rem !important;
  }
  
  .status-time {
    display: none;
  }
}
