/* ── RESET & TOKENS ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #07080c;
  --surface: #0d0f16;
  --card: #111420;
  --border: #1c1f2e;
  --js: #f7df1e;
  --js-dim: rgba(247, 223, 30, 0.11);
  --green: #34d57e;
  --amber: #f59e0b;
  --text: #e8eaf4;
  --sub: #8b8fa8;
  --muted: #454760;
  --r: 14px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(7, 8, 12, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-badge {
  width: 30px;
  height: 30px;
  background: var(--js);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  color: #07080c;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.brand-name span {
  color: var(--js);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.topbar-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sub);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}

.topbar-nav a:hover {
  color: var(--text);
  background: var(--card);
}

.topbar-nav a.active {
  color: var(--text);
}

.btn-hire {
  background: var(--js);
  color: #07080c;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.44rem 1rem;
  border-radius: 9px;
  transition:
    filter 0.2s,
    transform 0.2s;
  white-space: nowrap;
}

.btn-hire:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #07080c;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(247, 223, 30, 0.07) 0%, transparent 70%);
  top: -120px;
  left: -100px;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(52, 213, 126, 0.04) 0%, transparent 70%);
  top: 60px;
  right: 5%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--js-dim);
  border: 1px solid rgba(247, 223, 30, 0.22);
  color: var(--js);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--js);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 560px;
}

.hero-title .accent {
  color: var(--js);
}

.hero-sub {
  font-size: 0.93rem;
  color: var(--sub);
  line-height: 1.78;
  max-width: 420px;
  margin-top: 1.1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.8rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-num em {
  font-style: normal;
  color: var(--js);
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.28rem;
  font-weight: 500;
}

.projects-section {
  padding-bottom: 5rem;
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.sec-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--js);
  margin-bottom: 0.2rem;
}

.sec-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.count-badge {
  background: var(--js-dim);
  border: 1px solid rgba(247, 223, 30, 0.2);
  color: var(--js);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

.pcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.3s ease,
    border-color 0.3s,
    box-shadow 0.3s;
}

.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 223, 30, 0.2);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(247, 223, 30, 0.06);
}

.thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0c0d14;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  filter: brightness(0.78) saturate(1.1);
}

.pcard:hover .thumb img {
  transform: scale(1.06);
  filter: brightness(0.9) saturate(1.2);
}

.thumb-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 20, 32, 0.96) 0%,
    rgba(17, 20, 32, 0.15) 55%,
    transparent 100%
  );
}

.thumb-top {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  z-index: 2;
}

.badge-feat {
  background: var(--js);
  color: #07080c;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.badge-status {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  background: rgba(7, 8, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text);
}

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

.dot-live {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}

.dot-wip {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
}

.thumb-num {
  position: absolute;
  bottom: 0.8rem;
  left: 1rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.cbody {
  padding: 1.2rem 1.4rem 0.9rem;
  display: flex;
  flex-direction: column;
}

.ctop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.ccat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--js);
  background: var(--js-dim);
  border: 1px solid rgba(247, 223, 30, 0.14);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.cnum {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.ctitle {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.cdesc {
  font-size: 0.82rem;
  color: var(--sub);
  line-height: 1.72;
  flex: 1;
}

.ctags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.9rem;
}

.ctag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--sub);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  transition: border-color 0.2s;
}

.pcard:hover .ctag {
  border-color: #2a2d42;
}

.cactions {
  padding: 0.8rem 1.4rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.btn-live {
  background: var(--js);
  color: #07080c;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.58rem 0.9rem;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  transition:
    filter 0.2s,
    transform 0.2s;
}

.btn-live:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #07080c;
}

.btn-gh {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--sub);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.58rem 0.9rem;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
  white-space: nowrap;
}

.btn-gh:hover {
  border-color: #2a2d42;
  color: var(--text);
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 2rem;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.foot-copy strong {
  color: var(--sub);
}

.foot-socials {
  display: flex;
  gap: 0.4rem;
}

.foot-socials a {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.84rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.foot-socials a:hover {
  color: var(--js);
  border-color: rgba(247, 223, 30, 0.2);
  background: var(--js-dim);
}

.pcard-col {
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
}

.pcard-col:nth-child(1) {
  animation-delay: 0.05s;
}

.pcard-col:nth-child(2) {
  animation-delay: 0.12s;
}

.pcard-col:nth-child(3) {
  animation-delay: 0.19s;
}

.pcard-col:nth-child(4) {
  animation-delay: 0.26s;
}

.pcard-col:nth-child(5) {
  animation-delay: 0.33s;
}

.pcard-col:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .topbar-nav {
    display: none;
  }

  .topbar-right {
    display: none;
  }

  .topbar {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .projects-section {
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.2rem;
  }

  .stat-num {
    font-size: 1.5rem;
  }
  .cactions {
    grid-template-columns: 1fr;
  }
  .btn-gh {
    justify-content: center;
  }
}
