/* ============================================================
   HEX Portfolio — Production Design System
   Clean · Professional · Fully Responsive
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --accent:        #06b6d4;
  --accent-light:  #22d3ee;
  --accent-dark:   #0891b2;
  --accent-muted:  rgba(6, 182, 212, 0.12);
  --accent-border: rgba(6, 182, 212, 0.22);
  --accent-glow:   rgba(6, 182, 212, 0.35);

  --indigo:        #818cf8;
  --indigo-muted:  rgba(129, 140, 248, 0.12);
  --pink:          #f472b6;

  /* Dark backgrounds */
  --dark-950: #020817;
  --dark-900: #0d1117;
  --dark-800: #161b22;
  --dark-700: #21262d;
  --dark-border: rgba(255, 255, 255, 0.06);
  --dark-border-hover: rgba(255, 255, 255, 0.12);

  /* Radius scale */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;

  /* Easing */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 2. BASE & RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--dark-950); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--indigo));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ── 3. SCROLL PROGRESS BAR ────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--indigo), var(--pink));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ── 4. CUSTOM CURSOR (desktop only) ──────────────────────── */
#cursor-dot, #cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

#cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent);
  transition: transform 0.05s, width 0.2s, height 0.2s, background 0.2s;
}

#cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(6, 182, 212, 0.45);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
}

body.cursor-hover #cursor-dot  { width: 8px; height: 8px; background: var(--pink); }
body.cursor-hover #cursor-ring { width: 48px; height: 48px; border-color: rgba(244, 114, 182, 0.4); }
body.cursor-click #cursor-dot  { transform: translate(-50%, -50%) scale(0.5); }

@media (max-width: 768px) { #cursor-dot, #cursor-ring { display: none; } }

/* ── 5. NAVIGATION ─────────────────────────────────────────── */
#navbar { transition: transform 0.3s var(--ease-in-out), background 0.3s var(--ease-in-out); }

.navbar-scrolled {
  background: rgba(2, 8, 23, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(6, 182, 212, 0.08);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
}

.navbar-scrolled-light {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(6, 182, 212, 0.12);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.07);
}

.nav-link {
  position: relative;
  padding-bottom: 3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--indigo));
  border-radius: 1px;
  transition: width 0.28s var(--ease-in-out);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent) !important; }

/* Hamburger animation */
.hamburger-open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── 6. GRADIENT & GLOW UTILITIES ──────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--indigo) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 7s ease infinite;
}

.gradient-text-pink {
  background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.glow-text { text-shadow: 0 0 40px rgba(6, 182, 212, 0.45); }

.glow-box {
  box-shadow:
    0 0 40px rgba(6, 182, 212, 0.12),
    0 0 80px rgba(6, 182, 212, 0.04);
}

/* ── 7. HERO SECTION ───────────────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}

.hero-grid-overlay {
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Available badge */
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  background: rgba(6, 182, 212, 0.06);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

/* Pulse dot */
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  animation: pulse-ring 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* Typing cursor */
.typing-cursor::after {
  content: '|';
  color: var(--accent);
  animation: blink 0.9s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Hero CTA buttons */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.28s var(--ease-in-out);
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-in-out);
}

.btn-glow:hover::before { transform: translateX(100%); }

.btn-glow:hover {
  box-shadow:
    0 0 28px var(--accent-glow),
    0 4px 16px rgba(6, 182, 212, 0.25);
  transform: translateY(-1px);
}

.btn-glow:active { transform: translateY(0); }

/* Hero visual card */
.dev-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: conic-gradient(
    from 0deg,
    var(--accent) 0deg,
    var(--indigo) 120deg,
    var(--pink) 240deg,
    var(--accent) 360deg
  );
  animation: rotate-ring 8s linear infinite;
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Floating tech badges */
.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid rgba(6, 182, 212, 0.22);
  backdrop-filter: blur(16px);
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.03);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.floating-badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.float-1 { animation: float-a 3.6s ease-in-out infinite; }
.float-2 { animation: float-b 4.1s ease-in-out infinite 0.4s; }
.float-3 { animation: float-c 3.9s ease-in-out infinite 0.9s; }
.float-4 { animation: float-d 4.3s ease-in-out infinite 0.6s; }

