/* -----------------------
   Base / Reset
------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: rgba(255, 255, 255, 0.92);
  background: #070A12;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.8);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -----------------------
   Background ambience
------------------------ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg__grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: rotate(12deg);
  filter: blur(0.2px);
  opacity: 0.35;
}

.bg__blob {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.bg__blob--1 {
  top: -120px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, #7c5cff, transparent 60%);
}

.bg__blob--2 {
  bottom: -160px;
  right: -140px;
  background: radial-gradient(circle at 30% 30%, #00d1ff, transparent 60%);
}

.bg__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* -----------------------
   Header
------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7c5cff, #00d1ff);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15);
}

.brand__text {
  font-weight: 700;
  letter-spacing: 0.4px;
}

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

.nav__toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav__toggleLines {
  display: inline-block;
  width: 18px;
  height: 12px;
  background:
    linear-gradient(#fff, #fff) 0 0/100% 2px,
    linear-gradient(#fff, #fff) 0 50%/100% 2px,
    linear-gradient(#fff, #fff) 0 100%/100% 2px;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__link {
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 180ms ease, color 180ms ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
}

.nav__link.is-active {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.25);
}

.nav__ctaWrap {
  margin-left: 8px;
}

/* Progress bar */
.header__progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.header__progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c5cff, #00d1ff);
}

/* -----------------------
   Buttons / Chips
------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  font-weight: 600;
  font-size: 14px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(0, 209, 255, 0.85));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(124, 92, 255, 0.22);
}

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

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}

.icon {
  width: 18px;
  height: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  transition: background 160ms ease, transform 160ms ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

/* -----------------------
   Hero
------------------------ */
.hero {
  position: relative;
  padding: 64px 0 34px;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ffb3;
  box-shadow: 0 0 0 4px rgba(0, 255, 179, 0.14);
}

.hero__title {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.6px;
}

.grad {
  background: linear-gradient(90deg, #7c5cff, #00d1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.hero__links {
  display: flex;
  gap: 10px;
  margin-left: 4px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.fact {
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.fact__k {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 6px;
}

.fact__v {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.chip--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

.chip--icon svg {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.9);
}

.chip--icon:hover svg {
  color: #00d1ff;
}


/* -----------------------
   Hero Visual (3D card)
------------------------ */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.card3d {
  width: min(420px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.card3d__shine {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

/* Photo variant */
.card3d__inner--photo {
  padding: 0;
  transform: translateZ(20px);
  position: relative;
  height: 520px;
}

/* MY image */
.heroPhoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);

  /* Makes it look more premium */
  filter: contrast(1.02) saturate(1.05);
}

/* Soft overlay gradient so it matches the theme */
.card3d--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

/*  small badge */
.photoBadge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.photoBadge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ffb3;
  box-shadow: 0 0 0 4px rgba(0, 255, 179, 0.14);
}

/* Floating accents */
.floating {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  filter: blur(0.2px);
  animation: floaty 5.5s ease-in-out infinite;
}

.floating--1 {
  --r: 12deg;
  top: 30px;
  right: -30px;
  transform: rotate(var(--r));
}

.floating--2 {
  --r: -10deg;
  bottom: 20px;
  left: -30px;
  transform: rotate(var(--r));
  animation-delay: 1.4s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0) rotate(var(--r));
  }

  50% {
    transform: translateY(-10px) rotate(var(--r));
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero__visual {
    min-height: 360px;
  }

  .card3d__inner--photo {
    height: 420px;
  }
}

/* Scroll hint */
.hero__scrollHint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.mouse {
  width: 22px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: start center;
  padding-top: 7px;
}

.wheel {
  width: 4px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.65);
  animation: wheel 1.2s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }

  100% {
    transform: translateY(10px);
    opacity: 0.2;
  }
}

/* -----------------------
   Placeholder sections (temporary)
------------------------ */
.placeholder {
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.placeholder h2 {
  margin: 0;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
}

/* -----------------------
   Responsive
------------------------ */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero {
    padding-top: 38px;
  }

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

@media (max-width: 760px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__menu {
    position: absolute;
    top: 62px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 18, 0.82);
    backdrop-filter: blur(14px);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__ctaWrap {
    width: 100%;
    margin: 6px 0 0;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__links {
    width: 100%;
  }

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


/* -----------------------
   About Section
------------------------ */
.about {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.01));
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.sectionTag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
}

.sectionTitle {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 16px;
  line-height: 1.1;
}

.about__text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
  max-width: 60ch;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.stat__num {
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
  background: linear-gradient(90deg, #7c5cff, #00d1ff);
  -webkit-background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* Timeline */
.about__timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.timelineCard {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 200ms ease, border-color 200ms ease;
}

.timelineCard:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
}

.timelineYear {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 6px;
}

.timelineCard h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.timelineCard p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* -----------------------
   About Responsive
------------------------ */
@media (max-width: 980px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

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

/* -----------------------
   Shared Section Head
------------------------ */
.sectionHead {
  margin-bottom: 26px;
}

.sectionSub {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 70ch;
  font-size: 15px;
}

/* -----------------------
   Projects Section
------------------------ */
.projects {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}

/* Filters */
.projFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.filterBtn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.filterBtn:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.filterBtn.is-active {
  background: rgba(124, 92, 255, 0.14);
  border-color: rgba(124, 92, 255, 0.28);
  color: rgba(255, 255, 255, 0.95);
}

/* Media frame */
.projCard__media,
.projFeatured__media {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
  position: relative;
}

.projCard__media {
  height: 170px;
}

.projFeatured__media {
  height: 340px;
}

/* Page images = show full screenshot */
.projCard__media img,
.projFeatured__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.20);
  cursor: zoom-in;
}

/* Placeholder */
.imgFallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 60%);
}

