/* ============================================================
   AquaWave — Home Page
   ============================================================ */

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('../assets/images/back.png.png') center center / cover no-repeat;
  opacity: 0.55;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 22, 40, 0.4) 0%,
      rgba(10, 22, 40, 0.2) 40%,
      rgba(10, 22, 40, 0.5) 100%);
}

/* Water particle canvas */
#heroParticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.hero__logo {
  width: 120px;
  height: auto;
  margin: 0 auto var(--space-xl);
  animation: fadeInDown 1s ease forwards;
  filter: drop-shadow(0 4px 20px rgba(0, 180, 216, 0.3));
}

.hero__title {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease 0.2s both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__title span {
  display: inline;
  background: linear-gradient(135deg, var(--prism-teal-light), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 1s ease 0.5s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  animation: fadeInUp 1s ease 0.6s both;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  animation: fadeIn 1s ease 1.2s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--prism-teal), transparent);
  animation: float 2s ease-in-out infinite;
}

/* Floating bubbles */
.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.1);
  animation: bubbleRise linear infinite;
}


/* ======================== BRAND STRIP ======================== */
.brand-strip {
  padding: var(--space-5xl) 0;
  background: linear-gradient(180deg, var(--deep-navy) 0%, #0F2563 100%);
  position: relative;
}

.brand-strip__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.brand-strip__text h2 {
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.brand-strip__text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.75);
}

.brand-strip__text .tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(26, 58, 143, 0.12));
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-full);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
}

.brand-strip__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-strip__bottle {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
  animation: floatBottle 5s ease-in-out infinite;
}

.brand-strip__circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(26, 58, 143, 0.08));
  border: 1px solid rgba(0, 180, 216, 0.15);
  animation: rotateSlow 30s linear infinite;
}

.brand-strip__circle::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--prism-teal);
  border-radius: 50%;
  top: 10%;
  right: 10%;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.5);
}


/* ======================== PRODUCT SHOWCASE ======================== */
.products-showcase {
  padding: var(--space-5xl) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.products-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}


/* ======================== WHY AQUAWAVE ======================== */
.why-section {
  padding: var(--space-5xl) 0;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.why-section__bg-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, 0.05);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.why-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}


/* ======================== TESTIMONIALS ======================== */
.testimonials {
  padding: var(--space-5xl) 0;
  background: var(--ice-blue-light);
  position: relative;
  overflow: hidden;
}

.testimonials__track-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: var(--space-xl);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-xl));
  min-width: 300px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonials__dot.active {
  width: 30px;
  border-radius: var(--radius-full);
  background: var(--prism-teal);
}


/* ======================== CTA BANNER ======================== */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: var(--gradient-brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  position: relative;
}


/* ======================== WAVE SECTION DIVIDER ======================== */
.wave-top,
.wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.wave-top {
  top: -1px;
}

.wave-bottom {
  bottom: -1px;
}

.wave-top svg,
.wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}


/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .products-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-xl));
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .brand-strip__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-strip__visual {
    order: -1;
  }

  .products-showcase__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .why-section__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - var(--space-xl));
  }

  .hero__scroll {
    display: none;
  }
}