/* ============================================================
   INDEX PAGE — Red-Green-Gold Premium Styles v3.0
   ============================================================ */

/* ── Hero Section ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 74px;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 60px;
  padding-bottom: 130px;
  max-width: 700px;
}

/* 上方标签 — 金色+琥珀色调 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, rgba(255,179,0,0.06) 100%);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 28px;
  padding: 7px 20px;
  font-size: 12px;
  color: var(--gold-light);
  margin-bottom: 26px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255,215,0,0.08), 0 0 40px rgba(168,85,247,0.04);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(255,215,0,0.4);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px var(--gold); }
  50%      { opacity: 0.5; transform: scale(0.75); box-shadow: 0 0 12px var(--amber); }
}

/* 主标题 — 红绿金渐变 + 大气字体 */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title .grad-text {
  background: linear-gradient(135deg,
    #ff4d5e 0%,
    #ffb300 30%,
    #ffd700 45%,
    #69f0ae 70%,
    #a855f7 90%,
    #69f0ae 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  background-size: 250% auto;
  animation: heroTitleShift 8s ease infinite;
}
@keyframes heroTitleShift {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 200% center; }
}
.hero-title-sub {
  background: linear-gradient(135deg, #fff8f0 0%, rgba(255,240,220,0.7) 50%, rgba(255,220,180,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* 副标题文字 */
.hero-tagline {
  font-size: 19px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.hero-tagline span {
  background: var(--grad-rp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-en {
  font-size: 15px;
  color: rgba(255,255,255,0.42);
  font-style: italic;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.hero-en2 {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  font-style: italic;
  margin-bottom: 36px;
}

/* 按钮组 */
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* 核心标签 */
.hero-core {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(232,25,44,0.07) 0%, rgba(168,85,247,0.05) 100%);
  border: 1px solid rgba(232,25,44,0.18);
  border-radius: var(--radius-xl);
  padding: 9px 22px;
  font-size: 13px;
  color: var(--red-light);
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(232,25,44,0.08), 0 0 30px rgba(168,85,247,0.03);
}
.core-divider { color: rgba(255,255,255,0.18); }

/* ── 旋转光环（增加紫金色环） ── */
.hero-bg-rings {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 780px; height: 780px;
  pointer-events: none;
  z-index: 1;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.ring1 {
  inset: 0;
  border-color: rgba(232,25,44,0.20);
  animation: spin1 20s linear infinite;
  box-shadow: 0 0 40px rgba(232,25,44,0.04) inset;
}
.ring2 {
  inset: 90px;
  border-color: rgba(0,200,83,0.16);
  animation: spin1 30s linear infinite reverse;
  box-shadow: 0 0 30px rgba(0,200,83,0.04) inset;
}
.ring3 {
  inset: 180px;
  border-color: rgba(255,215,0,0.10);
  animation: spin1 45s linear infinite;
}
.ring4 {
  inset: 270px;
  border-color: rgba(168,85,247,0.10);
  animation: spin1 60s linear infinite reverse;
}
.ring1::after, .ring2::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
}
.ring1::after { background: var(--red); box-shadow: 0 0 12px var(--red); }
.ring2::after { background: var(--green); box-shadow: 0 0 12px var(--green); }

@keyframes spin1 { to { transform: rotate(360deg); } }

/* ── 浮动Logo ── */
.hero-logo-float {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.float-logo {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  filter:
    drop-shadow(0 0 50px rgba(232,25,44,0.55))
    drop-shadow(0 0 100px rgba(0,200,83,0.3))
    drop-shadow(0 0 30px rgba(168,85,247,0.15))
    drop-shadow(0 0 20px rgba(255,215,0,0.12));
  animation: floatLogo 5s ease-in-out infinite;
  border: 2px solid rgba(255,255,255,0.08);
}
.hero-logo-float::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(232,25,44,0.14) 0%, transparent 65%),
    radial-gradient(circle at 70% 30%, rgba(168,85,247,0.08) 0%, transparent 50%);
  animation: glowPulse 3s ease-in-out infinite alternate;
}
@keyframes floatLogo {
  0%,100% { transform: translateY(-50%) translateY(0px) rotate(0deg); }
  33%     { transform: translateY(-50%) translateY(-18px) rotate(1.5deg); }
  66%     { transform: translateY(-50%) translateY(-8px) rotate(-1deg); }
}
@keyframes glowPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Hero浮动装饰数字 */
.hero-float-tags {
  position: absolute;
  right: 5%;
  bottom: 18%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.hft {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatTag 3s ease-in-out infinite alternate;
}
.hft:nth-child(2) { animation-delay: 0.8s; }
.hft:nth-child(3) { animation-delay: 1.6s; }
@keyframes floatTag {
  0%   { transform: translateX(0); opacity: 0.7; }
  100% { transform: translateX(-10px); opacity: 1; }
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: 100px; }

/* ── Stats ── */
.stats-section { padding: 50px 0 70px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  cursor: default;
  background: linear-gradient(145deg, rgba(232,25,44,0.05) 0%, rgba(0,200,83,0.03) 50%, rgba(168,85,247,0.02) 100%) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-sunset);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
    0 0 30px rgba(232,25,44,0.12),
    0 0 20px rgba(168,85,247,0.06);
}
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(0,200,83,0.06) 0%, rgba(168,85,247,0.02) 35%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-card:hover::after { opacity: 1; }

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff4d5e 0%, #ffd700 35%, #69f0ae 65%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.46);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ── Services Grid ── */
.services-section {
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,200,83,0.05) 0%, rgba(168,85,247,0.02) 40%, transparent 70%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.svc-card {
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%) !important;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-aurora);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,83,0.06) 0%, rgba(168,85,247,0.03) 40%, transparent 70%);
  transition: transform 0.4s, opacity 0.4s;
  opacity: 0;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after  { opacity: 1; transform: scale(1.3); }
.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(0,200,83,0.08),
    0 0 20px rgba(168,85,247,0.05);
}
.svc-card-featured {
  border-color: rgba(0,200,83,0.25) !important;
  background: linear-gradient(145deg, rgba(0,200,83,0.06) 0%, rgba(0,200,83,0.015) 50%, rgba(168,85,247,0.02) 100%) !important;
  box-shadow: 0 0 40px rgba(0,200,83,0.1), 0 0 20px rgba(168,85,247,0.04), var(--glass-shadow) !important;
}
.svc-card-featured::after {
  background: radial-gradient(circle, rgba(0,200,83,0.1) 0%, rgba(168,85,247,0.04) 40%, transparent 70%);
}
.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--grad-rg);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(232,25,44,0.35), 0 0 10px rgba(0,200,83,0.12);
}
.svc-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  position: relative;
  transition: transform 0.3s;
}
.svc-card:hover .svc-icon { transform: scale(1.1) rotate(3deg); }
.svc-icon-red  {
  background: linear-gradient(135deg, rgba(232,25,44,0.13) 0%, rgba(232,25,44,0.04) 100%);
  border: 1px solid rgba(232,25,44,0.25);
  box-shadow: 0 0 20px rgba(232,25,44,0.12);
}
.svc-icon-green {
  background: linear-gradient(135deg, rgba(0,200,83,0.13) 0%, rgba(0,200,83,0.04) 100%);
  border: 1px solid rgba(0,200,83,0.25);
  box-shadow: 0 0 20px rgba(0,200,83,0.12);
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: #f0f0f0;
}
.svc-card p    {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 18px;
}
.svc-tags      { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.svc-tags span {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.52);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.svc-link {
  font-size: 13px;
  color: var(--green-light);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
  transition: gap 0.3s, color 0.3s;
}
.svc-link:hover { color: #fff; gap: 10px; }

/* ── Video Showcase ── */
.video-section {
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%,
    rgba(232,25,44,0.04) 0%,
    rgba(168,85,247,0.02) 40%,
    transparent 70%);
  pointer-events: none;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.video-card {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  border-radius: var(--radius-md) !important;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6),
    0 0 30px rgba(232,25,44,0.15),
    0 0 18px rgba(168,85,247,0.08);
  z-index: 2;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,
    rgba(232,25,44,0.06) 0%,
    rgba(12,9,8,0.95) 45%,
    rgba(0,200,83,0.05) 92%,
    rgba(168,85,247,0.03) 100%
  );
}
.video-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.025) 40%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0.025) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: videoSkeleton 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.video-wrapper.loaded::before { opacity: 0; }
@keyframes videoSkeleton {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.video-wrapper video {
  width: 100%;
  flex: 1;
  object-fit: contain;
  background: #000;
  outline: none;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 0;
}
.video-wrapper video::-webkit-media-controls-panel {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
}
.vp-label {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  pointer-events: none;
  letter-spacing: 0.5px;
}

/* ── Why VCD ── */
.why-section {
  position: relative;
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
}
.why-card {
  padding: 36px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  background: linear-gradient(145deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.018) 100%) !important;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
    0 0 30px rgba(232,25,44,0.1),
    0 0 18px rgba(168,85,247,0.05);
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 1.5px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.why-card:hover::after { transform: scaleX(1); }

.why-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--red) 0%, var(--amber) 35%, var(--gold) 55%, var(--green) 80%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.88;
}
.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.55;
  color: #ececec;
}
.why-card p  {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid      { grid-template-columns: repeat(2,1fr); }
  .video-grid    { grid-template-columns: repeat(2,1fr); }
  .hero-logo-float  { display: none; }
  .hero-bg-rings    { display: none; }
  .hero-float-tags  { display: none; }
  .hero-content { max-width: 100%; padding-bottom: 80px; }
}
@media (max-width: 768px) {
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 2fr 1fr 1fr; }
  .video-grid    { grid-template-columns: 1fr 1fr; }
  .hero-title    { font-size: clamp(34px, 10vw, 52px); }
  .hero-btns     { justify-content: center; }
  .hero-core     { justify-content: center; }
}
@media (max-width: 480px) {
  .why-grid      { grid-template-columns: 1fr; }
  .video-grid    { grid-template-columns: 1fr; }
}
/* ── 超小屏适配 ── */
@media (max-width: 375px) {
  .hero-tagline   { font-size: 16px; }
  .hero-en        { font-size: 13px; }
  .stat-num       { font-size: 36px; }
  .svc-card       { padding: 28px 20px; }
  .why-card       { padding: 28px 18px; }
}
