/* ========================================
   {BYAP} PORTFOLIO - WORLD CLASS DESIGN
   Nível Awwwards / Google / Meta
   ======================================== */

/* ========================================
   1. CSS VARIABLES - PREMIUM DARK THEME
   ======================================== */
:root {
  /* Colors - Primary Accent */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #22d3ee;
  --accent-secondary: #a855f7;
  
  /* Dark Theme Background */
  --bg-dark: #0a0a0b;
  --bg-dark-secondary: #111113;
  --bg-dark-tertiary: #18181b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  
  /* Text Colors */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  /* Border Colors */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(99, 102, 241, 0.5);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-text: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  
  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 6rem;
  
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
  --shadow-glow-accent: 0 0 40px rgba(34, 211, 238, 0.2);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 300ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
  --transition-slower: 800ms var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Noise Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.015;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--primary);
  color: white;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ========================================
   3. UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-10);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-16);
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s var(--ease-out-expo);
}

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

/* Stagger Children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow Effect */
.glow {
  position: relative;
}

.glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-base);
  z-index: -1;
}

.glow:hover::before {
  opacity: 0.6;
}

/* ========================================
   4. HEADER - GLASSMORPHISM
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.header.scrolled::before {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-tight);
  transition: all var(--transition-base);
  position: relative;
}

.logo-key {
  font-family: var(--font-mono);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all var(--transition-base);
}

.logo-name {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.logo:hover .logo-key {
  filter: brightness(1.2);
}

@media (max-width: 900px) {
  .logo-name {
    display: none;
  }
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: var(--space-1);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    transition: right var(--transition-slow);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links .nav-link {
    font-size: var(--text-3xl) !important;
  }
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  transition: all var(--transition-base);
}

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

.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 101;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav > .btn {
    display: none;
  }
}

/* ========================================
   5. BUTTONS - PREMIUM
   ======================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  min-height: 48px;
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-accent);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  min-height: 56px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ========================================
   6. HERO - CINEMATIC
   ======================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--space-24) + 72px) 0 var(--space-24);
}

.hero .container {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
  animation: heroGradient 15s ease-in-out infinite;
}

@keyframes heroGradient {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-2%, 1%) rotate(-1deg); }
}

/* Grid Pattern */
.hero-bg::after {
  content: '';
  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;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 1000px;
  width: min(100%, 1000px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
  text-wrap: balance;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-12);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .scroll-indicator {
    display: none;
  }
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--primary);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ========================================
   7. STATS - BENTO STYLE
   ======================================== */
