/* ============================================================
   ELNUR KARIMLI PORTFOLIO — PREMIUM DARK NEON THEME
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --bg-primary: #050B18;
  --bg-secondary: #080F20;
  --bg-card: #0D1628;
  --bg-card-hover: #121D35;
  --bg-glass: rgba(13, 22, 40, 0.7);

  --neon-cyan: #00E5FF;
  --neon-purple: #B14EFF;
  --neon-green: #00FF87;
  --neon-gold: #FFD700;
  --neon-pink: #FF4081;
  --neon-orange: #FF9900;

  --text-primary: #E8EFF8;
  --text-secondary: #8A9BC4;
  --text-muted: #4A5A7A;
  --text-bright: #FFFFFF;

  --border-subtle: rgba(0, 229, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.25);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #050B18 0%, #0A1628 50%, #0D1A30 100%);
  --gradient-neon: linear-gradient(135deg, #00E5FF, #B14EFF);
  --gradient-neon-alt: linear-gradient(135deg, #B14EFF, #FF4081);
  --gradient-card: linear-gradient(145deg, rgba(13,22,40,0.9), rgba(8,15,32,0.6));

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1220px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
  --transition-slow: 0.7s ease;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Orbitron', monospace;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Inter', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--neon-cyan), var(--neon-purple));
  border-radius: 3px;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor, .custom-cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.custom-cursor {
  width: 10px;
  height: 10px;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px var(--neon-cyan);
  transition: transform 0.1s, width 0.2s, height 0.2s;
}
.custom-cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 229, 255, 0.5);
  transition: transform 0.12s ease-out;
}
.cursor-hover .custom-cursor {
  width: 16px; height: 16px;
  box-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
  background: var(--neon-purple);
}
.cursor-hover .custom-cursor-follower {
  width: 52px; height: 52px;
  border-color: rgba(177, 78, 255, 0.4);
}
@media (max-width: 768px) {
  .custom-cursor, .custom-cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: pulse-glow 1.5s ease-in-out infinite alternate;
}
.loader-bar {
  width: 240px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-progress {
  height: 100%;
  background: var(--gradient-neon);
  border-radius: 2px;
  width: 0;
  animation: loadProgress 1.8s ease forwards;
}
.loader-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes loadProgress {
  to { width: 100%; }
}

/* ===== TYPOGRAPHY ===== */
.neon-text {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.neon-cyan { color: var(--neon-cyan); }
.neon-purple { color: var(--neon-purple); }

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

/* ===== SECTION BASE ===== */
.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  font-weight: 600;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-neon);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0,229,255,0.4), 0 8px 32px rgba(0,0,0,0.4);
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(177, 78, 255, 0.12);
  color: var(--neon-purple);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(177, 78, 255, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(177, 78, 255, 0.2);
  border-color: var(--neon-purple);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(177, 78, 255, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glow);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-ghost:hover {
  background: rgba(0,229,255,0.06);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(0,229,255,0.2);
}

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-med);
}
.navbar.scrolled {
  background: rgba(5, 11, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-bright);
  letter-spacing: 0.05em;
}
.logo-bracket {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: width var(--transition-fast);
  border-radius: 1px;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-bright);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}
