/* ===== CSS VARIABLES FOR THEMES ===== */
:root {
  /* Dark Mode Elegance + Neon Accent Theme */
  --dark-bg-primary: #0D0D0D;
  --dark-bg-secondary: #1A1A2E;
  --neon-pink: #FF007F;
  --neon-pink-glow: 0 0 2.5px #FF007F, 0 0 5px #FF007F, 0 0 7.5px #FF007F;
  --lavender: #B388EB;
  --electric-blue: #00BFFF;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  
  /* Font Variables */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-futuristic: 'Orbitron', monospace;
  --font-developer: 'Fira Code', monospace;
  
  /* Common Variables */
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  --box-shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--dark-bg-primary), var(--dark-bg-secondary));
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

/* ===== INTRO OVERLAY ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(136, 58, 255, 0.2), transparent 28%),
    linear-gradient(180deg, #1b0626 0%, #14031d 50%, #0c0112 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.intro-overlay::before,
.intro-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-overlay::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 1px, transparent 1.5px);
  background-size: 96px 96px;
  opacity: 0.22;
}

.intro-overlay::after {
  background:
    linear-gradient(90deg, transparent, rgba(183, 123, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: introSweep 2.8s ease-in-out infinite;
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 65%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 85% 28%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px);
  opacity: 0.3;
  animation: introTwinkle 4s ease-in-out infinite;
}

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(760px, calc(100vw - 3rem));
  padding: 2rem;
}

.intro-kicker {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.intro-title {
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.intro-title span,
.intro-role-line span {
  color: #c896ff;
  text-shadow: 0 0 24px rgba(200, 150, 255, 0.35);
}

.intro-role-line {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3.4vw, 2.5rem);
  color: #f4efff;
}

.intro-note {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.intro-skip {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.intro-skip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 150, 255, 0.35);
}

@keyframes introTwinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

@keyframes introSweep {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  60% { opacity: 0.4; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: relative;
  color: var(--text-primary);
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 1;
  filter: brightness(1) contrast(1);
}

.header-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav {
  position: relative;
  z-index: 3;
  background: rgba(13, 13, 13, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 0, 127, 0.2);
  box-shadow: var(--neon-pink-glow);
}

nav h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neon-pink);
  transition: var(--transition);
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
  box-shadow: var(--neon-pink-glow);
}

.nav-tools {
  display: flex;
  align-items: center;
}

.nav-theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 0, 127, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-theme-icon {
  color: var(--neon-pink);
  font-size: 0.95rem;
  text-shadow: var(--neon-pink-glow);
}

.nav-theme-switcher select {
  min-width: 92px;
  padding: 0.3rem 1.6rem 0.3rem 0.2rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-theme-switcher select option {
  color: #111111;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  z-index: 2;
  background: rgba(13, 13, 13, 0.1);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  border: 1px solid rgba(255, 0, 127, 0.3);
  box-shadow: var(--neon-pink-glow);
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--neon-pink), var(--lavender));
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--neon-pink-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
  background: linear-gradient(135deg, var(--lavender), var(--neon-pink));
}

/* ===== MAIN CONTENT ===== */
main {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
 
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
  font-family: var(--font-secondary);
}

/* ===== PROJECT GRID ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.project-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 0, 127, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 127, 0.1), transparent);
  transition: var(--transition);
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover), var(--neon-pink-glow);
  border-color: var(--neon-pink);
}

.project-card:hover::before {
  left: 100%;
}

.project-card h3 {
  color: var(--neon-pink);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 5px var(--neon-pink);
  position: relative;
  z-index: 2;
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.project-card a {
  color: var(--electric-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  z-index: 3;
}

.project-card a:hover {
  color: var(--lavender);
  text-shadow: 0 0 10px var(--lavender);
}

/* ===== REPORTS SECTION ===== */
.reports-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.reports-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
  animation: neonPulse 3s ease-in-out infinite;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.report-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.1), transparent);
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover), 0 0 20px rgba(0, 191, 255, 0.3);
  border-color: var(--electric-blue);
}

.report-card:hover::before {
  left: 100%;
}

.report-card h3 {
  color: var(--electric-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 5px var(--electric-blue);
}

.report-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.report-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.report-date {
  color: var(--lavender);
  font-size: 0.9rem;
  background: rgba(179, 136, 235, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  border: 1px solid rgba(179, 136, 235, 0.2);
}

.report-type {
  color: var(--neon-pink);
  font-size: 0.9rem;
  background: rgba(255, 0, 127, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 0, 127, 0.2);
}

.report-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--electric-blue), var(--lavender));
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--electric-blue), 0 0 25px var(--electric-blue);
  background: linear-gradient(135deg, var(--lavender), var(--electric-blue));
}

.report-btn.download {
  background: linear-gradient(135deg, var(--neon-pink), var(--lavender));
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.report-btn.download:hover {
  box-shadow: 0 0 15px var(--neon-pink), 0 0 25px var(--neon-pink);
  background: linear-gradient(135deg, var(--lavender), var(--neon-pink));
}

.report-btn.coming-soon {
  background: linear-gradient(135deg, #666, #999);
  box-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
  cursor: not-allowed;
}

.report-btn.coming-soon:hover {
  transform: none;
  box-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
  background: linear-gradient(135deg, #666, #999);
}

.report-btn i {
  margin-right: 0.5rem;
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  border: 1px solid rgba(255, 0, 127, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
  animation: neonPulse 3s ease-in-out infinite;
}

.timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 1320px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--neon-pink), var(--lavender));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  width: 49.5%;
  padding: 2.5rem;
  background: rgba(13, 13, 13, 0.8);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 0, 127, 0.2);
  backdrop-filter: blur(10px);
}

