/* Cloud Loading Screen */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
  overflow: hidden;
}

[data-theme="dark"] .loader-wrapper {
  background: rgba(15, 23, 42, 0.95);
}

.loader-wrapper.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cloud-container {
  position: relative;
  width: 150px;
  height: 100px;
}

.cloud {
  width: 100px;
  height: 40px;
  background: #54B9EE;
  border-radius: 50px;
  position: absolute;
  top: 20px;
  left: 25px;
  animation: cloudFloat 3s ease-in-out infinite;
}

[data-theme="dark"] .cloud {
  background: #a87dbd;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: #54B9EE;
  border-radius: 50%;
}

[data-theme="dark"] .cloud::before,
[data-theme="dark"] .cloud::after {
  background: #a87dbd;
}

.cloud::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 10px;
}

.cloud::after {
  width: 60px;
  height: 40px;
  top: -20px;
  right: 10px;
}

.rain {
  position: absolute;
  width: 2px;
  height: 15px;
  background: #54B9EE;
  bottom: 0;
  animation: rainFall 1s linear infinite;
}

[data-theme="dark"] .rain {
  background: #54B9EE;
}

.rain:nth-child(2) { left: 40px; animation-delay: 0.2s; }
.rain:nth-child(3) { left: 60px; animation-delay: 0.4s; }
.rain:nth-child(4) { left: 80px; animation-delay: 0.6s; }
.rain:nth-child(5) { left: 100px; animation-delay: 0.8s; }

@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rainFall {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

[data-theme="dark"] .hero__visual {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .social-icon {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .social-icon:hover {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #ffffff;
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] body {
  background: #0f172a;
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(129, 140, 248, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(129, 140, 248, 0.1) inset;
}

[data-theme="dark"] .card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .pillar,
[data-theme="dark"] .skill-card,
[data-theme="dark"] .about-skill-card,
[data-theme="dark"] .stat-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .pillar:hover,
[data-theme="dark"] .skill-card:hover,
[data-theme="dark"] .about-skill-card:hover,
[data-theme="dark"] .stat-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .hero__title {
  color: #f1f5f9;
}

[data-theme="dark"] .section-badge {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(167, 139, 250, 0.15));
  color: #93c5fd;
}

[data-theme="dark"] .roadmap {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(167, 139, 250, 0.08));
}

[data-theme="dark"] .cta-panel {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid rgba(96, 165, 250, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(96, 165, 250, 0.1);
}

[data-theme="dark"] .section-badge--light {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .cta-panel .section-title {
  color: #f1f5f9;
}

[data-theme="dark"] .cta-panel__text {
  color: #cbd5e1;
}

[data-theme="dark"] .cta-panel::before {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15), transparent 70%);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-soft);
}

.theme-toggle:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  color: #ffffff;
}

[data-theme="dark"] .theme-toggle {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.theme-icon {
  position: absolute;
  transition: all 300ms ease;
}

.theme-icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon--moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-icon--sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .theme-icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

body > * {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: "";
  position: fixed;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite;
  z-index: -1;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-30px, 30px, 0) scale(1.05); }
}

.main {
  width: min(1080px, 92%);
  margin: 0 auto;
  padding: 0 0 60px;
  position: relative;
  z-index: 1;
}

.footer {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.header {
  padding: 32px 0 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: padding 300ms ease, background 300ms ease, box-shadow 300ms ease, border-bottom 300ms ease;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  will-change: auto;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  box-shadow: 0 8px 32px rgba(122, 60, 150, 0.15), 0 1px 0 rgba(122, 60, 150, 0.1) inset;
  border-bottom: 1px solid rgba(122, 60, 150, 0.2);
}

[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header__container {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: justify-content 500ms ease;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.header.scrolled .header__container {
  justify-content: center;
}





.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: none;
  text-decoration: none;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.beta-badge-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
  z-index: 9998;
  transition: opacity 300ms ease;
  animation: fadeInBadge 0.6s ease 0.5s backwards;
  opacity: 0.35;
}

.beta-badge-fixed:hover {
  opacity: 0.65;
}

[data-theme="dark"] .beta-badge-fixed {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.03);
  color: #64748b;
}

[data-theme="dark"] .beta-badge-fixed:hover {
  opacity: 0.65;
}

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

.header.scrolled .brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}



