/* ============================================
   BAZAAR — .NET Developer Portfolio
   Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-bg:          #030208;
  --color-bg-elevated: #0a0918;
  --color-surface:     #110D5D;
  --color-surface-alt: #0d0a3a;
  --color-accent:      #5C50C9;
  --color-accent-glow: #261C9F;
  --color-lavender:    #A8A1DA;
  --color-text:        #FBFBFD;
  --color-text-muted:  #8b87b0;
  --color-text-dim:    #5a5680;
  --color-border:      rgba(92, 80, 201, 0.15);
  --color-border-hover:rgba(92, 80, 201, 0.4);
  --color-glass:       rgba(11, 9, 40, 0.6);
  --color-glass-border:rgba(168, 161, 218, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  10rem;

  /* Layout */
  --max-width:     1320px;
  --border-radius: 16px;
  --radius-sm:     8px;
  --radius-lg:     24px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration:      0.6s;
  --duration-fast: 0.3s;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smoothing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Background Ambient Glow --- */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 28, 159, 0.12) 0%, transparent 70%);
  animation: ambientFloat1 20s ease-in-out infinite;
}

.ambient-glow::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 80, 201, 0.08) 0%, transparent 70%);
  animation: ambientFloat2 25s ease-in-out infinite;
}

@keyframes ambientFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, 10vh) scale(1.1); }
}

@keyframes ambientFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8vw, -5vh) scale(1.15); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--duration-fast) ease, 
              backdrop-filter var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(3, 2, 8, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--color-glass-border);
}

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

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--duration-fast) ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-fast) var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--color-border-hover);
  border-radius: 100px;
  color: var(--color-lavender);
  transition: all var(--duration-fast) ease;
  background: transparent;
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 0 30px rgba(92, 80, 201, 0.3);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--duration-fast) ease;
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.hero__tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line-inner {
  display: block;
  transform: translateY(110%);
  animation: lineReveal 1s var(--ease-out-expo) forwards;
}

.hero__title .line:nth-child(2) .line-inner { animation-delay: 0.15s; }
.hero__title .line:nth-child(3) .line-inner { animation-delay: 0.3s; }

@keyframes lineReveal {
  to { transform: translateY(0); }
}

.hero__title em {
  font-style: italic;
  color: var(--color-lavender);
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 161, 218, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(92, 80, 201, 0.4);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-lavender);
  transform: translateY(-2px);
}

/* Hero Visual - Glass Card with .NET Logo */
.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glass-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 4.5;
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: cardFloat 6s ease-in-out infinite;
}

.hero__glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(92, 80, 201, 0.06),
    transparent,
    rgba(168, 161, 218, 0.04),
    transparent
  );
  animation: cardRotateGlow 10s linear infinite;
}

.hero__glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 80, 201, 0.08) 0%,
    transparent 40%,
    transparent 60%,
    rgba(168, 161, 218, 0.04) 100%
  );
  border-radius: inherit;
}

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

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

.hero__dotnet-icon {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-lg);
}

.hero__dotnet-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(92, 80, 201, 0.4));
}

.hero__card-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.hero__card-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-xs);
}

.hero__card-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-glass-border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-lavender);
}

.hero__stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-top: 2px;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-dim);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes scrollLineMove {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION STYLING COMMON
   ============================================ */
section {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--color-lavender);
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-top: var(--space-sm);
  line-height: 1.8;
}

/* Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border),
    transparent
  );
  margin: var(--space-3xl) 0;
}

/* ============================================
   EXPERTISE / TECH STACK SECTION
   ============================================ */
.expertise {
  padding: var(--space-3xl) 0;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.expertise__card {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: transparent;
  transition: all var(--duration) var(--ease-out-expo);
  overflow: hidden;
  cursor: default;
}

.expertise__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 80, 201, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--duration) ease;
  border-radius: inherit;
}

.expertise__card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(92, 80, 201, 0.1);
}

.expertise__card:hover::before {
  opacity: 1;
}

.expertise__card-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  margin-bottom: var(--space-lg);
}

.expertise__card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
  transition: color var(--duration-fast) ease;
}

.expertise__card:hover .expertise__card-icon {
  color: var(--color-lavender);
}

.expertise__card-icon svg {
  width: 100%;
  height: 100%;
}

.expertise__card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.expertise__card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.expertise__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-sm);
}

.expertise__tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-dim);
  transition: all var(--duration-fast) ease;
}

