﻿/**
 * K4鐢电珵 - 棣栭〉椤甸潰灞傛牱寮? * 鑱岃矗锛欻ero / Contact 甯冨眬銆佽楗板眰瀹氫綅
 * 绂佹锛氬叏灞€鍙橀噺銆佷富棰樺彉閲忋€佺壒鏁堝姩鐢? */

/* ===== Hero Section 甯冨眬 ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* ===== START: Premium Pass - Hero 鑳屾櫙涓?Overlay 鍗囩骇 ===== */
/* A灞傦細鏆楅儴娣卞害锛堟暣浣撳帇鏆楋紝涓嶅彂钃濓級- 绉诲埌 hero-bg 鍐呴儴锛屼笉閬尅瑙嗛 */
/* B灞傦細灞€閮ㄥ喎鍏夎仛鐒︼紙鍙湪鏍囬/鍗＄墖杈圭紭锛岃寖鍥村彈鎺э級- 绉诲埌 hero-overlay 鍐呴儴 */
/* 娉ㄦ剰锛?:before 鍜?::after 瑕嗙洊灞傚凡绉婚櫎锛屾敼鐢?.hero-overlay 缁熶竴绠＄悊 */
/* ===== END: Premium Pass - Hero 鑳屾櫙涓?Overlay 鍗囩骇 ===== */

/* ===== START: WeChat Video Fix - Hero 瑙嗛鑳屾櫙灞傦紙鏈寸礌娓叉煋閾捐矾锛岄伩鍏嶅井淇″悎鎴恇ug锛?===== */

/* Hero 鑳屾櫙瀹瑰櫒锛堟渶鏈寸礌锛岄伩鍏嶅井淇″悎鎴恇ug锛?*/
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0; /* 瑙嗛灞?*/
  pointer-events: none;
}

/* 瑙嗛鍏冪礌锛堟湸绱犳覆鏌擄紝绂佹 mask/blend/filter锛?*/
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
  opacity: 0.6; /* 鎻愰珮鍙搴?*/
  transform: translateZ(0);
  display: block;
  z-index: 0;
}

/* 绉诲姩绔細瑙嗛鏇撮€忥紝鎻愰珮鍙鎬?*/
@media (max-width: 767px) {
  .hero-video {
    opacity: 0.75; /* 绉诲姩绔洿閫?*/
  }
}

/* 閬僵灞傦紙鍙敤 background锛屼笉鐢?mask/blend/filter锛?*/
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 鍚堝苟 Premium Pass 鐨勪袱灞傝鐩栵細鏆楅儴娣卞害 + 灞€閮ㄥ喎鍏?*/
  background: 
    radial-gradient(60% 80% at 50% 35%, rgba(57, 213, 255, 0.08) 0%, transparent 50%),
    rgba(0, 0, 0, 0.35); /* 杩涗竴姝ラ檷浣?overlay 閫忔槑搴︼紝璁╄棰戞洿鍙 */
  pointer-events: none;
}

/* 绉诲姩绔細闄嶄綆閬僵锛岃瑙嗛鏇撮€?*/
@media (max-width: 767px) {
  .hero-overlay {
    background: 
      radial-gradient(80% 120% at 70% 20%, rgba(0,0,0,.15), rgba(0,0,0,.45)); /* 闄嶄綆閬僵閫忔槑搴?*/
  }
}

/* START: Video Autoplay Silent Start - 绉婚櫎鏄剧溂鎻愮ず鎸夐挳 */
/* 鎻愮ず灞傚凡绉婚櫎锛屾敼涓洪〉闈换鎰忛娆¤Е鎽歌Е鍙戞挱鏀?*/
/* END: Video Autoplay Silent Start */

/* START: Hero Video 鍏滃簳绛栫暐 */
/* 瑙嗛閿欒锛氬彧闅愯棌瑙嗛锛屼繚鐣?overlay 鍜岃儗鏅?*/
html.hero-video-off .hero-video {
  opacity: 0 !important;
  pointer-events: none;
}

html.hero-video-off .hero-bg {
  background: radial-gradient(
    60% 80% at 50% 35%,
    rgba(57, 213, 255, 0.03) 0%,
    rgba(0, 0, 0, 0.6) 70%
  ),
  url('/assets/img/bg/sanjiaozhou-bg-960.webp') center/cover no-repeat;
}

html.hero-video-off .hero-overlay {
  background: rgba(0, 0, 0, var(--hero-overlay-dark, 0.55));
}
/* END: Hero Video 鍏滃簳绛栫暐 */

