body {
  font-family: 'Work Sans', sans-serif;
  background: linear-gradient(to bottom, transparent, #0a0a0b) #0a0a0b;
  -webkit-font-smoothing: antialiased;
}

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

section,
header,
footer {
  position: relative;
  z-index: 10;
  background: #0a0a0b;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Floating CTA Button */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: #0a0a0b;
  border: 1px solid #27272a;
  color: #fafafa;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 50;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.3),
    0 0 24px rgba(59, 130, 246, 0.15);
}

.floating-cta svg {
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .floating-cta span {
    display: none;
  }

  .floating-cta {
    padding: 0.875rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

.perspective-tilt {
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.perspective-tilt:hover {
  transform: rotateX(2deg) rotateY(2deg);
}

.perspective-container {
  perspective: 1200px;
}

.terminal-window {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.terminal-window:hover {
  transform: rotateX(-5deg) rotateY(-8deg) translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(59, 130, 246, 0.1), 0 0 80px rgba(59, 130, 246, 0.15);
}

.macos-window {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.macos-window:hover {
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(59, 130, 246, 0.1);
}

.service-block {
  transition: all 0.3s ease;
}