.expertise__card:hover .expertise__tag {
  border-color: rgba(92, 80, 201, 0.25);
  color: var(--color-text-muted);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 11;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease-out-expo);
}

.project-card:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }

.project-card__bg {
  position: absolute;
  inset: 0;
  transition: transform var(--duration) var(--ease-out-expo);
}

.project-card__bg-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  position: relative;
  overflow: hidden;
}

/* Code-themed visual backgrounds */
.project-card:nth-child(1) .project-card__bg-gradient {
  background: linear-gradient(145deg, #0a0825 0%, #110D5D 50%, #0d0a3a 100%);
}
.project-card:nth-child(2) .project-card__bg-gradient {
  background: linear-gradient(145deg, #08061e 0%, #1a1260 50%, #0a0830 100%);
}
.project-card:nth-child(3) .project-card__bg-gradient {
  background: linear-gradient(145deg, #0b0930 0%, #0d0a3a 50%, #130f55 100%);
}
.project-card:nth-child(4) .project-card__bg-gradient {
  background: linear-gradient(145deg, #0a0825 0%, #140e50 50%, #0a0830 100%);
}

/* Decorative code pattern overlay */
.project-card__code {
  position: absolute;
  inset: 0;
  padding: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 2;
  color: rgba(168, 161, 218, 0.08);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
}

.project-card:hover .project-card__bg {
  transform: scale(1.04);
}

.project-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 30px 80px rgba(92, 80, 201, 0.12);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 2, 8, 0.95) 0%, rgba(3, 2, 8, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: all var(--duration) ease;
}

.project-card__number {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.project-card__arch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.project-card__arch-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--color-border-hover);
  border-radius: 100px;
  color: var(--color-lavender);
}

.project-card__desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 400px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease-out-expo);
}

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

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease-out-expo) 0.05s;
}

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

.project-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) ease;
}

.project-card__link:hover svg {
  transform: translate(3px, -3px);
}

/* ============================================
   PROCESS / WORKFLOW SECTION
   ============================================ */
.process {
  padding: var(--space-3xl) 0;
}

.process__timeline {
  position: relative;
  margin-top: var(--space-xl);
  padding-left: 60px;
}

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

.process__step {
  position: relative;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--duration) var(--ease-out-expo);
}

.process__step:hover {
  border-color: var(--color-border-hover);
  transform: translateX(8px);
}

.process__step::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background: var(--color-bg);
  transition: all var(--duration-fast) ease;
}

.process__step:hover::before {
  background: var(--color-accent);
  box-shadow: 0 0 20px rgba(92, 80, 201, 0.5);
}

.process__step-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.process__step-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.process__step-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 600px;
}

.process__step-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-sm);
}

.process__tool {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-dim);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: var(--space-2xl) 0;
}

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

.stats__item {
  text-align: center;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: all var(--duration) var(--ease-out-expo);
}

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

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-lavender);
  line-height: 1;
}

.stats__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-top: var(--space-xs);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-surface-alt) 0%,
    var(--color-bg) 40%,
    var(--color-bg) 60%,
    var(--color-surface-alt) 100%
  );
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta__bg::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 80, 201, 0.1) 0%, transparent 70%);
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.cta__title em {
  font-style: italic;
  color: var(--color-lavender);
}

.cta__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-fast) ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-accent), var(--color-lavender), var(--color-accent));
  z-index: -1;
  animation: glowRotate 3s linear infinite;
  filter: blur(12px);
  opacity: 0.4;
}

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

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(92, 80, 201, 0.5);
}

.btn-glow svg {
  width: 16px;
  height: 16px;
}

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

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

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.footer__copy span {
  color: var(--color-lavender);
}

.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  transition: color var(--duration-fast) ease;
}

.footer__link:hover {
  color: var(--color-lavender);
}

/* ============================================
   CURSOR FOLLOWER
   ============================================ */
.cursor-follower {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 80, 201, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
  will-change: left, top;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media screen and (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__glass-card {
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .project-card:nth-child(1) {
    grid-row: span 1;
    aspect-ratio: 16 / 11;
  }

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

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media screen and (max-width: 680px) {
  html {
    font-size: 15px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 2, 8, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__toggle {
    display: flex;
    z-index: 1000;
  }

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

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

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

  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .process__timeline {
    padding-left: 40px;
  }

  .process__timeline::before {
    left: 10px;
  }

  .process__step::before {
    left: -38px;
    width: 10px;
    height: 10px;
  }

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

  .cta__buttons {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cursor-follower {
    display: none;
  }
}