.imgFallback__title {
  font-weight: 900;
}

.imgFallback__sub {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* Featured project card */
.projFeatured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.projFeatured::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(0, 209, 255, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.projFeatured__body {
  position: relative;
}

/* Grid cards */
.projGridWrap {
  position: relative;
}

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

.projCard {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.projCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.projCard:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.projCard__body {
  margin-top: 12px;
  position: relative;
}

/* Professional meta bar */
.projMetaBar {
  margin-bottom: 10px;
}

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

.badge {
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(124, 92, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
}

.badge--soft {
  background: rgba(0, 209, 255, 0.10);
}

/* Title & desc */
.projTitle {
  margin: 8px 0 8px;
  font-size: 18px;
}

.projDesc {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  font-size: 14px;
}

/* Chips (tech stack inside card) */
.projTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chip {
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

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

/* Filter hide */
.projHidden {
  display: none !important;
}

/* Show more area  */
.projMoreWrap {
  margin-top: 18px;
  display: grid;
  place-items: center;
  gap: 10px;
}

.projMoreLine {
  width: min(520px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.projMoreHint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}

.projMoreWrap.is-hidden {
  display: none;
}

/* Modal */
.projModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.projModal.is-open {
  display: block;
}

.projModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.projModal__panel {
  position: relative;
  width: min(1100px, calc(100% - 26px));
  max-height: 90vh;          
  overflow-y: auto; 
  margin: 60px auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 18, 0.86);
  backdrop-filter: blur(16px);
  padding: 18px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
}

.projModal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 8px 10px;
  cursor: pointer;
}

.projModal__kicker {
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  margin-bottom: 6px;
}

.projModal__title {
  margin: 0;
  font-size: 22px;
}

.projModal__desc {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  font-size: 14px;
}

.projModal__grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}


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

.projShot {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  height: 240px;
  position: relative;
  padding: 10px;
}

.projShot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

/* Side */
.projSide {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.projSide__block {
  margin-bottom: 14px;
}

.projSide__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 8px;
}

.projSide__text {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-size: 13.5px;
}

.projSide__actions {
  display: grid;
  gap: 10px;
}

/* Lightbox */
.imgLightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.imgLightbox.is-open {
  display: grid;
  place-items: center;
}

.imgLightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.imgLightbox__img {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.65);
  background: rgba(0, 0, 0, 0.25);
}

/* Video in modal */
.projVideoBlock {
  margin-top: 10px;
}

.projVideoFrame {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  padding: 10px;
}

.projVideo {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

/* Small polish */
.projVideoFrame:hover {
  border-color: rgba(124, 92, 255, 0.28);
}


/* Responsive */
@media (max-width: 980px) {
  .projFeatured {
    grid-template-columns: 1fr;
  }

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

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

  .projFeatured__media {
    height: 260px;
  }

  .projCard__media {
    height: 160px;
  }

  .projShot {
    height: 200px;
  }

  .projModal__panel {
    margin: 20px auto;
    max-height: 92vh;
  }

}




/* -----------------------
   Skills Section
------------------------ */
.skills {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}

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

.skillCard {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.skillCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.skillCard:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.30);
  background: rgba(255, 255, 255, 0.05);
}

.skillCard__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

.skillCard__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.skillCard__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.skillCard__desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

/* Bars */
.bars {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  position: relative;
}

.bar__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 7px;
}

.bar__k {
  color: rgba(255, 255, 255, 0.86);
}

.bar__v {
  color: rgba(255, 255, 255, 0.60);
}

.bar__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.95), rgba(0, 209, 255, 0.85));
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.20);
  transform: translateZ(0);
}

/* Tags */
.tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}

.tag {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  preserving: nowrap;
}

/* Currently learning */
.skills__footer {
  margin-top: 16px;
}

