:root {
  --bg: #0b0d12;
  --bg-2: #111520;
  --card: #151b26;
  --text: #eef3fb;
  --muted: #9aa6bc;
  --accent: #5ad6ff;
  --accent-2: #f5b84b;
  --accent-3: #49f2c2;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 80px;
}

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

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at top, #141a28 0%, #0b0d12 55%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

main {
  perspective: 1200px;
  perspective-origin: 50% 20%;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

* {
  scrollbar-width: none;
}

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

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

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(90, 214, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(245, 184, 75, 0.06), transparent 45%),
    radial-gradient(circle at 0% 80%, rgba(73, 242, 194, 0.07), transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 100% 100%, 22px 22px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  animation: gridShift 26s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: 0;
  animation: float 16s ease-in-out infinite;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(90, 214, 255, 0.45), transparent 70%);
  top: 120px;
  left: -80px;
}

.orb-2 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 184, 75, 0.4), transparent 70%);
  top: 40px;
  right: 20%;
  animation-delay: -3s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(73, 242, 194, 0.35), transparent 70%);
  bottom: 180px;
  right: 0px;
  animation-delay: -6s;
}

.orb-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(133, 122, 255, 0.25), transparent 70%);
  bottom: -60px;
  left: 15%;
  animation-delay: -9s;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(11, 13, 18, 0.95), rgba(11, 13, 18, 0));
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.logo-mark {
  background: var(--text);
  color: #0b0d12;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.logo-text {
  font-size: 0.9rem;
}

.primary-nav {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #091018;
  box-shadow: 0 10px 25px rgba(90, 214, 255, 0.35);
}

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

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

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

.btn-link {
  color: var(--accent-2);
  padding: 0;
}

.section-nav {
  position: fixed;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  z-index: 5;
}

.section-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -70px;
  width: 1px;
  height: calc(100% + 140px);
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.section-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.section-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.section-nav a.active::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(90, 214, 255, 0.7);
  transform: scale(1.2);
}

.section {
  padding: 60px 0 55px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  scroll-margin-top: 80px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section.hero {
  padding-top: 120px;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin: 18px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--muted);
  font-size: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  color: #cbd4e5;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 32px;
}

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

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(90, 214, 255, 0.14), transparent 55%),
    radial-gradient(circle at 20% 90%, rgba(73, 242, 194, 0.1), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
}

.stat:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(90, 214, 255, 0.4);
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(90, 214, 255, 0.12), transparent 55%);
  pointer-events: none;
  opacity: 0.7;
}

.device-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(21, 27, 38, 0.35) 60%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-12deg) rotateX(6deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  position: relative;
  overflow: hidden;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.device-card:hover {
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) translateY(-6px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.device-card:hover::before {
  transform: translateX(120%);
}

.device-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4353;
}

.device-screen {
  background: #0d111a;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.code-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 214, 255, 0.35), rgba(90, 214, 255, 0.05));
}

.code-line.short {
  width: 60%;
}

.code-line.accent {
  background: linear-gradient(90deg, rgba(245, 184, 75, 0.6), rgba(245, 184, 75, 0.1));
}

.badge {
  position: absolute;
  top: 22px;
  right: -22px;
  padding: 10px 16px;
  background: rgba(245, 184, 75, 0.16);
  border: 1px solid rgba(245, 184, 75, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
}

.holo-panel {
  position: absolute;
  left: -30px;
  bottom: 80px;
  width: 320px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(90, 214, 255, 0.08), rgba(73, 242, 194, 0.04));
  border: 1px solid rgba(90, 214, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: rotate(-6deg);
  animation: holoFloat 10s ease-in-out infinite;
}

.holo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(90, 214, 255, 0.18), transparent);
  transform: translateX(-100%);
  animation: shimmer 6s ease-in-out infinite;
}

.holo-panel svg {
  width: 100%;
  height: auto;
  display: block;
}

.avatar {
  position: absolute;
  bottom: -12px;
  right: 16px;
  width: 220px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s ease;
}

