@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #050816;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 204, 0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(111, 0, 255, 0.18), transparent 35%),
    linear-gradient(135deg, #050816 0%, #0a1128 50%, #111827 100%);
  z-index: -2;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  z-index: -1;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
  padding: 0 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00ffd0;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

nav a:hover {
  color: #00ffd0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(0,255,208,0.55);
  color: #00ffd0;
  outline: none;
}

.cv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: center;
  padding: 44px 0 56px;
}

.eyebrow {
  color: #00ffd0;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cv-hero h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 24px;
}

.cv-hero-copy {
  max-width: 720px;
  color: rgba(255,255,255,0.76);
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.cv-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.impact-grid {
  display: grid;
  gap: 16px;
}

.impact-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
}

.impact-card strong {
  display: block;
  color: #00ffd0;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.impact-card span {
  color: rgba(255,255,255,0.72);
}

.tech-focus {
  margin-bottom: 56px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tech-card {
  min-height: 150px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,208,0.45);
  background: rgba(255,255,255,0.08);
}

.tech-card i,
.tech-mark {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0,255,208,0.12);
  color: #00ffd0;
  font-size: 1.45rem;
}

.tech-mark {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tech-card h3 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.tech-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 60px;
  padding: 40px 0 80px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(90deg, #00ffd0, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 32px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00ffd0, #00b7ff);
  color: #05111c;
  box-shadow: 0 10px 30px rgba(0,255,208,0.2);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
}

.btn:hover {
  transform: translateY(-3px);
}

.visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orb {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 18%),
    radial-gradient(circle at center, rgba(0,255,208,0.8), rgba(124,77,255,0.5));
  filter: blur(2px);
  animation: float 6s ease-in-out infinite;
  box-shadow:
    0 0 100px rgba(0,255,208,0.25),
    0 0 140px rgba(124,77,255,0.18);
}

.glass-card {
  position: absolute;
  width: 240px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.card-top {
  top: 10%;
  left: 5%;
}

.card-bottom {
  bottom: 5%;
  right: 0;
}

.glass-card h3 {
  margin-bottom: 10px;
  color: #00ffd0;
  font-size: 1rem;
}

.glass-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.resume {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 100px;
}

.base {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px;
}

.profile {
  text-align: center;
  margin-bottom: 32px;
}

.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ffd0, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 3rem;
  color: #05111c;
}

.name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffd0;
  margin-bottom: 8px;
}

.job {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.about, .strengths, .contact, .follow {
  margin-bottom: 32px;
}

.about h3, .strengths h3, .contact h3, .follow h3 {
  color: #00ffd0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.contact a, .contact .address > span, .follow a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: 0.2s ease;
}

.contact a:hover, .follow a:hover {
  color: #00ffd0;
}

.contact i, .follow i {
  color: #00ffd0;
  width: 20px;
}

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

.box span {
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.work, .edu, .skills-prog, .skills-soft, .modern-focus, .interests {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px;
}

.work h3, .edu h3, .skills-prog h3, .skills-soft h3, .modern-focus h3, .interests h3 {
  color: #00ffd0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.work h3 i, .edu h3 i, .skills-prog h3 i, .skills-soft h3 i, .modern-focus h3 i, .interests h3 i {
  color: #00ffd0;
}

.work-list {
  display: grid;
  gap: 20px;
}

.work-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.work-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 14px;
}

.work-meta h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #fff;
}

.work-meta p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.work-meta span {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  white-space: nowrap;
}

.work-item p {
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.work-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,255,208,0.12);
  color: #00ffd0;
  font-size: 0.85rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.skill-cloud span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,255,208,0.12);
  color: #00ffd0;
  font-size: 0.86rem;
  font-weight: 700;
}

.work ul, .edu ul, .skills-prog ul, .skills-soft ul {
  list-style: none;
}

.work li, .edu li, .skills-prog li, .skills-soft li {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.work li:last-child, .edu li:last-child, .skills-prog li:last-child, .skills-soft li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.work span, .edu span, .skills-prog span, .skills-soft span {
  display: block;
  color: #00ffd0;
  font-weight: 600;
  margin-bottom: 4px;
}

.work small, .edu small, .skills-prog small, .skills-soft small {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.focus-grid > div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.focus-grid span {
  display: block;
  color: #00ffd0;
  font-weight: 700;
  margin-bottom: 8px;
}

.focus-grid small {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.65;
}

.interests-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.interests-items > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.interests-items i {
  color: #00ffd0;
  font-size: 1.2rem;
}

.interests-items span {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 40px 0 60px;
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(5,8,22,0.96);
    box-shadow: 0 18px 50px rgba(0,0,0,0.36);
    backdrop-filter: blur(16px);
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  nav a:hover,
  nav a:focus-visible {
    background: rgba(0,255,208,0.1);
  }

  .cv-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 0 42px;
  }

  .cv-actions {
    justify-content: center;
  }

  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .section-heading {
    display: block;
    text-align: center;
  }

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

  .hero {
    text-align: center;
    grid-template-columns: 1fr;
  }

  .buttons {
    justify-content: center;
  }

  .resume {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .base {
    padding: 24px;
  }

  .func > div {
    padding: 24px;
  }

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

  .orb {
    width: 280px;
    height: 280px;
  }

  .visual {
    display: block;
    text-align: center;
  }

  .orb {
    margin: 0 auto;
  }

  .glass-card {
    position: relative;
    margin: 20px auto;
    width: 90%;
    max-width: 280px;
  }

  .card-top, .card-bottom {
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
  }

  .container {
    width: min(1200px, 96%);
  }
}

@media (max-width: 640px) {
  .cv-hero h1 {
    font-size: 2.6rem;
  }

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

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

  .tech-card {
    min-height: auto;
  }

  .resume {
    margin-bottom: 56px;
  }

  .work-meta span {
    white-space: normal;
  }
}