.skillsCallout {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.skillsCallout__title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 10px;
}

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

.learnPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 209, 255, 0.25);
  background: rgba(0, 209, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.learnPill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d1ff;
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.12);
}

/* Responsive */
@media (max-width: 980px) {
  .skills__grid {
    grid-template-columns: 1fr;
  }
}


/* -----------------------
   Education Section
------------------------ */
.education {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}

/* 1 COLUMN layout */
.eduList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* cards */
.eduCard {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.eduCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(0, 209, 255, 0.14), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.eduCard:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

/* Primary accent */
.eduCard--primary::before {
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.18), transparent 60%);
}

/* top */
.eduCard__top {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}

.eduLogo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.eduLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eduMeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.eduTitle {
  margin: 0 0 8px;
  font-size: 18px;
}

.eduSchool {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
  font-size: 13.5px;
}

.eduSep {
  margin: 0 6px;
  opacity: 0.7;
}

.eduTime {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.60);
}

.eduBody {
  margin-top: 12px;
  position: relative;
}

.eduText {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
  font-size: 14px;
}

.eduHighlights {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.highlight {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

.highlight__k {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 6px;
}

.highlight__v {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  line-height: 1.55;
}

.eduBullets {
  margin: 0 0 12px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 14px;
}

.eduBullets li {
  margin: 6px 0;
}

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

/* ---------- Show More behavior ---------- */
.eduMore {
  display: none;
}

.education.is-expanded .eduMore {
  display: block;
}

/* Show more button */
.eduMoreWrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}


/* Responsive */
@media (max-width: 980px) {
  .eduCard__top {
    grid-template-columns: 56px 1fr;
  }

  .eduLogo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
}


/* -----------------------
   Experience Section
------------------------ */
.experience {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}

.expTimeline {
  position: relative;
  margin-top: 20px;
  padding-left: 26px;
}

.expTimeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
      rgba(124, 92, 255, 0.6),
      rgba(0, 209, 255, 0.6));
  opacity: 0.6;
}

.expCard {
  position: relative;
  margin-bottom: 24px;
}

.expDot {
  position: absolute;
  left: -16px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cff, #00d1ff);
  box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.18);
}

