/* ===================================
   VAISHNAV PRABHAKARAN - PORTFOLIO CSS
   World-Class Dark Theme + Glassmorphism + Premium Animations
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #050816;
  --bg-secondary: #0a0f1e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);

  --purple: #7C3AED;
  --purple-light: #A855F7;
  --blue: #3B82F6;
  --cyan: #06B6D4;
  --flutter: #54C5F8;

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #475569;

  --gradient-primary: linear-gradient(135deg, #7C3AED, #3B82F6);
  --gradient-accent: linear-gradient(135deg, #54C5F8, #7C3AED);
  --gradient-text: linear-gradient(135deg, #A855F7, #54C5F8, #3B82F6);

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 10px; height: 10px;
  background: var(--purple-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10002;
  transform: translate(-50%, -50%) translateZ(0);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
  display: none;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.6);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%) translateZ(0);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  .cursor, .cursor-follower { display: block; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }

/* ===== GLASS CARD ===== */
.glass-card {
  background:
    radial-gradient(500px circle at var(--glow-x, -999px) var(--glow-y, -999px), rgba(124, 58, 237, 0.18), transparent 60%),
    var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: var(--shadow-glass), 0 8px 40px rgba(124, 58, 237, 0.18);
  transform: translateY(-4px);
}
.glass-card>*:not(.project-badge) { position: relative; z-index: 1; }

/* Animated gradient border on hover */
.glass-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, rgba(124,58,237,0.4), rgba(59,130,246,0.3), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotateBorder 4s linear infinite;
}
.glass-card:hover::before { opacity: 1; }
@keyframes rotateBorder { to { --border-angle: 360deg; } }
@property --border-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  border: none; text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0; transition: opacity 0.3s ease;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: var(--gradient-primary); color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-glass-hover);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION ===== */
.section { padding: 100px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--purple-light);
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-title::after {
  content: ''; display: block; width: 0; height: 2px;
  background: var(--gradient-text); margin: 8px auto 0;
  transition: width 0.6s ease; border-radius: 2px;
}
.section-header.visible .section-title::after { width: 60px; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-height);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dot { color: var(--purple-light); -webkit-text-fill-color: var(--purple-light); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary); transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 4px;
  background: var(--purple-light); border-radius: 50%;
}
.nav-cta {
  padding: 10px 24px; background: var(--gradient-primary);
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  color: white; transition: var(--transition);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.nav-cta:hover { box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: var(--nav-height); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #7C3AED, transparent); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #3B82F6, transparent); top: 50%; right: -80px; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #06B6D4, transparent); bottom: -50px; left: 40%; animation-delay: -6s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10B981; padding: 8px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 24px; width: fit-content;
}
.badge-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 24px;
}
.typewriter {
  display: inline-block; min-height: 1.25em;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; vertical-align: top;
}
.typewriter::before { content: '\200b'; }
.typewriter::after {
  content: ''; display: inline-block; width: 3px; height: 1em;
  background: #A855F7; margin-left: 4px; vertical-align: text-bottom;
  animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem; line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-num {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: var(--border-glass-hover); }

/* ===== HERO VISUAL ===== */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.avatar-wrapper { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.avatar-ring { position: absolute; border-radius: 50%; border: 1px solid; animation: ringRotate 10s linear infinite; }
.ring-1 { width: 100%; height: 100%; border-color: rgba(124, 58, 237, 0.45); border-style: dashed; animation-duration: 14s; box-shadow: 0 0 18px rgba(124, 58, 237, 0.15); }
.ring-2 { width: 78%; height: 78%; border-color: rgba(59, 130, 246, 0.4); animation-duration: 9s; animation-direction: reverse; box-shadow: 0 0 14px rgba(59, 130, 246, 0.12); }
.ring-3 { width: 56%; height: 56%; border-color: rgba(6, 182, 212, 0.35); animation-duration: 18s; box-shadow: 0 0 10px rgba(6, 182, 212, 0.1); }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.avatar-glow-bg {
  position: absolute; width: 180%; height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(59, 130, 246, 0.15) 30%, transparent 65%);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 0; filter: blur(100px);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.avatar-photo-wrap {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 95%; height: 125%;
  z-index: 4;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 10%, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 10%, black 50%, transparent 100%);
  animation: heroPhotoFloat 6s ease-in-out infinite;
}
.avatar-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@keyframes heroPhotoFloat { 0%, 100% { transform: translateX(-50%) translateY(0px); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.12); } }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 6px;
  background: rgba(10, 15, 30, 0.8); backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-hover);
  border-radius: 50px; padding: 8px 14px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-primary); white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite; z-index: 5;
}
.badge-flutter { top: 10%; left: -10%; }
.badge-dart { bottom: 15%; left: -5%; animation-delay: -1.5s; }
.badge-ai { top: 15%; right: -10%; animation-delay: -0.8s; }
.badge-next { bottom: 10%; right: -5%; animation-delay: -2.5s; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); display: flex;
  flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 1; animation: fadeInUp 1s ease 1s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== ABOUT ===== */