.timeline-item:nth-child(odd) {
  margin-left: auto;
}

.timeline-item:nth-child(even) {
  margin-right: auto;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: var(--neon-pink-glow);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  left: -30px;
}

.timeline-item:nth-child(even)::before {
  right: -30px;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover), var(--neon-pink-glow);
  border-color: var(--neon-pink);
}

.timeline-content h3 {
  color: var(--neon-pink);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-shadow: 0 0 5px var(--neon-pink);
}

.timeline-content .company {
  color: var(--lavender);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content .date {
  color: var(--electric-blue);
  font-style: italic;
  margin-bottom: 1rem;
  display: block;
  font-size: 0.9rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 100px 10%;
  text-align: center;
  background: radial-gradient(circle at top, #1a0033, #0a0014);
  color: white;
}

.skills-title {
  font-size: 40px;
  letter-spacing: 2px;
  color: #c084fc;
  margin-bottom: 10px;
}

.skills-subtitle {
  color: #ccc;
  margin-bottom: 60px;
  font-size: 16px;
}

/* glowing spotlight box */
.skills-wrapper {
  position: relative;
  padding: 50px 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, #1a0033, #0a0014);
  box-shadow: 0 0 80px rgba(168, 85, 247, 0.3);
  overflow: hidden;
}

/* light glow effect */
.skills-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent);
  filter: blur(60px);
}

/* skills pills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.skills-list span {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* hover effect */
.skills-list span:hover {
  background: linear-gradient(135deg, #a855f7, #6d28d9);
  box-shadow: 0 0 15px #a855f7;
  transform: translateY(-3px) scale(1.05);
}

/* ===== MAIN VIDEO BACKGROUND ===== */
#contact {
  position: relative;
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  border: 1px solid rgba(0, 191, 255, 0.2);
  overflow: hidden;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  height: 500px;
  overflow: hidden;
  color: white;
}

/* video */
.footer-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* dark overlay */
.footer-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 20, 0.7);
  z-index: 2;
}

/* content */
.footer-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 80px 10%;
  gap: 40px;
}

/* columns */
.footer-col h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: #c084fc;
}

.footer-col p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #a855f7;
}

