.detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  padding: 8rem 2rem 4rem;
}

.detail-hero-text h1 {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.detail-hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 550px;
}

.detail-hero-logo {
  flex-shrink: 0;
}

.detail-hero-logo img {
  width: 180px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.advantages-section {
  padding: 5rem 2rem;
  background: var(--bg-secondary);
  transition: background 0.5s ease;
  overflow: hidden;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 2rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.2rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.adv-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.adv-card:hover {
  border-color: rgba(0, 191, 255, 0.2);
  transform: translateY(-2px);
}

.adv-card i {
  font-size: 1.2rem;
  color: var(--accent-1);
}

.adv-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.features-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  transition: background 0.5s ease;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 2;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1 1 450px;
  max-width: 550px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.feature-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--glow-color, var(--accent-1)) 0%, transparent 70%);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-image:hover .feature-image-glow {
  opacity: 0.12;
}

.feature-text {
  flex: 1 1 400px;
  max-width: 500px;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.detail-cta {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  text-align: center;
  transition: background 0.5s ease;
}

.detail-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.detail-cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.detail-cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 36px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--accent-1);
}

[data-theme="light"] .feature-image {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-image-glow {
  opacity: 0.03;
}

[data-theme="light"] .adv-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .detail-hero { min-height: 60vh; }
  .detail-hero-content {
    flex-direction: column;
    text-align: center;
    padding: 7rem 1.5rem 3rem;
    gap: 2rem;
  }
  .detail-hero-text h1 { font-size: 2.8rem; }
  .detail-hero-text p { font-size: 1rem; max-width: 100%; }
  .detail-hero-logo img { width: 120px; }
  .feature-row,
  .feature-row.reverse { flex-direction: column; text-align: center; }
  .feature-text { max-width: 100%; }
  .feature-text h3 { font-size: 1.5rem; }
  .features-section { padding: 4rem 1.5rem; }
  .feature-row { margin-bottom: 3rem; }
  .detail-cta { padding: 4rem 1.5rem; }
  .detail-cta-content h2 { font-size: 2rem; }
  .advantages-section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
  .detail-hero-text h1 { font-size: 2.2rem; }
  .detail-hero-logo img { width: 90px; }
}
