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

:root {
  --bg: #050505;
  --card: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #b8b8b8;
  --cyan: #00c3ff;
  --violet: #7a5cff;
  --green: #32f7a2;
}

@font-face {
  font-family: "SD Asian";
  src: local("SD Asian"), local("SDAsian");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

i[data-lucide] {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

::selection {
  background: rgba(0, 195, 255, 0.28);
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 16px;
  background: #050505;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#loader span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--cyan);
  border-right-color: var(--violet);
  animation: spin 0.9s linear infinite;
}

.site-bg,
.grid-layer,
.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg {
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 195, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(122, 92, 255, 0.14), transparent 30%),
    #050505;
}

.grid-layer {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  animation: gridMove 22s linear infinite;
}

.noise-layer {
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.blob {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.26;
  pointer-events: none;
}

.blob-one {
  left: -120px;
  top: 18%;
  background: var(--cyan);
  animation: floatBlob 15s ease-in-out infinite;
}

.blob-two {
  right: -140px;
  bottom: 12%;
  background: var(--violet);
  animation: floatBlob 18s ease-in-out infinite reverse;
}

.particle-field::before,
.particle-field::after {
  content: "";
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    14vw 22vh 0 rgba(0, 195, 255, 0.45),
    38vw 18vh 0 rgba(122, 92, 255, 0.42),
    68vw 33vh 0 rgba(0, 195, 255, 0.38),
    84vw 68vh 0 rgba(122, 92, 255, 0.35),
    24vw 78vh 0 rgba(255, 255, 255, 0.32);
  animation: particleFloat 10s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.16), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.section-pad {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 108px 0;
}

.nav-wrap {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 50;
  padding-inline: 20px;
}

.nav-shell {
  width: min(1180px, 100%);
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(12, 12, 16, 0.62);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

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

.brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 0 22px rgba(0, 195, 255, 0.24);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

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

.nav-links a {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 70px;
  padding-top: 160px;
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, var(--cyan) 38%, var(--violet) 75%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.role-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.role-line strong {
  position: relative;
  color: #fff;
  min-width: 230px;
  min-height: 1.5em;
}

.role-line strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.hero-bio {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 16px 55px rgba(0, 195, 255, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
}

.btn-whatsapp {
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(50, 247, 162, 0.18), transparent 62%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.btn-whatsapp:hover {
  border-color: rgba(50, 247, 162, 0.38);
  box-shadow: 0 14px 42px rgba(50, 247, 162, 0.12);
}

.btn-whatsapp:hover::before {
  opacity: 1;
}

.btn-whatsapp svg,
.btn-whatsapp i {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.portrait-orbit {
  position: relative;
  width: min(390px, 84vw);
  aspect-ratio: 1;
  border-radius: 44px;
  padding: 8px;
  background: linear-gradient(135deg, var(--cyan), rgba(255, 255, 255, 0.12), var(--violet));
  box-shadow: 0 35px 120px rgba(0, 195, 255, 0.2);
  animation: glowPulse 4s ease-in-out infinite;
}

.portrait-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 38px;
  filter: saturate(1.05) contrast(1.06);
}

.orbit-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 54px;
  animation: orbitSpin 8s linear infinite;
}

.orbit-ring::before {
  content: "";
  position: absolute;
  right: 40px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px var(--cyan);
}

.floating-card {
  position: absolute;
  min-width: 148px;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.floating-card strong {
  font-size: 1.45rem;
}

.card-a {
  left: 6%;
  top: 16%;
  animation: cardFloat 5s ease-in-out infinite;
}

.card-b {
  right: 2%;
  bottom: 18%;
  animation: cardFloat 5s ease-in-out infinite reverse;
}

.stats {
  padding-top: 20px;
}

.stats-grid,
.skill-grid,
.project-grid,
.cert-grid,
.contact-grid,
.about-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card,
.glass-panel,
.timeline-panel,
.experience-card,
.skill-card,
.service-card,
.project-card,
.cert-card,
.contact-info,
.contact-form {
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), var(--card));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.stat-card {
  min-height: 148px;
  padding: 22px;
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.18rem);
  font-weight: 900;
}

.stat-card p,
.skill-card p,
.service-card p,
.project-card p,
.cert-card p,
.contact-info,
.contact-form,
.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.glass-panel,
.timeline-panel,
.experience-card {
  border-radius: 28px;
  padding: 30px;
}

.glass-panel p {
  color: #e9e9e9;
  font-size: 1.2rem;
  line-height: 1.75;
}

.industry-row,
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.industry-row span,
.metric-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-panel {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
}

.timeline-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cyan);
  font-weight: 900;
}

.timeline-item.active > span {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
}

.timeline-item h3,
.skill-card h3,
.service-card h3,
.project-card h3,
.cert-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 900;
}

.experience-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

.experience-meta p {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-meta h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.experience-meta span {
  color: var(--muted);
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.achievement-list li {
  position: relative;
  padding: 14px 14px 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: #ededed;
}

.achievement-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(50, 247, 162, 0.7);
}

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

.skill-card,
.service-card,
.project-card,
.cert-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.skill-card::before,
.service-card::before,
.project-card::before,
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 195, 255, 0.18), transparent 38%);
  transition: opacity 0.2s ease;
}