/* icons */
.socials a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.socials a:hover {
  transform: translateY(-4px);
  color: #17c7ff;
  border-color: rgba(23, 199, 255, 0.35);
  box-shadow:
    0 0 18px rgba(23, 199, 255, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.socials i {
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.socials i:hover {
  color: #a855f7;
}

/* bottom */
.footer-bottom {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: #aaa;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .project-card,
  .report-card {
    padding: 2rem;
  }
  
  .skill-item {
    padding: 1.5rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-section {
    padding: 4rem 1.25rem;
  }
  
  /* Reports Section Responsive */
  .reports-section {
    padding: 2rem 1rem;
  }
  
  .report-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Experience Section Responsive */
  .timeline::before {
    left: 20px;
    transform: none;
  }
  
  .timeline-item {
    width: calc(100% - 60px);
    margin: 2rem 0;
    padding: 2rem;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -40px;
    right: auto;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  main {
    padding: 2rem 1rem;
  }
  
  .project-card,
  .skill-item {
    padding: 1.5rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-kicker {
    letter-spacing: 0.2rem;
  }
  
  /* Experience Section Mobile Responsive */
  .experience {
    padding: 2rem 1rem;
  }
  
  .timeline-item {
    width: calc(100% - 40px);
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 40px;
  }
  
  .timeline-item::before {
    width: 16px;
    height: 16px;
  }
  
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -28px;
  }
  
  .timeline-content h3 {
    font-size: 1.3rem;
  }
  
  .timeline-content .company {
    font-size: 1rem;
  }
  
  .timeline-content .date {
    font-size: 0.8rem;
  }
}

/* ===== DEPLOYMENT RESPONSIVE TUNE-UP ===== */
img,
video {
  max-width: 100%;
}

@media (max-width: 1200px) {
  nav {
    padding: 0.9rem 1.2rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    padding: 0.45rem 0.7rem;
  }

  .hero h2,
  .projects-hero h2 {
    font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 980px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav h1 {
    width: 100%;
    text-align: center;
  }

  nav ul {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-tools {
    width: 100%;
    justify-content: center;
  }

  .project-grid,
  .reports-grid,
  .projects-page .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .about-intro-grid,
  .about-values-grid,
  .contact-grid,
  .compare-copy,
  .compare-editor,
  .project-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .project-spotlight-preview {
    min-height: 300px;
  }

  .projects-tab-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  .journey-card {
    margin-left: 2.4rem;
  }

  .journey-card::before {
    left: -2.2rem;
  }

  .experience-container {
    max-width: calc(100vw - 2rem);
  }
}

@media (max-width: 720px) {
  header,
  .page-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero,
  .page-hero {
    padding: 1.6rem 1.2rem;
  }

  .hero h2,
  .projects-hero h2,
  .about-hero h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .hero p,
  .page-hero p,
  .projects-hero p {
    font-size: 1rem;
  }

  .btn,
  .project-spotlight-copy a,
  .contact-actions .btn,
  .contact-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .mosaic-item {
    min-width: 220px;
    height: 150px;
  }

  .project-card,
  .report-card,
  .feature-card,
  .contact-card,
  .journey-card,
  .projects-compare-panel {
    padding: 1.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }
}

@media (max-width: 540px) {
  nav h1 {
    font-size: 1.45rem;
  }

  nav ul {
    gap: 0.45rem;
  }

  nav a {
    font-size: 0.92rem;
    padding: 0.35rem 0.55rem;
  }

  .nav-theme-switcher {
    padding: 0.4rem 0.6rem;
  }

  .nav-theme-switcher select {
    min-width: 76px;
    font-size: 0.82rem;
  }

  main,
  .page-main {
    padding-left: 0;
    padding-right: 0;
  }

  .section-inner,
  .page-hero,
  .about-hero {
    width: calc(100vw - 1.25rem);
  }

  .journey-card {
    margin-left: 1.8rem;
    padding: 1.1rem;
  }

  .journey-showcase::before {
    left: 11px;
  }

  .journey-card::before {
    left: -1.6rem;
    width: 14px;
    height: 14px;
  }

  .project-card h3,
  .projects-page .project-card h3,
  .journey-card-head h3,
  .compare-column h3 {
    font-size: 1.3rem;
  }

  .report-btn {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes neonPulse {
  0%, 100% {
    text-shadow: 0 0 2px var(--neon-pink), 0 0 4px var(--neon-pink);
  }
  50% {
    text-shadow: 0 0 8px var(--neon-pink), 0 0 12px var(--neon-pink);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 2px var(--neon-pink);
  }
  50% {
    box-shadow: 0 0 8px var(--neon-pink);
  }
}

/* Apply animations to specific elements */
nav h1,
.hero h2,
section h2 {
  animation: neonPulse 2s ease-in-out infinite;
}

.btn {
  animation: glow 3s ease-in-out infinite;
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonials {
  padding: 72px 0;
  background: radial-gradient(circle at top, #1a0033, #0a0014);
  text-align: center;
  color: white;
  overflow: hidden;
}

.test-title {
  font-size: 40px;
  color: #c084fc;
}

.test-sub {
  color: #ccc;
  margin-bottom: 36px;
}

/* TRACK */
.slide-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
  will-change: transform;
}

/* CARD */
.test-card {
  width: 360px;
  min-height: 300px;
  margin: 0 20px;
  padding: 28px;
  border-radius: 18px;

  /* DARK BASE (important for clarity) */
  background: rgba(20, 0, 40, 0.9);

  /* SHARP BORDER */
  border: 1px solid rgba(168, 85, 247, 0.25);

  /* CONTROLLED GLOW (not blur) */
  box-shadow:
    0 0 10px rgba(168, 85, 247, 0.2),
    0 0 30px rgba(168, 85, 247, 0.15);

  backdrop-filter: blur(8px);

  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
  
}
.slider {
  width: 100%;
  overflow: hidden; /* prevents overflow */
  position: relative;
}
.slide-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.test-card {
  flex: 0 0 auto; /* IMPORTANT */
}

.test-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  font-size: 1rem;
}

.test-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
}

.test-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.test-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 0, 127, 0.35);
  box-shadow:
    0 0 24px rgba(168, 85, 247, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
  padding: 100px 0;
  background: radial-gradient(circle at top, #0a0014, #000);
  text-align: center;
  overflow: hidden;
}

.showcase-title {
  font-size: 40px;
  color: #c084fc;
  margin-bottom: 50px;
}

/* SLIDER */
.showcase-slider {
  overflow: hidden;
  position: relative;
}

/* TRACK */
.showcase-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: showcaseScroll 30s linear infinite;
}

/* CARD */
.showcase-card {
  flex: 0 0 auto;
  width: 400px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;

  /* glow */
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.2),
    0 0 50px rgba(168, 85, 247, 0.15);

  transition: 0.4s;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOVER EFFECT */
.showcase-card:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.4),
    0 0 80px rgba(168, 85, 247, 0.25);
}

/* ===== FEATURE SECTION ===== */
.feature-section {
  position: relative;
  padding: 5rem 2rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(0, 191, 255, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(8, 12, 28, 0.96), rgba(6, 30, 45, 0.9));
  border: 1px solid rgba(0, 191, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.feature-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 30%, transparent 70%, rgba(0, 255, 255, 0.08));
  pointer-events: none;
}

.feature-shell {
  position: relative;
  z-index: 1;
}

.feature-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.32rem;
  color: var(--electric-blue);
  font-family: var(--font-developer);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.feature-intro {
  max-width: 720px;
  margin: -1.5rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(0, 255, 255, 0.45);
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.28),
    0 20px 45px rgba(0, 0, 0, 0.35);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.4rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  color: #8efcff;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(142, 252, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.animate-feature-card {
  opacity: 0;
  transform: translateY(50px);
}

.animate-feature-card.is-visible {
  animation: featureReveal 0.6s ease forwards;
  animation-delay: var(--feature-delay, 0s);
}

.animate-section-item {
  opacity: 0;
  transform: translateY(40px);
}

.animate-section-item.is-visible {
  animation: sectionReveal 0.6s ease forwards;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes featureReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMATION */
@keyframes showcaseScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body {
  background: #0a0a0a;
  font-family: Arial, sans-serif;
  color: white;
}

/* Section */
.projects-section {
  padding: 80px 10%;
}

.projects-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* Card */
.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

/* Image */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Effects */
.project-card:hover img {
  transform: scale(1.1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 1;
}

/* ===== PORTFOLIO ENHANCEMENTS ===== */
body {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.16), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(255, 0, 150, 0.2), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(126, 34, 206, 0.18), transparent 28%),
    linear-gradient(120deg, var(--dark-bg-primary), var(--dark-bg-secondary), var(--lavender));
  background-size: 180% 180%, 160% 160%, 170% 170%, 300% 300%;
  animation: auroraDrift 10s ease infinite;
  font-family: var(--font-primary);
  color: var(--text-primary);
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 30%);
  pointer-events: none;
}

@keyframes auroraDrift {
  0% { background-position: 0% 50%, 0% 50%, 0% 50%, 0% 50%; }
  50% { background-position: 100% 50%, 100% 35%, 50% 100%, 100% 50%; }
  100% { background-position: 0% 50%, 0% 50%, 0% 50%, 0% 50%; }
}

.hero,
.projects-section,
.reports-section,
.experience,
.skills,
.testimonials,
.feature-section {
  position: relative;
  isolation: isolate;
}

.hero::after,
.projects-section::after,
.reports-section::after,
.experience::after,
.skills::after,
.testimonials::after,
.feature-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.projects-section {
  padding: 4rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(10, 12, 28, 0.88), rgba(20, 10, 40, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card,
.report-card,
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--card-lift, 0));
  transform-style: preserve-3d;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  will-change: transform;
}

.project-card:hover,
.report-card:hover,
.feature-card:hover {
  --card-lift: -10px;
  box-shadow:
    0 0 25px rgba(255, 0, 150, 0.26),
    0 22px 55px rgba(0, 0, 0, 0.32);
}

.project-card::before,
.report-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 45%, rgba(255, 255, 255, 0.02));
  opacity: 0.55;
  pointer-events: none;
}