.brand__logo {
  width: 550px;
  height: 110px;
  display: block;
  object-fit: contain;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.brand__logo--dark {
  display: none;
}

[data-theme="dark"] .brand__logo--light {
  display: none;
}

[data-theme="dark"] .brand__logo--dark {
  display: block;
}

.header.scrolled .brand__logo {
  width: 350px;
  height: 70px;
  animation: logoShrink 0.5s ease-out;
}

.brand__logo:hover {
  transform: scale(1.03) rotate(-1deg);
}

@keyframes logoShrink {
  0% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.header.scrolled .header__actions {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(-10px);
  pointer-events: none;
  transition: all 400ms cubic-bezier(0.4, 0, 1, 1);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.social-icon:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  color: #ffffff;
}

[data-theme="dark"] .social-icon {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="dark"] .social-icon:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.social-icon svg {
  flex-shrink: 0;
}

.social-icon:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

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

@media (max-width: 968px) {
  .brand__logo {
    width: 350px;
    height: 70px;
  }

  .header.scrolled .brand__logo {
    width: 260px;
    height: 52px;
  }
}

@media (max-width: 768px) {
  .beta-badge-fixed {
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    font-size: 0.6rem;
    border-radius: 4px;
    transition: opacity 300ms ease, transform 300ms ease;
  }

  .beta-badge-fixed.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .beta-badge-fixed:hover {
    transform: scale(1.05);
  }

  .header {
    padding: 8px 0;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .header.scrolled {
    padding: 6px 0;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .header__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .header.scrolled .header__container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
  }

  .brand {
    order: 0;
    position: static !important;
    transform: none !important;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header.scrolled .brand {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0;
  }

  .header__actions {
    display: flex;
    order: 1;
    gap: 12px;
  }

  .header__actions .cta--primary {
    display: none;
  }

  .header.scrolled .header__actions {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(-10px);
    pointer-events: none;
  }

  .header__actions .cta--primary {
    display: none;
  }

  .brand__logo {
    width: 340px;
    height: 68px;
  }

  .header.scrolled .brand__logo {
    width: 280px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 16px 0;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .header.scrolled {
    padding: 10px 0;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .header__container {
    gap: 12px;
  }

  .brand__logo {
    width: 380px;
    height: 76px;
  }

  .header.scrolled .brand__logo {
    width: 300px;
    height: 60px;
  }
}



.brand__text {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  color: var(--text-primary);
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 8px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 150ms ease;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  position: relative;
  min-height: 44px;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.cta:active::after {
  opacity: 1;
  animation: ripple 600ms ease-out;
}

@keyframes ripple {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

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

.cta:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.cta--primary {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid #0f172a;
  border-radius: 8px;
  box-shadow: none;
  transition: all 150ms ease;
  letter-spacing: -0.01em;
}

.cta--primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(0);
  box-shadow: none;
}

.cta--primary:active {
  transform: scale(0.98);
}

[data-theme="dark"] .cta--primary {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

[data-theme="dark"] .cta--primary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.cta--secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta--secondary:hover,
.cta--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.cta--large {
  padding: 14px 32px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.cta--large svg {
  transition: transform 300ms ease;
}

.cta--large:hover svg {
  transform: translateX(4px);
}

.hero {
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero__content {
  text-align: center;
  display: grid;
  gap: 20px;
  justify-items: center;
  animation: fadeInUp 800ms ease-out;
}

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

.hero__beta-badge {
  padding: 6px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15));
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  margin-bottom: 32px;
  display: inline-block;
}



.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass-elevated);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  box-shadow: var(--shadow-glass), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: var(--shadow-glow), 0 15px 45px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
  background: var(--bg-glass-elevated);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 400ms ease;
}

.card:hover::before {
  opacity: 1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--accent-soft), rgba(102, 126, 234, 0.05) 42%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.hero__title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero__title-emphasis {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  display: block;
  margin: -2px 0 0 0;
  line-height: 1;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 0 32px 0;
  max-width: 42ch;
  line-height: 1.65;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero__actions .cta--secondary {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.25);
  color: var(--brand);
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero__actions .cta--secondary:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.hero__status {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.newsletter-section {
  padding: clamp(80px, 10vw, 120px) 0;
  scroll-margin-top: 100px;
}

.newsletter {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.08));
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.1);
  max-width: 650px;
  margin: 0 auto;
}

.newsletter__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.15));
  border-radius: 50%;
  color: var(--brand);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.newsletter__title {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.newsletter__description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 28px 0;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter__input-group {
  display: flex;
  gap: 8px;
  background: var(--bg-elevated);
  padding: 6px;
  border-radius: 999px;
  border: 2px solid rgba(59, 130, 246, 0.15);
  transition: all 300ms ease;
}

.newsletter__input-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.newsletter__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

.newsletter__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 300ms ease;
  white-space: nowrap;
}

.newsletter__button:hover {
  transform: translateX(2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.newsletter__button svg {
  transition: transform 300ms ease;
}

.newsletter__button:hover svg {
  transform: translateX(4px);
}

.newsletter__privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.newsletter__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  color: var(--success);
  font-weight: 500;
  animation: successSlide 0.5s ease-out;
}

.newsletter__success svg {
  flex-shrink: 0;
}

.newsletter__success p {
  margin: 0;
}

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

@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
  }

  .newsletter {
    padding: 32px 24px;
  }

  .newsletter__input-group {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

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

@media (max-width: 480px) {
  .newsletter__title {
    font-size: 1.5rem;
  }

  .newsletter__description {
    font-size: 0.95rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 32px;
  }
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .section-badge {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(167, 139, 250, 0.12));
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.25);
}

.section-badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin: 16px auto 0;
  line-height: 1.7;
}

.pillars {
  padding: clamp(80px, 10vw, 120px) 0;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .pillars {
    padding: 48px 0;
  }
}

.skills {
  padding: clamp(80px, 10vw, 110px) 0;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .skills {
    padding: 48px 0;
  }
}

.skills__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.skill-card {
  background: var(--bg-elevated);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(59, 130, 246, 0.05));
}

.skill-card__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 300ms ease;
}

