/* ================================================================
   G.O.A.T PORTFOLIO — COSMIC VOID AESTHETIC
   Design System + Complete Styles
   Akshat Sunil Jain
   ================================================================ */

/* ======================== DESIGN TOKENS ======================== */
:root {
  /* Colors — Deep Cosmic Black & High-Contrast Accents */
  --bg-primary: #000000;
  --bg-secondary: #02020a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glow: rgba(139, 92, 246, 0.02);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);

  --accent-violet: #8B5CF6;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-green: #4ADE80;
  --accent-gold: #F59E0B;

  --gradient-primary: linear-gradient(135deg, #8B5CF6, #06B6D4);
  --gradient-secondary: linear-gradient(135deg, #8B5CF6, #EC4899);
  --gradient-text: linear-gradient(135deg, #8B5CF6, #06B6D4, #EC4899, #8B5CF6);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.3);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-bright: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
  
  /* Typography — Cinematic Sizing */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing */
  --section-padding: clamp(100px, 15vw, 180px);
  --container-width: 1400px;

  /* Animation Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

/* GPU-accelerate all animated elements */
.glass-card,
.btn,
.nav-link,
.nav-resume-btn,
.project-card,
.skill-card,
.achievement-card,
.timeline-card,
.float-badge,
.research-tag,
.research-detail-card,
.hero-social a,
.contact-social-btn,
.cert-item,
.client-card {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

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

/* Noise Texture Overlay — very subtle, does NOT block interaction */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
  font-family: inherit;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ======================== ACCESSIBILITY ======================== */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 12px 24px;
  background: var(--accent-violet);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ======================== CUSTOM CURSOR ======================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-violet);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), background 0.3s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-spring), height 0.4s var(--ease-spring), border-color 0.3s;
}

.cursor-dot.expanded {
  width: 14px;
  height: 14px;
  background: rgba(124, 58, 237, 0.6);
}

.cursor-ring.expanded {
  width: 60px;
  height: 60px;
  border-color: rgba(124, 58, 237, 0.3);
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ======================== SCROLL PROGRESS ======================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

/* ======================== PRELOADER ======================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}

.preloader-inner {
  text-align: center;
}

.preloader-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--text-primary);
  margin-bottom: 32px;
  opacity: 0.8;
}

.preloader-bar-track {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 16px;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.1s;
}

.preloader-counter {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 4px;
}

.preloader.done {
  animation: preloaderExit 0.8s var(--ease-out-expo) forwards;
}

@keyframes preloaderExit {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
  padding: 14px 40px;
  background: rgba(4, 4, 8, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-violet);
  border-radius: 50%;
  display: inline-block;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
}

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

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-resume-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out-expo);
  letter-spacing: 0.5px;
}

.nav-resume-btn:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.nav-resume-btn .btn-icon {
  width: 14px;
  height: 14px;
}

/* Hamburger Menu */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(4, 4, 8, 0.97);
  backdrop-filter: blur(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), color 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-link:nth-child(8) { transition-delay: 0.45s; }

.mobile-link:hover { color: var(--text-primary); }

.mobile-link.resume-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: var(--accent-violet);
  margin-top: 16px;
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-green);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 110px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.name-line {
  display: block;
  overflow: hidden;
}

.name-line span, .name-line {
  display: inline-block;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

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

.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: -0.01em;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out-expo);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.4);
}

.btn-ghost {
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s;
}

.btn-sm:hover {
  border-color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.1);
}

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

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  display: block;
}

/* Hero Social */
.hero-social {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
}

.hero-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out-expo);
}

.hero-social a:hover {
  color: var(--accent-violet);
  border-color: var(--accent-violet);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--text-muted);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ======================== SECTION COMMON ======================== */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.label-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-violet);
  font-weight: 500;
}

.label-line {
  width: 48px;
  height: 1px;
  background: var(--gradient-primary);
}

.label-text {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 56px;
  letter-spacing: -1px;
}

/* ======================== GLASS CARD ======================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              background 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ======================== ABOUT ======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -1px;
}

.about-paragraphs p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-paragraphs strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  padding: 28px;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-violet);
}

.about-card-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.about-card-item:last-child {
  border: none;
}

.about-card-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.about-card-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.card-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px !important;
  font-weight: 600;
  color: var(--accent-violet) !important;
  margin-top: 4px;
}

.research-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Floating Badges */
.floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-badge {
  position: absolute;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-violet);
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-1 { top: -20px; right: 10px; animation-delay: 0s; }
.badge-2 { top: 30%; right: -35px; animation-delay: 1.5s; }
.badge-3 { bottom: 30%; left: -35px; animation-delay: 3s; }
.badge-4 { bottom: -20px; left: 10px; animation-delay: 4.5s; }

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