.stats {
  padding: var(--space-24) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  position: relative;
  padding: var(--space-10);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all var(--transition-base);
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-item:hover::before {
  opacity: 0.05;
}

.stat-item > * {
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-light);
  stroke-width: 1.5;
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.stat-label-big {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================
   8. FEATURED DEMOS - PREMIUM GRID
   ======================================== */
.featured {
  padding: var(--space-32) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-20);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Demo Grid */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

@media (max-width: 640px) {
  .demos-grid {
    grid-template-columns: 1fr;
  }
}

/* Demo Card */
.demo-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.demo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.demo-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.demo-card:hover::before {
  opacity: 0.03;
}

.demo-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(236, 72, 153, 0.2) 100%),
              var(--bg-dark-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.demo-card:hover .demo-image img {
  transform: scale(1.05);
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(168, 85, 247, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.demo-card:hover .demo-overlay {
  opacity: 1;
}

.demo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-direction: column;
  color: white;
  font-weight: 600;
  font-size: var(--text-lg);
  padding: var(--space-6) var(--space-8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.demo-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.demo-link .btn-icon {
  width: 24px;
  height: 24px;
}

.demo-content {
  padding: var(--space-6);
  position: relative;
  z-index: 1;
}

.demo-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.category-badge {
  display: inline-flex;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.badge-creative { 
  background: rgba(168, 85, 247, 0.15); 
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.badge-business { 
  background: rgba(34, 197, 94, 0.15); 
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-portfolio { 
  background: rgba(99, 102, 241, 0.15); 
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.badge-landing { 
  background: rgba(249, 115, 22, 0.15); 
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Skeleton Loading */
.skeleton-loading {
  position: relative;
}

.skeleton-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg-dark-tertiary) 25%,
    var(--bg-dark-secondary) 50%,
    var(--bg-dark-tertiary) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

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

.section-cta {
  text-align: center;
}

/* ========================================
   9. SPECIALTIES - GLASS CARDS
   ======================================== */
.specialties {
  padding: var(--space-32) 0;
  position: relative;
}

/* Background Glow */
.specialties::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  position: relative;
}

.specialty-item {
  position: relative;
  text-align: center;
  padding: var(--space-12);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  overflow: hidden;
}

.specialty-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all var(--transition-base);
}

.specialty-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.specialty-item:hover::before {
  opacity: 1;
  width: 100%;
}

.specialty-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.specialty-item:hover .specialty-icon-wrapper {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.specialty-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
  stroke-width: 1.5;
  transition: color var(--transition-base);
}

.specialty-item:hover .specialty-icon {
  color: white;
}

.specialty-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.specialty-desc {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* ========================================
   10. PWA SECTION
   ======================================== */
.pwa-section {
  padding: var(--space-32) 0;
  position: relative;
  overflow: hidden;
}

/* Background Effect */
.pwa-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
}

.pwa-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pwa-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.pwa-header {
  margin-bottom: var(--space-16);
}

.pwa-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pwa-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: inherit;
  opacity: 0.5;
  filter: blur(20px);
}

.pwa-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  stroke-width: 1.5;
  position: relative;
}

.pwa-section .section-title {
  color: var(--text-primary);
}

.pwa-section .section-subtitle {
  color: var(--text-secondary);
}

.pwa-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.pwa-feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  text-align: left;
}

.pwa-feature:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--text-primary);
  transform: translateX(4px);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  stroke-width: 2;
  flex-shrink: 0;
}

/* ========================================
   11. TECH STACK
   ======================================== */
.tech-stack {
  padding: var(--space-32) 0;
}

.tech-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tech-group {
  margin-bottom: var(--space-16);
}

.tech-group:last-child {
  margin-bottom: 0;
}

.tech-group-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.tech-badge {
  padding: var(--space-3) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.tech-badge:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   12. CTA FINAL
   ======================================== */
.cta-final {
  padding: var(--space-32) 0;
  position: relative;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-16);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

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

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

/* ========================================
   13. FOOTER
   ======================================== */
.footer {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer-logo .logo-key {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-year {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

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

/* ========================================
   13.1 RESPONSIVE - DESKTOP/TABLET
   ======================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .hero-content {
    max-width: 900px;
  }
}

@media (max-width: 1024px) {
  .nav {
    gap: var(--space-4);
  }

  .nav-link {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }

  .hero {
    padding: calc(var(--space-20) + 64px) 0 var(--space-20);
  }

  .hero-title {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
  }

  .hero-subtitle {
    max-width: 520px;
  }

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

  .demos-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-3);
  }
}

/* ========================================
   14. RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
  .hero-content {
    padding: 0 var(--space-4);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .demos-grid {
    grid-template-columns: 1fr;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .pwa-features {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    text-align: center;
  }
  
  .section-eyebrow,
  .section-title,
  .section-subtitle {
    text-align: center;
  }
}

/* ========================================
   15. REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   16. PAGE HERO (Internal Pages)
   ======================================== */
.page-hero {
  padding-top: calc(80px + var(--space-20));
  padding-bottom: var(--space-16);
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.page-hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   17. PORTFOLIO FILTERS
   ======================================== */
.portfolio-filters {
  padding: var(--space-8) 0;
  background: var(--bg-dark-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 80px;
  z-index: 90;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.filters-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 var(--space-2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   18. PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--bg-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-8);
}

/* Demo Card Description */
.demo-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

/* Demo Placeholder (when no screenshot) */
.demo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Coming Soon Badge */
.demo-link.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.3);
}

.demo-link.coming-soon:hover {
  transform: none;
  box-shadow: none;
}

/* Portfolio Empty State */
.portfolio-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) var(--space-8);
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-6);
  opacity: 0.4;
}

.portfolio-empty h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.portfolio-empty p {
  font-size: var(--text-base);
}

/* Filter Animation */
.demo-card.reveal-in {
  animation: fadeInUp 0.5s var(--ease-out-expo) forwards;
}

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

/* ========================================
   19. RESPONSIVE - PORTFOLIO PAGE
   ======================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(70px + var(--space-12));
    padding-bottom: var(--space-12);
  }
  
  .portfolio-filters {
    top: 70px;
  }
  
  .filters-wrapper {
    gap: var(--space-2);
  }
  
  .filter-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }
  
  .filter-btn span:not(.filter-count) {
    display: none;
  }
  
  .filter-btn .filter-count {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .page-hero-subtitle {
    font-size: var(--text-base);
  }
}

/* ========================================
   20. ABOUT PAGE STYLES
   ======================================== */

/* Bio Section */
.about-bio {
  padding: var(--space-16) 0;
  background: var(--bg-dark);
}

.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.bio-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.photo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.photo-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3),
              0 8px 24px rgba(0, 0, 0, 0.4);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.photo-initials {
  font-family: var(--font-mono);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: white;
}

.photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  animation: pulse-ring 3s ease-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.2; }
}