/* prefers-reduced-motion锛氬仠鎾棰?*/
@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    display: block;
    background:
      radial-gradient(60% 80% at 50% 35%, rgba(57, 213, 255, 0.06) 0%, rgba(0, 0, 0, 0.58) 70%),
      url('/assets/img/bg/sanjiaozhou-bg-960.webp') center/cover no-repeat;
  }
  .hero-video {
    opacity: 0.45;
  }
}

/* ===== END: WeChat Video Fix ===== */

/* Hero 鍐呭瀹瑰櫒锛堢‘淇濆湪瑙嗛鑳屾櫙涔嬩笂锛?*/
.hero-section > .hero-content,
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 34px;
  text-align: center;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 
    0 2px 16px rgba(0, 0, 0, 0.75),
    0 0 8px rgba(0, 0, 0, 0.5);
}

/* START: WeChat Video Fix - 纭繚鍐呭灞傚湪瑙嗛灞備箣涓?*/
.hero-content {
  position: relative;
  z-index: 2;
}
/* END: WeChat Video Fix */

/* START: Hero 鍘绘帀姣涚幓鐠?*/
/* 鍙栨秷 hero 姣涚幓鐠冪壒鏁堬紙鍏ㄧ锛?*/
.hero-section .glass,
.hero-section .hero-content.glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--panel-bg) !important;
}
/* END: Hero 鍘绘帀姣涚幓鐠?*/

/* Hero 涓绘爣棰橈紙Premium Pass锛氶珮绔攼鍒╂劅锛?*/
.hero-content h1,
.hero-section h1 {
  color: rgba(255, 255, 255, 1);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 0 4px rgba(57, 213, 255, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  letter-spacing: 0.01em;
}

/* Hero 鍐呭鏂囧瓧澧炲己瀵规瘮搴?*/
.hero-content .text-gray-400,
.hero-content .text-gray-300 {
  color: rgba(220, 230, 240, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-content .text-gray-200 {
  color: rgba(240, 245, 250, 0.98);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.hero-section .mx-auto {
  position: relative;
  z-index: 2;
}

/* 妗岄潰绔細鍑忓皯宸︿晶鐣欑櫧 */
@media (min-width: 1200px) {
  .hero-section .hero-content {
    padding-left: clamp(20px, 2vw, 40px);
  }
}

/* 骞虫澘绔?*/
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-section {
    --hero-bottom-pad: 12px;
  }
  
  .hero-section .hero-content {
    padding-left: clamp(20px, 2vw, 40px);
    padding-bottom: 12px;
  }
}

/* 鎵嬫満绔?*/
@media (max-width: 767px) {
  .hero-section .hero-content {
    padding-left: 0;
    padding-bottom: 0;
  }
  
  /* 鍙栨秷鎵嬫満绔?hero 姣涚幓鐠冪壒鏁?*/
  .hero-section .glass,
  .hero-section .hero-content.glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--panel-bg) !important;
  }
}

/* ===== START: Premium Pass - 濞侀緳瑙掕壊铻嶅悎鍗囩骇 ===== */
/* Hero 瑁呴グ灞傦細濞侀緳锛?deco--weilon锛?*/
.deco--weilon {
  position: fixed;
  left: clamp(18px, 4vw, 96px);
  top: 0; /* 鐢?JS 鍔ㄦ€佽缃?*/
  bottom: auto;
  width: clamp(320px, 34vw, 760px);
  height: auto;
  z-index: 1; /* 浠嬩簬鑳屾櫙锛?锛夊拰鍐呭锛?锛変箣闂?*/
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  /* Premium Pass: 鎺ヨЕ闃村奖锛堢煭鑰岄噸锛氬崐寰勬洿灏忋€侀粦搴︽洿楂橈級+ 鑹茶皟缁熶竴锛堣交寰級 */
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.75)) saturate(0.9) contrast(1.02) brightness(0.92);
  /* Premium Pass: 搴曢儴/鍙充晶娓愰殣锛堝寮猴細搴曢儴鏇撮€忔槑锛岃瀺鍏ョ幆澧冿級 */
  -webkit-mask-image: linear-gradient(
    135deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.4) 75%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    135deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.4) 75%,
    rgba(0,0,0,0) 100%
  );
}
/* ===== END: Premium Pass - 濞侀緳瑙掕壊铻嶅悎鍗囩骇 ===== */

.deco--weilon img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: left bottom;
}

.deco--weilon.is-on {
  opacity: .92;
  transform: translateY(0);
}

/* 骞虫澘缂╁皬 */
@media (max-width: 1199px) and (min-width: 768px) {
  .deco--weilon {
    left: clamp(10px, 2vw, 24px);
    width: clamp(260px, 40vw, 560px);
  }
  
  .deco--weilon.is-on {
    opacity: .88;
  }
}