.avatar:hover {
  transform: translateY(-10px) rotate(-1.5deg);
}

.floating-shape {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(90, 214, 255, 0.2), rgba(73, 242, 194, 0.15));
  border: 1px solid rgba(90, 214, 255, 0.25);
  animation: float 12s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 0;
  left: 20px;
  transform: rotate(12deg);
}

.shape-2 {
  width: 60px;
  height: 60px;
  bottom: 100px;
  left: 10%;
  animation-delay: -3s;
}

.shape-3 {
  width: 46px;
  height: 46px;
  top: 60px;
  right: 40px;
  animation-delay: -6s;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(90, 214, 255, 0.22);
  box-shadow: inset 0 0 30px rgba(90, 214, 255, 0.12);
  animation: spin 18s linear infinite;
}

.ring.ring-1 {
  width: 320px;
  height: 320px;
  top: 40px;
  right: 40px;
  border-color: rgba(245, 184, 75, 0.25);
  animation-duration: 26s;
}

.ring.ring-2 {
  width: 220px;
  height: 220px;
  bottom: 40px;
  left: 10px;
  border-color: rgba(73, 242, 194, 0.25);
  animation-direction: reverse;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-top: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}

.about-text p {
  color: #c7d1e3;
  margin-bottom: 18px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.about-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.about-cards {
  display: grid;
  gap: 16px;
}

.info-card {
  background: rgba(21, 27, 38, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.16), transparent 48%),
    radial-gradient(circle at 80% 20%, rgba(90, 214, 255, 0.1), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(90, 214, 255, 0.12);
  border: 1px solid rgba(90, 214, 255, 0.35);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.info-card h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.experience-card {
  background: linear-gradient(140deg, rgba(16, 22, 34, 0.95), rgba(12, 16, 26, 0.75));
  border: 1px solid rgba(90, 214, 255, 0.18);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.experience-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.14), transparent 48%),
    radial-gradient(circle at 88% 20%, rgba(90, 214, 255, 0.12), transparent 55%),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.85;
  transform: translateX(-70%);
  transition: transform 0.9s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.experience-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(90, 214, 255, 0.45);
}

.experience-card:hover::before {
  transform: translateX(70%);
}

.experience-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.experience-meta {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.experience-card h3 {
  font-family: var(--font-display);
  margin-bottom: 6px;
}

.experience-company {
  color: #c7d1e3;
  font-weight: 600;
  margin-bottom: 14px;
}

.exp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.exp-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 214, 255, 0.55);
}

.exp-toggle[aria-expanded="true"] {
  background: rgba(90, 214, 255, 0.12);
  border-color: rgba(90, 214, 255, 0.5);
}

.exp-toggle-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.exp-toggle[aria-expanded="true"] .exp-toggle-icon {
  transform: rotate(-135deg);
}

.experience-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}

.experience-details.is-open {
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
}

.experience-points {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #c7d1e3;
  display: grid;
  gap: 10px;
}

.experience-points li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(90, 214, 255, 0.12);
}

.experience-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 10px rgba(90, 214, 255, 0.5);
}

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.skill-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.skill-group::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.12), transparent 45%);
  opacity: 0.9;
  pointer-events: none;
}

.skill-group h3 {
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.skill-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: 0 0 auto;
}
.skill-items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-items li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
  max-width: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.skill-items li:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 214, 255, 0.4);
  background: rgba(90, 214, 255, 0.06);
}

.skill-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.skill-icons i {
  font-size: 18px;
  line-height: 1;
}

.skill-mini {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.skill-label {
  min-width: 0;
  white-space: normal;
}

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

.skill-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-weight: 500;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.skill-pill svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.skill-pill span {
  white-space: nowrap;
}

.skill-pill:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 75, 0.5);
}

.tech-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.tech-card {
  background: linear-gradient(135deg, rgba(15, 20, 32, 0.9), rgba(17, 25, 42, 0.6));
  border: 1px solid rgba(90, 214, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(90, 214, 255, 0.18), transparent 60%);
  opacity: 0.6;
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(90, 214, 255, 0.4);
}

