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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --card: #16161f;
  --border: #232330;
  --accent: #7c6af7;
  --accent2: #f7a26a;
  --text: #e8e8f0;
  --muted: #7a7a9a;
  --tag-bg: #1e1e2e;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── GLOW BLOBS ── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -150px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  bottom: 0;
  left: -150px;
}

/* ── LAYOUT ── */
.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── HERO ── */
#hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.h1-accent {
  color: var(--accent);
}

.hero-role {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 28px;
}

.hero-bio {
  font-size: 1.05rem;
  color: #b0b0c8;
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #6b59e8;
  transform: translateY(-1px);
}

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

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

/* ── SECTION HEADERS ── */
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.2;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  color: #b0b0c8;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.detail-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 400;
}

.detail-value a {
  color: var(--accent);
  text-decoration: none;
}

.detail-value a:hover {
  text-decoration: underline;
}

/* ── EDUCATION ── */
.edu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  border-radius: 3px 0 0 3px;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.edu-school {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.edu-badge {
  background: rgba(124, 106, 247, 0.15);
  border: 1px solid rgba(124, 106, 247, 0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.edu-program {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.edu-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-tag {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  color: #b0b0c8;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 400;
}

/* ── SKILLS ── */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.skill-group-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

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

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 400;
  transition: all 0.2s;
}

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

.skill-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-tag.design .dot {
  background: var(--accent2);
}

.skill-tag.backend .dot {
  background: #4ade80;
}

/* ── PROJECTS ── */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  transition: all 0.25s;
}

.project-card:hover {
  border-color: rgba(124, 106, 247, 0.4);
  transform: translateY(-2px);
}

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

.project-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.project-links {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  transition: all 0.2s;
}

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

.project-desc {
  color: #b0b0c8;
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 18px;
  line-height: 1.7;
}

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

.stack-tag {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 5px;
}

.wip-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(247, 162, 106, 0.07);
  border: 1px dashed rgba(247, 162, 106, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--accent2);
  font-size: 0.875rem;
}

.wip-icon {
  font-size: 1.3rem;
}

.wip-title {
  display: block;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 3px;
}

.wip-desc {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── PROJECTS — COMING SOON ── */
.coming-soon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 64px 40px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.coming-soon-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 106, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.coming-soon-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.coming-soon-desc {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 400px;
  line-height: 1.7;
}

/* ── CURRENTLY / NOW ── */
.now-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.now-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.now-item:hover {
  border-color: var(--accent);
}

.now-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(124, 106, 247, 0.12);
  border: 1px solid rgba(124, 106, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.now-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.now-text span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── CONTACT ── */
#contact {
  border-bottom: none;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 106, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.contact-label {
  display: block;
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

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


/* ── keyframe ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

@keyframes sectionReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in.visible {
  animation: sectionReveal 0.7s ease-out forwards;
}

@keyframes fadeText {
  0% {
    opacity: 0;
    letter-spacing: 0.05em;
  }

  100% {
    opacity: 1;
    letter-spacing: normal;
  }
}

.hero-title {
  animation: fadeText 1s ease forwards;
}

@keyframes buttonPop {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

.animated-btn:hover {
  animation: buttonPop 0.2s ease forwards;
}

@keyframes liftCard {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.animated-card:hover {
  animation: liftCard 0.25s ease forwards;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -20px);
  }

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

.blob-1 {
  animation: floatBlob 14s ease-in-out infinite;
}

.blob-2 {
  animation: floatBlob 18s ease-in-out infinite reverse;
}


/* media query */
@media (max-width: 620px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .nav-links {
    display: none;
  }

  .project-header {
    flex-direction: column;
  }
}