.skill-card__icon i {
  font-size: 20px;
  transition: all 300ms ease;
}

.skill-card:hover .skill-card__icon {
  transform: scale(1.05);
}

.skill-card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: all 300ms ease;
}

.projects {
  padding: clamp(90px, 12vw, 130px) 0;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .projects {
    padding: 50px 0;
  }
}

.projects__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  margin-bottom: 48px;
}

.project-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-primary), var(--shadow-glow);
  background: var(--bg-elevated);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover::after {
  opacity: 1;
}

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

.project-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.project-card__icon i {
  font-size: 28px !important;
  transition: all 300ms ease;
}

.project-card:hover .project-card__icon {
  transform: translateY(-2px);
  background: var(--brand-gradient);
  border-color: var(--brand);
  box-shadow: var(--shadow-primary);
}

.project-card:hover .project-card__icon i {
  color: #ffffff;
  transform: scale(1.05);
}

.project-card__tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card__title {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.project-card__description {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.project-card__tech span {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: all 300ms ease;
  margin-top: 0;
  position: relative;
}

.project-card__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 300ms ease;
}

.project-card__link svg {
  transition: transform 300ms ease;
}

.project-card__link:hover {
  gap: 10px;
  color: var(--accent);
}

.project-card__link:hover::after {
  width: calc(100% - 26px);
}

.project-card__link:hover svg {
  transform: translateX(4px);
}

.project-card {
  animation: cardSlideIn 600ms ease-out backwards;
}

.project-card:nth-child(1) { animation-delay: 100ms; }
.project-card:nth-child(2) { animation-delay: 200ms; }
.project-card:nth-child(3) { animation-delay: 300ms; }
.project-card:nth-child(4) { animation-delay: 400ms; }
.project-card:nth-child(5) { animation-delay: 500ms; }
.project-card:nth-child(6) { animation-delay: 600ms; }

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

.projects__cta {
  text-align: center;
  padding-top: 24px;
  border-top: 2px solid rgba(59, 130, 246, 0.1);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.projects__cta .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
  border: 2px solid rgba(59, 130, 246, 0.25);
  color: var(--brand);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 300ms ease;
}

.projects__cta .cta:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.15));
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.2);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 300ms ease;
  margin-top: 40px;
  transform: scale(0.95);
  grid-column: 1 / -1;
  justify-self: center;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scroll-indicator__arrow {
  color: var(--brand);
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 8px, 0);
  }
}