.skill-card:hover,
.service-card:hover,
.project-card:hover,
.cert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 195, 255, 0.4);
  background: rgba(255, 255, 255, 0.055);
}

.skill-card:hover::before,
.service-card:hover::before,
.project-card:hover::before,
.cert-card:hover::before {
  opacity: 1;
}

.skill-card svg,
.service-card svg,
.cert-card svg {
  position: relative;
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
}

.service-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
}

.service-feature {
  grid-column: span 3;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(0, 195, 255, 0.13), rgba(122, 92, 255, 0.08) 48%, rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.service-feature h3 {
  max-width: 430px;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.04;
}

.service-feature p {
  max-width: 520px;
  font-size: 1rem;
}

.service-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-card h3,
.service-card p,
.service-card svg {
  position: relative;
  z-index: 1;
}

.service-card svg {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 34px rgba(0, 195, 255, 0.08);
}

.service-card:hover svg {
  color: #fff;
  border-color: rgba(0, 195, 255, 0.44);
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.34), rgba(122, 92, 255, 0.28));
}

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

.mini-dashboard {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(0, 0, 0, 0.22);
  background-size: 100% 32px;
}

.mini-dashboard span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 24px rgba(0, 195, 255, 0.28);
}

.line-chart {
  align-items: center;
}

.line-chart span {
  height: 8px;
  transform: rotate(-14deg);
}

.line-chart span:nth-child(2) {
  transform: rotate(18deg);
}

.line-chart span:nth-child(3) {
  transform: rotate(-8deg);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 24px 0;
  animation: marquee 18s linear infinite;
}

.marquee span {
  min-width: 160px;
  padding: 16px 22px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

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

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-info,
.contact-form {
  border-radius: 26px;
  padding: 26px;
}

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

.contact-info a,
.contact-info span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info svg {
  color: var(--cyan);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.social-row a {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 800;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e5e5e5;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 195, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 195, 255, 0.12);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(14, 14, 18, 0.7);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(14px);
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 30px 0 44px;
  color: var(--muted);
  text-align: center;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gridMove {
  to {
    background-position: 64px 64px;
  }
}

@keyframes floatBlob {
  50% {
    transform: translate3d(40px, -35px, 0);
  }
}

@keyframes particleFloat {
  50% {
    transform: translateY(-24px);
  }
}

@keyframes glowPulse {
  50% {
    box-shadow: 0 36px 140px rgba(122, 92, 255, 0.32);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cardFloat {
  50% {
    transform: translateY(-18px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1050px) {
  .hero,
  .about-grid,
  .experience-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .skill-grid,
  .service-grid,
  .project-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-feature {
    grid-column: span 1;
  }

  .hero {
    gap: 36px;
  }

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

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  .section-pad {
    width: min(100% - 28px, 1180px);
    padding: 76px 0;
  }

  .nav-wrap {
    inset: 10px 0 auto;
    padding-inline: 12px;
  }

  .brand strong {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 84px;
    display: grid;
    padding: 12px;
    border: 1px solid var(--stroke);
    border-radius: 18px;
    background: rgba(12, 12, 16, 0.92);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    backdrop-filter: blur(18px);
  }

  .nav-shell,
  .nav-links,
  .floating-card,
  .back-top {
    backdrop-filter: none;
  }

  .menu-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .role-line strong {
    min-width: 0;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid,
  .skill-grid,
  .service-grid,
  .project-grid,
  .cert-grid,
  .achievement-list {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 120px;
  }

  .glass-panel,
  .timeline-panel,
  .experience-card,
  .contact-info,
  .contact-form {
    padding: 22px;
    border-radius: 22px;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: -38px;
  }

  .hero-visual {
    min-height: 0;
    gap: 12px;
  }

  .cursor-glow {
    display: none;
  }

  .grid-layer,
  .blob-one,
  .blob-two,
  .particle-field::before,
  .particle-field::after,
  .portrait-orbit,
  .orbit-ring,
  .card-a,
  .card-b,
  .marquee-track {
    animation: none;
  }

  .reveal {
    transform: none;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .skill-card:hover,
  .service-card:hover,
  .project-card:hover,
  .cert-card:hover {
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