.tech-card h3 {
  font-family: var(--font-display);
  margin-top: 16px;
  margin-bottom: 8px;
}

.tech-card p {
  color: #c7d1e3;
}

.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(90, 214, 255, 0.15);
  border: 1px solid rgba(90, 214, 255, 0.4);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 12px rgba(90, 214, 255, 0.2);
}

.tech-icon.chip::before,
.tech-icon.chip::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  border: 1px solid rgba(90, 214, 255, 0.6);
}

.tech-icon.chip::after {
  inset: 20px;
  border-color: rgba(245, 184, 75, 0.6);
}

.tech-icon.waves {
  background: radial-gradient(circle at 30% 30%, rgba(90, 214, 255, 0.5), rgba(15, 18, 28, 0.6));
}

.tech-icon.waves::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 214, 255, 0.8), rgba(73, 242, 194, 0.5));
  box-shadow: 0 10px 0 rgba(90, 214, 255, 0.4), 0 20px 0 rgba(90, 214, 255, 0.2);
}

.tech-icon.orbit {
  background: rgba(245, 184, 75, 0.18);
  border-color: rgba(245, 184, 75, 0.5);
}

.tech-icon.orbit::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 184, 75, 0.7);
  animation: spin 10s linear infinite;
}

.project-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
  padding-bottom: 10px;
}

.project-track::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.project-card {
  flex: 0 0 100%;
  background: rgba(21, 27, 38, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease;
  position: relative;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(90, 214, 255, 0.4);
}

.project-thumb {
  height: 240px;
  background: linear-gradient(135deg, rgba(90, 214, 255, 0.4), rgba(10, 12, 18, 0.2));
  position: relative;
  color: rgba(9, 14, 22, 0.8);
  overflow: hidden;
}

.project-thumb.alt {
  background: linear-gradient(135deg, rgba(245, 184, 75, 0.4), rgba(10, 12, 18, 0.2));
}

.project-thumb.third {
  background: linear-gradient(135deg, rgba(73, 242, 194, 0.4), rgba(10, 12, 18, 0.2));
}

.project-thumb svg {
  width: 64px;
  height: 64px;
  color: rgba(9, 14, 22, 0.85);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: saturate(1.1) contrast(1.02);
  transition: transform 0.7s ease;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 0%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(to top, rgba(11, 13, 18, 0.85), rgba(11, 13, 18, 0.1));
  pointer-events: none;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-body {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.project-body h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.project-body p {
  color: #c7d1e3;
  margin-bottom: 14px;
}

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

.project-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.contact-card {
  background: linear-gradient(135deg, rgba(90, 214, 255, 0.12), rgba(15, 18, 30, 0.9));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(90, 214, 255, 0.2), transparent 50%);
  opacity: 0.6;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.contact-card h2 {
  font-family: var(--font-display);
  margin: 14px 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(245, 184, 75, 0.6);
  flex: 0 0 auto;
}

.contact-details h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 6px;
}

.scroll-hint {
  position: absolute;
  right: 24px;
  bottom: 40px;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer {
  margin-top: -121px !important;
  padding: 36px 0 60px;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes holoFloat {
  0%,
  100% {
    transform: rotate(-6deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes gridShift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 40px 60px, -30px 40px, 60px -30px, 22px 22px;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.75;
  }
}

@media (max-width: 980px) {
  html {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    min-height: auto;
  }

  .section-nav {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual::after {
    opacity: 0.45;
  }

  .holo-panel {
    position: static;
    width: 100%;
    margin-top: 20px;
    transform: none;
  }

  .site-header {
    padding: 18px 6vw;
  }

  .primary-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .scroll-hint {
    display: none;
  }

  .avatar {
    position: static;
    width: 180px;
    margin-top: 20px;
  }

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

  .exp-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .experience-card {
    padding: 20px;
  }

  .experience-points li {
    grid-template-columns: 12px 1fr;
    padding: 10px 12px;
  }

  .skill-items li {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