/* 鎵嬫満闅愯棌 */
@media (max-width: 767px) {
  .deco--weilon {
    display: none;
  }
}

/* ===== Contact 瑁呴グ灞傦細濂冲尰锛?deco--doctor锛?===== */
.deco--doctor {
  position: fixed;
  right: 0;
  bottom: 0;
  height: clamp(360px, 52vh, 720px);
  width: auto;
  z-index: var(--z-deco);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,.55));
}

.deco--doctor img {
  height: 100%;
  width: auto;
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  /* 宸︿晶娓愰殣杈圭紭 */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 100%);
}

.deco--doctor.is-on {
  opacity: .92;
  transform: translateY(0);
}

/* 骞虫澘缂╁皬 */
@media (max-width: 1199px) and (min-width: 768px) {
  .deco--doctor {
    height: clamp(280px, 42vh, 520px);
  }
  
  .deco--doctor.is-on {
    opacity: .88;
  }
}

/* 鎵嬫満闅愯棌 */
@media (max-width: 767px) {
  .deco--doctor {
    display: none;
  }
}

/* ===== Contact Section 甯冨眬 ===== */
#contact {
  position: relative;
  overflow: hidden;
}

#contact .mx-auto {
  position: relative;
  z-index: 2;
}

/* ===== START: Rhythm Premium ===== */

/* 3.1 缁熶竴 section 缁撴瀯 */
.rhythm-section {
  position: relative;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-subtitle {
  color: rgba(168, 213, 226, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* 3.2 楂樼骇鎰?reveal 瑙勫垯锛堝厠鍒讹級 */
.section-title,
.section-subtitle,
.hero-cta,
.proof-item {
  opacity: 0.92;
  transform: translate3d(0, 10px, 0);
  transition:
    transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0ms),
    opacity 420ms ease-out var(--d, 0ms);
}

.section-title.is-in,
.section-subtitle.is-in,
.hero-cta.is-in,
.proof-item.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 3.3 鑺傚閿欎綅锛堝欢杩燂級 */
.section-title {
  --d: 0ms;
}

.section-subtitle {
  --d: 120ms;
}

.hero-cta {
  --d: 220ms;
}

.proof-item:nth-child(1) { --d: 0ms; }
.proof-item:nth-child(2) { --d: 80ms; }
.proof-item:nth-child(3) { --d: 160ms; }
.proof-item:nth-child(4) { --d: 240ms; }
.proof-item:nth-child(5) { --d: 320ms; }
.proof-item:nth-child(6) { --d: 400ms; }

/* 3.4 Section 鍛煎惛鍒嗛殧 */
.rhythm-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  max-width: calc(100% - 2rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(57, 213, 255, 0.12) 20%,
    rgba(57, 213, 255, 0.18) 50%,
    rgba(57, 213, 255, 0.12) 80%,
    transparent 100%
  );
  opacity: 0.3;
  pointer-events: none;
}

.rhythm-section:last-child::after {
  display: none;
}

/* Section 鑳屾櫙灞傜骇杞诲樊寮?*/
#services.rhythm-section {
  background-image: radial-gradient(
    ellipse 800px 600px at 50% 50%,
    rgba(57, 213, 255, 0.015) 0%,
    transparent 60%
  );
}

#proof.rhythm-section {
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(57, 213, 255, 0.02) 1px,
      rgba(57, 213, 255, 0.02) 2px
    );
  background-size: 40px 40px;
  opacity: 1;
}

#faq.rhythm-section {
  /* 淇濇寔骞插噣 */
}

#blog.rhythm-section .section-title {
  border-bottom: 1px solid rgba(57, 213, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

#contact.rhythm-section::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  max-width: 400px;
  background: radial-gradient(
    ellipse 300px 600px at 100% 50%,
    rgba(57, 213, 255, 0.02) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

#contact.rhythm-section > * {
  position: relative;
  z-index: 1;
}

/* 3.5 Hover锛堝厠鍒讹級 */
.fx-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 213, 255, 0.18);
}

.fx-card:active {
  transform: translateY(0);
}

