/* ============================================================
   CV Website — Dark Elegance + Glassmorphism
   Pure vanilla CSS, no frameworks
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #1a1030;
  --accent-blue: #4A9FFF;
  --accent-blue-dim: rgba(74, 159, 255, 0.15);
  --accent-teal: #00D4AA;
  --accent-teal-dim: rgba(0, 212, 170, 0.15);
  --text-primary: #E8E8F0;
  --text-secondary: #9A9AB0;
  --text-muted: #6B6B80;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --nav-height: 70px;
  --container-max: 960px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-teal);
}

ul {
  list-style: none;
}

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

/* --- Particle Canvas --- */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Glass Effect --- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-gradient {
  background: var(--glass-bg);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.glass-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal), var(--accent-blue));
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

/* ==========================================================
   NAVIGATION
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 10, 26, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--glass-border);
}

.mobile-menu.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.mobile-nav-links a {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  transition: color var(--transition);
}

.mobile-nav-links a:hover {
  color: var(--accent-blue);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  padding: 80px 24px 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-avatar {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 8px;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringPulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  min-height: 2em;
  font-weight: 400;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--accent-blue);
  font-weight: 300;
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(74, 159, 255, 0.2);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #3a7fd4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 159, 255, 0.3);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(74, 159, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ==========================================================
   SECTIONS (general)
   ========================================================== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -0.02em;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about-card {
  padding: 40px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 32px;
}

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

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blue);
  background: var(--accent-blue-dim);
  border: 1px solid rgba(74, 159, 255, 0.15);
  transition: all var(--transition);
}

.highlight-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 159, 255, 0.15);
}

.highlight-badge svg {
  flex-shrink: 0;
  stroke: var(--accent-blue);
}

/* ==========================================================
   SKILLS
   ========================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.skills-group {
  padding: 32px;
}

.skills-group-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.skills-group-title svg {
  stroke: var(--accent-blue);
  flex-shrink: 0;
}

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

.skill-chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blue);
  background: var(--accent-blue-dim);
  border: 1px solid rgba(74, 159, 255, 0.12);
  cursor: default;
  transition: all var(--transition);
}

.skill-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(74, 159, 255, 0.25);
  border-color: rgba(74, 159, 255, 0.35);
}

.skill-chip.chip-teal {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
  border-color: rgba(0, 212, 170, 0.12);
}

.skill-chip.chip-teal:hover {
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.25);
  border-color: rgba(0, 212, 170, 0.35);
}

/* ==========================================================
   TIMELINE (Experience & Education)
   ========================================================== */
.timeline {
  position: relative;
  padding: 10px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
  transform: translateX(-50%);
}

.timeline-teal::before {
  background: linear-gradient(to bottom, transparent, var(--accent-teal), transparent);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 48px;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 48px;
  padding-right: 0;
}

.timeline-dot {
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 3px solid var(--bg-primary);
  z-index: 2;
  box-shadow: 0 0 12px rgba(74, 159, 255, 0.4);
}

.timeline-teal .timeline-dot {
  background: var(--accent-teal);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.4);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

.timeline-card {
  padding: 28px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.timeline-teal .timeline-date {
  color: var(--accent-teal);
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.timeline-details {
  list-style: none;
  padding: 0;
}

.timeline-details li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.timeline-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  opacity: 0.6;
}

.timeline-teal .timeline-details li::before {
  background: var(--accent-teal);
}

.timeline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-teal {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.contact-form-wrapper {
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(74, 159, 255, 0.1);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  color: var(--accent-blue);
  background: var(--bg-primary);
  padding: 2px 6px;
  border-radius: 4px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: var(--text-primary);
  transition: all var(--transition);
}

.contact-link-card:hover {
  color: var(--text-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: var(--glass-hover);
}

.contact-link-card svg {
  flex-shrink: 0;
  color: var(--accent-blue);
}

.contact-link-card div {
  display: flex;
  flex-direction: column;
}

.contact-link-card strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-link-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0 32px;
  border-top: 1px solid var(--glass-border);
}

.footer .container {
  position: relative;
}

.footer-content {
  text-align: center;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}

.footer-socials a:hover {
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.back-to-top {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.back-to-top:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(74, 159, 255, 0.15);
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 0 0 36px 52px;
    left: 0 !important;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 52px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 13px !important;
    right: auto !important;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
  }

  .reveal-left.visible,
  .reveal-right.visible {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-avatar {
    width: 140px;
    height: 140px;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .about-card {
    padding: 28px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .skills-group {
    padding: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    justify-content: center;
  }

  .highlight-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding: 0 0 28px 42px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 42px;
  }

  .timeline-dot {
    left: 7px !important;
  }

  .timeline-card {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero-avatar {
    width: 120px;
    height: 120px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  #particles {
    display: none;
  }
}

/* ==========================================================
   PRINT STYLES
   ========================================================== */
@media print {
  body {
    background: #fff;
    color: #222;
    font-size: 12pt;
  }

  #particles,
  .navbar,
  .mobile-menu,
  .scroll-indicator,
  .hero-cta,
  .hero-socials,
  .contact-form-wrapper,
  .back-to-top,
  .footer-socials,
  .avatar-ring {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-name {
    background: none;
    -webkit-text-fill-color: #222;
    color: #222;
  }

  .hero-subtitle {
    color: #555;
  }

  .cursor-blink {
    display: none;
  }

  .section {
    padding: 30px 0;
    page-break-inside: avoid;
  }

  .section-title {
    color: #222;
  }

  .section-title::after {
    background: #333;
  }

  .glass,
  .glass-gradient {
    background: #f8f8f8;
    border: 1px solid #ddd;
    backdrop-filter: none;
  }

  .about-text,
  .timeline-details li,
  .timeline-company,
  .contact-info p {
    color: #444;
  }

  .timeline-date,
  .timeline-role,
  .highlight-badge,
  .skill-chip,
  .badge {
    color: #333;
  }

  .skill-chip,
  .highlight-badge,
  .badge {
    background: #eee;
    border-color: #ccc;
  }

  .timeline::before {
    background: #ccc;
  }

  .timeline-dot {
    background: #666;
    box-shadow: none;
  }

  a {
    color: #222;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .footer {
    border-top: 1px solid #ddd;
  }

  .footer-name,
  .footer-copy {
    color: #555;
  }
}
