/* ===== Home 独有样式 ===== */

.hero-bg-image {
  background-image: url("../assets/hero-custom.jpg");
  opacity: 0.9;
}

.hero-content {
  display: none;
}

.hero-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-decoration: none;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.btn-primary {
  padding: 16px 36px;
  background: linear-gradient(135deg,
      var(--primary) 0%,
      var(--cyan) 100%);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.45);
}

.btn-secondary {
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Stats */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  padding: 0 24px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

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

/* About */
.about-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.about-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.about-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 0;
}

.about-card p strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

/* Solutions */
.solution-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.solution-card .card-link {
  margin-top: auto;
}

.solution-card:hover {
  background: #f8faff;
  border-color: var(--brand-primary);
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.12);
}

.solution-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg,
      rgba(0, 102, 255, 0.08),
      rgba(0, 198, 255, 0.08));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.solution-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--brand-foreground);
}

.solution-card p {
  font-size: 15px;
  color: var(--brand-muted-foreground);
  line-height: 1.75;
}

.solution-items {
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.solution-items:last-of-type {
  margin-bottom: 0;
}

/* Industry */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 20px;
}

.industry-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.industry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.industry-item:hover img {
  transform: scale(1.08);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 40%,
      rgba(5, 20, 56, 0.78) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px;
}

.industry-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  line-height: 1.45;
  max-width: 100%;
  position: relative;
  padding-bottom: 12px;
}

.industry-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}

/* Advantages */
.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
}

.advantage-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.advantage-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.advantage-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Tech */
.tech-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: all 0.3s;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tech-card:nth-child(2) {
  border-top-color: var(--cyan);
}

.tech-card:nth-child(3) {
  border-top-color: var(--cyan);
}

.tech-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg,
      rgba(0, 102, 255, 0.1),
      rgba(0, 198, 255, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
}

.tech-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tech-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.75;
}

.tech-position {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding: 10px 14px;
  background: rgba(0, 102, 255, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

.tech-position strong {
  color: var(--primary);
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.card-link svg {
  width: 16px;
  height: 16px;
}

.section-dark .card-link {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section-dark .card-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.section-light .card-link,
.section-white .card-link {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.section-light .card-link:hover,
.section-white .card-link:hover {
  background: var(--primary);
  color: #fff;
}

/* Contact */
.contact-info {
  text-align: left;
}

.contact-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  text-align: left;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e6f2;
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background: #0052cc;
}

.solutions-grid,
.about-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: -40px;
  }

  .industry-grid {
    grid-template-rows: auto;
  }

  .industry-item {
    height: 220px;
  }

  .about-grid,
  .solutions-grid,
  .tech-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
}