.nav-cta {
  font-size: 0.88rem;
  padding: 10px 24px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 100%);
  height: 100dvh;
  background: rgba(8, 15, 32, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  transition: right var(--transition-med);
  padding: 100px 32px 40px;
  border-left: 1px solid var(--border-subtle);
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}
.mobile-link:hover { color: var(--neon-cyan); }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.12), transparent 70%);
  top: -100px; right: -100px;
  animation-duration: 9s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(177,78,255,0.10), transparent 70%);
  bottom: -50px; left: -50px;
  animation-duration: 11s;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,255,135,0.07), transparent 70%);
  top: 40%; left: 30%;
  animation-duration: 13s;
  animation-delay: -6s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 100px 24px 60px;
  margin-left: calc((100vw - var(--container-width)) / 2);
}
@media (max-width: 1260px) {
  .hero-content { margin-left: 24px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0, 255, 135, 0.06);
  border: 1px solid rgba(0, 255, 135, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon-green);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse-badge 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.title-greeting {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.title-name {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #00E5FF 50%, #B14EFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.title-role {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.role-static { color: var(--text-secondary); }
.role-typed { color: var(--neon-cyan); font-weight: 700; }
.role-cursor {
  color: var(--neon-cyan);
  animation: blink 1s step-end infinite;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.br-desk { display: block; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-cyan);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glow);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-socials {
  display: flex;
  gap: 14px;
}
.social-icon {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.social-icon:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: absolute;
  right: max(4vw, calc((100vw - var(--container-width)) / 2));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.card-3d {
  width: 380px;
  perspective: 800px;
}
.card-3d-inner {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 40px rgba(0, 229, 255, 0.08),
    0 0 80px rgba(177, 78, 255, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  position: relative;
  overflow: visible;
}
.card-3d-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: var(--gradient-neon);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-fast);
}

.avatar-ring {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.avatar-initials {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--bg-primary);
}
.avatar-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.3), transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.floating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.ftag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  animation: floatTag 4s ease-in-out infinite alternate;
}
.ftag-1 { animation-delay: 0s; }
.ftag-2 { animation-delay: 0.5s; }
.ftag-3 { animation-delay: 1s; }
.ftag-4 { animation-delay: 1.5s; }
.ftag-5 { animation-delay: 2s; }

.card-code-snippet {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.snippet-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #28CA41; }
.snippet-title { font-size: 0.75rem; color: var(--text-muted); margin-left: 4px; }
.snippet-code {
  padding: 16px;
  font-size: 0.78rem;
  line-height: 1.7;
  font-family: 'Courier New', monospace;
}
.c-keyword { color: #C792EA; }
.c-var { color: #82AAFF; }
.c-key { color: var(--neon-cyan); }
.c-str { color: #C3E88D; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.about-image-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.about-avatar-big {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite alternate;
}
.about-avatar-initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--bg-primary);
}
.about-glow-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 229, 255, 0.25);
  animation: spin 20s linear infinite;
}
.about-badge-cards {
  display: flex;
  gap: 16px;
  width: 100%;
}
.about-badge-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-fast);
}
.about-badge-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
  transform: translateY(-4px);
}
.about-badge-card i {
  font-size: 1.4rem;
  color: var(--neon-gold);
  margin-bottom: 8px;
  display: block;
}
.about-badge-card span { display: block; font-weight: 700; font-size: 0.9rem; }
.about-badge-card small { color: var(--text-muted); font-size: 0.75rem; }

.about-intro h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 20px;
  color: var(--text-bright);
  line-height: 1.3;
}
.about-intro p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-intro strong { color: var(--neon-cyan); font-weight: 600; }
.about-intro em { color: var(--text-primary); font-style: italic; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}
.highlight-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateX(6px);
}
.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bg-primary);
  flex-shrink: 0;
}
.highlight-text { display: flex; flex-direction: column; }
.highlight-text strong { font-size: 0.95rem; font-weight: 700; color: var(--text-bright); }
.highlight-text span { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }

.about-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SKILLS SECTION ===== */
.skills-section { background: var(--bg-primary); }
.skills-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(177,78,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.skills-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.skill-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}
.skill-tab:hover {
  border-color: rgba(0, 229, 255, 0.25);
  color: var(--text-primary);
}
.skill-tab.active {
  background: var(--gradient-neon);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.skills-panel { display: none; }
.skills-panel.active { display: block; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon, #00E5FF), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.skill-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 229, 255, 0.05);
}
.skill-card:hover::before { opacity: 1; }

.skill-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--neon, #00E5FF);
  transition: all var(--transition-fast);
}
.skill-card:hover .skill-icon-wrap {
  background: rgba(0,229,255,0.12);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}
.skill-name { font-weight: 700; font-size: 0.95rem; color: var(--text-bright); }
.skill-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar {
  height: 100%;
  background: var(--gradient-neon);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-percent { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* ===== PROJECTS SECTION ===== */
.projects-section { background: var(--bg-secondary); }

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: rgba(0, 229, 255, 0.3); color: var(--text-primary); }
.filter-btn.active {
  background: var(--gradient-neon);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.project-card {
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.project-card.hidden {
  display: none;
}
.project-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-fast);
}
.project-card-inner:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 229, 255, 0.05);
}

.project-preview {
  height: 200px;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--color, #00E5FF) 0%, transparent 60%);
  opacity: 0.08;
}

.project-mockup {
  width: 85%;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
}
.project-card-inner:hover .project-mockup { transform: scale(1.04); }

.mockup-dots {
  display: flex;
  gap: 6px;
  padding: 10px 12px 6px;
  background: rgba(255,255,255,0.03);
}
.mockup-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mockup-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mc-line {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
.mc-1 { width: 75%; }
.mc-2 { width: 55%; }
.mc-block {
  height: 36px;
  border-radius: var(--radius-sm);
  opacity: 0.7;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 24, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.project-card-inner:hover .project-overlay { opacity: 1; }

.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-neon);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--transition-fast);
}
.overlay-btn:hover { transform: scale(1.05); }
.overlay-btn-ghost {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
}
.overlay-btn-ghost:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

.project-info { padding: 24px; }
.project-category { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.project-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
  padding: 4px 12px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-cyan);
}

.projects-more { text-align: center; margin-top: 48px; }

/* ===== COURSES SECTION ===== */
.courses-section { background: var(--bg-primary); }
.courses-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(177, 78, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--course-color, #00E5FF), transparent);
}
.course-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.1);
}
.course-featured {
  border-color: rgba(177, 78, 255, 0.3);
  box-shadow: 0 0 30px rgba(177, 78, 255, 0.08);
}

