/* ============================================
   Home Page Styles - Simplified Version
   ============================================ */

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 90px 0 40px;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 245, 243, 0.97) 0%,
    rgba(255, 245, 243, 0.85) 40%,
    rgba(255, 245, 243, 0.5) 70%,
    rgba(255, 245, 243, 0.2) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-badge .badge {
  font-size: 15px;
  padding: 10px 20px;
  background: white;
  color: var(--color-red);
  box-shadow: 0 4px 12px rgba(245, 67, 54, 0.15);
}

.hero-title {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-red), var(--color-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.hero-stat {
  text-align: left;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-red), var(--color-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  min-width: 110px;
  display: inline-block;
}

.stat-number span {
  font-size: 18px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ---------- Section Base ---------- */
.section {
  padding: 40px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding: 6px 16px;
  border-radius: 50px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-title p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Brand Genes Section ---------- */
.brand-genes-section {
  background: #fff;
}

.genes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gene-card {
  background: var(--color-gray-50);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.gene-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  background: #fff;
}

.gene-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
}

.gene-icon.red { background: linear-gradient(135deg, var(--color-red), #ff7a6b); }
.gene-icon.blue { background: linear-gradient(135deg, var(--color-blue), #6bc5ff); }
.gene-icon.yellow { background: linear-gradient(135deg, var(--color-yellow-dark), var(--color-yellow)); }
.gene-icon.teal { background: linear-gradient(135deg, var(--color-teal), #5eead4); }

.gene-icon svg {
  width: 32px;
  height: 32px;
}

.gene-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.gene-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Products Grid (shared) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.product-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-red);
}

.product-card:nth-child(2) .product-card-badge { background: var(--color-blue); }
.product-card:nth-child(3) .product-card-badge { background: var(--color-green); }
.product-card:nth-child(4) .product-card-badge { background: var(--color-yellow-dark); }
.product-card:nth-child(5) .product-card-badge { background: var(--color-teal); }
.product-card:nth-child(6) .product-card-badge { background: #8B5CF6; }

.product-card-body {
  padding: 24px;
  padding-right: 60px;
  position: relative;
}

.product-card-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.product-card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
}

.product-card:hover .product-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Consultation Banner Section ---------- */
.consult-banner-section {
  padding: 56px 0;
  background: var(--color-gray-50);
}

.consult-banner {
  display: flex;
  align-items: center;
  gap: 60px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  border-radius: 24px;
  padding: 56px 64px;
  overflow: hidden;
  position: relative;
}

.consult-banner-content {
  flex: 1;
  color: #fff;
  z-index: 1;
}

.consult-banner-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(245, 67, 54, 0.2);
  color: #ff8a80;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(245, 67, 54, 0.3);
}

.consult-banner-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.consult-banner-content p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  max-width: 520px;
}

.consult-banner-features {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.consult-banner-features span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.consult-banner-image {
  flex-shrink: 0;
  width: 360px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.85;
  z-index: 1;
}

.consult-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Teaching Highlights Section ---------- */
.teaching-highlights-section {
  background: #fff;
}

.teaching-highlights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.th-card {
  background: var(--color-gray-50);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.th-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  background: #fff;
}

.th-card-large {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.th-card-large:hover {
  background: linear-gradient(135deg, #FFFBEB 0%, #FDE68A 100%);
}

.th-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.th-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.th-card-icon.yellow { background: linear-gradient(135deg, var(--color-yellow-dark), var(--color-yellow)); }
.th-card-icon.red { background: linear-gradient(135deg, var(--color-red), #ff7a6b); }
.th-card-icon.blue { background: linear-gradient(135deg, var(--color-blue), #6bc5ff); }

.th-card-icon svg {
  width: 28px;
  height: 28px;
}

.th-card-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.th-card-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.th-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.th-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.th-6t-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.th-6t-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255,255,255,0.6);
  padding: 10px 12px;
  border-radius: 10px;
}

.th-6t-letter {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.th-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.th-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--color-gray-50);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-light) 50%, var(--color-yellow) 100%);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: #fff;
  flex: 1;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 20px;
}

.cta-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-features span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

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

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

  .teaching-highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .th-card-large {
    grid-column: span 2;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-features {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .consult-banner-section { padding: 50px 0; }
  .consult-banner {
    flex-direction: column;
    padding: 36px 28px;
    gap: 28px;
  }
  .consult-banner-content h2 { font-size: 24px; }
  .consult-banner-content p { font-size: 14px; }
  .consult-banner-image { width: 100%; height: 200px; }
  .consult-banner-features { gap: 10px; }
  .consult-banner-features span { font-size: 12px; padding: 6px 12px; }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 28px;
    min-width: 80px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .genes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gene-card {
    padding: 28px 24px;
  }

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

  .teaching-highlights-grid {
    grid-template-columns: 1fr;
  }

  .th-card-large {
    grid-column: span 1;
  }

  .th-6t-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-content h2 {
    font-size: 26px;
  }
}