.bio-social {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.social-btn i {
  width: 20px;
  height: 20px;
}

.bio-content {
  padding-top: var(--space-4);
}

.bio-greeting {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

.bio-text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.bio-text strong {
  color: var(--text-primary);
}

.bio-highlight {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  margin-top: var(--space-8);
}

.highlight-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.bio-highlight p {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

/* Skills Section */
.about-skills {
  padding: var(--space-20) 0;
  background: var(--bg-dark-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.skill-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.skill-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.skill-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.skill-card:hover .skill-icon {
  color: var(--primary-light);
}

.skill-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.skill-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-list li:last-child {
  border-bottom: none;
}

.skill-name {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.skill-level {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
}

/* Experience Section */
.about-experience {
  padding: var(--space-20) 0;
  background: var(--bg-dark);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.experience-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.experience-category:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.exp-category-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--border-subtle);
}

.exp-category-title i {
  color: var(--primary);
}

.exp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.exp-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.exp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.exp-list li:hover {
  color: var(--text-primary);
}

.exp-list li:hover::before {
  background: var(--primary-light);
  box-shadow: 0 0 8px var(--primary);
}

/* Values Section */
.about-values {
  padding: var(--space-20) 0;
  background: var(--bg-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.value-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  padding-top: var(--space-12);
  transition: all var(--transition-base);
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.value-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.value-card:hover::before {
  opacity: 1;
}

.value-number {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--border-subtle);
  line-height: 1;
}

.value-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.value-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.value-card:hover .value-icon {
  color: var(--primary-light);
}

.value-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.value-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* Differentials Section */
.about-diff {
  padding: var(--space-20) 0;
  background: var(--bg-dark-secondary);
}

.diff-content {
  max-width: 900px;
  margin: 0 auto;
}

.diff-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.diff-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.diff-item:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.diff-icon {
  width: 24px;
  height: 24px;
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-item strong {
  display: block;
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.diff-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   21. RESPONSIVE - ABOUT PAGE
   ======================================== */
@media (max-width: 1200px) {
  .skills-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .bio-photo {
    margin-bottom: var(--space-8);
  }
  
  .bio-content {
    padding-top: 0;
  }
  
  .bio-highlight {
    flex-direction: column;
    text-align: center;
  }
  
  .highlight-icon {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .skills-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-wrapper {
    width: 160px;
    height: 160px;
  }
  
  .photo-initials {
    font-size: var(--text-4xl);
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   22. CONTACT PAGE STYLES
   ======================================== */

/* Contact Section */
.contact-section {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-header {
  grid-column: 1 / -1;
  margin-bottom: var(--space-4);
}

.form-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-header p {
  font-size: var(--text-base);
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  background: var(--bg-dark-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  transition: all var(--transition-base);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2371717a' 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 12px center;
  background-size: 20px;
  padding-right: var(--space-12);
}

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

.btn-full {
  width: 100%;
  grid-column: 1 / -1;
  margin-top: var(--space-4);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

.form-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* Form Feedback Messages */
.form-feedback {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.form-feedback.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.form-feedback svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.info-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.info-card-highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-color: var(--border-accent);
}

.info-card-highlight h3 {
  margin-bottom: var(--space-3);
}

.info-card-highlight p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--primary-light);
  margin-bottom: var(--space-3);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item:first-child {
  padding-top: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-lg);
  color: var(--primary);
  flex-shrink: 0;
}

.info-icon i {
  width: 20px;
  height: 20px;
}

.info-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-1);
}

.info-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.info-value:hover {
  color: var(--primary-light);
}

/* FAQ Section */
.faq-section {
  padding: var(--space-20) 0;
  background: var(--bg-dark-secondary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.faq-answer a {
  color: var(--primary-light);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--primary);
}

/* Spinner Animation */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   23. RESPONSIVE - CONTACT PAGE
   ======================================== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: var(--space-6);
  }
}

@media (max-width: 640px) {
  .faq-question {
    font-size: var(--text-sm);
    padding: var(--space-4);
  }
  
  .faq-answer p {
    padding: 0 var(--space-4) var(--space-4);
    font-size: var(--text-sm);
  }
}