@keyframes float-a { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-11px) rotate(2deg); } }
@keyframes float-b { 0%,100% { transform: translateY(0) rotate(1deg); }  50% { transform: translateY(-8px) rotate(-1deg); } }
@keyframes float-c { 0%,100% { transform: translateY(0) rotate(2deg); }  50% { transform: translateY(-13px) rotate(-2deg); } }
@keyframes float-d { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }

/* ── 8. ABOUT / STAT CARDS ─────────────────────────────────── */
.stat-card {
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.28s var(--ease-in-out);
  backdrop-filter: blur(8px);
}

.stat-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.09), 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

html:not(.dark) .stat-card {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html:not(.dark) .stat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.1);
}

.counter-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Info card rows */
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.info-row:last-child { border-bottom: none; }

html:not(.dark) .info-row { border-bottom-color: #f1f5f9; }

/* ── 9. SECTION HEADERS ────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title-line {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--indigo));
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ── 10. SKILLS SECTION ────────────────────────────────────── */
.skill-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2rem;
}

.skill-tab-btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.22s var(--ease-in-out);
  letter-spacing: 0.01em;
}

.dark .skill-tab-btn { color: #64748b; }
.skill-tab-btn:hover { color: var(--accent); border-color: var(--accent-border); background: var(--accent-muted); }
.skill-tab-btn.active {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.45);
  color: var(--accent-light);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.12);
}
html:not(.dark) .skill-tab-btn.active { color: var(--accent-dark); }

/* Skill pill */
.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid rgba(6, 182, 212, 0.18);
  background: rgba(6, 182, 212, 0.05);
  color: var(--accent-light);
  cursor: default;
  transition: all 0.22s var(--ease-in-out);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.skill-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(129,140,248,0.1));
  opacity: 0;
  transition: opacity 0.25s;
}

.skill-pill:hover {
  border-color: rgba(6, 182, 212, 0.55);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.22);
  color: #fff;
}
.skill-pill:hover::before { opacity: 1; }

html:not(.dark) .skill-pill { background: rgba(6,182,212,0.05); border-color: rgba(6,182,212,0.18); color: var(--accent-dark); }
html:not(.dark) .skill-pill:hover { background: rgba(6,182,212,0.1); color: var(--accent-dark); }

.skill-pill.hidden-pill {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  width: 0; height: 0;
  padding: 0; margin: 0;
  border-width: 0;
  overflow: hidden;
}

/* ── 11. PROJECT CARDS ─────────────────────────────────────── */
.project-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark-900);
  border: 1px solid var(--dark-border);
  transition: box-shadow 0.3s var(--ease-in-out), border-color 0.3s var(--ease-in-out), transform 0.3s var(--ease-in-out);
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
}

.project-card:hover {
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(6, 182, 212, 0.08);
  transform: translateY(-4px);
}

html:not(.dark) .project-card { background: #fff; border-color: #e5e7eb; }
html:not(.dark) .project-card:hover { border-color: rgba(6,182,212,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.09), 0 0 32px rgba(6,182,212,0.07); }

/* Project image */
.project-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-800), var(--dark-700));
}

.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-in-out);
}

.project-card:hover .project-img-wrap img { transform: scale(1.06); }

/* Project overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,8,23,0.95) 0%, rgba(2,8,23,0.4) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.28s var(--ease-in-out);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s var(--ease-in-out);
  backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
}

.project-overlay-btn.btn-filled { background: var(--accent); color: #020817; }
.project-overlay-btn.btn-filled:hover { background: var(--accent-light); transform: translateY(-2px); }
.project-overlay-btn.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.project-overlay-btn.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* Project placeholder */
.project-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--dark-800) 0%, var(--dark-700) 100%);
  position: relative;
  overflow: hidden;
}

