@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0b0f19;
  --surface: #131a2a;
  --surface-2: #1a2236;
  --border: rgba(224, 230, 240, 0.06);
  --border-h: rgba(92, 224, 210, 0.2);

  --mint: #5ce0d2;
  --mint-dim: rgba(92, 224, 210, 0.12);
  --coral: #e8845c;
  --coral-dim: rgba(232, 132, 92, 0.12);
  --lavender: #a78bfa;

  --text: #e0e6f0;
  --text-2: rgba(224, 230, 240, 0.6);
  --text-3: rgba(224, 230, 240, 0.3);

  --sans: 'Inter', -apple-system, sans-serif;
  --heading: 'Sora', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --r: 12px;
  --r-lg: 20px;
  --r-full: 9999px;
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: var(--mint);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--mint);
  border-radius: 5px;
}

.cur-dot {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 100000;
  transition: transform 0.08s ease;
  transform: translate(-50%, -50%);
}

.cur-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(92, 224, 210, 0.35);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}

.cur-ring.grow {
  width: 56px;
  height: 56px;
  border-color: rgba(92, 224, 210, 0.15);
  background: rgba(92, 224, 210, 0.04);
}

@media (pointer: coarse),
(max-width: 1024px) {

  .cur-dot,
  .cur-ring {
    display: none !important;
  }

  body {
    cursor: auto;
  }
}

@media (pointer: fine) and (min-width: 1025px) {
  body {
    cursor: none;
  }

  a,
  button,
  input,
  textarea {
    cursor: none;
  }
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  padding: 18px 0;
  transition: padding 0.3s, background 0.3s;
}

.nav.stuck {
  padding: 12px 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--mint);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
}

.logo span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-a {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

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

.nav-a.on {
  color: var(--mint);
  background: var(--mint-dim);
}

.nav-cta {
  margin-left: 8px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--mint);
  border-radius: var(--r-full);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: var(--bg);
}

.burger {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .burger {
    display: block;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: 72px 28px 28px;
    transition: right 0.3s ease;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-drawer.open {
    right: 0;
  }

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

  .nav-a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-cta {
    margin: 12px 0 0;
    text-align: center;
    display: block;
  }

  .drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-2);
    font-size: 22px;
    cursor: pointer;
  }

  .drawer-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
  }

  .drawer-bg.on {
    display: block;
  }
}

@media (min-width: 992px) {

  .drawer-close,
  .drawer-bg {
    display: none !important;
  }
}

.sec {
  padding: 100px 0;
}

.sec-alt {
  background: var(--surface);
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--mint-dim);
  color: var(--mint);
  border: 1px solid rgba(92, 224, 210, 0.12);
  margin-bottom: 16px;
}

.sec-title {
  font-family: var(--heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-sub {
  color: var(--text-2);
  font-size: 16px;
  max-width: 520px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 45%, rgba(92, 224, 210, 0.05), transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(232, 132, 92, 0.03), transparent 50%);
  pointer-events: none;
}

.hero-hi {
  font-size: 15px;
  font-weight: 500;
  color: var(--mint);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-hi .wave {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  15% {
    transform: rotate(14deg);
  }

  30% {
    transform: rotate(-8deg);
  }

  40% {
    transform: rotate(14deg);
  }

  50% {
    transform: rotate(-4deg);
  }

  60% {
    transform: rotate(10deg);
  }

  70% {
    transform: rotate(0deg);
  }
}

.hero-name {
  font-family: var(--heading);
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 8px;
}

.hero-role {
  font-family: var(--heading);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 20px;
}

.hero-role .hl {
  color: var(--mint);
}

.hero-bio {
  font-size: 16px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-social {
  display: flex;
  gap: 10px;
}

.social-pill {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 16px;
  transition: all 0.2s;
}

.social-pill:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.hero-aside {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  max-width: 420px;
  margin: 0 auto;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hero-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--lavender));
  display: grid;
  place-items: center;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--bg);
}

.hero-card-name {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 16px;
}

.hero-card-role {
  font-size: 13px;
  color: var(--text-3);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.quick-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.fact-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}

.fact strong {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-fill {
  background: var(--mint);
  color: var(--bg);
}

.btn-fill:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(92, 224, 210, 0.25);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 13px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text p strong {
  color: var(--text);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.hl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  text-align: center;
  transition: border-color 0.2s;
}

.hl-card:hover {
  border-color: var(--border-h);
}

.hl-val {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--mint);
}

.hl-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
}

.skill-chip:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}

.skill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-category {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
  margin-top: 32px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-category:first-of-type {
  margin-top: 0;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-h);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.project-links {
  display: flex;
  gap: 8px;
}

.project-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-size: 13px;
  transition: all 0.2s;
}

.project-link:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.project-title {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

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

.p-tag {
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 500;
  background: rgba(92, 224, 210, 0.08);
  color: var(--mint);
  border: 1px solid rgba(92, 224, 210, 0.1);
}

.resume-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.resume-text h3 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}

.resume-text p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 440px;
}

.resume-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.resume-hl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}

.resume-hl i {
  color: var(--mint);
  font-size: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}

.contact-info h4 {
  font-family: var(--heading);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 20px;
}

.contact-info>p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.c-item {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.c-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.c-item h6 {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.c-item p {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
}

.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}

.form-box h4 {
  font-family: var(--heading);
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 20px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-dim);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-done {
  display: none;
  text-align: center;
  padding: 24px;
}

.form-done.show {
  display: block;
}

.form-done-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint-dim);
  color: var(--mint);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin: 0 auto 14px;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-3);
}

.footer a {
  color: var(--mint);
}

.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--mint);
  border-radius: 10px;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--mint);
  color: var(--bg);
  transform: translateY(-2px);
}

.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

[data-d="1"] {
  transition-delay: 0.08s;
}

[data-d="2"] {
  transition-delay: 0.16s;
}

[data-d="3"] {
  transition-delay: 0.24s;
}

[data-d="4"] {
  transition-delay: 0.32s;
}

[data-d="5"] {
  transition-delay: 0.40s;
}

[data-d="6"] {
  transition-delay: 0.48s;
}

.line {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

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

  .hero {
    padding-top: 64px;
  }

  .hero-aside {
    margin-top: 40px;
  }

  .resume-box {
    padding: 28px;
    text-align: center;
  }

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

  .resume-highlights {
    justify-content: center;
  }
}

.learning-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  margin-left: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse-badge 2s ease-in-out infinite;
  vertical-align: middle;
}


@keyframes pulse-badge {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.skill-chip.learning {
  opacity: 0.7;
  border-style: dashed;
  position: relative;
}

.skill-chip.learning::after {
  content: "📚";
  font-size: 10px;
  margin-left: 6px;
}

.skill-chip.learning:hover {
  opacity: 1;
}