/* =============================================
   ROYAL SPIRULINA — HOMEPAGE STYLES
   Hero, Trust Bar, Philosophy, Products,
   Differentiator, Testimonial
   ============================================= */

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  background: var(--emerald);
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.3), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(26,92,66,0.5), transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: var(--pattern-svg);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--content-padding);
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.08);
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-badge span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product {
  width: 340px;
  height: 480px;
  background: linear-gradient(135deg, var(--emerald-mid) 0%, var(--emerald-light) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 60px 120px rgba(0,0,0,0.4);
}

.hero-product::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201,168,76,0.3), transparent, rgba(201,168,76,0.1));
  z-index: -1;
  padding: 1px;
}

.product-glow {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.2), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.product-glow-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--emerald);
  font-weight: 700;
}

.hero-product h2,
.hero-product h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-product p {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-product-price {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--white);
  font-weight: 300;
}

.hero-product-price sup {
  font-size: 16px;
  top: -12px;
  position: relative;
}

.hero-product-prices {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.hero-price-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hero-price-size {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
  font-weight: 500;
  opacity: 0.8;
}

.hero-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
  font-weight: 300;
}

.hero-price-amount sup {
  font-size: 14px;
  top: -10px;
  position: relative;
  color: #fff;
}

.hero-price-divider {
  width: 1px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(201, 168, 76, 0.35);
}

.hero-float-stat {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px 28px;
  border-radius: 6px;
}

.hero-float-stat.stat1 {
  bottom: -30px;
  left: -60px;
}

.hero-float-stat.stat2 {
  top: 15%;
  right: -50px;
}

.hero-float-stat h4 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 400;
}

.hero-float-stat span {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Hero animations */
.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }

.hero-visual {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  border-bottom: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
}

/* ===== PHILOSOPHY ===== */
.section-philosophy {
  padding: 140px var(--content-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  background: var(--ivory);
}

.section-philosophy .section-text {
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 14px;
  color: var(--charcoal-light);
  font-weight: 400;
}

.philosophy-visual {
  position: relative;
  min-height: 520px;
}

.philosophy-card {
  border-radius: 6px;
  overflow: hidden;
}

.philosophy-card-main {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: linear-gradient(180deg, var(--emerald) 0%, var(--emerald-light) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 40px 80px 40px;
  border: 1px solid rgba(201,168,76,0.15);
}

.philosophy-card-main h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 12px;
}

.philosophy-card-main p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.philosophy-card-small {
  position: absolute;
  width: 220px;
  height: 220px;
  bottom: -30px;
  left: -30px;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  border-radius: 6px;
}

.philosophy-card-small h4 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--emerald);
  font-weight: 400;
}

.philosophy-card-small p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  margin-top: 8px;
}

/* ===== PRODUCTS GRID ===== */
.section-products {
  padding: 140px var(--content-padding);
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.product-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--emerald);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 2;
}

.product-card-image {
  height: 320px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--ivory), transparent);
}

.product-placeholder {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 32px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.product-glow-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.product-card-info {
  padding: 32px;
}

.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--emerald);
}

.product-card-btn {
  padding: 10px 24px;
  background: var(--emerald);
  color: var(--gold);
  border: none;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-block;
}

.product-card-btn:hover {
  background: var(--gold);
  color: var(--emerald);
}

/* ===== DIFFERENTIATOR ===== */
.section-diff {
  padding: 0;
  position: relative;
}

.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.diff-left {
  background: var(--emerald);
  padding: 120px 80px;
  position: relative;
}

.diff-left::before {
  content: '';
  position: absolute;
  top: 60px;
  right: 60px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 50%;
}

.diff-left .section-title {
  color: var(--white);
}

.diff-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.diff-stat {
  padding: 28px 0;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.diff-stat h4 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 8px;
}

.diff-stat p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}

.diff-right {
  background: var(--ivory-dark);
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.diff-list-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.diff-list-num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.diff-list-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.diff-list-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TESTIMONIAL ===== */
.section-testimonial {
  padding: 140px var(--content-padding);
  background: var(--white);
  text-align: center;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 800px;
  margin: 0 auto 48px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--gold-dim);
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.testimonial-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.testimonial-author strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 1px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .trust-bar {
    flex-wrap: wrap;
    gap: 30px 50px;
    padding: 30px 40px;
  }

  .section-philosophy {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 100px var(--content-padding);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .diff-inner {
    grid-template-columns: 1fr;
  }

  .diff-left,
  .diff-right {
    padding: 80px var(--content-padding);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 20px;
    padding: 30px var(--content-padding);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-products {
    padding: 80px var(--content-padding);
  }

  .section-philosophy {
    padding: 80px var(--content-padding);
  }

  .philosophy-visual {
    min-height: 360px;
  }

  .philosophy-card-small {
    width: 160px;
    height: 160px;
    bottom: -20px;
    left: -10px;
  }

  .philosophy-card-small h4 {
    font-size: 36px;
  }

  .diff-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .section-testimonial {
    padding: 80px var(--content-padding);
  }

  .testimonial-quote::before {
    font-size: 80px;
    top: -40px;
  }
}
