/* ================================
   VS Experience - Vanilla CSS
   Premium Dark Theme with Liquid Glass
   ================================ */

/* CSS Variables */
:root {
  /* Core Colors */
  --background: hsl(0, 0%, 6%);
  --foreground: hsl(0, 0%, 97%);
  
  --card: hsl(0, 0%, 9%);
  --card-foreground: hsl(0, 0%, 97%);
  
  /* Primary - Borgonha */
  --primary: hsl(5, 38%, 22%);
  --primary-light: hsl(5, 38%, 32%);
  --primary-foreground: hsl(0, 0%, 97%);
  
  --secondary: hsl(0, 0%, 12%);
  --secondary-foreground: hsl(0, 0%, 97%);
  
  --muted: hsl(0, 0%, 15%);
  --muted-foreground: hsl(0, 0%, 60%);
  
  --border: hsl(0, 0%, 18%);
  
  /* Glass Effects */
  --glass-bg: hsla(0, 0%, 100%, 0.03);
  --glass-border: hsla(0, 0%, 100%, 0.08);
  --glass-shadow: hsla(0, 0%, 0%, 0.3);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(5, 38%, 22%) 0%, hsl(5, 38%, 32%) 100%);
  --gradient-glass: linear-gradient(135deg, hsla(0, 0%, 100%, 0.08) 0%, hsla(0, 0%, 100%, 0.02) 100%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, hsla(5, 38%, 22%, 0.3) 0%, transparent 70%);
  
  /* Shadows */
  --shadow-glass: 0 8px 32px var(--glass-shadow), inset 0 1px 0 var(--glass-border);
  --shadow-card: 0 4px 24px hsla(0, 0%, 0%, 0.2);
  --shadow-button: 0 4px 16px hsla(5, 38%, 22%, 0.3);
  
  /* Spacing */
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Typography */
  --font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 15%;
  left: -300px;
  width: 600px;
  height: 700px;
  background: hsl(5, 60%, 35%);
  border-radius: 100%;
  filter: blur(150px);
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: luz 6s infinite;
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  top: 55%;
  right: -400px;
  width: 800px;
  height: 400px;
  background: hsl(5, 65%, 40%);
  border-radius: 100%;
  filter: blur(150px);
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: luz 8s 2s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes luz {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  body::before,
  body::after {
    display: none;
  }
}


a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================================
   Typography
   ================================ */

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.section-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.text-gradient-primary {
  background: linear-gradient(135deg, hsl(5, 38%, 45%) 0%, hsl(5, 38%, 65%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  color: var(--foreground);
  font-weight: 500;
}

.section-microcopy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 3rem;
}

/* ================================
   Layout
   ================================ */

.container-tight {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ================================
   Glass Effects
   ================================ */

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--gradient-glass);
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    hsla(0, 0%, 100%, 0.1) 0%,
    hsla(0, 0%, 100%, 0.05) 50%,
    hsla(0, 0%, 100%, 0.1) 100%
  );
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 8px 32px hsla(0, 0%, 0%, 0.2),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.2),
    inset 0 -1px 0 hsla(0, 0%, 0%, 0.1);
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-button);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px hsla(5, 38%, 22%, 0.5);
}

.btn-primary.btn-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: scale(1.05);
  border-color: hsla(5, 38%, 22%, 0.5);
  background: hsla(0, 0%, 100%, 0.08);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.btn-icon-left {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
  transform: translateX(4px);
}

/* ================================
   Header
   ================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 1.5rem;
  transition: padding 0.35s ease, backdrop-filter 0.35s ease, background 0.35s ease;
}

.header.scrolled {
  padding: 0.6rem 1.5rem;
}

/* Surface inside header that floats and becomes glass on scroll */
.nav-surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  transition: all 0.35s ease;
}

/* Make nav-surface span the full width of the centered container */
.nav-surface {
  width: 100%;
}

/* When header has scrolled state, apply liquid glass surface */
.header.scrolled .nav-surface {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: var(--shadow-glass);
  padding: 0.5rem 0.75rem;
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem; /* small padding so image doesn't touch edges */
  
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.logo-icon img {
  display: block;
  width: 70%;
  height: 70%;
  object-fit: contain; /* avoid cropping, scale to fit inside */
  object-position: center;
  border-radius: 0; /* keep image square/uncropped */
}

.logo-text {
  font-weight: 600;
  font-size: 1.125rem;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 1rem;
  }
}

