:root {
  --bg: #030711;
  --bg-2: #061526;
  --surface: rgba(11, 22, 38, 0.72);
  --surface-strong: rgba(13, 25, 45, 0.92);
  --line: rgba(139, 169, 217, 0.18);
  --line-bright: rgba(94, 234, 212, 0.36);
  --text: #f7fbff;
  --muted: #9cafc7;
  --primary: #3ab8ff;
  --primary-2: #7c5cff;
  --accent: #22ffd2;
  --warm: #ffd166;
  --danger: #ff4d8d;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(58, 184, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(124, 92, 255, 0.16), transparent 32%),
    radial-gradient(circle at 50% 80%, rgba(34, 255, 210, 0.11), transparent 36%),
    linear-gradient(135deg, #030711 0%, #06111f 52%, #030711 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: rgba(34, 255, 210, 0.28); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050b14; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--primary-2)); border-radius: 999px; }

.container { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.section { position: relative; padding: 110px 0; }

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(58, 184, 255, 0.12), rgba(124, 92, 255, 0.08) 35%, transparent 68%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--primary-2));
  box-shadow: 0 0 22px rgba(58, 184, 255, 0.75);
}
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #030711;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.site-loader.hide { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, rgba(34, 255, 210, 0.22), rgba(58, 184, 255, 0.18));
  border: 1px solid var(--line-bright);
  box-shadow: 0 0 40px rgba(34, 255, 210, 0.28), inset 0 0 34px rgba(255, 255, 255, 0.06);
  animation: loaderPulse 1.1s ease-in-out infinite alternate;
}