/* ======================== RESEARCH SECTION ======================== */
.research::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.research-hero {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.research-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan), var(--accent-pink));
}

.research-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-violet);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.research-hero-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.research-hero-institution {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.research-hero-institution i {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.research-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.research-detail-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.research-detail-card:hover {
  transform: translateY(-2px);
}

.research-detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.research-detail-header i {
  color: var(--accent-violet);
  width: 18px;
  height: 18px;
}

.research-detail-header h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.research-detail-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.research-tag {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.research-tag:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.research-publications {
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.research-pub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.research-pub-header i {
  color: var(--accent-violet);
}

.research-pub-header h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.research-pub-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 12px;
}

.pub-stat {
  text-align: center;
}

.pub-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.pub-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.pub-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .research-details-grid {
    grid-template-columns: 1fr;
  }
  .research-hero {
    padding: 28px;
  }
  .research-pub-stats {
    gap: 20px;
  }
}

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

.skill-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.skill-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 58, 237, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.skill-card:hover .skill-card-glow {
  opacity: 1;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-card-header i {
  color: var(--accent-violet);
}

.skill-card-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.skill-tag:hover {
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.06);
  transform: translateY(-2px);
}

/* ======================== PROJECTS ======================== */
.project-featured {
  padding: 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.project-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.project-featured-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-violet);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-featured-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.project-subtitle {
  font-size: 16px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  font-weight: 500;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 24px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech span {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

.project-links {
  display: flex;
  gap: 12px;
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.project-card-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 58, 237, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card:hover .project-card-spotlight {
  opacity: 1;
}

.project-card-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.08);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-link {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-expo);
}

.project-link:hover {
  border-color: var(--accent-violet);
  color: var(--accent-violet);
  transform: translateY(-2px) rotate(-45deg);
}

/* ======================== EXPERIENCE TIMELINE ======================== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-violet), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--accent-violet);
  background: var(--bg-primary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

.timeline-card {
  padding: 28px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--accent-violet);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.timeline-card p:last-child {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ======================== CERTIFICATIONS ======================== */
.cert-marquee {
  overflow: hidden;
  margin-bottom: 64px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cert-track {
  display: flex;
  gap: 16px;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.cert-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
}

.cert-item i {
  color: var(--accent-violet);
  flex-shrink: 0;
}

/* Achievements */
.achievements-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 32px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.achievement-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
}

.achievement-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  color: var(--accent-violet);
}

.achievement-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.achievement-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ======================== CONTACT ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.contact-sub {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  transition: color 0.3s;
}

.contact-detail:hover {
  color: var(--text-primary);
}

.contact-detail i {
  color: var(--accent-violet);
  flex-shrink: 0;
}

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

.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out-expo);
}

.contact-social-btn:hover {
  border-color: var(--accent-violet);
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.06);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a6a80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

/* ======================== FOOTER ======================== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.footer-center {
  display: flex;
  gap: 24px;
}

.footer-center a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-center a:hover {
  color: var(--text-primary);
}

.footer-right {
  display: flex;
  gap: 16px;
}

.footer-right a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-right a:hover {
  color: var(--accent-violet);
}

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

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

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-resume-btn { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .hero-social {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .navbar {
    padding: 16px 20px;
  }

  .navbar.scrolled {
    padding: 12px 20px;
  }

  .hero-stats {
    gap: 24px;
  }

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

  .project-featured {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 64px;
  }

  .hero-name {
    letter-spacing: -1px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

  .hide-mobile {
    display: none;
  }

  .contact-socials {
    flex-direction: column;
  }
}

/* ======================== NOISE OVERLAY ======================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  pointer-events: none;
  z-index: 99997;
  opacity: 0.4;
}

/* ======================== AURORA BG FOR SECTIONS ======================== */
.about::before,
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ======================== PREMIUM VISUAL ENHANCEMENTS ======================== */

/* Animated gradient border on featured project */
.project-featured {
  position: relative;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              linear-gradient(135deg, var(--accent-violet), var(--accent-cyan), var(--accent-pink)) border-box;
  border: 1px solid transparent;
}

.project-featured:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.12), 0 0 80px rgba(6, 182, 212, 0.06);
}

/* Glowing section separator dots */
.section + .section::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.3;
}

