@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #0f0f11;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Light Mode Overrides */
:root.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --border: rgba(0, 0, 0, 0.08);
}

:root.light-mode .navbar {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

:root.light-mode .btn {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

:root.light-mode .profile-fade {
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

:root.light-mode .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root.light-mode .glass {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

:root.light-mode .input {
  background: #ffffff;
  color: var(--text-primary);
}

:root.light-mode .cursor-dot {
  background: #0f172a;
}
:root.light-mode .cursor-ring {
  border-color: rgba(15, 23, 42, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; cursor: none; }
button, input, textarea { cursor: none; font-family: inherit; }

/* =====================================
   CUSTOM CURSOR
   ===================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: left, top;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: left, top;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
}

/* =====================================
   SCROLLBAR
   ===================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* =====================================
   SURFACES & CARDS
   ===================================== */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

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

.neon-text {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* =====================================
   UTILITIES
   ===================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-secondary);
  color: #fff;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 15px var(--accent-glow);
}

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

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* =====================================
   SCROLL REVEAL ANIMATIONS
   ===================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* =====================================
   HERO ENTRY ANIMATIONS
   ===================================== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.3); opacity: 0.3; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes profileGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

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

@keyframes borderGlow {
  0%, 100% { border-color: rgba(99, 102, 241, 0.2); }
  50% { border-color: rgba(99, 102, 241, 0.5); }
}

/* =====================================
   NAV
   ===================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  padding: 0.85rem 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* =====================================
   HERO
   ===================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  animation: heroPulse 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  top: 10%;
  left: 25%;
  opacity: 0.1;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-purple);
  bottom: 15%;
  right: 20%;
  opacity: 0.08;
  animation-delay: 3s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-content .hero-name {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  animation: heroFadeUp 1s ease-out forwards;
  opacity: 0;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  animation: heroFadeUp 1s ease-out forwards;
  opacity: 0;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: heroFadeUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  animation: heroFadeUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* =====================================
   HERO SHOWCASE (Profile + Experience Grid)
   ===================================== */
.hero-showcase {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  max-width: 960px;
  width: 100%;
  padding: 0 2rem;
  margin-top: 1.5rem;
  animation: heroFadeUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

/* ── Profile Card (Natural Cutout) ── */
.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 280px;
}

.profile-photo {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.4s ease;
}

.profile-photo:hover {
  transform: scale(1.03);
}

.profile-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.profile-img.active {
  opacity: 1;
}

/* Gradient fade at the bottom — smooth cutoff */
.profile-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #000000 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.profile-dots {
  display: flex;
  gap: 10px;
  margin-top: 0.75rem;
  z-index: 1;
}

.profile-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-dot:hover {
  background: rgba(59, 130, 246, 0.4);
  border-color: var(--accent-blue);
  transform: scale(1.3);
}

.profile-dot.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* ── Experience Grid ── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  flex: 0.85;
  max-width: 420px;
  align-self: center;
}

.exp-grid-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              z-index 0s;
  z-index: 1;
}

.exp-grid-item:hover {
  transform: scale(1.1);
  z-index: 10;
  border-color: var(--accent-purple);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25), 0 0 0 1px rgba(139, 92, 246, 0.3);
}

.exp-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.exp-grid-item:hover img {
  transform: scale(1.1);
}

.exp-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.exp-grid-item:hover .exp-grid-overlay {
  opacity: 1;
}

.exp-grid-overlay span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Wave Curve Divider ── */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* =====================================
   EXPERIENCE
   ===================================== */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 2.5rem;
  border-radius: 99px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.filter-group:hover, .filter-group:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.filter-group svg {
  color: var(--text-secondary);
}

.filter-select {
  padding: 0.2rem 1.25rem 0.2rem 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-primary);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1em;
}

.filter-select:hover, .filter-select:focus {
  outline: none;
}

.filter-select option {
  background-color: var(--bg-primary, #0f172a);
  color: var(--text-primary, #ffffff);
}

:root.light-mode .filter-bar {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

:root.light-mode .filter-group {
  background: rgba(0, 0, 0, 0.03);
}

:root.light-mode .filter-group:hover, :root.light-mode .filter-group:focus-within {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
}

:root.light-mode .filter-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

:root.light-mode .filter-select option {
  background-color: #ffffff;
  color: #0f172a;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.exp-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-blue);
}

.exp-card-inner {
  display: flex;
  gap: 0;
}

.exp-image {
  width: 240px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.exp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.exp-card:hover .exp-image img {
  transform: scale(1.08);
}

.exp-body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.exp-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.exp-company {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

.exp-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.exp-location svg {
  opacity: 0.6;
}

.exp-date {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.exp-desc {
  color: var(--text-secondary);
  line-height: 1.7;
}

.exp-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.exp-category-badge {
  background: var(--accent-glow);
  color: var(--accent-blue);
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
  white-space: nowrap;
}

/* =====================================
   MODAL POPUP
   ===================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  line-height: 1;
  z-index: 2;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-blue);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.modal-gallery {
  width: 100%;
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
}

.modal-gallery::-webkit-scrollbar {
  height: 8px;
}

.modal-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.modal-gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.modal-gallery img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.modal-details {
  padding: 3rem;
}

/* =====================================
   CONTACT
   ===================================== */
.contact-section {
  padding: 7rem 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-card {
  max-width: 550px;
  width: 100%;
  padding: 3.5rem 3rem;
  text-align: center;
  animation: borderGlow 4s ease-in-out infinite;
}

.contact-card h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-card > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.35rem;
  display: block;
}

/* =====================================
   SOCIAL LINKS
   ===================================== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 20px var(--accent-glow);
  color: #fff;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
}

.social-btn:active {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}

/* =====================================
   FOOTER
   ===================================== */
.footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =====================================
   DASHBOARD / LOGIN
   ===================================== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent 50%);
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar h2 {
  padding: 0 0.75rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.sidebar a {
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.sidebar a:hover, .sidebar a.active {
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-primary);
}

.sidebar a.active {
  border-left: 2px solid var(--accent-blue);
}

.main-content {
  flex: 1;
  padding: 2.5rem 3rem;
  overflow-y: auto;
  background: radial-gradient(ellipse at top right, rgba(59,130,246,0.03), transparent 60%);
}

/* =====================================
   PARTICLES CANVAS
   ===================================== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 768px) {
  body { cursor: auto; }
  a, button, input, textarea { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.85rem; }
  .hero-showcase { flex-direction: column; align-items: center; gap: 1.5rem; }
  .profile-card { width: 220px; }
  .profile-photo { height: 300px; }
  .exp-grid { width: 100%; }
  .exp-card-inner { flex-direction: column; }
  .exp-image { width: 100%; min-height: 180px; }
  .exp-body { padding: 1.5rem; }
  .contact-card { padding: 2rem 1.5rem; }
  .dashboard-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; align-items: center; padding: 1rem; }
  .sidebar h2 { margin-bottom: 0; margin-right: auto; }
  .sidebar nav { flex-direction: row; flex: 0; gap: 0.5rem; }
  .sidebar a { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
  .main-content { padding: 1.5rem; }

}

/* Theme Toggle String Icons */
.moon-icon { display: block; }
.sun-icon { display: none; }

:root.light-mode .moon-icon { display: none; }
:root.light-mode .sun-icon { display: block; }

@media (max-width: 480px) {
  .nav-links { gap: 1rem; }
  .exp-header { flex-direction: column; }
  .profile-card { width: 180px; }
  .profile-photo { height: 250px; }
  .exp-grid { grid-template-columns: 1fr; }
}

