/* ═══════════════════════════════════════════════
   AMGOO V2 — Home Page Sections (Optimized)
   深海蓝 + 中性灰 + 活力橙 | 移动端优先
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

/* ── Hero Carousel ── */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-slides {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero overlay - darkens carousel so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(15, 40, 71, 0.75) 50%,
    rgba(13, 31, 60, 0.80) 100%
  );
  z-index: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel-dot:hover {
  border-color: rgba(255,255,255,0.7);
}

.carousel-dot.active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  width: 28px;
  border-radius: 5px;
}

.hero-bg { display: none; }
.hero-particles { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(245, 101, 26, 0.15);
  border: 1px solid rgba(245, 101, 26, 0.3);
  color: var(--orange-400);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-title .text-orange {
  color: var(--orange-500);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange-500);
}

.stat-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  color: var(--gray-400);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-500);
  animation: bounce 2s infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ── Visual Divider Stats Bar ── */
.visual-divider {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: var(--space-2xl) 0;
  position: relative;
}

.visual-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
}

.divider-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.ds-item {
  text-align: center;
}

.ds-number {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--orange-500);
  line-height: 1.1;
}

.ds-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-top: var(--space-xs);
}

.ds-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ── Visual Banner (full-width image strips) ── */
.visual-banner {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.visual-banner-light {
  height: 200px;
}

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

/* ── Advantages ── */
.advantage-card {
  text-align: center;
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* 优势卡片配图占位 */
.adv-img-placeholder {
  margin: calc(-1 * var(--space-xl)) calc(-1 * var(--space-xl)) var(--space-lg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.adv-img-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.advantage-card .icon-box {
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.advantage-card h3 {
  margin-bottom: var(--space-sm);
}

/* ── Business ── */
.biz-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

/* 业务卡片顶部配图 */
.biz-img-placeholder {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.biz-img-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.biz-card:hover .biz-img-placeholder svg {
  transform: scale(1.03);
}

.biz-icon {
  font-size: 2.5rem;
  margin: var(--space-xl) var(--space-xl) var(--space-sm);
}

.biz-card h3 {
  margin: 0 var(--space-xl) var(--space-md);
}

.biz-card .text-muted {
  padding: 0 var(--space-xl);
}

.biz-list {
  margin: var(--space-sm) var(--space-xl) var(--space-lg);
  flex-grow: 1;
}

.biz-list li {
  padding: var(--space-xs) 0;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.biz-card .btn {
  align-self: flex-start;
  margin: 0 var(--space-xl) var(--space-xl);
  margin-top: auto;
}

/* ── Commitment ── */
.commitment-card {
  text-align: center;
}

.com-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.commitment-card h3 {
  margin-bottom: var(--space-md);
}

.commitment-card p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* ── Global ── */
.global-card {
  position: relative;
  padding: var(--space-2xl);
  overflow: hidden;
}

/* 全球战略卡片配图 */
.global-card-img {
  margin: calc(-1 * var(--space-2xl)) calc(-1 * var(--space-2xl)) var(--space-lg);
  overflow: hidden;
}

.global-card-img svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.global-num {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  opacity: 0.3;
  z-index: 1;
}

.global-card h3 {
  margin-bottom: var(--space-sm);
}

/* ── Brands ── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.brand-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.brand-placeholder {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-400);
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.brand-item:hover .brand-placeholder {
  opacity: 0.8;
}

/* ── Culture ── */
.section-culture {
  background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}

.culture-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.culture-text .badge {
  margin-bottom: var(--space-lg);
}

.culture-text h2 {
  margin-bottom: var(--space-lg);
}

.culture-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* 品牌文化配图 */
.culture-img-placeholder {
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.culture-img-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.culture-visual {
  display: flex;
  flex-direction: column;
}

.culture-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.culture-item {
  padding: var(--space-lg) 0;
}

.culture-item:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ci-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-400);
  margin-bottom: var(--space-xs);
}

.ci-text {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ── Scroll Reveal for new elements ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .divider-stats { gap: var(--space-xl); }
}

@media (max-width: 768px) {
  .hero-stats { gap: var(--space-xl); }
  .stat-number { font-size: 2rem; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-layout { grid-template-columns: 1fr; }
  .culture-visual { order: -1; }

  /* 移动端轮播 */
  .carousel-dots { bottom: 60px; }

  /* 移动端统计条 */
  .divider-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  .ds-sep {
    width: 40px;
    height: 1px;
  }

  /* 移动端横幅 */
  .visual-banner { height: 150px; }
  .visual-banner-light { height: 120px; }

  /* 移动端卡片配图缩小 */
  .adv-img-placeholder {
    margin: calc(-1 * var(--space-xl)) calc(-1 * var(--space-xl)) var(--space-md);
  }
  .global-card-img {
    margin: calc(-1 * var(--space-2xl)) calc(-1 * var(--space-2xl)) var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