/* 3.6 绉诲姩绔笌鏃犲姩鐢婚檷绾?*/
@media (max-width: 768px) {
  .section-title,
  .section-subtitle,
  .hero-cta,
  .proof-item {
    transform: translate3d(0, 6px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title,
  .section-subtitle,
  .hero-cta,
  .proof-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== END: Rhythm Premium ===== */

/* ===== START: Typography Rhythm ===== */
:root {
  /* Typography Tokens */
  --t-title-tracking: 0.01em;
  --t-title-leading: 1.12;
  --t-subtitle-tracking: 0.005em;
  --t-subtitle-leading: 1.6;
  --t-body-leading: 1.7;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
}

/* Hero 涓绘爣棰?*/
.hero-section .section-title,
.hero-section h1 {
  letter-spacing: var(--t-title-tracking);
  line-height: var(--t-title-leading);
  margin-bottom: var(--space-2);
}

/* Section 鏍囬 */
.section-title {
  letter-spacing: var(--t-title-tracking);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

/* Section 鍓爣棰?*/
.section-subtitle {
  letter-spacing: var(--t-subtitle-tracking);
  line-height: var(--t-subtitle-leading);
  max-width: 65ch; /* 鎺у埗闃呰琛岄暱 */
  margin-top: var(--space-1);
  margin-bottom: var(--space-3);
}

/* 姝ｆ枃娈佃惤 */
.rhythm-section p:not(.section-subtitle) {
  line-height: var(--t-body-leading);
  margin-bottom: var(--space-2);
}

/* 灏忓瓧璇存槑锛坢eta/鏍囩锛?*/
.text-sm.text-gray-400,
.text-xs.text-gray-400 {
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* 绉诲姩绔皟鏁?*/
@media (max-width: 768px) {
  :root {
    --t-title-tracking: 0.005em; /* 闄嶄綆 tracking */
    --t-title-leading: 1.15; /* 澧炲姞 leading */
    --t-subtitle-leading: 1.65;
    --t-body-leading: 1.75;
  }
  
  .section-subtitle {
    max-width: 100%; /* 绉诲姩绔笉闄愬埗瀹藉害 */
  }
}

/* reduced-motion 涓嶅奖鍝嶆帓鐗?*/
@media (prefers-reduced-motion: reduce) {
  /* 鍙叧鍔ㄧ敾锛屾帓鐗堜笉鍙?*/
}
/* ===== END: Typography Rhythm ===== */

/* ===== START: Rhythm Pass - 鑺傚鍙欎簨绯荤粺 ===== */

/* ===== 1. Section 缁熶竴澶撮儴缁撴瀯 ===== */
.rhythm-section {
  position: relative;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-subtitle {
  color: rgba(168, 213, 226, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}

.section-body {
  position: relative;
}

/* ===== 2. Section Divider 杩囧満锛堟涓庢涔嬮棿锛?===== */
.rhythm-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  max-width: calc(100% - 2rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(57, 213, 255, 0.15) 20%,
    rgba(57, 213, 255, 0.25) 50%,
    rgba(57, 213, 255, 0.15) 80%,
    transparent 100%
  );
  filter: blur(10px);
  opacity: 0.4;
  pointer-events: none;
}

.rhythm-section:last-child::after {
  display: none;
}

/* ===== 3. Section 宸紓鑳屾櫙锛堥潪甯稿厠鍒讹級 ===== */

/* Services锛氭瀬娣?radial-gradient */
#services.rhythm-section {
  background-image: radial-gradient(
    ellipse 800px 600px at 50% 50%,
    rgba(57, 213, 255, 0.02) 0%,
    transparent 60%
  );
  background-attachment: fixed;
}

/* Proof锛氱粏缃戞牸寰汗鐞嗭紙閫忔槑搴︽瀬浣庯級 */
#proof.rhythm-section {
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(57, 213, 255, 0.04) 1px,
      rgba(57, 213, 255, 0.04) 2px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(57, 213, 255, 0.04) 1px,
      rgba(57, 213, 255, 0.04) 2px
    );
  background-size: 40px 40px, 40px 40px;
  background-position: 0 0, 0 0;
  opacity: 1;
}

/* FAQ锛氫繚鎸佸共鍑€锛屽噺灏慻low */
#faq.rhythm-section .glass {
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

#faq.rhythm-section .glass:hover {
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Blog锛氬井寮卞垎闅旂嚎涓庢爣棰樺己璋?*/
#blog.rhythm-section .section-title {
  border-bottom: 1px solid rgba(57, 213, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Contact锛氬彸渚х┖鐧芥瀬娣℃笎鍙?*/
#contact.rhythm-section::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  max-width: 400px;
  background: radial-gradient(
    ellipse 300px 600px at 100% 50%,
    rgba(57, 213, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

#contact.rhythm-section > * {
  position: relative;
  z-index: 1;
}

/* ===== 4. Proof/Trust 鏉＄洰寮忚瘉鎹崱 ===== */
.proof-item {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(57, 213, 255, 0.08);
  border-radius: 0.75rem;
  background: rgba(57, 213, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.proof-item:hover {
  border-color: rgba(57, 213, 255, 0.15);
  background: rgba(57, 213, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.proof-icon {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(57, 213, 255, 0.6);
  margin-bottom: 0.75rem;
  position: relative;
}

.proof-icon::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(57, 213, 255, 0.4),
    transparent
  );
}

.proof-title {
  color: rgba(240, 249, 255, 0.95);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.proof-desc {
  color: rgba(168, 213, 226, 0.7);
  line-height: 1.5;
}

/* ===== START: Reveal 涓濇粦浼樺寲 ===== */
/* ===== 5. Reveal 鍔ㄧ敾锛堥粯璁ゅ叧闂紝杩涘叆瑙嗗彛瑙﹀彂锛?===== */
.rhythm-section .reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  filter: blur(1.5px);
  will-change: transform, opacity;
  transition:
    opacity 520ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms),
    filter 520ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
}

.rhythm-section .reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* 绉诲姩绔檷绾?blur锛堟洿涓濇粦鏇寸渷鐢碉級 */
@media (max-width: 767px) {
  .rhythm-section .reveal {
    filter: none;
  }
  .rhythm-section .reveal.is-in {
    filter: none;
  }
}

/* prefers-reduced-motion锛氭棤鍔ㄧ敾 */
@media (prefers-reduced-motion: reduce) {
  .rhythm-section .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
/* ===== END: Reveal 涓濇粦浼樺寲 ===== */

/* ===== 6. 鍗＄墖寰姮鍗囷紙hover鏃讹級 ===== */
.rhythm-section .fx-card {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rhythm-section .fx-card:hover {
  transform: translateY(-2px);
}

.rhythm-section .fx-card:active {
  transform: translateY(0);
}

/* ===== START: Video Autoplay Silent Start - 绉诲姩绔?鏇寸嫚浣嗕笉鍚? ===== */
/* 绉诲姩绔噺灏戝ぇ闈㈢Н glow锛屽鍔犲垁鍙ｈ竟鐣岋紝瑙︽帶鍙嶉鏇夸唬 hover */
@media (max-width: 767px) {
  /* 鍑忓皯澶ч潰绉?glow锛氶粯璁ゆ€佹洿鍏嬪埗 */
  .glass:not(:active),
  .k4-panel:not(:active),
  .fx-card:not(:active) {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 -12px 24px rgba(0, 0, 0, 0.4),
      0 16px 48px rgba(0, 0, 0, 0.5);
    /* 鏃犲鍙戝厜 */
  }

  /* 澧炲姞鍒€鍙ｈ竟鐣岋細鏇存竻鏅扮殑 1px hairline + 鍐呬晶楂樺厜 */
  .glass,
  .k4-panel,
  .fx-card {
    border: 1px solid rgba(57, 213, 255, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08), /* 鍐呬晶楂樺厜 */
      inset 0 -12px 24px rgba(0, 0, 0, 0.4),
      0 16px 48px rgba(0, 0, 0, 0.5);
  }

  /* 瑙︽帶鍙嶉鏇夸唬 hover锛歛ctive 杞诲井涓嬪帇 + 杈规寰寒 + glow-hover 杞诲井澧炲己 */
  .k4-btn:active,
  .fx-card:active,
  a.fx-card:active {
    transform: translateY(1px); /* 杞诲井涓嬪帇 */
    border-color: rgba(57, 213, 255, 0.18); /* 杈规寰寒 */
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -12px 24px rgba(0, 0, 0, 0.45),
      0 18px 52px rgba(0, 0, 0, 0.55),
      0 0 16px rgba(57, 213, 255, 0.12); /* glow-hover 杞诲井澧炲己 */
  }

  /* 涓绘爣棰樺崱/涓绘寜閽?active 鎵嶆湁 focus glow */
  .hero-section .glass:active,
  .hero-cta:active {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -12px 24px rgba(0, 0, 0, 0.45),
      0 18px 52px rgba(0, 0, 0, 0.55),
      0 0 20px rgba(57, 213, 255, 0.16); /* focus glow */
  }

  /* 绂佺敤绉诲姩绔?blur/filter */
  .glass,
  .k4-panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }
}
/* ===== END: Video Autoplay Silent Start ===== */

/* ===== 7. 鏍囬鎺掔増浼樺寲锛堟洿鍒╄惤锛?===== */
.rhythm-section .section-title {
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.rhythm-section .section-subtitle {
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* ===== END: Rhythm Pass - 鑺傚鍙欎簨绯荤粺 ===== */