.project-placeholder::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(6,182,212,0.04) 60deg, transparent 120deg);
  animation: rotate-bg 14s linear infinite;
}

@keyframes rotate-bg { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.project-placeholder-icon {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

/* Project card body */
.project-card-body { padding: 1.375rem; }

.project-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
  line-height: 1.3;
}

html:not(.dark) .project-title { color: #0f172a; }
.project-card:hover .project-title { color: var(--accent-light); }
html:not(.dark) .project-card:hover .project-title { color: var(--accent-dark); }

.project-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tech tags */
.tech-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(6,182,212,0.07);
  color: #22d3ee;
  border: 1px solid rgba(6,182,212,0.16);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.tech-tag:hover { background: rgba(6,182,212,0.16); border-color: rgba(6,182,212,0.38); }

html:not(.dark) .tech-tag { background: rgba(6,182,212,0.05); color: var(--accent-dark); border-color: rgba(6,182,212,0.18); }

/* ── 12. EXPERIENCE TIMELINE ───────────────────────────────── */
.timeline-container { position: relative; padding-left: 3.5rem; }

.timeline-track {
  position: absolute;
  left: 20px;
  top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--indigo) 60%, transparent 100%);
  border-radius: 1px;
}

.timeline-node {
  position: absolute;
  left: -3.15rem;
  top: 1.25rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--dark-900);
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.1), 0 0 18px rgba(6,182,212,0.35);
  transition: box-shadow 0.28s;
  z-index: 1;
}

.timeline-item:hover .timeline-node {
  box-shadow: 0 0 0 6px rgba(6,182,212,0.14), 0 0 28px rgba(6,182,212,0.55);
}