.course-badge-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-neon-alt);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.course-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--course-color, #00E5FF), rgba(0,0,0,0));
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--course-color, #00E5FF);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 16px rgba(0,229,255,0.15);
}
.course-level {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.level-beginner { background: rgba(0,255,135,0.1); color: var(--neon-green); border: 1px solid rgba(0,255,135,0.2); }
.level-intermediate { background: rgba(0,229,255,0.1); color: var(--neon-cyan); border: 1px solid rgba(0,229,255,0.2); }
.level-advanced { background: rgba(177,78,255,0.1); color: var(--neon-purple); border: 1px solid rgba(177,78,255,0.2); }

.course-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.course-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.course-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.course-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.course-features li i { color: var(--neon-green); font-size: 0.75rem; }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.course-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-bright);
}
.course-price small { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }

/* ===== EXPERIENCE / TIMELINE SECTION ===== */
.experience-section { background: var(--bg-secondary); }

.timeline {
  position: relative;
  padding: 0 0 0 40px;
  max-width: 860px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--neon-cyan), var(--neon-purple), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 56px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -56px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--bg-primary);
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-fast);
  position: relative;
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 12px;
  width: 14px;
  height: 14px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transform: rotate(45deg);
}
.timeline-content:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.timeline-year {
  font-size: 0.78rem;
  color: var(--neon-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
}
.timeline-content h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--neon-purple);
  margin-bottom: 12px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.timeline-tags span {
  padding: 4px 12px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section { background: var(--bg-primary); }

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  transition: all var(--transition-fast);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--neon-cyan);
  opacity: 0.06;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--neon-gold);
  font-size: 0.9rem;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color, #00E5FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--bg-primary);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--color, #00E5FF);
}
.author-info strong { display: block; font-size: 0.95rem; color: var(--text-bright); margin-bottom: 2px; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.carousel-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-glow);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.carousel-dot.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--bg-secondary); }
.contact-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.contact-detail-item:hover {
  border-color: rgba(0, 229, 255, 0.25);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.cd-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.cd-text { display: flex; flex-direction: column; }
.cd-text span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.cd-text strong { font-size: 0.9rem; color: var(--text-bright); font-weight: 600; }

.contact-socials { display: flex; gap: 12px; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A9BC4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
textarea { resize: vertical; min-height: 130px; }

.form-check {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--neon-cyan);
  cursor: pointer;
}
.form-check label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  border-radius: var(--radius-md);
  color: var(--neon-green);
}
.form-success i { font-size: 1.2rem; }
.hidden { display: none !important; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 32px;
  position: relative;
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--gradient-neon);
  opacity: 0.4;
  filter: blur(4px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 52px;
}
.footer-logo {
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.footer-socials a:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--neon-cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.heart { color: var(--neon-pink); }
.coffee { font-size: 1em; }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-bottom-links a:hover { color: var(--neon-cyan); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-neon);
  color: var(--bg-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 0 30px rgba(0, 229, 255, 0.6); }

/* ===== ANIMATIONS ===== */
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-16px); }
}
@keyframes floatTag {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes pulse-glow {
  from { box-shadow: 0 0 10px rgba(0, 229, 255, 0.3); }
  to { box-shadow: 0 0 30px rgba(0, 229, 255, 0.7); }
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.001% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Glitch effect */
.glitch {
  position: relative;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  animation: glitch-1 4s infinite;
  background: var(--gradient-neon);
}
.glitch::after {
  left: -2px;
  text-shadow: 2px 0 var(--neon-cyan);
  animation: glitch-2 4s infinite;
  background: linear-gradient(135deg, #B14EFF, #FF4081);
}
@keyframes glitch-1 {
  0%, 90%, 100% { clip-path: inset(0 0 100% 0); }
  92% { clip-path: inset(10% 0 60% 0); left: 2px; }
  94% { clip-path: inset(50% 0 20% 0); left: -1px; }
  96% { clip-path: inset(30% 0 40% 0); left: 3px; }
}
@keyframes glitch-2 {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); }
  89% { clip-path: inset(20% 0 40% 0); left: -3px; }
  91% { clip-path: inset(60% 0 10% 0); left: 2px; }
  93% { clip-path: inset(5% 0 70% 0); left: -1px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-visual {
    display: none;
  }
  .hero-content {
    max-width: 100%;
    padding-top: 120px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-wrap { display: flex; justify-content: center; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root { --section-padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .testimonial-card { min-width: calc(50% - 12px); }
  .projects-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-padding: 56px 0; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .about-badge-cards { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
  .br-desk { display: none; }
  .section-title { font-size: 1.6rem; }
  .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 420px) {
  .skills-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .stat-divider { display: none; }
  .footer-links { grid-template-columns: 1fr; }
}