.expCard__content {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.expCard__content::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

/*  header */
.expTop {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.expLeft {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.expLogo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.expLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* fallback if logo missing */
.expLogoFallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.85);
  background: radial-gradient(circle at 20% 20%, rgba(0, 209, 255, 0.18), transparent 60%);
}

.expLogo img:not([style*="display: none"])+.expLogoFallback {
  display: none;
}

.expHeadText {
  min-width: 0;
}

.expTitle {
  margin: 0 0 6px;
  font-size: 18px;
}

.expCompany {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.expRight {
  flex: 0 0 auto;
}

.expMeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* summary */
.expSummary {
  position: relative;
  margin: 12px 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.expBullets {
  position: relative;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.expBullets li {
  display: grid;
  grid-template-columns: 15px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  font-size: 14px;
}

.expBullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: rgba(0, 209, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.10);
}

/* tags row */
.expTags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 760px) {
  .expTimeline {
    padding-left: 18px;
  }

  .expTop {
    flex-direction: column;
    align-items: flex-start;
  }

  .expMeta {
    justify-content: flex-start;
  }
}



/* -----------------------
   Certificates Section (responsive)
------------------------ */
.certificates {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}

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

/* Card */
.certCard {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.certCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.certCard:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

/* Media (uniform size) */
.certMedia {
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;

  /*  uniform height across all cards */
  aspect-ratio: 16 / 10;

  /* button reset */
  padding: 0;
  cursor: pointer;
  display: block;
  text-align: left;
}

.certMedia img {
  width: 100%;
  height: 100%;
  display: block;

  /* ✅ show the full certificate nicely */
  object-fit: contain;
  background: rgba(0, 0, 0, 0.20);
}

.certZoom {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

/* Body */
.certBody {
  margin-top: 12px;
  position: relative;
  min-width: 0;
  /*  allow text to wrap normally inside grid */
}

.certMeta {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

/*  prevent "one word per line" look */
.certTitle {
  margin: 6px 0;
  font-size: 17px;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: anywhere;
}

.certIssuer {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.certDesc {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.certActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Show more button */
.certMoreWrap {
  margin-top: 16px;
  display: grid;
  place-items: center;
  gap: 8px;
}

.certHint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.60);
}

/* Hidden state for "show more" */
.certHidden {
  display: none !important;
}

/* -----------------------
    Responsive: Grid Fix
------------------------ */

/* Tablet: 2 columns */
@media (max-width: 980px) {
  .certGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone: 1 column */
@media (max-width: 640px) {
  .certificates {
    padding: 72px 0;
  }

  .certGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .certCard {
    padding: 14px;
  }

  /* slightly taller preview on phone */
  .certMedia {
    aspect-ratio: 16 / 11;
  }

  /* keep titles readable */
  .certTitle {
    font-size: 18px;
  }

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

/* -----------------------
   Certificate Modal
------------------------ */
.certModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 110;
}

.certModal.is-open {
  display: block;
}

.certModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.certModal__panel {
  position: relative;
  width: min(1100px, calc(100% - 26px));
  margin: 56px auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 18, 0.86);
  backdrop-filter: blur(16px);
  padding: 18px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);

  max-height: calc(100vh - 112px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.certModal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 8px 10px;
  cursor: pointer;
}

.certModal__head {
  margin: 0;
}

.certModal__issuer {
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  margin-bottom: 6px;
}

.certModal__title {
  margin: 0;
  font-size: 20px;
}

.certModal__media {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);

  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.certModal__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 16px;
}

.certModal__actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .certModal__panel {
    margin: 18px auto;
    max-height: calc(100vh - 36px);
  }
}

/* -----------------------
   Platforms Section
------------------------ 
.platforms {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}


.platformNotice {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.platformNotice__icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.platformNotice__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 14px;
}


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


.platformCard {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.platformCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(0, 209, 255, 0.14), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.platformCard:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.platformCard__top {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}

.platformLogo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.platformLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.platformLogoFallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 60%);
}

.platformHead {
  position: relative;
  min-width: 0;
}

.platformMeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.platformTitle {
  margin: 0 0 6px;
  font-size: 17px;
}

.platformDesc {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.6;
}


.platformActions {
  position: relative;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platformHint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}


.platformMoreWrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.platformHidden {
  display: none !important;
}


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

*/


/* -----------------------
   Contact Section
------------------------ */
.contact {
  padding: 90px 0 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}

.contactCard,
.contactFormWrap {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.contactCard::before,
.contactFormWrap::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(0, 209, 255, 0.16), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
}

.contactCard__top,
.contactFormHead {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

.contactCard__icon,
.contactFormHead__icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.contactCard__title,
.contactFormHead__title {
  margin: 0;
  font-size: 16px;
}

.contactCard__desc,
.contactFormHead__desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.contactCard__items {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  position: relative;
}

.contactItem {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

.contactItem__k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
}

.contactItem__v {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  min-width: 0;
  /*  prevents overflow on small screens */
}

.contactItem__hint {
  grid-column: 2 / -1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  margin-top: -6px;
}

.contactLink {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  word-break: break-word;
  /*  makes long email wrap nicely */
  overflow-wrap: anywhere;
  /*  best for mobile */
}

.contactLink:hover {
  text-decoration-color: rgba(0, 209, 255, 0.55);
}

.miniBtn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  /*  keep "Copy" from wrapping */
}

.miniBtn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.miniBtn:active {
  transform: translateY(0);
}

.contactCard__actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
}

/* Form */
.contactFormWrap {
  padding: 18px;
}

.contactForm {
  margin-top: 14px;
  position: relative;
}

.fieldRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.field__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
  transition: border-color 160ms ease, background 160ms ease;
}

.field__input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field__input:focus {
  outline: none;
  border-color: rgba(0, 209, 255, 0.40);
  background: rgba(0, 0, 0, 0.28);
}

.field__textarea {
  resize: vertical;
  min-height: 120px;
}

.formActions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.formNote {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.60);
}

/* -----------------------
  Responsive fixes 
------------------------ */

/* Tablets & phones: stack the two cards */
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Phones: reduce padding a bit + make actions feel cleaner */
@media (max-width: 640px) {

  .contactCard,
  .contactFormWrap {
    padding: 16px;
  }

  /* Stack name + email vertically */
  .fieldRow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Make email row more compact and avoid overflow */
  .contactItem {
    grid-template-columns: 76px 1fr auto;
    /* tighter label on mobile */
    gap: 8px;
  }

  /* Buttons full width so it looks organized like other sections */
  .contactCard__actions .btn,
  .formActions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Put the note below the button (cleaner) */
  .formActions {
    flex-direction: column;
    align-items: stretch;
  }

  .formNote {
    width: 100%;
    line-height: 1.5;
  }
}


/* -----------------------
   Footer
------------------------ */
.siteFooter {
  margin-top: 60px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.siteFooter__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Left */
.siteFooter__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brandMini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brandMini__mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7c5cff, #00d1ff);
  box-shadow: 0 0 0 5px rgba(124, 92, 255, 0.12);
}

.siteFooter__muted {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.60);
}

/* Right */
.siteFooter__right {
  display: flex;
  align-items: center;
}

/* Back to top button */
.footerTopBtn {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.footerTopBtn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 209, 255, 0.30);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {
  .siteFooter__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .siteFooter__right {
    width: 100%;
    justify-content: flex-end;
  }
}