.pillars__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.pillar {
  background: var(--bg-elevated);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(59, 130, 246, 0.12);
  display: grid;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .pillar {
    padding: 24px;
    gap: 16px;
  }

  .pillar h3 {
    font-size: 1.1rem;
  }

  .pillar p {
    font-size: 0.95rem;
  }
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--secondary));
  transform: scaleX(0);
  transition: transform 400ms ease;
}

.pillar:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  transition: all 300ms ease;
  color: var(--brand);
}

.pillar:hover .pillar__icon {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.2);
}

.pillar__icon i {
  font-size: 32px;
}

.pillar h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.roadmap {
  padding: clamp(60px, 9vw, 100px) 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: var(--radius-lg);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .roadmap {
    padding: 48px 20px;
  }
}

.roadmap__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  position: relative;
}

.roadmap__timeline::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 999px;
}

.roadmap__timeline li {
  padding-left: 48px;
  position: relative;
  transition: all 300ms ease;
}

.roadmap__timeline li:hover {
  transform: translateX(8px);
}

.roadmap__timeline li p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.roadmap__timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  transition: all 300ms ease;
}

.roadmap__timeline li:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.25);
}

.roadmap__label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  font-weight: 700;
}

.cta-panel {
  padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 64px);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 40%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin: clamp(48px, 6vw, 80px) 0;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
  .cta-panel {
    padding: 40px 24px;
    margin: 40px 0;
  }
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-panel__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.cta-panel .section-title {
  color: #ffffff;
}

.cta-panel__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
}



.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.cta-panel__actions .cta {
  min-width: 200px;
}

.footer {
  padding: 48px 0 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border-top: 1px solid var(--border-glass);
  margin-top: 60px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  text-align: center;
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__copyright {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer__credit {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__brand {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: all 300ms ease;
}

.footer__brand:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__author {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 300ms ease;
  position: relative;
}

.footer__author::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 300ms ease;
}

.footer__author:hover {
  color: var(--brand);
}

.footer__author:hover::after {
  width: 100%;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 12px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 300ms ease;
  position: relative;
}

.footer__links a::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 300ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--brand);
}

.footer__links a:hover::before {
  width: 100%;
}

.footer__version {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  text-align: center;
}

.footer__version span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

@media (max-width: 768px) {
  .footer {
    padding: 32px 0 32px;
  }

  .footer__links {
    gap: 16px;
  }
}

.nebula {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.38;
  will-change: transform;
  animation: drift 30s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
}

.orb--one {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
  top: -150px;
  left: -120px;
}

.orb--two {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
  bottom: -140px;
  right: -120px;
  animation-duration: 32s;
}