.projects-section .project-card {
  min-height: 260px;
}

.projects-section .project-card img,
.showcase-card img {
  display: block;
}

.hero h2,
.hero p,
.hero .btn {
  position: relative;
  z-index: 1;
}

section h2,
.feature-intro,
.feature-kicker,
.showcase-title,
.test-sub,
.skills-subtitle {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .fade-up,
  .project-card,
  .report-card,
  .feature-card {
    transition: none;
    transform: none;
  }
}

.mosaic-section {
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
}

.mosaic-row {
  display: flex;
  gap: 1.5rem;
  padding-inline: 1rem;
  transition: transform 0.1s linear;
  will-change: transform;
}

.mosaic-item {
  min-width: 320px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(140, 0, 255, 0.28);
}

.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: 0.3s ease;
}

.mosaic-item:hover::after {
  opacity: 1;
}

.experience-container {
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mosaic-row {
    gap: 1rem;
    padding-inline: 0;
  }

  .mosaic-item {
    min-width: 260px;
    height: 180px;
  }
}

/* ===== SECTION LAYOUT OVERRIDES ===== */
main {
  max-width: none;
  padding: 4rem 0;
  overflow: hidden;
}

main > section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 768px) {
  main {
    padding: 3rem 0;
  }

  main > section {
    padding-left: 0;
    padding-right: 0;
  }
}

.section-inner {
  width: min(1200px, calc(100vw - 4rem));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section-inner {
    width: calc(100vw - 2rem);
  }
}

/* ===== SECTION BORDERS ===== */
.mosaic-section,
.project-section,
#ethical-hacking {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.mosaic-section,
.project-section {
  background:
    radial-gradient(circle at top right, rgba(255, 0, 127, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(0, 191, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(18, 14, 38, 0.94), rgba(33, 18, 58, 0.86));
}

#ethical-hacking {
  background:
    radial-gradient(circle at top center, rgba(255, 0, 127, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(135deg, rgba(38, 29, 62, 0.94), rgba(26, 20, 46, 0.84));
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ===== TIGHTER SECTION SPACING ===== */
main > section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  main > section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

main > section + section {
  margin-top: 0 !important;
}

/* ===== STICKY NAVBAR ===== */
nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, calc(100vw - 2rem));
  z-index: 2000;
}

header {
  padding-top: 8rem;
}

html {
  scroll-padding-top: 7rem;
}

@media (max-width: 768px) {
  nav {
    width: calc(100vw - 1rem);
    top: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  header {
    padding-top: 9rem;
  }

  nav ul {
    margin-left: 0;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-tools {
    width: 100%;
    justify-content: center;
  }
}

/* ===== SUBPAGES ===== */
.page-header {
  min-height: auto;
  padding: 8rem 2rem 2rem;
}

.page-hero {
  width: min(1200px, calc(100vw - 4rem));
  margin: 0 auto;
  padding: 3rem;
}

.page-hero p {
  max-width: 720px;
  margin: 1rem auto 0;
}

.nav-link-active {
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

.nav-link-active::after {
  width: 80%;
  box-shadow: var(--neon-pink-glow);
}

.page-main {
  padding-top: 0 !important;
}

.page-main > section {
  margin-bottom: 0 !important;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(151, 93, 255, 0.18), transparent 30%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #08010f 0%, #100118 45%, #07010f 100%);
  padding: 3.5rem 0 5rem;
}

.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-section::before {
  background:
    radial-gradient(circle, rgba(193, 147, 255, 0.5) 0 1px, transparent 1.6px);
  background-size: 130px 130px;
  opacity: 0.18;
}

.contact-section::after {
  inset: auto 50% -11rem;
  width: 44rem;
  height: 16rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(252, 244, 255, 0.9) 0%, rgba(205, 150, 255, 0.72) 18%, rgba(140, 76, 255, 0.38) 40%, rgba(83, 28, 145, 0.06) 72%, transparent 78%);
  filter: blur(18px);
  opacity: 0.95;
}

.contact-section .section-inner {
  position: relative;
  z-index: 1;
}

.contact-kicker {
  margin-bottom: 0.7rem;
  text-align: center;
  font-family: var(--font-futuristic);
  font-size: 0.98rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9b5cff;
}

.contact-section h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 0.75rem;
}

.contact-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 1.35rem;
  grid-template-areas:
    "linkedin availability"
    "email github";
}

.contact-card {
  position: relative;
  padding: 2rem;
  min-height: 320px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(32, 14, 53, 0.82), rgba(11, 6, 22, 0.96));
  border: 1px solid rgba(189, 142, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0.8;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(203, 155, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 28px 56px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(144, 78, 255, 0.15);
}

.contact-card-linkedin {
  grid-area: linkedin;
}

.contact-card-availability {
  grid-area: availability;
  min-height: 320px;
}

.contact-card-email {
  grid-area: email;
}

.contact-card-github {
  grid-area: github;
}

.contact-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-card-header i {
  flex-shrink: 0;
  color: #b17aff;
  font-size: 1.65rem;
  text-shadow: 0 0 18px rgba(177, 122, 255, 0.35);
}

.contact-card h3 {
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 1.55rem;
}

.contact-card-copy,
.contact-inline-value {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  color: #e5c7ff;
}

.contact-preview-link {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(179, 132, 255, 0.18);
  background: rgba(5, 4, 14, 0.65);
}

.contact-preview-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.72) saturate(0.95);
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.contact-card:hover .contact-preview-image {
  transform: scale(1.07);
  filter: brightness(0.9) saturate(1.02);
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-actions .btn,
.contact-actions .btn-secondary {
  padding: 0.8rem 1.2rem;
}

.contact-card .btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #f6ecff;
  border: 1px solid rgba(190, 145, 255, 0.18);
}

.contact-card .btn-secondary:hover {
  background: rgba(185, 118, 255, 0.14);
}

.contact-inline-value {
  margin-top: 1rem;
  font-weight: 500;
}

.availability-visual {
  position: absolute;
  inset: auto -6% -12% auto;
  width: 72%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.availability-glow {
  position: absolute;
  inset: 8% 8% auto auto;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(228, 197, 255, 0.12) 0%, rgba(152, 75, 255, 0.1) 32%, transparent 68%),
    repeating-radial-gradient(circle at center, rgba(195, 142, 255, 0.2) 0 2px, transparent 2px 10px);
  filter: blur(1px);
  opacity: 0.95;
}

.availability-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(177, 122, 255, 0.8);
  box-shadow:
    0 0 20px rgba(177, 122, 255, 0.5),
    0 0 50px rgba(177, 122, 255, 0.18);
  clip-path: inset(0 0 50% 0);
}

.availability-orb::before,
.availability-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(194, 149, 255, 0.38);
}