html:not(.dark) .timeline-node { background: #fff; }

.timeline-card {
  background: var(--dark-900);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.28s var(--ease-in-out);
  position: relative;
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: -8px; top: 1.5rem;
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 8px solid var(--dark-border);
}

.timeline-card:hover {
  border-color: rgba(6,182,212,0.22);
  box-shadow: 0 8px 36px rgba(0,0,0,0.28), inset 0 0 32px rgba(6,182,212,0.02);
  transform: translateX(3px);
}

html:not(.dark) .timeline-card { background: #fff; border-color: #e5e7eb; }
html:not(.dark) .timeline-card::before { border-right-color: #e5e7eb; }
html:not(.dark) .timeline-card:hover { border-color: rgba(6,182,212,0.28); }

.timeline-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(6,182,212,0.07);
  border: 1px solid rgba(6,182,212,0.18);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

html:not(.dark) .timeline-date-badge { color: var(--accent-dark); }

/* ── 13. CONTACT SECTION ───────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.8125rem 0.9375rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.22s var(--ease-in-out), box-shadow 0.22s var(--ease-in-out), background 0.22s;
  font-family: inherit;
}

.dark .form-input {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
  color: #f1f5f9;
}

.dark .form-input:focus {
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.035);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.09);
}

.dark .form-input::placeholder { color: rgba(100,116,139,0.55); }

html:not(.dark) .form-input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

html:not(.dark) .form-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6,182,212,0.07);
}

html:not(.dark) .form-input::placeholder { color: #94a3b8; }

/* Contact info cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--dark-border);
  background: rgba(13, 17, 23, 0.65);
  text-decoration: none;
  transition: all 0.25s var(--ease-in-out);
  backdrop-filter: blur(8px);
}

.contact-card:hover {
  border-color: rgba(6,182,212,0.28);
  background: rgba(6,182,212,0.035);
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(6,182,212,0.09);
}

html:not(.dark) .contact-card { background: #fff; border-color: #e5e7eb; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
html:not(.dark) .contact-card:hover { border-color: rgba(6,182,212,0.35); background: rgba(6,182,212,0.02); }

.contact-icon-wrap {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: rgba(6,182,212,0.09);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s;
}

.contact-card:hover .contact-icon-wrap { background: rgba(6,182,212,0.18); }

/* ── 14. ALERT MESSAGES ────────────────────────────────────── */
.alert-success {
  background: rgba(16,185,129,0.07);
  border: 1.5px solid rgba(16,185,129,0.22);
  color: #34d399;
  border-radius: var(--r-md);
  padding: 11px 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

.alert-error {
  background: rgba(239,68,68,0.07);
  border: 1.5px solid rgba(239,68,68,0.22);
  color: #f87171;
  border-radius: var(--r-md);
  padding: 11px 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── 15. FOOTER ────────────────────────────────────────────── */
.footer-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  transition: all 0.22s var(--ease-in-out);
  text-decoration: none;
}

.footer-social:hover {
  color: var(--accent);
  border-color: rgba(6,182,212,0.38);
  box-shadow: 0 0 14px rgba(6,182,212,0.18);
  transform: translateY(-2px);
}

html:not(.dark) .footer-social { border-color: #e2e8f0; }

/* ── 16. SCROLL TO TOP ─────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 50;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(6,182,212,0.38);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s var(--ease-spring);
}

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

#scroll-top:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 28px rgba(6,182,212,0.48); }

/* ── 17. ADMIN PANEL ───────────────────────────────────────── */

/* Sidebar links */
.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s var(--ease-in-out);
  border: 1px solid transparent;
}

.admin-sidebar-link:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.06);
}

.admin-sidebar-link.active {
  color: var(--accent-light);
  background: rgba(6,182,212,0.09);
  border-color: rgba(6,182,212,0.18);
}

/* Admin cards */
.admin-card {
  background: var(--dark-900);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  transition: border-color 0.22s;
}

.admin-card:hover { border-color: var(--dark-border-hover); }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
  padding: 11px 16px;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--dark-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr { transition: background 0.15s; }
.admin-table tbody tr:hover td { background: rgba(255,255,255,0.025); color: #cbd5e1; }

/* Form labels in admin */
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}

/* Admin buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #020817;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s var(--ease-in-out);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 18px rgba(6,182,212,0.3);
  transform: translateY(-1px);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: rgba(239,68,68,0.08);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.18);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover { background: rgba(239,68,68,0.16); border-color: rgba(239,68,68,0.3); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover { background: rgba(255,255,255,0.09); color: #e2e8f0; }

/* Admin mobile sidebar overlay */
#admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.7);
  backdrop-filter: blur(4px);
  z-index: 39;
  opacity: 0;
  transition: opacity 0.3s var(--ease-in-out);
}

#admin-overlay.visible { opacity: 1; }

/* Admin sidebar mobile transition */
#admin-sidebar {
  transition: transform 0.3s var(--ease-in-out);
}

@media (max-width: 1023px) {
  #admin-sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100%;
    z-index: 40;
    transform: translateX(-100%);
    box-shadow: 4px 0 32px rgba(0,0,0,0.7);
  }

  #admin-sidebar.open { transform: translateX(0); }
  #admin-overlay { display: block; }
}

