/* ============================================
   JUPITER PLANET XXL - Design 8: Light Pastel Soft
   Home Page Styles
   ============================================ */

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: calc(var(--header-height) + 40px);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease;
}

.hero-tag .tag {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  padding: 8px 20px;
  font-size: var(--text-sm);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-body-light);
  font-weight: 400;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-heading);
  display: block;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-body-light);
  font-weight: 400;
}

/* Hero blobs */
.hero-blob-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: blobFloat1 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation: blobFloat2 10s ease-in-out infinite;
}

.hero-blob-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 10%;
  animation: blobFloat3 7s ease-in-out infinite;
}

.hero-blob-4 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation: blobFloat1 9s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 20px) scale(1.08); }
  66% { transform: translate(20px, -20px) scale(0.92); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -25px) scale(1.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============ PRODUCTS ============ */
.products {
  background: var(--color-bg);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.product-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-card-border);
  transition: var(--transition-bounce);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:nth-child(1) .product-card-image { background: var(--gradient-card-1); }
.product-card:nth-child(2) .product-card-image { background: var(--gradient-card-2); }
.product-card:nth-child(3) .product-card-image { background: var(--gradient-card-3); }
.product-card:nth-child(4) .product-card-image { background: var(--gradient-card-4); }
.product-card:nth-child(5) .product-card-image { background: var(--gradient-card-5); }
.product-card:nth-child(6) .product-card-image { background: var(--gradient-card-6); }

.product-card-image i {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
}

.product-card:hover .product-card-image i {
  transform: scale(1.1) rotate(-5deg);
  color: rgba(255, 255, 255, 0.9);
}

.product-card-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary-light);
  font-size: var(--text-base);
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: none;
}

.product-card-wishlist:hover,
.product-card-wishlist.active {
  color: var(--color-secondary);
  transform: scale(1.15);
}

.product-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
}

.product-card-body {
  padding: var(--space-lg) var(--space-xl);
}

.product-card-category {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-card-price .current {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.product-card-price .old {
  font-size: var(--text-sm);
  color: var(--color-body-light);
  text-decoration: line-through;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-card-rating i {
  color: var(--color-yellow);
  font-size: var(--text-xs);
}

.product-card-rating span {
  font-size: var(--text-xs);
  color: var(--color-body-light);
  margin-left: 4px;
  font-weight: 500;
}

.product-card-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(167, 139, 250, 0.08);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
}

.product-card-btn:hover {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.2);
}

/* Products responsive */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* ============ FEATURES ============ */
.features {
  background: var(--gradient-soft);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-card-border);
  transition: var(--transition-bounce);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-lg);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, var(--color-tertiary-light), var(--color-tertiary));
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, var(--color-yellow-light), var(--color-yellow));
}

.feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-body-light);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* ============ HOW IT WORKS ============ */
.process {
  background: var(--color-bg);
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(12.5% + 30px);
  right: calc(12.5% + 30px);
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-primary-light) 0px,
    var(--color-primary-light) 8px,
    transparent 8px,
    transparent 16px
  );
  border-radius: var(--radius-pill);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-step-number {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.process-step:nth-child(1) .process-step-number {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.process-step:nth-child(2) .process-step-number {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
}

.process-step:nth-child(3) .process-step-number {
  background: linear-gradient(135deg, var(--color-tertiary-light), var(--color-tertiary));
}

.process-step:nth-child(4) .process-step-number {
  background: linear-gradient(135deg, var(--color-yellow-light), var(--color-yellow));
}

.process-step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 2px dashed currentColor;
  opacity: 0.2;
}

.process-step h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-body-light);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}


/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--gradient-soft);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-card-border);
  position: relative;
  transition: var(--transition-bounce);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}

.testimonial-card:nth-child(1)::before {
  background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
}

.testimonial-card:nth-child(2)::before {
  background: linear-gradient(180deg, var(--color-secondary-light), var(--color-secondary));
}

.testimonial-card:nth-child(3)::before {
  background: linear-gradient(180deg, var(--color-tertiary-light), var(--color-tertiary));
}

.testimonial-quote {
  font-size: var(--text-2xl);
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-white);
}

.testimonial-card:nth-child(1) .testimonial-avatar {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.testimonial-card:nth-child(2) .testimonial-avatar {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
}

.testimonial-card:nth-child(3) .testimonial-avatar {
  background: linear-gradient(135deg, var(--color-tertiary-light), var(--color-tertiary));
}

.testimonial-info h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: var(--text-sm);
  color: var(--color-body-light);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-top: var(--space-md);
}

.testimonial-rating i {
  color: var(--color-yellow);
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}


/* ============ CTA ============ */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  transform: rotate(10deg);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-inner {
    padding: var(--space-3xl) var(--space-xl);
    border-radius: var(--radius-xl);
  }

  .cta h2 {
    font-size: var(--text-2xl);
  }
}


/* ============ Utility ============ */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

/* ============ HERO RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--space-3xl);
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: var(--text-2xl);
  }

  .hero-blob-1,
  .hero-blob-3 {
    display: none;
  }
}