.availability-orb::before {
  inset: 18% 10%;
}

.availability-orb::after {
  inset: 10% 22%;
}

.contact-actions.socials a {
  width: 2.9rem;
  height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 140, 255, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-actions.socials a:hover {
  transform: translateY(-2px);
  background: rgba(170, 100, 255, 0.18);
  border-color: rgba(216, 178, 255, 0.42);
}

@media (max-width: 768px) {
  .page-header {
    padding: 9rem 1rem 1.5rem;
  }

  .page-hero {
    width: calc(100vw - 2rem);
    padding: 2rem 1.25rem;
  }

  .contact-section {
    padding: 2.5rem 0 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "linkedin"
      "availability"
      "email"
      "github";
  }

  .contact-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .contact-card-availability {
    min-height: 360px;
  }

  .availability-visual {
    width: 90%;
    inset: auto -18% -18% auto;
  }
}

/* ===== ABOUT PAGE ===== */
.about-header {
  background:
    radial-gradient(circle at top, rgba(140, 84, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #100118 0%, #0b0112 100%);
}

.about-hero {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.about-kicker,
.about-section-label {
  color: #9a5bff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  text-align: center;
}

.about-main {
  background:
    radial-gradient(circle at top, rgba(115, 53, 214, 0.14), transparent 24%),
    linear-gradient(180deg, #09010f 0%, #110119 100%);
}

.about-intro,
.journey-section,
.about-values {
  background: transparent;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.about-intro-copy,
.about-highlight-card,
.value-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-intro-copy h2,
.journey-section h2,
.about-values h2 {
  margin-bottom: 1rem;
}

.about-intro-copy p,
.about-highlight-card p,
.journey-subtitle,
.journey-content p,
.value-card p {
  color: var(--text-secondary);
}

.about-highlight-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.about-glow-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(160, 103, 255, 0.7) 0%, rgba(160, 103, 255, 0.12) 45%, transparent 70%);
  filter: blur(12px);
}

.about-highlight-card h3,
.value-card h3,
.journey-content h3 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.about-highlight-card p {
  position: relative;
  z-index: 1;
}

.journey-showcase {
  position: relative;
  display: grid;
  gap: 1.6rem;
  margin-top: 3rem;
}

.journey-showcase::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(154, 91, 255, 0.65), rgba(94, 231, 255, 0.16));
  box-shadow: 0 0 18px rgba(154, 91, 255, 0.18);
}

.journey-card {
  position: relative;
  margin-left: 3.25rem;
  padding: 1.6rem 1.7rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(154, 91, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(12, 5, 20, 0.9);
  border: 1px solid rgba(154, 91, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.journey-card::before {
  content: "";
  position: absolute;
  left: -3.05rem;
  top: 1.9rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #13071f;
  border: 4px solid rgba(154, 91, 255, 0.75);
  box-shadow: 0 0 22px rgba(154, 91, 255, 0.35);
}

.journey-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 136, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 26px 52px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(154, 91, 255, 0.08);
}

.journey-card-future {
  background:
    radial-gradient(circle at top right, rgba(94, 231, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 8, 24, 0.92);
  border-color: rgba(94, 231, 255, 0.16);
}

.journey-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.journey-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(154, 91, 255, 0.12);
  border: 1px solid rgba(154, 91, 255, 0.16);
  color: #caa8ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-card-future .journey-chip {
  background: rgba(94, 231, 255, 0.12);
  border-color: rgba(94, 231, 255, 0.18);
  color: #a9f2ff;
}

.journey-card-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.journey-points,
.journey-subpoints {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 1.35rem;
  color: rgba(240, 233, 255, 0.84);
}

.journey-points li,
.journey-subpoints li {
  margin-bottom: 0.8rem;
}

.journey-subpoints {
  margin-top: 0.35rem;
  padding-left: 2.5rem;
  color: rgba(225, 236, 255, 0.88);
}

.journey-points-tail {
  margin-top: 0.35rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  min-height: 220px;
}

@media (max-width: 900px) {
  .about-intro-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .journey-showcase::before {
    left: 14px;
  }

  .journey-card {
    margin-left: 2.2rem;
    padding: 1.25rem;
  }

  .journey-card::before {
    left: -2.1rem;
    width: 18px;
    height: 18px;
    top: 1.55rem;
  }

  .journey-card-head h3 {
    font-size: 1.4rem;
  }

  .journey-subpoints {
    padding-left: 1.6rem;
  }
}

/* ===== PROJECTS PAGE ===== */
.projects-page {
  background:
    radial-gradient(circle at top, rgba(122, 55, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #08000d 0%, #100116 54%, #090111 100%);
}

.projects-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(155, 82, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(7, 1, 13, 0.96) 0%, rgba(10, 1, 16, 0.94) 100%);
}

.projects-header::before,
.projects-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.projects-header::before {
  background-image:
    radial-gradient(circle, rgba(145, 104, 255, 0.9) 0 1px, transparent 1.5px),
    linear-gradient(rgba(154, 91, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 91, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px, 100% 36px, 36px 100%;
  background-position: center top, center 120px, center top;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.08) 82%, transparent 100%);
}

.projects-header::after {
  background:
    linear-gradient(180deg, rgba(8, 0, 13, 0.08), rgba(8, 0, 13, 0.92)),
    radial-gradient(circle at center, rgba(121, 68, 255, 0.16), transparent 45%);
}

.projects-hero {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-top: 6rem;
  padding-bottom: 7rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.projects-kicker {
  margin-bottom: 1rem;
  color: #f4f0ff;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.projects-hero h2 {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.45;
}

.projects-hero p:last-child {
  max-width: 760px;
}

.projects-page .page-main {
  background: transparent;
}

.projects-page .project-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: transparent;
}

.projects-page .project-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(128, 65, 255, 0.08), transparent 58%);
}

.projects-intro-shell,
.projects-page .section-inner {
  position: relative;
  z-index: 1;
}

.projects-intro-shell {
  max-width: 1120px;
  text-align: center;
}

.projects-intro-shell h2,
.projects-page .project-section > .section-inner > h2,
.projects-page .section-inner > h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.projects-now-copy,
.projects-section-copy,
.projects-vault-copy {
  max-width: 760px;
  margin: 1rem auto 0;
  color: var(--text-secondary);
}

.projects-tab-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.projects-tab {
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.projects-tab-active {
  background: linear-gradient(135deg, #6426ff, #a153ff);
  border-color: rgba(196, 162, 255, 0.5);
  box-shadow: 0 12px 28px rgba(121, 63, 255, 0.28);
}

.project-spotlight-card {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(106, 43, 218, 0.18), rgba(54, 15, 102, 0.22)),
    rgba(15, 4, 25, 0.92);
  border: 1px solid rgba(180, 138, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  animation: projectCardDrift 7s ease-in-out infinite;
}

.project-spotlight-billing {
  background:
    radial-gradient(circle at top left, rgba(255, 165, 207, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(106, 43, 218, 0.18), rgba(54, 15, 102, 0.22)),
    rgba(15, 4, 25, 0.92);
}

.project-spotlight-unity {
  background:
    radial-gradient(circle at 82% 18%, rgba(110, 198, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(32, 67, 125, 0.16), rgba(23, 13, 53, 0.92)),
    rgba(8, 11, 25, 0.94);
  border-color: rgba(119, 197, 255, 0.16);
}

.project-spotlight-swach {
  background:
    radial-gradient(circle at 18% 20%, rgba(95, 255, 176, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(18, 87, 78, 0.18), rgba(10, 28, 29, 0.94)),
    rgba(7, 16, 17, 0.96);
  border-color: rgba(108, 227, 177, 0.16);
}

.project-spotlight-hospital {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 130, 196, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(122, 37, 94, 0.18), rgba(39, 10, 52, 0.94)),
    rgba(20, 6, 30, 0.96);
  border-color: rgba(255, 167, 214, 0.16);
}

.project-spotlight-stack {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.project-spotlight-stack .project-spotlight-card {
  margin-top: 0;
}

.project-browser-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.35rem 0.35rem 0.9rem;
}

.project-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.project-browser-bar span:nth-child(1) {
  background: #ff7e79;
}

.project-browser-bar span:nth-child(2) {
  background: #ffd76a;
}

.project-browser-bar span:nth-child(3) {
  background: #5ce39c;
}

.project-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0.75rem 0.75rem;
}

.project-spotlight-copy {
  text-align: left;
}

.project-mini-label {
  margin-bottom: 0.85rem;
  color: #af7cff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-spotlight-copy h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.project-spotlight-copy p {
  color: rgba(240, 233, 255, 0.84);
}

.project-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.project-pill-row span {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.project-spotlight-copy a {
  display: inline-flex;
  margin-top: 1.6rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff4ff, #cdb6ff);
  color: #190424;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(201, 167, 255, 0.24);
}

.project-spotlight-unity .project-mini-label,
.project-spotlight-unity .preview-label {
  color: #9cdcff;
}

.project-spotlight-swach .project-mini-label,
.project-spotlight-swach .preview-label {
  color: #9af3c9;
}

.project-spotlight-hospital .project-mini-label,
.project-spotlight-hospital .preview-label {
  color: #ffc0de;
}

.project-spotlight-unity .project-spotlight-copy a {
  background: linear-gradient(135deg, #effaff, #9ad9ff);
  color: #082235;
  box-shadow: 0 12px 34px rgba(94, 184, 255, 0.24);
}

.project-spotlight-swach .project-spotlight-copy a {
  background: linear-gradient(135deg, #f3fff7, #97f0c6);
  color: #083626;
  box-shadow: 0 12px 34px rgba(111, 224, 172, 0.24);
}

.project-spotlight-hospital .project-spotlight-copy a {
  background: linear-gradient(135deg, #fff3fb, #ffc1e2);
  color: #42102f;
  box-shadow: 0 12px 34px rgba(255, 147, 201, 0.22);
}

.project-spotlight-preview {
  position: relative;
  min-height: 360px;
}

.preview-panel {
  position: absolute;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 3, 22, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.preview-panel-main {
  inset: 2rem 1.5rem 1.5rem 1rem;
  padding: 1.4rem;
  animation: previewPulse 7s ease-in-out infinite;
}

.preview-label {
  display: inline-block;
  color: #d9c5ff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: calc(100% - 2rem);
}

.preview-grid span,
.preview-panel-float {
  background:
    radial-gradient(circle at top, rgba(150, 91, 255, 0.2), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.preview-grid span {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-panel-float {
  display: grid;
  place-items: center;
  width: 150px;
  height: 92px;
  color: #ffffff;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.preview-panel-left {
  left: -0.5rem;
  bottom: 1rem;
  animation: previewFloatLeft 6s ease-in-out infinite;
}

.preview-panel-right {
  right: 0;
  top: 0;
  animation: previewFloatRight 6.8s ease-in-out infinite;
}

.project-spotlight-unity .preview-panel,
.project-spotlight-unity .preview-grid span,
.project-spotlight-unity .preview-panel-float {
  background:
    radial-gradient(circle at top, rgba(91, 191, 255, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.project-spotlight-swach .preview-panel,
.project-spotlight-swach .preview-grid span,
.project-spotlight-swach .preview-panel-float {
  background:
    radial-gradient(circle at top, rgba(87, 229, 168, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.project-spotlight-hospital .preview-panel,
.project-spotlight-hospital .preview-grid span,
.project-spotlight-hospital .preview-panel-float {
  background:
    radial-gradient(circle at top, rgba(255, 121, 188, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.preview-panel-network,
.preview-panel-split,
.preview-panel-medical {
  display: flex;
  flex-direction: column;
}

.preview-network {
  position: relative;
  flex: 1;
  min-height: 240px;
}

.preview-network::before,
.preview-network::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(152, 224, 255, 0.35), transparent);
  transform: translate(-50%, -50%);
}

.preview-network::after {
  width: 1px;
  height: 68%;
  background: linear-gradient(180deg, transparent, rgba(152, 224, 255, 0.35), transparent);
}

.network-hub,
.network-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #edf8ff;
  border: 1px solid rgba(152, 224, 255, 0.18);
  background: rgba(8, 22, 38, 0.74);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.network-hub {
  inset: 50% auto auto 50%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  box-shadow: 0 0 0 10px rgba(94, 184, 255, 0.06);
}

.network-node {
  width: 124px;
  height: 64px;
  font-size: 0.92rem;
}

.network-node-left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.network-node-top {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.network-node-right {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.network-node-bottom {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.preview-split-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 1rem;
  align-items: stretch;
  flex: 1;
}

.preview-phone-shell {
  align-self: center;
  width: min(170px, 100%);
  margin: 0 auto;
  padding: 0.55rem;
  border-radius: 28px;
  border: 1px solid rgba(130, 237, 193, 0.24);
  background: linear-gradient(180deg, rgba(7, 33, 24, 0.9), rgba(9, 22, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.phone-notch {
  display: block;
  width: 36%;
  height: 8px;
  margin: 0.1rem auto 0.55rem;
  border-radius: 999px;
  background: rgba(199, 255, 228, 0.18);
}

.phone-screen {
  display: grid;
  gap: 0.7rem;
  min-height: 222px;
  padding: 0.7rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.screen-bar,
.screen-card,
.feed-card {
  display: block;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(94, 224, 165, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(135, 235, 188, 0.12);
}

.screen-bar {
  height: 18px;
}

.screen-card {
  flex: 1;
  min-height: 42px;
}

.screen-card-large {
  min-height: 76px;
}

.preview-feed {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.feed-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #d9fff0;
  background: rgba(97, 226, 169, 0.12);
  border: 1px solid rgba(129, 239, 190, 0.16);
}

.feed-card {
  min-height: 82px;
}

.preview-medical-flow {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.medical-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 185, 221, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.medical-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #3f0928;
  font-weight: 700;
  background: linear-gradient(135deg, #ffe7f4, #ffb7db);
}

.medical-step em {
  color: #fff1f8;
  font-style: normal;
  font-weight: 600;
}

.medical-assist-card {
  width: fit-content;
  margin-top: 1rem;
  margin-left: auto;
  padding: 0.8rem 1rem;
  border-radius: 18px 18px 6px 18px;
  color: #fff4fb;
  background: linear-gradient(135deg, rgba(255, 149, 206, 0.2), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 185, 221, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.projects-page .project-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.7rem;
  margin-top: 2.5rem;
}

.projects-page .project-card {
  min-height: 100%;
  padding: 2rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(44, 16, 76, 0.42), rgba(17, 5, 29, 0.9)),
    rgba(12, 2, 20, 0.94);
  border: 1px solid rgba(150, 91, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.projects-page .project-card:hover {
  border-color: rgba(185, 136, 255, 0.36);
  box-shadow: 0 26px 56px rgba(59, 19, 116, 0.34);
}

.projects-page .project-card h3 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.2;
}

.projects-page .project-card p {
  color: rgba(236, 229, 248, 0.8);
}

.project-meta {
  margin-top: 1rem;
  color: #b57cff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.projects-compare-panel {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(28, 24, 37, 0.92), rgba(19, 17, 29, 0.96)),
    rgba(16, 10, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.compare-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.compare-column {
  padding: 1rem 0.5rem;
}

.compare-column h3 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2rem;
}

.compare-column-highlight h3 {
  color: #f7f3ff;
}

.compare-editor {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.8rem;
  overflow: hidden;
  border-radius: 22px;
  background: #09101b;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-editor-half {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.compare-editor-half code {
  display: block;
  color: #bdd7ff;
  font-family: "Fira Code", monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-editor-before code {
  color: #f19c86;
}

.compare-editor-after {
  background: linear-gradient(90deg, rgba(91, 126, 255, 0.16), rgba(91, 126, 255, 0.03));
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 8px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(189, 219, 255, 0.9), rgba(108, 158, 255, 0.16));
  box-shadow: 0 0 36px rgba(148, 184, 255, 0.28);
}

.editor-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-weight: 700;
}

.security-lab-section .project-grid {
  margin-top: 2rem;
}

.projects-vault-shell {
  text-align: center;
}

.vault-lines {
  position: relative;
  height: 180px;
  margin: 3rem auto 0;
  max-width: 980px;
}

.vault-lines span {
  position: absolute;
  top: 50%;
  width: 44%;
  height: 6px;
  border-radius: 999px;
  filter: blur(1.5px);
  opacity: 0.9;
}

.vault-lines span:nth-child(1),
.vault-lines span:nth-child(2),
.vault-lines span:nth-child(3) {
  left: 0;
  transform-origin: right center;
}

.vault-lines span:nth-child(4),
.vault-lines span:nth-child(5),
.vault-lines span:nth-child(6) {
  right: 0;
  transform-origin: left center;
}

.vault-lines span:nth-child(1) {
  top: 28%;
  background: linear-gradient(90deg, rgba(12, 96, 255, 0), rgba(83, 145, 255, 0.9));
  animation: vaultPulseLeft 6s ease-in-out infinite;
}

.vault-lines span:nth-child(2) {
  top: 48%;
  background: linear-gradient(90deg, rgba(255, 208, 120, 0), rgba(255, 214, 170, 0.92));
  animation: vaultPulseLeft 7s ease-in-out infinite;
}

.vault-lines span:nth-child(3) {
  top: 68%;
  background: linear-gradient(90deg, rgba(255, 170, 214, 0), rgba(255, 189, 225, 0.9));
  animation: vaultPulseLeft 8s ease-in-out infinite;
}

.vault-lines span:nth-child(4) {
  top: 28%;
  background: linear-gradient(270deg, rgba(12, 96, 255, 0), rgba(83, 145, 255, 0.9));
  animation: vaultPulseRight 6s ease-in-out infinite;
}

.vault-lines span:nth-child(5) {
  top: 48%;
  background: linear-gradient(270deg, rgba(255, 208, 120, 0), rgba(255, 214, 170, 0.92));
  animation: vaultPulseRight 7s ease-in-out infinite;
}

.vault-lines span:nth-child(6) {
  top: 68%;
  background: linear-gradient(270deg, rgba(255, 170, 214, 0), rgba(255, 189, 225, 0.9));
  animation: vaultPulseRight 8s ease-in-out infinite;
}

.vault-pill-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: -1.35rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: #ffffff;
  color: #171717;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

@keyframes vaultPulseLeft {
  0%, 100% {
    transform: translateY(0) scaleX(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-6px) scaleX(1);
    opacity: 1;
  }
}

@keyframes vaultPulseRight {
  0%, 100% {
    transform: translateY(0) scaleX(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translateY(6px) scaleX(1);
    opacity: 1;
  }
}

@keyframes projectCardDrift {
  0%, 100% {
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  }
  50% {
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
  }
}

@keyframes previewPulse {
  0%, 100% {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 24px 64px rgba(113, 57, 230, 0.24);
  }
}

@keyframes previewFloatLeft {
  0%, 100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

@keyframes previewFloatRight {
  0%, 100% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(8px) rotate(3deg);
  }
}

@media (max-width: 1024px) {
  .project-spotlight-grid,
  .compare-copy,
  .compare-editor {
    grid-template-columns: 1fr;
  }

  .project-spotlight-preview {
    min-height: 300px;
  }

  .preview-split-layout {
    grid-template-columns: 1fr;
  }

  .preview-phone-shell {
    width: 180px;
  }

  .compare-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .projects-hero {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .projects-kicker {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .project-spotlight-card,
  .projects-compare-panel,
  .projects-page .project-card {
    padding: 1.4rem;
  }

  .project-spotlight-grid {
    gap: 1.2rem;
    padding: 0.5rem 0.1rem 0.2rem;
  }

  .project-spotlight-preview {
    min-height: 260px;
  }

  .preview-network {
    min-height: 220px;
  }

  .network-node {
    width: 104px;
    height: 56px;
    font-size: 0.8rem;
  }

  .network-hub {
    width: 90px;
    height: 90px;
  }

  .preview-panel-main {
    inset: 1rem 0.5rem 0.5rem;
  }

  .preview-panel-float {
    width: 112px;
    height: 70px;
    font-size: 0.85rem;
  }

  .projects-page .project-card h3,
  .compare-column h3 {
    font-size: 1.55rem;
  }

  .vault-lines {
    height: 120px;
  }

  .vault-pill-link {
    margin-top: -0.3rem;
  }
}