/* ── 18. AOS & PERFORMANCE ─────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* ── 19. RESPONSIVE UTILITIES ──────────────────────────────── */
@media (max-width: 640px) {
  .floating-badge { display: none; }

  .timeline-container { padding-left: 2.5rem; }
  .timeline-node { left: -2.15rem; }

  #scroll-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .counter-num { font-size: 2rem; }
  .project-card-body { padding: 1rem; }
  .admin-card { padding: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   NEW FEATURE STYLES — v2 upgrade
════════════════════════════════════════════════════════════ */

/* ── PRELOADER ─────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #020817;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.preloader-logo {
  font-size: 2.8rem;
  font-weight: 900;
  color: #e2e8f0;
  letter-spacing: -0.02em;
  animation: preloader-pulse 1.6s ease-in-out infinite;
}

.preloader-logo span { color: var(--accent); }

@keyframes preloader-pulse {
  0%, 100% { opacity: 1; transform: scale(1);    }
  50%       { opacity: 0.6; transform: scale(0.96); }
}

.preloader-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #334155;
  max-width: 260px;
}

.preloader-track {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--indigo), var(--pink));
  border-radius: 2px;
  animation: preloader-load 1.8s ease-in-out forwards;
}

@keyframes preloader-load {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ── HERO STAT BAR ─────────────────────────────────────────── */
.hero-stat-card {
  padding: 1rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(13,17,23,0.5);
  backdrop-filter: blur(8px);
  transition: all 0.28s var(--ease-in-out);
}

.hero-stat-card:hover {
  border-color: var(--accent-border);
  background: rgba(6,182,212,0.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.08);
}

html:not(.dark) .hero-stat-card {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── DOWNLOAD BUTTON ───────────────────────────────────────── */
.btn-download {
  border: 2px solid rgba(129,140,248,0.4);
  color: var(--indigo);
  background: transparent;
}

.btn-download:hover {
  border-color: var(--indigo);
  background: rgba(129,140,248,0.08);
  box-shadow: 0 0 24px rgba(129,140,248,0.2);
  transform: translateY(-1px);
}

/* ── WHAT I DO / SERVICES ──────────────────────────────────── */
.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-900);
  overflow: hidden;
  transition: all 0.3s var(--ease-in-out);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--svc-color, var(--accent)) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  border-color: transparent;
  background: rgba(22,27,34,0.9);
  transform: translateY(-5px);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04);
}

html:not(.dark) .service-card {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

html:not(.dark) .service-card:hover {
  background: #fafafa;
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--svc-color, var(--accent));
  background: color-mix(in srgb, var(--svc-color, var(--accent)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--svc-color, var(--accent)) 20%, transparent);
  transition: all 0.28s var(--ease-in-out);
}

.service-card:hover .service-icon-wrap {
  background: color-mix(in srgb, var(--svc-color, var(--accent)) 18%, transparent);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 24px color-mix(in srgb, var(--svc-color, var(--accent)) 30%, transparent);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.625rem;
  transition: color 0.2s;
}

html:not(.dark) .service-title { color: #0f172a; }

.service-card:hover .service-title { color: var(--svc-color, var(--accent)); }

.service-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

.service-arrow {
  margin-top: 1.25rem;
  color: #334155;
  transition: all 0.25s var(--ease-in-out);
  opacity: 0;
  transform: translateX(-8px);
}

.service-card:hover .service-arrow {
  opacity: 1;
  color: var(--svc-color, var(--accent));
  transform: translateX(0);
}

/* ── GITHUB STATS ──────────────────────────────────────────── */
#github-stats {
  position: relative;
}

.github-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) { .github-stats-grid { grid-template-columns: 1fr; } }

.github-stat-card {
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-900);
  overflow: hidden;
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 0;
}

.github-stat-card:hover {
  border-color: rgba(6,182,212,0.22);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 28px rgba(6,182,212,0.06);
  transform: translateY(-3px);
}

html:not(.dark) .github-stat-card {
  background: #fff;
  border-color: #e5e7eb;
}

.github-stat-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
}

.github-streak-card {
  width: 100%;
  grid-column: 1 / -1;
}

.github-stat-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.github-stat-error::after {
  content: 'Stats unavailable — check your connection';
  font-size: 0.75rem;
  color: #4b5563;
  font-weight: 600;
  text-align: center;
}

/* ── PROJECT FILTER BAR ────────────────────────────────────── */
.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.project-filter-btn {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.22s var(--ease-in-out);
  letter-spacing: 0.01em;
}

