* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background: #000;
  color: #fff;
}

/* Hero gradient with golden/yellow tones matching reference */
.hero-gradient {
  background: linear-gradient(135deg, #f9d77e 0%, #f7b731 25%, #ffeaa7 50%, #fdcb6e 75%, #e17055 100%);
  position: relative;
}

/* Abstract shapes in hero section */
.hero-shapes::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 200, 100, 0.2) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: rotate(25deg);
  animation: morphShape 8s ease-in-out infinite;
}

.hero-shapes::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  width: 300px;
  height: 500px;
  background: linear-gradient(135deg, rgba(255, 220, 150, 0.4) 0%, rgba(255, 180, 80, 0.3) 100%);
  border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  transform: rotate(-15deg);
  animation: morphShape2 10s ease-in-out infinite;
}

@keyframes morphShape {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(25deg) scale(1);
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(45deg) scale(1.1);
  }
}

@keyframes morphShape2 {
  0%,
  100% {
    border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
    transform: rotate(-15deg) scale(1);
  }
  50% {
    border-radius: 30% 70% 50% 50% / 40% 60% 40% 60%;
    transform: rotate(-35deg) scale(1.05);
  }
}

/* Floating card animation */
.floating-card {
  transition: all 0.3s ease;
}

/* Progress bar animation */
.progress-bar {
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Project cards with modern styling */
.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.expanded {
  transform: scale(1.05);
  z-index: 10;
}

/* 3D cube perspective and animation */
.perspective-box {
  perspective: 1000px;
}

.cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.05s linear;
}

.cube-face {
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cube-face.front {
  transform: translateZ(80px);
}
.cube-face.back {
  transform: translateZ(-80px) rotateY(180deg);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(80px);
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(80px);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(80px);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(80px);
}

/* Orbit ring animation */
.orbit-ring {
  transition: transform 0.05s linear;
}

/* Pulse dots animation */
.pulse-dot {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

/* Flip cards animation */
.flip-card {
  transition: all 0.3s ease;
}

.flip-card:hover {
  transform: rotateY(10deg) scale(1.02);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover scale elements */
.hover-scale {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover lift effect for service cards */
.hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Team card transitions */
.team-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cookie popup styling */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: #0a0a0a;
  color: white;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
  border-top: 1px solid #1a1a1a;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Form validation */
input.border-red-500,
textarea.border-red-500 {
  border-color: #ef4444 !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* Image handling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1280px;
}

/* Responsive typography */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-shapes::before,
  .hero-shapes::after {
    display: none;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
