@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --text: #f5f7ff;
  --muted: #a8b0c8;
  --line: rgba(255, 255, 255, 0.11);
  --glass: rgba(255, 255, 255, 0.065);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(52, 93, 205, 0.2), transparent 42%),
    radial-gradient(ellipse at 92% 28%, rgba(126, 63, 194, 0.17), transparent 38%),
    linear-gradient(135deg, #080d20, #101532 50%, #0a1025);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.glass {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 0;
  width: 100%;
  padding: 0 5%;
}

.nav {
  max-width: 1180px;
  min-height: 62px;
  margin: auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
}

.logo {
  font: 800 21px "Manrope", sans-serif;
  letter-spacing: -1px;
}

.logo span {
  color: #a884ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #c7cce0;
  font-size: 12px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-contact {
  padding: 10px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}

.menu-toggle {
  display: none;
}

.section {
  max-width: 1180px;
  margin: auto;
  padding: 100px 28px;
}

.hero {
  min-height: 740px;
  padding-top: 180px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 58%;
}

.eyebrow {
  margin: 0 0 17px;
  color: #9da9cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #7de5ba;
  box-shadow: 0 0 12px #7de5ba;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

h1,
h2 {
  letter-spacing: -2px;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(43px, 6.4vw, 76px);
  line-height: 1.08;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #9cc4ff, #a98bff 55%, #d1a9ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 500px;
  font-size: 15px;
}

.hero-copy strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #101329;
  background: linear-gradient(110deg, #9dc5ff, #c7a4ff);
}

.button-quiet {
  color: #d6d9e8;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.hero-note {
  margin-top: 40px;
  font-size: 11px;
}

.hero-art {
  position: absolute;
  top: 170px;
  right: 8%;
  width: 370px;
  height: 390px;
  display: grid;
  place-items: center;
}

.glass-orb {
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 48% 52% 60% 40% / 44% 43% 57% 56%;
  background: linear-gradient(135deg, rgba(122, 177, 255, 0.48), rgba(158, 105, 255, 0.22), rgba(109, 205, 255, 0.12));
  box-shadow: inset 20px 18px 50px rgba(255, 255, 255, 0.24), 0 0 85px rgba(94, 116, 255, 0.28);
  animation: float 7s ease-in-out infinite;
}

.glass-orb span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 70px;
  text-shadow: 0 0 35px white;
}

.orbit {
  position: absolute;
  width: 330px;
  height: 120px;
  border: 1px solid rgba(180, 193, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.orbit-two {
  width: 310px;
  height: 180px;
  transform: rotate(56deg);
  border-color: rgba(191, 157, 255, 0.22);
}

.floating-tag {
  position: absolute;
  top: 60px;
  right: -10px;
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 11px;
}

.floating-tag span {
  color: #c2a4ff;
}

.section-heading {
  margin-bottom: 36px;
}

.section-intro {
  font-size: 13px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.about-card,
.detail-card {
  padding: 28px;
  border-radius: 22px;
}

.card-icon,
.skill-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(174, 153, 255, 0.25);
  border-radius: 13px;
  color: #c5a8ff;
  background: rgba(151, 119, 255, 0.1);
}

.about-card h3,
.skill-card h3,
.project-card h3,
.cert-card h3,
.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.detail-row {
  padding: 13px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.detail-row span,
.cert-info > p:last-child {
  color: #929bb7;
  font-size: 11px;
}

.detail-row strong {
  font-size: 12px;
}

.available {
  color: #8ce0b5;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.skill-card {
  padding: 22px;
  border-radius: 19px;
  transition: transform 0.2s;
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-5px);
}

.skill-icon {
  font-weight: 800;
}

.skill-card p,
.project-body p {
  font-size: 11px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card,
.cert-card {
  overflow: hidden;
  border-radius: 20px;
}

.project-preview {
  height: 175px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.project-preview span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 55px;
}

.preview-blue {
  background: linear-gradient(135deg, #172b58, #443273);
}

.preview-violet {
  background: linear-gradient(135deg, #28214f, #573f86);
}

.preview-cyan {
  background: linear-gradient(135deg, #153954, #353168);
}

.project-body,
.cert-info {
  padding: 20px;
}

.project-tags {
  color: #c4b6ff;
  font-size: 10px !important;
}

.text-link {
  color: #c9b7ff;
  font-size: 11px;
  font-weight: 700;
}

.edit-note {
  color: #7f89a6;
  font-size: 10px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cert-image-wrap {
  height: 210px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(73, 112, 202, 0.2), rgba(131, 86, 190, 0.2));
}

.cert-image-wrap img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-placeholder {
  color: #aeb9df;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.cert-image-wrap img:not([src]),
.cert-image-wrap img[src=""] {
  display: none;
}

.cert-info .eyebrow {
  margin-bottom: 8px;
}

.timeline {
  padding: 10px 30px;
  border-radius: 21px;
}

.timeline-item {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-date {
  padding-top: 3px;
  color: #a792df;
  font-size: 10px;
}

.timeline-org {
  margin: 0;
  font-size: 11px;
}

.timeline-item p:last-child {
  margin-bottom: 0;
  font-size: 11px;
}

.contact-card {
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  border-radius: 25px;
}

.contact-card p {
  font-size: 13px;
}

.contact-details {
  align-self: center;
}

.contact-details > a {
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  color: #c3cbe1;
  font-size: 11px;
}

.footer {
  max-width: 1180px;
  margin: auto;
  padding: 24px 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #8b95b0;
  font-size: 11px;
}

.footer p {
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-13px) rotate(3deg); }
}

@media (max-width: 850px) {
  .nav-links { gap: 12px; font-size: 10px; }
  .hero-art { right: 0; transform: scale(0.8); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-header { top: 10px; padding: 0 14px; }
  .nav { min-height: 56px; padding: 0 17px; }

  .menu-toggle {
    width: 38px;
    height: 38px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: white;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(13, 18, 42, 0.96);
    backdrop-filter: blur(20px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }

  .section { padding: 78px 20px; }
  .hero { min-height: 0; padding-top: 145px; padding-bottom: 55px; display: block; }
  .hero-content { width: 100%; }
  .hero-art { position: relative; top: auto; width: 100%; height: 270px; margin: 15px auto 0; transform: scale(0.75); }
  .about-grid, .contact-card { grid-template-columns: 1fr; }
  .projects-grid, .cert-grid { grid-template-columns: 1fr; }
  .project-preview { height: 190px; }
  .contact-card { padding: 26px 22px; gap: 25px; }
  .timeline { padding: 6px 18px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .footer { padding: 22px 20px; flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 390px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .footer p { width: 100%; order: 3; }
}