body {
  background-color: #050505;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-glow {
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

.project-stack-container {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  overflow: visible;
}

.project-card {
  position: absolute;
  width: 100%;
  max-width: 900px;
  height: 560px;
  left: 70%;
  top: 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-info {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(30px);
  transition: none;
}

.dock-wrapper {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  pointer-events: none;
}

.dock-panel {
  pointer-events: auto;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(6, 0, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dock-item {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #060010;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  transform-origin: 50% 100%;
}

.dock-item:hover {
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.dock-label {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translate(-50%, 4px);
  opacity: 0;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(6, 0, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 11px;
  white-space: nowrap;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
}

.dock-item:hover .dock-label,
.dock-item:focus-visible .dock-label {
  opacity: 1;
  transform: translate(-50%, -4px);
}

@media (max-width: 768px) {
  .project-card {
    left: 50%;
    top: 65%;
    max-width: 85vw;
    height: 380px;
  }

  .project-info-container {
    height: 440px !important;
  }
}

.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.bg-grid {
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle at center,
    black 40%,
    transparent 100%
  );
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@font-face {
  font-family: "Compressa VF";
  src: url("https://res.cloudinary.com/dr6lvwubh/raw/upload/v1529908256/CompressaPRO-GX.woff2");
  font-style: normal;
}

.text-pressure span {
  position: relative;
  color: #ffffff;
}

.light body {
  background-color: #f7f3ee;
  color: #2b2118;
}

.light .bg-cusp-black,
.light .bg-cusp-dark,
.light .bg-black {
  background-color: #f7f3ee !important;
}

.light .bg-cusp-gray {
  background-color: #efe8df !important;
}

.light .text-white {
  color: #2b2118 !important;
}

.light .text-gray-300 {
  color: #4b3a2d !important;
}

.light .text-gray-400 {
  color: #5b4a3b !important;
}

.light .text-gray-500 {
  color: #6a5848 !important;
}

.light .text-gray-600 {
  color: #766355 !important;
}

.light .border-white\/5 {
  border-color: rgba(67, 52, 41, 0.1) !important;
}

.light .border-white\/10 {
  border-color: rgba(67, 52, 41, 0.14) !important;
}

.light .border-white\/12 {
  border-color: rgba(67, 52, 41, 0.18) !important;
}

.light .border-white\/20 {
  border-color: rgba(67, 52, 41, 0.24) !important;
}

.light .glass-panel {
  background: rgba(255, 248, 240, 0.7);
  border-color: rgba(67, 52, 41, 0.16);
  box-shadow: 0 18px 40px rgba(67, 52, 41, 0.12);
}

.light .dock-panel {
  background: rgba(255, 250, 244, 0.9);
  border-color: rgba(67, 52, 41, 0.14);
  box-shadow: 0 16px 40px rgba(67, 52, 41, 0.18);
}

.light .dock-item {
  background: #fff8f1;
  border-color: rgba(67, 52, 41, 0.18);
  color: #2b2118;
}

.light .dock-label {
  background: rgba(255, 250, 244, 0.95);
  border-color: rgba(67, 52, 41, 0.14);
  color: #2b2118;
}

.light .mix-blend-difference {
  mix-blend-mode: normal !important;
}

.light .hero-canvas {
  opacity: 0.18;
}

.light .text-pressure span {
  color: #2b2118;
}

.light .cursor-dot {
  background-color: #2b2118;
}

.light .cursor-outline {
  border-color: rgba(67, 52, 41, 0.35);
}

.light .bg-gradient-to-b {
  --tw-gradient-from: rgba(247, 243, 238, 0.85) !important;
  --tw-gradient-to: rgba(247, 243, 238, 0.98) !important;
}

.light .bg-white\/5 {
  background-color: rgba(67, 52, 41, 0.05) !important;
}

.light .bg-white\/10 {
  background-color: rgba(67, 52, 41, 0.1) !important;
}

.light .bg-gray-900 {
  background-color: #e8e1d8 !important;
}

.light .bg-gray-800 {
  background-color: #efe7de !important;
}

.light .bg-gray-700 {
  background-color: #f3ece3 !important;
}

.light .text-glow {
  text-shadow: 0 0 18px rgba(194, 120, 58, 0.25);
}

.light .hero-tagline {
  background-image: linear-gradient(90deg, #0a0a0a, #1d4ed8, #0a0a0a);
}

.light .bg-gradient-to-r {
  --tw-gradient-from: #0a0a0a !important;
  --tw-gradient-to: #1d4ed8 !important;
}

.light .bg-cusp-accent\/20 {
  background-color: rgba(194, 120, 58, 0.18) !important;
}

.light .bg-cusp-accent\/15 {
  background-color: rgba(194, 120, 58, 0.14) !important;
}

.light .bg-cusp-accent\/10 {
  background-color: rgba(194, 120, 58, 0.12) !important;
}

.light .bg-cusp-accent\/5 {
  background-color: rgba(194, 120, 58, 0.08) !important;
}

.light .invert {
  filter: none !important;
}

.light .hero-canvas {
  opacity: 0.12;
}

.light .text-white-light {
  color: #ffffff !important;
}

#contact input,
#contact textarea {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

#contact input:focus,
#contact textarea:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.light #contact input,
.light #contact textarea {
  background-color: rgba(255, 255, 255, 0.75);
  border-color: rgba(67, 52, 41, 0.2);
  color: #2b2118;
}

.light #contact input::placeholder,
.light #contact textarea::placeholder {
  color: rgba(43, 33, 24, 0.55);
}