.about { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-card { padding: 32px; text-align: center; }
.about-avatar-photo {
  width: 130px; height: 130px; border-radius: 50%;
  margin: 0 auto 16px; overflow: hidden;
  border: 3px solid rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.35);
}
.about-avatar-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.about-info p { color: var(--purple-light); font-size: 0.9rem; font-weight: 500; margin-bottom: 16px; }
.about-social { display: flex; justify-content: center; gap: 12px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-secondary);
  transition: var(--transition);
}
.social-icon:hover { background: var(--gradient-primary); border-color: transparent; color: white; transform: translateY(-3px); }

.about-floating-card {
  position: absolute; display: flex; align-items: center;
  gap: 12px; padding: 14px 18px; border-radius: var(--radius-md);
  right: -20px; top: 20px; font-size: 0.85rem;
}
.about-floating-card strong { display: block; font-weight: 700; font-size: 0.9rem; }
.about-floating-card p { color: var(--text-secondary); font-size: 0.78rem; margin: 0; }
.about-floating-card i { font-size: 1.4rem; }
.about-floating-card-2 { right: -20px; top: auto; bottom: 20px; }
.about-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem; font-weight: 500; line-height: 1.7;
  margin-bottom: 20px; color: var(--text-primary);
}
.about-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px;
}
.about-highlights { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.highlight-item { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.highlight-item i { color: var(--purple-light); font-size: 0.9rem; flex-shrink: 0; }

/* ===== SKILLS ===== */
.skills { background: var(--bg-secondary); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.skill-category { padding: 28px; transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease; }
.skill-category:hover { border-color: rgba(124, 58, 237, 0.4) !important; }
.skill-cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.skill-cat-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: white; flex-shrink: 0; }
.skill-cat-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; }
.skill-items { display: flex; flex-direction: column; gap: 16px; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 6px; }
.skill-name { font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); }
.skill-pct { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.skill-bar { height: 5px; background: rgba(255, 255, 255, 0.06); border-radius: 10px; overflow: hidden; }
.skill-fill { height: 100%; border-radius: 10px; width: 0%; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }

/* ===== TECH PILLS ===== */
.tech-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: 50px; padding: 8px 16px;
  font-size: 0.83rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.pill:hover { background: var(--bg-card-hover); border-color: var(--border-glass-hover); color: var(--text-primary); transform: translateY(-2px); }

/* ===== PROJECTS ===== */
.projects { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.project-card { padding: 28px; position: relative; overflow: hidden; }
.project-card.featured { grid-column: span 2; background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.05)); border-color: rgba(124, 58, 237, 0.2); }
.project-badge {
  display: inline-flex; align-items: center;
  background: var(--gradient-primary); color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}
.project-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.project-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white; }
.project-links { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.project-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-secondary);
  transition: var(--transition);
}
.project-link:hover { background: var(--gradient-primary); border-color: transparent; color: white; transform: scale(1.1); }
.project-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.project-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--purple-light); font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  transition: background 0.2s ease, transform 0.2s ease; cursor: default;
}
.tag:hover { background: rgba(124, 58, 237, 0.2); border-color: rgba(168, 85, 247, 0.5); transform: translateY(-1px); }
.projects-cta { text-align: center; }

/* Featured shimmer */
.project-card.featured::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  animation: shimmerSweep 4s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes shimmerSweep { 0% { left: -100%; } 50% { left: 150%; } 100% { left: 150%; } }

/* ===== SERVICES ===== */
.services { background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { padding: 32px; }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  margin-bottom: 20px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.service-card>p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-secondary); }
.service-list li i { color: var(--purple-light); font-size: 0.75rem; flex-shrink: 0; }

/* ===== PROCESS ===== */
.process { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-timeline::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--purple), var(--blue), var(--cyan), #10B981);
  opacity: 0.3; z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.3; margin-bottom: 16px;
  line-height: 1;
}
.process-content { padding: 24px; text-align: center; }
.process-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white;
  margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.process-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-content p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-secondary); }
.testimonials-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px; }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; color: #F59E0B; font-size: 0.9rem; }
.testimonial-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: white; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; font-weight: 700; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { padding: 0; overflow: hidden; cursor: pointer; }
.faq-item summary {
  font-size: 0.95rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--purple-light); transition: transform 0.3s; font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--purple-light); }
.faq-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; padding: 0 24px 20px; margin: 0; }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-card { padding: 32px; height: 100%; }
.contact-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.contact-card>p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--purple-light); flex-shrink: 0;
}
.contact-label { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-item a { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.2s; }
.contact-item a:hover { color: var(--purple-light); }
.contact-social { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-secondary); transition: var(--transition);
}
.social-btn:hover { background: var(--gradient-primary); border-color: transparent; color: white; transform: translateY(-3px); }

