.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* .hero-left {
            z-index: 2;
        } */

/* .hero-title {
            font-size: clamp(3rem, 7vw, 5.5rem);
            font-weight: 400;
            line-height: 1.1;
            margin-bottom: 2rem;
            letter-spacing: -2px;
            color: #000;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.3s forwards;
        } */

/* .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            line-height: 1.6;
            color: #666;
            margin-bottom: 3rem;
            max-width: 500px;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.5s forwards;
        } */

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.7s forwards;
}

.btn {
  font-family: "Manrope";
  padding: 10px 1.3rem;
  font-size: 14px;
  /* font-weight: 600; */
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0 !important;
}

.btn-secondary {
  background: #fff;
  color: #000;
  border: 2px solid #e5e5e5;
}
.back-btn {
  margin-top: 25px;
}

.btn-secondary:hover {
  border-color: #000;
  transform: translateY(-3px);
}

/* Customer Avatars */
.customers {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fafafa;
  margin-left: -12px;
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  overflow: hidden;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-text {
  font-size: 0.95rem;
  color: #666;
}

.customer-text strong {
  color: #000;
  font-weight: 600;
}

/* Hero Right - 3D Asset */
.hero-right {
  position: relative;
  height: 600px;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

/* Main 3D Image */
.sphere-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  animation: floatSphere 8s ease-in-out infinite;
  z-index: 99;
}

@keyframes floatSphere {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-20px) rotate(5deg);
  }
}

.sphere {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  position: relative;
  /* box-shadow: 0 50px 100px rgba(102, 126, 234, 0.3); */
  overflow: hidden;
}

.sphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Floating Cards */
.paint-card {
  position: absolute;
  top: 5%;
  left: -5%;
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInLeft 1s ease-out 0.8s backwards,
    floatCard 6s ease-in-out 2s infinite;
  z-index: 10;
}

.paint-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fef3f3, #f5f5f5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* Color Palette Card */
.palette-card {
  position: absolute;
  top: 15%;
  right: -8%;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 200px;
  animation: slideInRight 1s ease-out 1s backwards,
    floatCard 6s ease-in-out 3s infinite;
  z-index: 10;
}

.color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.color-row:last-of-type {
  margin-bottom: 1.2rem;
}

.color-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #999;
}

.color-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid #f0f0f0;
}

.slider-container {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  position: relative;
}

.slider-thumb {
  width: 20px;
  height: 20px;
  background: #000;
  border: 4px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.palette-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Chat Bubble */
.chat-bubble {
  position: absolute;
  bottom: 25%;
  left: -8%;
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 280px;
  animation: slideInLeft 1s ease-out 1.2s backwards,
    floatCard 6s ease-in-out 4s infinite;
  z-index: 100;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3f3, #f5e6ff);
  flex-shrink: 0;
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.chat-text strong {
  color: #8b5cf6;
  font-weight: 600;
}

/* Status Card */
.status-card {
  position: absolute;
  bottom: 18%;
  left: 8%;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInUp 1s ease-out 1.4s backwards,
    floatCard 6s ease-in-out 5s infinite;
  z-index: 10;
}

.status-icon {
  width: 24px;
  height: 24px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.status-text {
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Generation Card */
.gen-card {
  position: absolute;
  bottom: 8%;
  right: -5%;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInRight 1s ease-out 1.6s backwards,
    floatCard 6s ease-in-out 6s infinite;
  z-index: 10;
}

.gen-icon {
  font-size: 1.2rem;
}

.gen-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
}

.floating-left {
  left: 2rem;
}

.floating-right {
  right: 2rem;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    gap: 4rem;
  }

  .sphere-container {
    width: 550px;
    height: 550px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* .hero {
                padding: 7rem 5% 3rem;
            } */

  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* .hero-left {
                text-align: center;
            } */

  /* .hero-subtitle {
                max-width: 100%;
                margin-left: auto;
                margin-right: auto;
            } */

  /* .hero-buttons {
                justify-content: center;
            } */

  /* .customers {
    justify-content: center;
  } */

  .hero-right {
    height: 500px;
    /* order: -1; */
  }

  .sphere-container {
    width: 480px;
    height: 480px;
  }

  .paint-card {
    left: 2%;
    top: 8%;
  }

  .palette-card {
    right: 2%;
    top: 12%;
    width: 160px;
  }

  .chat-bubble {
    left: 2%;
    bottom: 28%;
    max-width: 220px;
  }

  .status-card {
    left: 5%;
  }

  .gen-card {
    right: 2%;
  }

  .floating-left {
    left: 1rem;
    bottom: 1.5rem;
  }

  .floating-right {
    right: 1rem;
    bottom: 1.5rem;
  }
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* .hero {
                padding: 6rem 4% 2rem;
            } */

  /* .hero-title {
                font-size: 2.5rem;
            } */

  /* .btn {
                width: 100%;
            } */

  /* sph mine */
  .sphere-container {
    width: 400px;
    height: 400px;
  }

  .paint-card {
    width: 70px;
    height: 70px;
  }

  .palette-card {
    width: 140px;
    padding: 1.2rem;
  }

  .chat-bubble {
    max-width: 180px;
    padding: 1rem;
    font-size: 0.85rem;
  }

  .chat-avatar {
    width: 32px;
    height: 32px;
  }

  .paint-card {
    left: 2%;
    top: 14%;
  }
  .sphere-container {
    top: 40%;
  }
  .status-card {
    left: 50%;
  }
  .gen-card {
    display: none;
  }
}