.main-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: 0.35s ease;
}
.main-header.scrolled {
  background: rgba(3, 7, 17, 0.68);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.navbar {
  width: min(1280px, calc(100% - 44px));
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.brand b {
  background: linear-gradient(120deg, var(--primary), var(--primary-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 0.8rem;
  color: #00131d;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 28px rgba(58, 184, 255, 0.4);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 999px;
  background: rgba(7, 16, 31, 0.45);
  backdrop-filter: blur(16px);
}
.nav-links a {
  position: relative;
  padding: 10px 16px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.93rem;
  border-radius: 999px;
  transition: 0.28s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(58, 184, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(58, 184, 255, 0.18);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
  transition: 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 132px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 8% 4% auto;
  height: 76%;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 80px 160px rgba(0,0,0,0.18);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  opacity: 0.7;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 84px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 720px; }
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(34, 255, 210, 0.25);
  border-radius: 999px;
  color: #c6fff4;
  background: rgba(11, 22, 38, 0.54);
  box-shadow: inset 0 0 24px rgba(34, 255, 210, 0.05);
  backdrop-filter: blur(16px);
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 255, 210, 0.6);
  animation: pulseDot 1.6s ease-out infinite;
}
.eyebrow {
  margin: 28px 0 12px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}
h1, h2, h3, p { margin: 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7.4vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  text-wrap: balance;
}
.hero h1 span,
.section-heading h2 span {
  background: linear-gradient(120deg, var(--accent), var(--primary) 45%, var(--primary-2) 75%, #fff);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease infinite;
  filter: drop-shadow(0 0 28px rgba(58, 184, 255, 0.25));
}
.hero-subtitle {
  margin-top: 28px;
  font-size: clamp(1.08rem, 2vw, 1.62rem);
  font-weight: 800;
  color: #dbeafe;
}
.hero-text {
  margin-top: 18px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 850;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.btn span { transition: transform 0.24s ease; }
.btn:hover span { transform: translateX(4px); }
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #00111c;
  background: linear-gradient(135deg, var(--accent), var(--primary) 48%, #a98bff);
  box-shadow: 0 20px 50px rgba(58, 184, 255, 0.28);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px -80px;
  z-index: -1;
  transform: translateX(-100%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transition: 0.7s ease;
}
.btn-primary:hover::before { transform: translateX(120%) rotate(18deg); }
.btn-ghost {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(16px);
}
.btn-ghost:hover { border-color: rgba(58, 184, 255, 0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.24); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero-tags span,
.marquee span {
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  color: #c8d7ee;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 700;
  font-size: 0.9rem;
}
.hero-visual { display: grid; place-items: center; min-height: 600px; }
.profile-stage {
  position: relative;
  width: min(520px, 88vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.profile-stage::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--primary), var(--primary-2), var(--accent), var(--primary));
  filter: blur(34px);
  opacity: 0.38;
  animation: spin 9s linear infinite;
}
.profile-card {
  position: relative;
  z-index: 2;
  width: 78%;
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 50%;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from 180deg, var(--accent), var(--primary), var(--primary-2), var(--accent)) border-box;
  border: 4px solid transparent;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.04) saturate(1.06);
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(58, 184, 255, 0.3);
  animation: spin 14s linear infinite;
}
.ring-one { inset: 4%; }
.ring-two { inset: 0%; border-color: rgba(124, 92, 255, 0.24); animation-duration: 22s; animation-direction: reverse; }
.orbit-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 3;
  background: var(--accent);
  box-shadow: 0 0 22px var(--accent);
}
.dot-one { top: 15%; right: 23%; animation: floatY 4s ease-in-out infinite; }
.dot-two { bottom: 15%; left: 20%; background: var(--primary); box-shadow: 0 0 22px var(--primary); animation: floatY 5s ease-in-out infinite reverse; }
.floating-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 154px;
  padding: 17px 18px;
  border-radius: 22px;
  background: rgba(7, 16, 31, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}
.floating-card b { font-size: 1.8rem; color: var(--accent); line-height: 1; }
.floating-card span { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.card-a { left: -5%; bottom: 19%; animation: floatY 4.5s ease-in-out infinite; }
.card-b { right: -4%; top: 24%; animation: floatY 5s ease-in-out infinite reverse; }
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.42;
  animation: drift 12s ease-in-out infinite;
}
.orb-one { width: 190px; height: 190px; left: 4%; top: 16%; background: radial-gradient(circle, rgba(58,184,255,.4), transparent 68%); }
.orb-two { width: 130px; height: 130px; right: 8%; bottom: 18%; background: radial-gradient(circle, rgba(34,255,210,.35), transparent 66%); animation-delay: -4s; }
.orb-three { width: 90px; height: 90px; left: 55%; top: 24%; background: radial-gradient(circle, rgba(124,92,255,.45), transparent 68%); animation-delay: -2s; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  margin-top: -55px;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  background: rgba(6, 18, 34, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.stats-strip div {
  padding: 22px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.06);
}
.stats-strip strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.07em;
  background: linear-gradient(120deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-strip span { color: var(--muted); font-weight: 750; }

.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-block: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255,255,255,0.025);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee span { white-space: nowrap; }

.section-heading { max-width: 620px; }
.section-heading.center { max-width: 760px; text-align: center; margin-inline: auto; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section-heading h2 {
  font-size: clamp(2.15rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.about-card,
.skill-card,
.service-card,
.project-card,
.process-step,
.contact-panel {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(135deg, rgba(255,255,255,0.074), rgba(255,255,255,0.026));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.about-card::before,
.skill-card::before,
.service-card::before,
.project-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 0%), rgba(58, 184, 255, 0.22), transparent 34%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.about-card:hover::before,
.skill-card:hover::before,
.service-card:hover::before,
.project-card:hover::before,
.contact-panel:hover::before { opacity: 1; }
.about-card {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
}
.about-card p { color: #d9e7fb; font-size: 1.06rem; line-height: 1.8; }
.about-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.about-list span {
  padding: 14px 15px;
  border-radius: 16px;
  color: #d9e7fb;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(148, 163, 184, 0.1);
  font-weight: 700;
}
.skills-grid,
.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.skill-card,
.service-card,
.project-card {
  border-radius: 26px;
  padding: 26px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.skill-card:hover,
.service-card:hover,
.project-card:hover { border-color: rgba(58, 184, 255, 0.36); box-shadow: 0 34px 90px rgba(0,0,0,0.32); }
.skill-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 900; }
.skill-top b { color: var(--accent); }
.skill-bar { height: 10px; margin: 20px 0; border-radius: 999px; background: rgba(148,163,184,0.13); overflow: hidden; }
.skill-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--primary), var(--primary-2)); box-shadow: 0 0 18px rgba(58,184,255,0.5); transition: width 1.5s cubic-bezier(.2,.8,.2,1); }
.skill-card.in-view .skill-bar i { width: var(--level); }
.skill-card p,
.service-card p,
.project-card p,
.process-step p { color: var(--muted); line-height: 1.7; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #00131d;
  font-size: 1.45rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 18px 38px rgba(34, 255, 210, 0.18);
}
.service-card h3,
.project-card h3,
.process-step h3 { margin: 22px 0 10px; font-size: 1.25rem; letter-spacing: -0.035em; }
.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.project-card { min-height: 325px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg, rgba(58,184,255,0.12), transparent 45%), radial-gradient(circle at 78% 20%, rgba(124,92,255,0.26), transparent 34%);
}
.project-shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 20%, transparent 42%);
  transform: translateX(-120%);
  transition: 0.8s ease;
}
.project-card:hover .project-shine { transform: translateX(120%); }
.project-tag {
  align-self: flex-start;
  padding: 8px 11px;
  border-radius: 999px;
  color: #c7fff5;
  background: rgba(34, 255, 210, 0.09);
  border: 1px solid rgba(34, 255, 210, 0.22);
  font-weight: 800;
  font-size: 0.78rem;
}
.project-card a {
  margin-top: 24px;
  color: var(--accent);
  font-weight: 900;
}
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  position: relative;
}
.process-step { padding: 26px; border-radius: 24px; }
.process-step b { color: var(--primary); font-size: 2.1rem; letter-spacing: -0.08em; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 34px;
}
.contact-panel h2 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.075em; }
.contact-panel p { color: var(--muted); margin-top: 18px; line-height: 1.75; max-width: 560px; }
.contact-links { display: grid; gap: 12px; margin-top: 28px; }
.contact-links a { color: #dbeafe; font-weight: 800; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: #dbeafe; font-weight: 800; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(1, 8, 18, 0.42);
  padding: 16px 17px;
  outline: none;
  transition: 0.25s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(34, 255, 210, 0.48); box-shadow: 0 0 0 4px rgba(34,255,210,0.08); }
