/* Homepage Sections - Golden Clouds Theme */

/* ========================================
   TRUST BAR - Desktop: Compact 1x4 row
   ======================================== */
.trust-bar {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-bar__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  flex: 1;
  max-width: 280px;
}

.trust-bar__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-bar__icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.trust-bar__text {
  flex: 1;
}

.trust-bar__title {
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.2;
}

.trust-bar__subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  margin: 0;
  line-height: 1.2;
}

/* ========================================
   WHY GOLDEN CLOUDS SECTION
   ======================================== */
.why-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.why-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.why-section__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.why-section__title {
  color: white;
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.why-section__intro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
}

.why-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.why-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 160, 176, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 160, 176, 0.4);
}

.why-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.why-card__title {
  color: white;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.why-card__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   PRODUCT MOSAIC - Abstrax-inspired Grid
   ======================================== */
.product-mosaic {
  padding: 3rem 0;
  background: #0f0f1a;
}

.product-mosaic__header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.product-mosaic__title {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.product-mosaic__subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin: 0;
}

.product-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  list-style: none;
}

/* Override WooCommerce ul styles */
.product-mosaic__grid.products {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Product Card - Clean Abstrax Style */
.product-mosaic .product-card,
.product-mosaic .product {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  list-style: none;
}

.product-mosaic .product-card:hover,
.product-mosaic .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-mosaic .product-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-mosaic .product-card__image {
  position: relative;
  aspect-ratio: 1;
  background: #f8f9fa;
  overflow: hidden;
}

.product-mosaic .product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.product-mosaic .product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-mosaic .product-card__content {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  background: #ffffff;
}

.product-mosaic .product-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-mosaic .product-card__title-link {
  color: #1a1a2e;
  text-decoration: none;
}

.product-mosaic .product-card__title-link:hover {
  color: var(--color-primary);
}

.product-mosaic .product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.product-mosaic .product-card__price .woocommerce-Price-amount {
  color: #1a1a2e;
}

.product-mosaic .product-card__price del {
  color: #999;
  font-size: 0.85em;
  font-weight: 400;
}

.product-mosaic .product-card__price ins {
  text-decoration: none;
  color: var(--color-primary);
}

.product-mosaic .product-card__actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-mosaic .product-card__actions .button,
.product-mosaic .product-card__actions .add_to_cart_button {
  width: 100%;
  background: #f5c518;
  color: #1a1a2e;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.product-mosaic .product-card__actions .button .cart-icon,
.product-mosaic .product-card__actions .add_to_cart_button .cart-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.product-mosaic .product-card__actions .button:hover,
.product-mosaic .product-card__actions .add_to_cart_button:hover {
  background: #e5b700;
  transform: translateY(-1px);
}

.product-mosaic .product-card__actions .added_to_cart {
  display: block;
  width: 100%;
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  text-decoration: none;
  margin-top: 0.5rem;
}

.product-mosaic__footer {
  text-align: center;
  margin-top: 2rem;
}

.product-mosaic__footer .btn {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-mosaic__footer .btn:hover {
  background: white;
  color: #1a1a2e;
  border-color: white;
}

/* ========================================
   SUPPORT / CONTACT ZONE
   ======================================== */
.support-zone {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  position: relative;
  overflow: hidden;
}

.support-zone::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 160, 176, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.support-zone::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(106, 76, 147, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.support-zone__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.support-zone__header {
  text-align: center;
  margin-bottom: 3rem;
}

.support-zone__title {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
}

.support-zone__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.support-zone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.support-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  text-decoration: none;
  display: block;
}

.support-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(0, 160, 176, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.support-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.support-card:hover .support-card__icon {
  transform: scale(1.1);
}

.support-card--telegram .support-card__icon {
  background: linear-gradient(135deg, #0088cc, #00a0dc);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.support-card--instagram .support-card__icon {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.support-card--email .support-card__icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 8px 25px rgba(0, 160, 176, 0.4);
}

.support-card__icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.support-card__title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.support-card__handle {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.75rem 0;
}

.support-card__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   SECTION DIVIDERS
   ======================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 0;
  border: none;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
  .trust-bar__grid {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .trust-bar__item {
    flex: 0 0 calc(50% - 0.25rem);
    /* max-width: calc(50% - 0.25rem); */
  }

  .why-section__grid {
    gap: 1.5rem;
  }

  /* Keep 3 columns on tablets, switch to 2 at 768px */
  .product-mosaic__grid {
    gap: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .trust-bar {
    padding: 0.5rem 0;
  }

  .trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
  }

  .trust-bar__item {
    padding: 0.4rem 0.5rem;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
  }

  .trust-bar__icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
  }

  .trust-bar__icon svg {
    width: 14px;
    height: 14px;
  }

  .trust-bar__title {
    font-size: 0.7rem;
  }

  .trust-bar__subtitle {
    font-size: 0.6rem;
  }

  .why-section {
    padding: 3rem 0;
  }

  .why-section__header {
    margin-bottom: 2.5rem;
  }

  .why-section__title {
    font-size: 2rem;
  }

  .why-section__intro {
    font-size: 1rem;
  }

  .why-section__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-card {
    padding: 1.75rem;
  }

  .why-card__icon {
    width: 60px;
    height: 60px;
  }

  .why-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .product-mosaic {
    padding: 2rem 0;
  }

  .product-mosaic__header {
    margin-bottom: 1.5rem;
  }

  .product-mosaic__title {
    font-size: 1.5rem;
  }

  .product-mosaic__subtitle {
    font-size: 0.875rem;
  }

  .product-mosaic__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 0.75rem;
  }

  .product-mosaic .product-card__content {
    padding: 0.75rem 1rem 1rem;
  }

  .product-mosaic .product-card__title {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .product-mosaic .product-card__price {
    font-size: 1rem;
  }

  .product-mosaic .product-card__actions .button,
  .product-mosaic .product-card__actions .add_to_cart_button {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .product-mosaic__footer {
    margin-top: 1.5rem;
  }

  .support-zone {
    padding: 3rem 0;
  }

  .support-zone__title {
    font-size: 1.75rem;
  }

  .support-zone__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .support-card {
    padding: 2rem;
  }

  .support-card__icon {
    width: 64px;
    height: 64px;
  }

  .support-card__icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  /* Keep 2 columns on small mobile like Abstrax */
  .product-mosaic__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .product-mosaic .product-card__image img {
    padding: 0.5rem;
  }

  .product-mosaic .product-card__content {
    padding: 0.5rem 0.75rem 0.75rem;
  }

  .product-mosaic .product-card__title {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }

  .product-mosaic .product-card__price {
    font-size: 0.9rem;
  }

  .product-mosaic .product-card__actions .button,
  .product-mosaic .product-card__actions .add_to_cart_button {
    padding: 0.5rem;
    font-size: 0.7rem;
  }

  .why-section__title {
    font-size: 1.75rem;
  }

  .why-card__title {
    font-size: 1.15rem;
  }
}
