/* ============================================
   Design System — Custom Properties
   ============================================ */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0e0e0e;
  --bg-card: #111;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-tertiary: #6e6e73;
  --accent-1: #6366f1;
  --accent-2: #06b6d4;
  --accent-3: #a855f7;
  --accent-gradient: linear-gradient(135deg, #6366f1, #06b6d4, #a855f7);
  --accent-gradient-2: linear-gradient(135deg, #06b6d4, #6366f1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 120px;
}

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

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

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

@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
}

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

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }

/* ============================================
   Loading Screen
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: min(600px, 85vw);
  height: auto;
  margin: 0 auto 2rem;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

.loading-bar {
  width: 200px;
  height: 2px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  animation: loadingFill 2s ease-in-out forwards;
}

@keyframes loadingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

@keyframes loadingFill {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent-1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s, border-color 0.3s, background 0.3s;
}

.cursor.hover {
  width: 0;
  height: 0;
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent-1);
  background: rgba(99, 102, 241, 0.1);
}

@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-spring);
}

.nav-logo img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

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

.nav-link {
  padding: 8px 24px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  will-change: transform;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08), transparent 50%);
  border-radius: 50%;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(100px); opacity: 0; }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blobMove 20s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-1);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-2);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--accent-3);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(50px, -50px) scale(1.1) rotate(90deg); }
  50% { transform: translate(-30px, 30px) scale(0.9) rotate(180deg); }
  75% { transform: translate(40px, 40px) scale(1.05) rotate(270deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-1);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.8s ease forwards;
}

.hero-line-1 { animation-delay: 0.2s; }
.hero-line-2 { animation-delay: 0.4s; }
.hero-line-3 { animation-delay: 0.6s; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s ease 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s ease 1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: heroReveal 0.8s ease 1.2s forwards;
}

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   Section Base
   ============================================ */
.section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-1);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   Project Browser Mockup
   ============================================ */
.project-featured {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-featured.visible {
  opacity: 1;
  transform: translateY(0);
}

.browser-mockup {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.browser-mockup:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.05);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-glass);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #28c840; }

.browser-address {
  flex: 1;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-primary);
}

.browser-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.browser-preview iframe.loaded {
  opacity: 1;
}

.browser-preview-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.browser-preview-card.hidden {
  opacity: 0;
  pointer-events: none;
}

.preview-card-content {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.preview-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 4px;
}

.preview-card-url {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 16px;
}

.preview-card-line {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.preview-card-tech {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.preview-card-tech span {
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.9);
}

.browser-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.browser-mockup:hover .browser-preview img {
  transform: scale(1.03);
}

.browser-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  transition: opacity var(--transition-base);
  z-index: 5;
}

.browser-mockup:hover .browser-overlay {
  opacity: 1;
}

.browser-overlay-btn {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-sm);
  transform: translateY(10px);
  transition: transform var(--transition-base);
}

.browser-mockup:hover .browser-overlay-btn {
  transform: translateY(0);
}

.project-info {
  padding: 24px;
}

.project-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.project-status {
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.project-status.live {
  background: rgba(40, 200, 64, 0.1);
  color: #28c840;
  border: 1px solid rgba(40, 200, 64, 0.2);
}

.project-status.dev {
  background: rgba(255, 189, 46, 0.1);
  color: #ffbd2e;
  border: 1px solid rgba(255, 189, 46, 0.2);
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-tag {
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent-1);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 100px;
}

.project-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-action {
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.project-action.primary {
  background: var(--accent-gradient);
  color: white;
}

.project-action.primary:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.project-action.secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.project-action.secondary:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

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

.project-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card .browser-mockup {
  transform: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card .browser-mockup:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-card .browser-preview {
  aspect-ratio: 16 / 9;
}

.project-card .project-info {
  padding: 20px;
}

.project-card .project-name {
  font-size: 1.0625rem;
}

/* ============================================
   Modal
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  padding: 24px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-spring);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin-right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  z-index: 1;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 24px;
}

/* ============================================
   Skills Grid
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

.skill-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-item:hover {
  border-color: var(--accent-1);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.skill-icon {
  font-size: 2rem;
  transition: transform var(--transition-spring);
}

.skill-item:hover .skill-icon {
  transform: scale(1.2) rotate(-5deg);
}

.skill-name {
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
}

/* ============================================
   Process Timeline
   ============================================ */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-1), transparent);
}

.process-step {
  position: relative;
  padding-left: 64px;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-number {
  position: absolute;
  left: 12px;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent-gradient);
  border-radius: 50%;
  color: white;
  z-index: 1;
}

.process-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.process-step-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

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

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: var(--accent-1);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.08);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Why Me
   ============================================ */
.whyme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.whyme-item {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.whyme-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.whyme-item:hover {
  border-color: var(--accent-2);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.08);
}

.whyme-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.whyme-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.whyme-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  padding: 80px 24px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

.contact-form-header {
  text-align: center;
  margin-bottom: 8px;
}

.contact-form-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.15));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.contact-form-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-form-header p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 18px 20px 18px 44px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:hover {
  background: rgba(255,255,255,0.05);
}

.form-input:focus {
  border-color: var(--accent-1);
  background: rgba(99,102,241,0.03);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.2), 0 4px 20px rgba(99,102,241,0.05);
}

.form-input::placeholder {
  color: transparent;
}

.form-input:not(:placeholder-shown) + .form-label,
.form-input:focus + .form-label {
  transform: translateY(-28px) scale(0.82);
  color: var(--accent-1);
  left: 12px;
}

.form-label {
  position: absolute;
  left: 44px;
  top: 18px;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  pointer-events: none;
  transition: all var(--transition-fast);
  transform-origin: left;
}

.form-icon {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 1rem;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.form-input:focus ~ .form-icon {
  opacity: 0.8;
}

.form-icon-textarea {
  top: 20px;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  padding-left: 44px;
}

.btn-submit {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-submit.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
  margin-left: 8px;
}

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

.form-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: -8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}

.contact-info-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  background: rgba(99,102,241,0.04);
  border-color: rgba(99,102,241,0.2);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.125rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-response {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
}

.contact-response.success {
  display: block;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.15);
  color: #28c840;
}

.contact-response.error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border-glass);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  height: 100px;
  width: auto;
  border-radius: var(--radius-sm);
}

.footer-text {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.scroll-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.scroll-top:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   R3:3D Tilt Styles (applied via JS)
   ============================================ */
.tilt-active {
  transition: transform 0.1s ease;
  will-change: transform;
}