.orb--three {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06), transparent 70%);
  top: 40%;
  right: 20%;
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(40px, -20px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-shimmer {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  background-size: 1000px 100%;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 99999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 100ms ease-out;
  box-shadow: 0 0 15px var(--accent-glow);
  will-change: transform;
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.back-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-animate]:nth-child(1) { transition-delay: 0ms; }
[data-animate]:nth-child(2) { transition-delay: 100ms; }
[data-animate]:nth-child(3) { transition-delay: 200ms; }
[data-animate]:nth-child(4) { transition-delay: 300ms; }

@media (max-width: 768px) {
  .project-card {
    padding: 20px;
    gap: 14px;
  }

  .project-card__header {
    margin-bottom: 4px;
  }

  .project-card__icon {
    width: 50px;
    height: 50px;
  }

  .project-card__icon i {
    font-size: 24px !important;
  }

  .project-card__title {
    font-size: 1.1rem;
  }

  .project-card__description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero {
    padding: 24px 0;
  }

  .hero__content {
    gap: 16px;
  }

  .hero__title {
    margin-bottom: 8px;
  }

  .hero__subtitle {
    margin-bottom: 8px;
  }

  .hero__actions {
    margin-top: 8px;
  }

  .cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-panel__actions .cta {
    width: 100%;
    min-width: auto;
    padding: 14px 28px;
    font-size: 1rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-wrapper {
    padding: 24px;
  }
}

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

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

  .cta-panel {
    padding: 40px 24px;
  }

  .cta-panel__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-panel__actions .cta {
    width: 100%;
    justify-content: center;
  }
}



  .hero__logo-frame {
    width: clamp(200px, 72vw, 300px);
    padding: clamp(24px, 8vw, 36px);
  }

  .hero__tagline {
    font-size: clamp(1.2rem, 4.2vw, 1.6rem);
  }
}

@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
  .card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
  }
}


/* About Section */
.about-section {
  padding: clamp(70px, 10vw, 110px) 0;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .about-section {
    padding: 50px 0;
  }
}

.about {
  max-width: 900px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: var(--bg-elevated);
  border: 2px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transition: transform 400ms ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 28px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  transition: all 300ms ease;
}

.stat-card:hover .stat-card__icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  border-color: rgba(59, 130, 246, 0.4);
}

.stat-card__value {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-card__label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-skill-card {
  background: var(--bg-glass-elevated);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.about-skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.about-skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.about-skill-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow), 0 16px 40px rgba(0, 0, 0, 0.1);
}

.about-skill-card:hover::before {
  transform: scaleX(1);
}

.about-skill-card:hover::after {
  opacity: 1;
}

.about-skill-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.about-skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 22px;
  flex-shrink: 0;
}

.about-skill-icon--secondary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(139, 92, 246, 0.15));
  color: var(--secondary);
}

.about-skill-header h4 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.about-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-skill-tags span {
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 300ms ease;
}

.about-skill-tags span:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .about-skill-card {
    padding: 24px;
  }

  .about-skill-header {
    margin-bottom: 16px;
  }

  .about-skill-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .about-skill-tags span {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-card {
    padding: 20px 14px;
  }

  .stat-card__icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .stat-card__value {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}



/* Better Card Designs */
.project-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.pillar {
  background: var(--bg-elevated);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.pillar:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.skill-card {
  background: var(--bg-elevated);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.skill-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  background: rgba(59, 130, 246, 0.03);
}

.about-skill-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.about-skill-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

/* Achievements Section - New Design */
.achievements {
  padding: clamp(80px, 10vw, 120px) 0;
  scroll-margin-top: 100px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.achievement-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  text-align: center;
}

.achievement-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.achievement-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 28px;
}

.achievement-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.achievement-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section - New Design */
.cta-section {
  padding: clamp(60px, 8vw, 80px) 0;
  margin: clamp(60px, 8vw, 80px) 0;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: 20px;
  padding: clamp(48px, 6vw, 64px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
}

.cta-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .cta--secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.cta-section .cta--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .cta {
    width: 100%;
  }
}

/* Creative Achievements Design */
.achievement-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.achievement-card:hover::before {
  transform: scaleY(1);
}

.achievement-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.achievement-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.08);
  line-height: 1;
  transition: all 0.4s ease;
}

.achievement-card:hover .achievement-number {
  color: rgba(59, 130, 246, 0.15);
  transform: scale(1.1);
}

.achievement-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 24px 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 32px;
  transition: all 0.4s ease;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.achievement-card:hover .achievement-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.05) rotate(-5deg);
}

.achievement-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.achievement-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