.footer { padding: 28px 0 38px; color: var(--muted); border-top: 1px solid rgba(148, 163, 184, 0.1); }
.footer .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.footer a { color: #dbeafe; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(38px) scale(0.98); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.tilt-card { transform-style: preserve-3d; will-change: transform; }

@keyframes loaderPulse { to { transform: scale(1.08) rotate(3deg); box-shadow: 0 0 64px rgba(58,184,255,.38), inset 0 0 34px rgba(255,255,255,.08); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(34,255,210,.6); } 80%,100% { box-shadow: 0 0 0 13px rgba(34,255,210,0); } }
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes drift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(28px,-22px,0) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .hero-grid, .two-col, .contact-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .hero-visual { min-height: 470px; }
  .skills-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .navbar { height: 70px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 22px;
    right: 22px;
    display: grid;
    gap: 8px;
    border-radius: 24px;
    padding: 14px;
    background: rgba(5, 11, 22, 0.94);
    transform: translateY(-18px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: 0.28s ease;
  }
  .nav-links.open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 14px; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.4rem); }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .card-a { left: 0; bottom: 5%; }
  .card-b { right: 0; top: 6%; }
}
@media (max-width: 560px) {
  .container, .navbar { width: min(100% - 28px, var(--max)); }
  .brand span:last-child { font-size: 1rem; }
  .brand-icon { width: 38px; height: 38px; border-radius: 14px; }
  .section { padding: 76px 0; }
  .hero::before { inset: 74px 10px auto; height: 74%; border-radius: 30px; }
  .hero-tags span { font-size: 0.8rem; padding: 8px 10px; }
  .hero-visual { min-height: 390px; }
  .floating-card { min-width: 128px; padding: 13px 14px; border-radius: 18px; }
  .floating-card b { font-size: 1.45rem; }
  .stats-strip, .skills-grid, .service-grid, .process-line { grid-template-columns: 1fr; }
  .contact-panel { border-radius: 24px; }
  .footer .container { flex-direction: column; text-align: center; }
}

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