/* ===== CONTACT FORM ===== */
.contact-form { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.03em; }
.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; transition: var(--transition);
  outline: none; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.05);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.form-success { display: none; align-items: center; gap: 10px; color: #10B981; font-size: 0.9rem; font-weight: 600; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); padding: 12px 16px; border-radius: var(--radius-sm); }
.form-success.show { display: flex; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-glass); padding: 48px 0 24px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted); transition: var(--transition);
}
.footer-social a:hover { background: var(--gradient-primary); border-color: transparent; color: white; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border-glass); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Footer SEO */
.footer-service-area { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 16px; padding-top: 16px; text-align: center; }
.footer-service-area-title { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-service-area-cities { font-size: 0.7rem; color: var(--text-muted); line-height: 2; }
.footer-service-area-cities a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-service-area-cities a:hover { color: var(--purple-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll animation system */
[data-animate] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate].visible { opacity: 1; transform: translate(0, 0); }

/* Hero particles */
.hero-particle { position: absolute; border-radius: 50%; pointer-events: none; animation: particleFloat linear infinite; }
@keyframes particleFloat { 0% { transform: translateY(0) scale(1); opacity: 0.6; } 50% { opacity: 1; } 100% { transform: translateY(-120px) scale(0.5); opacity: 0; } }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex !important; align-items: center !important; justify-content: center !important;
  z-index: 10000; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-content {
  background: rgba(16, 18, 27, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 40px; text-align: center;
  max-width: 420px; width: 90%; border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-icon { font-size: 4rem; color: #10B981; margin-bottom: 24px; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s backwards; }
.modal-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; margin-bottom: 12px; }
.modal-content p { color: var(--text-secondary); margin-bottom: 32px; }
@keyframes popIn { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

/* ===== SELECTION ===== */
::selection { background: rgba(124, 58, 237, 0.3); color: var(--text-primary); }

/* ===== LOCATION STYLES ===== */
.location-seo-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: rgba(5,8,22,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(124,58,237,0.25); padding: 10px 24px; }
.location-seo-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.location-seo-banner>.location-seo-inner>i { color: var(--purple-light); font-size: 1rem; flex-shrink: 0; }
.location-seo-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--text-primary); margin: 0 0 1px 0; line-height: 1.3; }
.location-seo-title span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.location-seo-desc { font-size: 0.72rem; color: var(--text-secondary); margin: 0; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 800px; }

.location-content-section { padding: 80px 0 60px; background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.location-content-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.location-content-heading { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.location-content-main > p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.location-content-main > p strong { color: var(--text-primary); }
.location-services-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; margin: 32px 0 20px; }
.location-services-list { display: flex; flex-direction: column; gap: 16px; }
.location-service-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass); border-radius: var(--radius-md); transition: var(--transition); }
.location-service-item:hover { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.05); }
.location-service-item > i { width: 40px; height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.15)); color: var(--purple-light); font-size: 1rem; }
.location-service-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.location-service-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.location-faq { padding: 24px; margin-bottom: 20px; }
.location-faq h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.location-faq details { border-bottom: 1px solid var(--border-glass); padding: 12px 0; }
.location-faq details:last-of-type { border-bottom: none; }
.location-faq summary { font-size: 0.88rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding-right: 8px; transition: color 0.2s; }
.location-faq summary::-webkit-details-marker { display: none; }
.location-faq summary::after { content: '+'; font-size: 1.2rem; color: var(--purple-light); }
.location-faq details[open] summary::after { content: '−'; }
.location-faq summary:hover { color: var(--purple-light); }
.location-faq details p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.7; margin: 10px 0 4px; }
.location-cta { padding: 24px; text-align: center; }
.location-cta h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.location-cta p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 80px; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin: 0 auto 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 400px; margin: 0 auto; }
  .about-floating-card { display: none; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .testimonials-track { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
  .avatar-wrapper { width: 280px; height: 280px; }
  .location-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(5, 8, 22, 0.97); backdrop-filter: blur(20px);
    padding: 24px; gap: 8px;
    border-bottom: 1px solid var(--border-glass);
  }
  .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); }
  .hero-title { font-size: 2.2rem; }
  .avatar-wrapper { width: 240px; height: 240px; }
  .badge-flutter, .badge-dart, .badge-ai, .badge-next { display: none; }
  .section { padding: 72px 0; }
  .section-title { font-size: 1.8rem; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
  .process-timeline { grid-template-columns: 1fr; }
  .typewriter { min-height: 2.5em; }
  .hero-title { margin-bottom: 8px; }
  .location-seo-banner { padding: 8px 16px; }
  .location-seo-desc { display: none; }
  .location-seo-title { font-size: 0.78rem; }
  .location-content-section { padding: 60px 0 40px; }
  .location-content-heading { font-size: 1.3rem; }
  .project-badge { font-size: 0.6rem; padding: 3px 8px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }
}