/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 0 3rem;
  margin-top: 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 3rem;
  align-items: center;
  align-content: center;
  justify-content: space-around;

  &::before {
    content: '桥';
    position: absolute;
    right: 0.05em;
    top: 0.15em;
    font-family: 'Playfair Display', serif;
    font-size: 52vw;
    font-weight: 900;
    line-height: 1;
    color: rgba(249, 115, 22, 0.08);
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }

  .hero-content {
    position: relative;
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(249, 115, 22, 0.1);
      color: var(--orange);
      border: 1px solid rgba(249, 115, 22, 0.25);
      padding: 0.4rem 1rem;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: var(--space-5, 1.5rem);
      animation: fadeUp 0.6s ease both;
    }

    .hero-text {
      font-family: 'Playfair Display', serif;
      font-size: clamp(3rem, 5vw, 5.5rem);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -0.03em;
      margin-bottom: var(--space-5, 1.5rem);
      animation: fadeUp 0.6s 0.1s ease both;

      em {
        color: var(--orange);
        font-style: normal;
        position: relative;

        &::after {
          content: '';
          position: absolute;
          bottom: 2px;
          left: 0;
          right: 0;
          height: 4px;
          background: var(--blue);
          border-radius: 2px;
        }
      }
    }
    .hero-summary {
      font-size: 1.15rem;
      color: var(--muted);
      line-height: 1.7;
      max-width: 480px;
      margin-bottom: var(--space-5, 1.5rem);
      animation: fadeUp 0.6s 0.2s ease both;
    }

    .hero-stats {
      display: flex;
      gap: 2.5rem;
      margin-top: 3rem;
      animation: fadeUp 0.6s 0.4s ease both;

      .stat-num {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight: 900;
        color: var(--ink);
        line-height: 1;
      }
      .stat-label {
        font-size: 0.8rem;
        color: var(--muted);
        margin-top: 0.2rem;
      }
    }
  }

  .hero-img {
    flex: 1;
    object-fit: contain;
    max-height: 80vh;
  }
}

/* ── MARQUEE ── */

.marquee-section {
  overflow: hidden;
  background: var(--ink);
  padding: 1.1rem 0;
  display: flex;

  .marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 24s linear infinite;
    white-space: nowrap;
  }

  .marquee-item {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--blue);

    &.dot {
      color: var(--white);
    }
    span {
      color: var(--orange);
    }
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── FEATURES ── */

.section {
  padding: 7rem 4rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;

  .feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 2.5rem;
    transition:
      transform 0.25s,
      box-shadow 0.25s;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--orange), var(--gold));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
    }

    &:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    }
    &:hover::before {
      transform: scaleX(1);
    }

    .feature-icon {
      width: 52px;
      height: 52px;
      background: rgba(249, 115, 22, 0.1);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-5, 1.5rem);
      font-size: 1.5rem;
    }

    .feature-tag {
      display: inline-block;
      margin-top: 1rem;
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--orange);
      background: rgba(249, 115, 22, 0.08);
      padding: 0.25rem 0.7rem;
      border-radius: 50px;
    }

    h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    p {
      font-size: 0.95rem;
      color: var(--muted);
      line-height: 1.65;
    }
  }
}
/* ── FOOTER ── */

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;

    .hero-content {
      display: block;
    }
  }
}
