/* ===== CSS Variables ===== */
:root {
  --bg: #0b0b0c;
  --panel: #121214;
  --muted: #a3a3a3;
  --text: #f5f7fb;
  --brand: #9b59b6;
  --brand-2: #be79df;
  --ring: rgba(155, 89, 182, 0.45);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  --card-border: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --muted: #6b7280;
  --text: #111827;
  --card-bg: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
  --card-border: rgba(0, 0, 0, 0.08);
  --ring: rgba(155, 89, 182, 0.25);
}

/* ===== Base Styles ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 800px at 80% -10%, #1a1a1f 0%, #0f0f12 55%, var(--bg) 100%);
  z-index: -2;
  transition: opacity 0.3s ease;
}

[data-theme="light"] body::before {
  background: radial-gradient(1200px 800px at 80% -10%, #e8e9ff 0%, #f0f1ff 55%, var(--bg) 100%);
}

/* ===== Accessibility ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--brand-2);
}

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

/* ===== Background Effects ===== */
.fx {
  position: fixed;
  inset: -10vmax;
  z-index: -1;
  pointer-events: none;
  filter: saturate(1.2) blur(0.25px);
}

.dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: drift 32s linear infinite;
  mask-image: radial-gradient(60% 60% at 70% 20%, black 50%, transparent 100%);
  will-change: transform;
}

[data-theme="light"] .dots {
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(22px, 22px, 0); }
}

.orb {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(60px) saturate(120%);
  opacity: 0.15;
  background: conic-gradient(from 200deg, var(--brand), var(--brand-2), #e2b6ff, var(--brand));
  animation: orb 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes orb {
  from { transform: translate3d(-20vmax, -12vmax, 0) rotate(0); }
  to { transform: translate3d(10vmax, 6vmax, 0) rotate(40deg); }
}

/* ===== Header & Navigation ===== */
header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.85), rgba(8, 8, 10, 0.35) 70%, transparent);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

[data-theme="light"] header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75) 70%, transparent);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  outline: none;
  color: var(--text);
  background: rgba(155, 89, 182, 0.12);
  box-shadow: 0 0 0 3px var(--ring);
}

.spacer {
  flex: 1;
}

.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111;
  font-weight: 800;
  transition: all 0.2s ease;
}

.cta:hover {
  box-shadow: 0 10px 25px -10px rgba(155, 89, 182, 0.6);
  transform: translateY(-1px);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(155, 89, 182, 0.12);
  box-shadow: 0 0 0 3px var(--ring);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* ===== Language Toggle ===== */
.lang-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  background: rgba(155, 89, 182, 0.12);
  box-shadow: 0 0 0 3px var(--ring);
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(155, 89, 182, 0.12);
  box-shadow: 0 0 0 3px var(--ring);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--panel);
  border-left: 1px solid var(--card-border);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: block;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  outline: none;
  background: rgba(155, 89, 182, 0.12);
  color: var(--brand-2);
  transform: translateX(4px);
}

/* ===== Main Content ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 120px;
}

section {
  margin-bottom: 60px;
}

/* ===== Scroll Reveal Animation ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hero Section ===== */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}

/* ===== Cards with Enhanced Hover ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2), transparent, transparent);
  -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 ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -20px rgba(155, 89, 182, 0.4);
}

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

[data-theme="light"] .card {
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 30px 80px -20px rgba(155, 89, 182, 0.3);
}

.pad {
  padding: 22px;
}

.title {
  font-size: clamp(28px, 3.4vw + 8px, 58px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 18px;
}

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.tag {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

[data-theme="light"] .tag {
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
}

.tag:hover {
  transform: translateY(-2px);
  background: rgba(155, 89, 182, 0.12);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Enhanced Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn.pri {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0c0c0e;
}

.btn.sec {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .btn.sec {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.14);
}

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

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

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

/* ===== Grid Layout ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

h2 {
  font-size: clamp(20px, 1.8vw + 8px, 32px);
  margin: 0 0 14px;
}

h3 {
  font-size: clamp(16px, 0.9vw + 10px, 20px);
  margin: 0 0 6px;
}

p {
  margin: 0 0 10px;
  color: #ccd0d6;
}

[data-theme="light"] p {
  color: #4b5563;
}

/* ===== Enhanced Timeline ===== */
.timeline {
  display: grid;
  gap: 14px;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 2px;
}

.item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: all 0.3s ease;
}

[data-theme="light"] .item {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--brand);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--brand);
}

.item:hover {
  background: rgba(155, 89, 182, 0.08);
  transform: translateX(4px);
  border-color: var(--brand);
}