/* Enhanced project card hover glow */
.project-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(124, 58, 237, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.project-card h3 {
  transition: color 0.3s;
}

.project-card:hover h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Skill card enhanced hover */
.skill-card:hover {
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(6, 182, 212, 0.06);
}

/* Achievement card hover glow */
.achievement-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
}

.achievement-card:hover .achievement-icon {
  background: rgba(124, 58, 237, 0.15);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

/* Contact form enhanced styling */
.contact-form {
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.6;
}

/* Floating orb backgrounds for sections */
.skills::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

.projects::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

.experience::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(236, 72, 153, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

/* Stat value pulse on hero */
.stat-value {
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
}

/* Hero badge subtle glow */
.hero-badge {
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.06);
}

/* Smooth scroll progress glow */
.scroll-progress {
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5), 0 0 20px rgba(124, 58, 237, 0.2);
}

/* Nav link active state */
.nav-link.active {
  color: var(--text-primary);
}

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

/* Timeline dot glow pulse */
.timeline-dot {
  animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.5); }
}

/* Enhanced button shine effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

/* Footer subtle gradient top */
.footer {
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.02), transparent);
}

/* Research tag shimmer */
.research-tag {
  position: relative;
  overflow: hidden;
}

.research-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.06), transparent);
  transition: left 0.5s;
}

.research-tag:hover::after {
  left: 100%;
}

/* Certificate items enhanced */
.cert-item {
  transition: all 0.3s var(--ease-out-expo);
}

.cert-item:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

/* ======================== SOVEREIGN PROJECT CARDS ======================== */
.project-card--sovereign {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), rgba(124, 58, 237, 0.03));
  border: 1px solid rgba(245, 158, 11, 0.15);
  position: relative;
}

.project-card--sovereign::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-violet), var(--accent-gold));
  background-size: 200% 100%;
  animation: sovereignShimmer 3s linear infinite;
}

@keyframes sovereignShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.project-card--sovereign:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(245, 158, 11, 0.08),
    0 0 80px rgba(124, 58, 237, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.project-card--sovereign:hover h3 {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-card--sovereign .project-card-number {
  color: rgba(245, 158, 11, 0.1);
}

/* Access Restricted Badge */
.project-access-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 158, 11, 0); }
  50% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.12); }
}

/* Lock Icon Link */
.project-link--access {
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-gold);
}

.project-link--access:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}

/* Decision Intelligence Skill Card Special Accent */
.skill-card[data-category="decision"] {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), rgba(124, 58, 237, 0.03));
  border-color: rgba(245, 158, 11, 0.15);
}

.skill-card[data-category="decision"]:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(245, 158, 11, 0.08);
}

.skill-card[data-category="decision"] .skill-card-header i {
  color: var(--accent-gold);
}

.skill-card[data-category="decision"] .skill-tag:hover {
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
}

/* ======================== CLIENTS / WEBSITE BUILDER ======================== */
.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.client-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.client-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(139, 92, 246, 0.06);
}

.client-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.client-card:hover .client-card-glow {
  opacity: 1;
}

.client-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-avatar i {
  width: 28px;
  height: 28px;
  color: var(--accent-violet);
}

.client-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.client-role {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.client-review {
  flex: 1;
}

.client-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.client-stars i {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
  fill: var(--accent-gold);
}

.client-review p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  position: relative;
}

.client-review p::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -4px;
  font-size: 48px;
  font-family: Georgia, serif;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
}

.client-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.06);
  transition: all 0.3s var(--ease-out-expo);
  align-self: flex-start;
}

.client-site-link:hover {
  color: var(--text-primary);
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.client-site-link i {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .client-card {
    padding: 24px;
    gap: 18px;
  }

  .client-avatar {
    width: 44px;
    height: 44px;
  }

  .client-avatar i {
    width: 22px;
    height: 22px;
  }

  .client-info h3 {
    font-size: 17px;
  }

  .client-review p {
    font-size: 13px;
  }
}
/* ======================== STUDIO ======================== */
.studio-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
}

.studio-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.studio-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.studio-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.studio-feature i {
  color: var(--accent-violet);
}

.studio-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-violet);
  filter: blur(100px);
  opacity: 0.2;
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

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

.studio-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.studio-stat {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.studio-stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-violet);
}

.studio-stat .stat-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.studio-stat .stat-txt {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .studio-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .studio-visual {
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
    .studio-features {
        grid-template-columns: 1fr;
    }
}