.nav-link {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link:hover::after {
  width: 100%;
}

.header .btn-primary {
  display: none;
}

@media (min-width: 768px) {
  .header .btn-primary {
    display: inline-flex;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 5.25rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  padding: 2rem;
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

/* ================================
   Hero Section
   ================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(5, 38%, 22%, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  max-width: 48rem;
  margin: 0;
  text-align: left;
}

.hero-title {
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2.0rem;
}

@media (min-width: 768px) {
  .hero-bullets {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.hero-bullets li {
  display: flex;
  align-items: left;
  justify-content: left;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.bullet-icon {
  color: var(--primary-light);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.hero-microcopy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* New 2-column hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero-left {
  padding-right: 1rem;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 40rem;
  border-radius: 1rem;
  overflow: visible;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
}

/* Floating boxes */
.floating-box {
  position: absolute;
  min-width: 10.5rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: linear-gradient(135deg, hsla(0,0%,100%,0.04), hsla(0,0%,100%,0.02));
  border: 1px solid hsla(0,0%,100%,0.06);
  box-shadow: var(--shadow-glass);
  color: var(--foreground);
  z-index: 30;
  transform: translateY(0);
  animation: floaty 4.5s ease-in-out infinite;
}

.floating-box .floating-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.floating-box .floating-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.floating-figma {
  left: 6%;
  bottom: 36%;
  transform-origin: center;
  animation-delay: 0s;
}

.floating-dev {
  right: 6%;
  bottom: 26%;
  transform-origin: center;
  animation-delay: 0.6s;
}

@keyframes floaty {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-6px) translateX(-2px); }
  50% { transform: translateY(0) translateX(0); }
  75% { transform: translateY(6px) translateX(2px); }
  100% { transform: translateY(0) translateX(0); }
}

@media (max-width: 1023px) {
  .floating-box { display: none; }
}

/* ================================

/* Custom cursor styles */
#cursor {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform;
}

.cursor__circle {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, hsla(5, 38%, 22%, 0.4) 0%, hsla(5, 38%, 32%, 0.35) 100%);
  background-size: 200% 200%;
  background-position: center;
  opacity: 0.45;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: opacity 0.3s cubic-bezier(0.25,1,0.5,1),
    background 0.3s cubic-bezier(0.25,1,0.5,1),
    border-color 0.3s cubic-bezier(0.25,1,0.5,1),
    width 0.3s cubic-bezier(0.25,1,0.5,1),
    height 0.3s cubic-bezier(0.25,1,0.5,1),
    box-shadow 0.3s cubic-bezier(0.25,1,0.5,1);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

.cursor__circle::after{
  content: none;
}

/* Hide the text by default (only visible when color changed) */
.cursor__circle { color: transparent; }

/* Utility: elements that should trigger the hover expansion */
.cursor-hover { cursor: none; }

.cursor-hover .cursor__circle {
  opacity: 0.75;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 12px 48px rgba(139, 53, 53, 0.25);
}

@media (max-width: 1024px){
  #cursor{ display: none; }
}
   Positioning Section
  /* ================================ */

.positioning {
  position: relative;
}

.positioning-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(5, 38%, 22%, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.positioning-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.positioning-card {
  margin-top: 4rem;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.positioning-icon {
  width: 12rem; /* show as image-sized block on desktop */
  height: auto;
  border-radius: 1rem;
  background: none;
  display: block;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.positioning-icon span {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(5, 38%, 45%) 0%, hsl(5, 38%, 65%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.positioning-icon img {
  width: 100%;
  height: auto;
  object-fit: contain; /* show the whole person */
  display: block;
}

@media (max-width: 640px) {
  .positioning-icon {
    width: 9rem; /* mobile: slightly smaller but still visible */
  }
}

.positioning-card p {
  color: var(--muted-foreground);
}

/* ================================
   Bento Grid (Services)
   ================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  padding: 1.5rem;
  transition: all 0.5s ease;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--gradient-glass);
}

.bento-item:hover {
  transform: scale(1.02);
  border-color: hsla(5, 38%, 22%, 0.3);
}

.bento-lg {
  grid-column: span 12;
}

.bento-md {
  grid-column: span 12;
}

.bento-sm {
  grid-column: span 12;
}

.bento-xs {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .bento-lg {
    grid-column: span 7;
  }
  
  .bento-md {
    grid-column: span 5;
  }
  
  .bento-sm {
    grid-column: span 4;
  }
  
  .bento-xs {
    grid-column: span 3;
  }
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsla(5, 38%, 22%, 0.2) 0%, hsla(5, 38%, 22%, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary-light);
}

.bento-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.bento-item p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* ================================
   Differentials Section
   ================================ */

.differentials {
  position: relative;
  overflow: hidden;
}

.differentials-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, hsla(5, 38%, 22%, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  padding: 2rem;
  text-align: center;
  transition: all 0.5s ease;
}

.pillar-card:hover {
  transform: scale(1.02);
}

.pillar-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsla(5, 38%, 22%, 0.3) 0%, hsla(5, 38%, 22%, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--primary-light);
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--muted-foreground);
}

/* ================================
   Process Section
   ================================ */


.process-timeline {
  position: relative;
  max-width: 72rem; /* match container-tight from React */
  margin: 0 auto;
  padding: 3rem 0; /* slightly larger to match section-padding */
}

/* vertical connecting line (centered) */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--border) 45%, var(--border) 55%, transparent 100%);
  display: none;
}