.when {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* ===== Portfolio Section ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px -20px rgba(155, 89, 182, 0.5);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.project-content {
  padding: 20px;
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.project-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tech-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(155, 89, 182, 0.15);
  color: var(--brand-2);
  border: 1px solid var(--brand);
}

.project-links {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.project-link {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(155, 89, 182, 0.1);
  color: var(--text);
  border: 1px solid var(--brand);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.project-link:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.project-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

/* ===== Skills ===== */
.skills,
.lan,
.contact {
  display: grid;
  gap: 10px;
}

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

.chip {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  font-weight: 600;
  color: #eaeff6;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

[data-theme="light"] .chip {
  color: var(--text);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.03);
}

.chip:hover {
  transform: translateY(-2px);
  background: rgba(155, 89, 182, 0.12);
  border-style: solid;
}

/* ===== Contact Form ===== */
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
  background: rgba(155, 89, 182, 0.08);
}

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

.form-error {
  color: #ef4444;
  font-size: 12px;
  display: none;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  color: #22c55e;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  display: none;
}

.contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.contact a:hover {
  text-decoration: underline;
}

[data-theme="light"] .contact a {
  color: var(--brand);
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 30px -10px rgba(155, 89, 182, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px rgba(155, 89, 182, 0.8);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ===== Footer ===== */
.foot {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Responsive Design ===== */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav a {
    font-size: 14px;
    padding: 6px 10px;
  }
  .avatar {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .logo strong {
    font-size: 15px;
  }

  main {
    padding: 24px 16px 80px;
  }
  section {
    margin-bottom: 40px;
  }

  .card {
    border-radius: 18px;
  }
  .pad {
    padding: 18px;
  }

  .hero {
    gap: 20px;
    padding: 20px 0;
  }
  .tagrow {
    gap: 8px;
    margin: 12px 0 20px;
  }
  .tag {
    font-size: 12px;
    padding: 6px 10px;
  }

  .actions {
    gap: 10px;
  }
  .btn {
    padding: 12px 14px;
    font-size: 15px;
  }
  .btn svg {
    width: 16px;
    height: 16px;
  }

  .grid {
    gap: 18px;
  }
  h2 {
    margin-bottom: 12px;
  }

  .timeline {
    gap: 12px;
    padding-left: 25px;
  }
  .item {
    padding: 14px;
  }

  .chips {
    gap: 8px;
  }
  .chip {
    padding: 8px 10px;
    font-size: 13px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 10px 12px;
    justify-content: space-between;
  }
  .nav .nav-link {
    display: none;
  }
  .spacer {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  main {
    padding: 20px 12px 60px;
  }

  .pad {
    padding: 16px;
  }
  .card {
    border-radius: 16px;
  }

  .hero {
    gap: 16px;
    padding: 16px 0;
  }
  .title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .subtitle {
    font-size: 14px;
  }

  .tagrow {
    flex-direction: column;
    gap: 6px;
  }
  .tag {
    display: inline-block;
    font-size: 11px;
    padding: 5px 9px;
  }

  .actions {
    flex-direction: column;
    gap: 8px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 14px;
  }

  h2 {
    font-size: clamp(18px, 4vw, 24px);
  }
  h3 {
    font-size: clamp(15px, 3vw, 18px);
  }
  p {
    font-size: 14px;
  }

  .when {
    font-size: 11px;
  }
  .item {
    padding: 12px;
  }

  .chips {
    gap: 6px;
  }
  .chip {
    font-size: 12px;
    padding: 7px 9px;
  }

  .timeline {
    padding-left: 20px;
  }

  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 360px) {
  .nav {
    padding: 8px 10px;
    gap: 6px;
  }
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .logo strong {
    font-size: 14px;
  }

  main {
    padding: 16px 10px 50px;
  }

  .pad {
    padding: 14px;
  }
  .hero {
    padding: 12px 0;
    gap: 14px;
  }

  .title {
    font-size: clamp(22px, 7vw, 32px);
  }
  .subtitle {
    font-size: 13px;
    margin-bottom: 12px;
  }

  h2 {
    font-size: clamp(16px, 5vw, 22px);
  }
  h3 {
    font-size: clamp(14px, 4vw, 17px);
  }
  p,
  .chip {
    font-size: 11px;
  }

  .btn {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .dots,
  .orb {
    animation: none;
  }
  * {
    transition: none !important;
  }
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Print Styles ===== */
@media print {
  .nav,
  .back-to-top,
  .theme-toggle,
  .lang-toggle,
  .fx,
  .contact-form {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    border: 1px solid #ddd;
    box-shadow: none;
    page-break-inside: avoid;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .btn {
    border: 1px solid #ddd;
  }
}