.project-filter-btn:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-muted);
}

.project-filter-btn.active {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.45);
  color: var(--accent-light);
  box-shadow: 0 0 14px rgba(6,182,212,0.1);
}

html:not(.dark) .project-filter-btn.active { color: var(--accent-dark); }

.project-card.filtered-out {
  display: none;
}

/* ── EDUCATION SECTION ─────────────────────────────────────── */
.education-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-900);
  overflow: hidden;
  transition: all 0.3s var(--ease-in-out);
}

.education-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--indigo));
  border-radius: 0 2px 2px 0;
  transition: width 0.28s var(--ease-spring);
}

.education-card:hover::after { width: 5px; }

.education-card:hover {
  border-color: rgba(6,182,212,0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 24px rgba(6,182,212,0.05);
  transform: translateY(-4px);
}

html:not(.dark) .education-card {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

html:not(.dark) .education-card:hover {
  border-color: rgba(6,182,212,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.education-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.education-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.education-grade-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(129,140,248,0.1);
  border: 1px solid rgba(129,140,248,0.22);
  color: var(--indigo);
  letter-spacing: 0.03em;
}

.education-degree {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

html:not(.dark) .education-degree { color: #0f172a; }

.education-field {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

html:not(.dark) .education-field { color: var(--accent-dark); }

.education-institution,
.education-years {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.education-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

html:not(.dark) .education-desc { border-top-color: #f1f5f9; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

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

.testimonial-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-900);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s var(--ease-in-out);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--indigo), var(--pink));
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonial-card:hover::before { opacity: 1; }

.testimonial-card:hover {
  border-color: rgba(6,182,212,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(6,182,212,0.05);
  transform: translateY(-5px);
}

html:not(.dark) .testimonial-card {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

html:not(.dark) .testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.09);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #fbbf24;
}

.testimonial-quote-icon {
  color: rgba(6,182,212,0.15);
  flex-shrink: 0;
}

html:not(.dark) .testimonial-quote-icon { color: rgba(6,182,212,0.12); }

.testimonial-message {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

html:not(.dark) .testimonial-message { color: #475569; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}

html:not(.dark) .testimonial-author { border-top-color: #f1f5f9; }

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
}

html:not(.dark) .testimonial-name { color: #0f172a; }

.testimonial-role {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* ── TOAST NOTIFICATION ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9990;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 0.35s var(--ease-spring), opacity 0.35s;
  opacity: 0;
  backdrop-filter: blur(16px);
}

.toast.toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-success {
  background: rgba(16,185,129,0.12);
  border: 1.5px solid rgba(16,185,129,0.28);
  color: #34d399;
  box-shadow: 0 8px 32px rgba(16,185,129,0.2);
}

.toast-info {
  background: rgba(6,182,212,0.1);
  border: 1.5px solid rgba(6,182,212,0.25);
  color: var(--accent-light);
  box-shadow: 0 8px 32px rgba(6,182,212,0.15);
}

.toast-error {
  background: rgba(239,68,68,0.1);
  border: 1.5px solid rgba(239,68,68,0.25);
  color: #f87171;
}

/* ── COPY EMAIL ────────────────────────────────────────────── */
#copy-email-btn { background: none; border: none; padding: 0; }

/* ── ENHANCED SELECTION ────────────────────────────────────── */
::selection {
  background: rgba(6,182,212,0.25);
  color: #e2e8f0;
}

/* ── RESPONSIVE EXTRAS ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-stat-card { padding: 0.75rem; }
  .hero-stat-num  { font-size: 1.6rem; }
  .service-card   { padding: 1.5rem; }
  .testimonial-card { padding: 1.5rem; }
  .education-card { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .project-filter-bar { gap: 6px; }
  .project-filter-btn { padding: 4px 11px; font-size: 0.73rem; }
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #preloader { display: none; }
}
