/* glm对比网页/css/pages/home.css */

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

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float-orb 25s ease-in-out infinite;
  z-index: 0;
}

.hero__glow--1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: -100px;
  right: -100px;
}

.hero__glow--2 {
  width: 300px;
  height: 300px;
  background: #7C3AED;
  bottom: -50px;
  left: -50px;
  animation-delay: -10s;
}

.hero__glow--3 {
  width: 250px;
  height: 250px;
  background: var(--color-secondary);
  top: 40%;
  left: 30%;
  animation-delay: -18s;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__text {
  max-width: 560px;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

@media (max-width: 767px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__text {
    order: 2;
  }

  .hero__image {
    order: 1;
  }

  .hero__subtitle {
    margin: 0 auto 32px;
  }

  .hero__actions {
    justify-content: center;
  }
}

/* ===== Core Business ===== */
.core-business__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  justify-content: center;
}

.core-business__card {
  padding: var(--card-padding);
  text-align: center;
  width: calc(25% - var(--card-gap) * 3 / 4);
  min-width: 200px;
}

.core-business__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-primary);
}

.core-business__icon svg {
  width: 28px;
  height: 28px;
}

.core-business__name {
  font-size: var(--fs-card-title);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 8px;
}

.core-business__desc {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

@media (max-width: 1023px) {
  .core-business__card {
    width: calc(50% - var(--card-gap) / 2);
  }
}

@media (max-width: 767px) {
  .core-business__card {
    width: 100%;
  }
}

/* ===== Stats ===== */
.stats {
  background: var(--color-bg-card);
  padding: 64px 0;
}

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

.stats__number {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stats__label {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== Why Choose Us ===== */
.advantages__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.advantages__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.advantages__item:nth-child(even) {
  direction: rtl;
}

.advantages__item:nth-child(even) > * {
  direction: ltr;
}

.advantages__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--color-cta);
  flex-shrink: 0;
}

.advantages__icon svg {
  width: 36px;
  height: 36px;
}

.advantages__text h3 {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 8px;
}

.advantages__text p {
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
}

@media (max-width: 767px) {
  .advantages__item,
  .advantages__item:nth-child(even) {
    grid-template-columns: auto 1fr;
    direction: ltr;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--color-bg-card);
  padding: 80px 0;
  text-align: center;
}

.cta-section__title {
  font-size: var(--fs-section-title);
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
}

.cta-section__desc {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}