.process-step {
  position: relative;
  padding: 1.5rem 0; /* match vertical rhythm closer to React's gap-6 */
}

.process-step + .process-step {
  border-top: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; /* w-16 */
  height: 64px; /* h-16 */
  border-radius: 999px;
  background: linear-gradient(135deg, hsla(5, 38%, 22%, 0.12), hsla(0,0%,0,0));
  border: 1px solid hsla(0,0%,100%,0.04);
  color: var(--primary-light);
  font-weight: 700;
  z-index: 10;
  box-shadow: var(--shadow-glass);
}

.step-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem; /* p-6 equals 1.5rem */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.step-content > p:last-child {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Desktop layout: two columns with centered line and circular step markers */
@media (min-width: 768px) {
  .process-timeline {
    padding: 3.5rem 0; /* match React spacing for md */
  }

  .process-timeline::before {
    display: block;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem; /* gap-6 = 1.5rem */
    min-height: 8rem;
  }

  /* center the number over the vertical line */
  .process-step .step-number {
    position: absolute;
    left: 50%;
    top: 0.75rem; /* align slightly lower to match React */
    transform: translateX(-50%);
    margin: 0;
  }

  /* content blocks on the sides */
  .process-step .step-content {
    width: calc(50% - 5.5rem); /* account for marker and spacing to match layout */
    padding: 2rem; /* md:p-8 equals 2rem */
  }

  /* alternate sides */
  .process-step:nth-child(odd) {
    flex-direction: row;
  }

  .process-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
  }

  .process-step:nth-child(odd) .step-content {
    text-align: right;
  }
}

/* ================================
   Cases Section
   ================================ */

.cases {
  background: hsla(0, 0%, 9%, 0.3);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: all 0.5s ease;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: hsla(5, 38%, 22%, 0.3);
}

.case-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-placeholder {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(5, 38%, 45%) 0%, hsl(5, 38%, 65%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.case-button {
  margin-top: auto;
  margin-top: 1.5rem;
}


.case-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsla(5, 38%, 22%, 0.2);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.case-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-focus,
.case-deliverables,
.case-impact {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.case-focus strong,
.case-deliverables strong,
.case-impact strong {
  color: var(--foreground);
}

/* ================================
   Testimonials Section
   ================================ */

.testimonials {
  background: hsla(0, 0%, 9%, 0.3);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 2rem;
  transition: all 0.5s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.quote-icon {
  width: 2rem;
  height: 2rem;
  fill: hsla(5, 38%, 22%, 0.3);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: hsla(0, 0%, 97%, 0.9);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Ensure logo and CTA don't stretch; center nav links between them */
.nav-surface > .logo {
  flex: 0 0 auto;
}

.nav-surface > .btn-primary {
  flex: 0 0 auto;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsla(5, 38%, 22%, 0.2) 0%, hsla(5, 38%, 22%, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
}

.author-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.author-segment {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ================================
   About Section
   ================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }
}

.about-image {
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px hsla(5, 38%, 22%, 0.15);
}

.about-placeholder {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(5, 38%, 45%) 0%, hsl(5, 38%, 65%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-image img.about-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-highlights {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.highlight-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ================================
   Blog CTA Section
   ================================ */

.blog-cta {
  position: relative;
}

.blog-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, hsla(5, 38%, 22%, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.blog-cta-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
}

.blog-cta-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsla(5, 38%, 22%, 0.2) 0%, hsla(5, 38%, 22%, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.blog-cta-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--primary-light);
}

.blog-cta-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-cta-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   Final CTA Section
   ================================ */

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, hsla(5, 38%, 22%, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(5, 38%, 22%, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.final-cta-subtext {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .final-cta-buttons {
    flex-direction: row;
  }
}

/* ================================
   Footer
   ================================ */

.footer {
  padding: 3rem 0;
  border-top: 1px solid hsla(0, 0%, 100%, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-brand {
    text-align: left;
  }
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-brand .logo {
    justify-content: flex-start;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

.link-icon {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: all 0.2s ease;
}

.footer-link:hover .link-icon {
  opacity: 1;
  transform: translate(0, 0);
}

/* ================================
   Animations
   ================================ */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: var(--shadow-button), 0 0 20px hsla(5, 38%, 22%, 0.3);
  }
  50% { 
    box-shadow: var(--shadow-button), 0 0 40px hsla(5, 38%, 22%, 0.5);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fade-up 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Intersection Observer triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   Utility Classes
   ================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
