/* ================================================================
   t9sy Portfolio — Premium Dark Theme
   ================================================================ */

/* ----------------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-primary:    #06060b;
  --bg-secondary:  #0c0c14;
  --bg-surface:    #10101c;
  --bg-card:       #13131f;
  --bg-elevated:   #181828;

  --accent-400:    #a78bfa;
  --accent-500:    #8b5cf6;
  --accent-600:    #7c3aed;
  --accent-700:    #6d28d9;

  --text-primary:  #e8eaf0;
  --text-secondary:#a1a5b7;
  --text-muted:    #5e6278;
  --text-accent:   var(--accent-400);

  --border-subtle: rgba(139, 92, 246, 0.08);
  --border-hover:  rgba(139, 92, 246, 0.25);
  --border-card:   rgba(255, 255, 255, 0.04);

  --glow:          rgba(139, 92, 246, 0.15);
  --glow-strong:   rgba(139, 92, 246, 0.3);

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent-600);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

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

/* ----------------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600), #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--accent-400);
}

.link-accent {
  color: var(--accent-400);
  transition: color 0.3s var(--ease);
}
.link-accent:hover {
  color: var(--accent-600);
  text-decoration: underline;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 40px var(--glow), inset 0 0 40px rgba(139, 92, 246, 0.02);
}

/* ----------------------------------------------------------------
   Reveal Animation
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   Cursor Glow
   ---------------------------------------------------------------- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}

/* ----------------------------------------------------------------
   Particle Canvas
   ---------------------------------------------------------------- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
}

.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  z-index: 1001;
}
.nav__logo-bracket {
  color: var(--accent-500);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  letter-spacing: 0.01em;
}
.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.nav__link--cta {
  background: var(--accent-600);
  color: #fff !important;
  padding: 8px 22px;
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--accent-500) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
  z-index: 1;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 40px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-hover);
  background: rgba(139, 92, 246, 0.06);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-400);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  min-height: 1.7em;
}
.typing-prefix {
  color: var(--accent-500);
  font-weight: 600;
}
.typing-cursor {
  color: var(--accent-400);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero__description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Stats */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
}
.hero__stat {
  text-align: center;
}
.hero__stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-400);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-400);
  border-radius: 3px;
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  font-family: inherit;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}
.btn--primary:hover {
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn--outline:hover {
  border-color: var(--accent-500);
  color: var(--accent-400);
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-2px);
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ----------------------------------------------------------------
   Section
   ---------------------------------------------------------------- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  z-index: 1;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--accent-400);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   About
   ---------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.about__card {
  padding: 32px 28px;
  text-align: center;
}
.about__card:hover {
  transform: translateY(-4px);
}
.about__card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.04));
  color: var(--accent-400);
}
.about__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.about__card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Bio */
.about__bio {
  padding: 36px;
}
.about__bio-content {
  display: flex;
  align-items: center;
  gap: 32px;
}
.about__bio-avatar {
  position: relative;
  flex-shrink: 0;
}
.about__bio-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-500);
  animation: spin-slow 8s linear infinite;
  border-top-color: transparent;
  border-left-color: transparent;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
.about__bio-avatar-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}
.about__bio-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about__bio-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about__bio-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   Skills
   ---------------------------------------------------------------- */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skills__category {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.skills__category:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px var(--glow);
}

.skills__category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.skills__category-title svg {
  color: var(--accent-400);
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  overflow: hidden;
  cursor: default;
}
.skill-tag::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
  transition: width 0.5s var(--ease);
}
.skill-tag:hover {
  color: var(--accent-400);
  border-color: var(--border-hover);
  background: rgba(139, 92, 246, 0.06);
}
.skill-tag:hover::before {
  width: 100%;
}

/* ----------------------------------------------------------------
   Projects
   ---------------------------------------------------------------- */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
}

.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  color: var(--accent-400);
}

.project-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge--dev {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.2);
}
.badge--live {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.badge--stars {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-400);
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.badge--fork {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
}
.badge--util {
  background: rgba(168, 162, 158, 0.1);
  color: #a8a29e;
  border: 1px solid rgba(168, 162, 158, 0.2);
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.project-card__description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.project-card__tech span {
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 500;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-400);
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.project-card__footer {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-card);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.project-card__link:hover {
  color: var(--accent-400);
}
.project-card__link svg {
  transition: transform 0.3s var(--ease);
}
.project-card__link:hover svg {
  transform: translateX(2px);
}

/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact__form {
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
  min-height: 140px;
}

.contact__status {
  margin-top: 16px;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.3s var(--ease);
}
.contact__status.success {
  padding: 12px;
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.contact__status.error {
  padding: 12px;
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.2);
}

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

.contact__info-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact__info-card:hover {
  transform: translateY(-2px);
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.04));
  color: var(--accent-400);
}

.contact__info-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact__info-card p,
.contact__info-card a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer__content {
  text-align: center;
}

.footer__logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer__social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.footer__social:hover {
  color: var(--accent-400);
  border-color: var(--accent-500);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 100px 24px 40px;
    background: rgba(6, 6, 11, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-subtle);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
  }
  .nav__links.open {
    transform: translateX(0);
  }
  .nav__link {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav__link--cta {
    text-align: center;
    margin-top: 12px;
  }

  .about__bio-content {
    flex-direction: column;
    text-align: center;
  }

  .hero__stats {
    flex-wrap: wrap;
  }

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

  .contact__form {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
}