[data-theme="dark"] .achievement-number {
  color: rgba(96, 165, 250, 0.1);
}

[data-theme="dark"] .achievement-card:hover .achievement-number {
  color: rgba(96, 165, 250, 0.2);
}

@media (max-width: 768px) {
  .achievement-card {
    padding: 32px 24px;
  }

  .achievement-number {
    font-size: 2.5rem;
    top: 20px;
    right: 20px;
  }

  .achievement-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
}
/* Hero Section - Centered Typing Animation */
.hero {
  text-align: center;
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  margin-bottom: 48px;
  color: var(--text-primary);
}

[data-theme="dark"] .status-wrap {
  background: var(--bg-elevated);
  border-color: var(--border);
}

#hero-status-symbol {
  font-size: 1.125rem;
  color: var(--brand);
}

[data-theme="dark"] #hero-status-symbol {
  color: #a87dbd;
}

#hero-status-text {
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="dark"] #hero-status-text {
  color: var(--text-primary);
}

.heading-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 24px;
}

.heading-wrap h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-strong);
  line-height: 1.3;
  margin: 0;
}

.hero-caret {
  color: var(--brand);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  animation: heroCaretBlink 1.5s ease-in-out infinite;
  display: flex;
  align-items: center;
}

.hero-caret svg {
  width: 1em;
  height: 1em;
}

#hero-typed-word {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 2.5rem auto 2.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  word-spacing: 0.3em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-badge:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-primary);
  background: var(--bg-highlight);
}

.hero-badge i {
  color: var(--brand);
  font-size: 1.1rem;
  transition: all 300ms ease;
}

.hero-badge:hover i {
  transform: scale(1.05);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-actions .cta--secondary {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  color: var(--brand);
}

.hero-actions .cta--secondary:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

[data-theme="dark"] .hero-actions .cta--secondary {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.4);
}

[data-theme="dark"] .hero-actions .cta--secondary:hover {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.6);
}

@keyframes heroCaretBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .heading-wrap {
    flex-direction: column !important;
<<<<<<< HEAD
    gap: 0.75rem !important;
=======
    gap: 0.5rem !important;
>>>>>>> 9d89ec4 (update header v4.3.3 beta)
    justify-content: center;
    align-items: center !important;
  }
  
  .heading-wrap h1:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .heading-wrap h1:first-child::after {
    content: '›';
    color: #a87dbd;
<<<<<<< HEAD
    font-size: 1em;
=======
>>>>>>> 9d89ec4 (update header v4.3.3 beta)
  }
  
  .heading-wrap .hero-caret {
    display: none !important;
  }
  
  .heading-wrap #hero-typed-word {
    text-align: center;
  }

  .hero {
    padding: clamp(3rem, 8vh, 6rem) 0;
  }

  .status-wrap {
    font-size: 0.8rem;
    padding: 8px 18px;
    margin-bottom: 36px;
  }

  .hero-description {
    font-size: 1.05rem;
    margin: 2.5rem auto 2rem;
    padding: 0 20px;
  }

  .hero-badges {
    gap: 10px;
    margin-bottom: 2rem;
    padding: 0 10px;
  }

  .hero-badge {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .hero-actions {
    padding: 0 20px;
    width: 100%;
  }

  .hero-actions .cta {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 0 16px;
  }

  .heading-wrap {
    gap: 0.4rem !important;
  }

  .heading-wrap h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-caret {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  #hero-typed-word {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-badge {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    padding: 0 16px;
  }

  .hero-actions .cta {
    width: 100%;
  }
}
/* Make entire project card clickable */
.project-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.project-card .project-card__link {
  pointer-events: none;
}

/* Project filter animations */
.project-card.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

.project-card.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
  animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Filter buttons */
.projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  padding: 20px;
  background: rgba(59, 130, 246, 0.04);
  border-radius: 16px;
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.filter-btn {
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 300ms ease;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

/* Make tech stack cards clickable */
.skill-card {
  cursor: pointer;
  transition: all 300ms ease;
}

.skill-card:active {
  transform: translateY(-2px) scale(0.98);
}


