/* Rebuilt to match the "Malaysia Study Abroad" UI screenshots (light topbar + navy sections + orange CTA). */
:root {
  --container: 1180px;
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;

  --navy: #153a8a;
  --navy2: #0b2a6e;
  --navy3: #1f4aa9;
  --orange: #f08a00;
  --orange2: #ff9a1f;
  --bluePill: #e8f2ff;
  --warmPill: #ffe9c2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 999;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.topbar.is-elevated {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}
.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 28px;
  height: 78px;
  width: min(1440px, calc(100% - 32px));
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 2px 4px 0;
}
.brand-logo {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: #133a8b;
  color: #ffffff;
}
.brand-name {
  font-family: "Ma Shan Zheng", "Long Cang", "STKaiti", "KaiTi", cursive;
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 34px);
  letter-spacing: 0.08em;
  color: #2a2318;
  line-height: 1.05;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(255, 252, 245, 0.98),
    0 0 22px rgba(255, 246, 232, 0.72),
    0 0 36px rgba(255, 240, 215, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.55);
}
.brand-slogan {
  font-family: "Noto Serif SC", "SimSun", "Songti SC", "STSong", serif;
  font-weight: 500;
  font-size: clamp(12px, 1.05vw, 14px);
  letter-spacing: 0.22em;
  color: #3a3228;
  white-space: nowrap;
  line-height: 1.2;
  text-shadow:
    0 0 8px rgba(255, 252, 245, 0.92),
    0 0 16px rgba(255, 246, 232, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.45);
}

.nav {
  position: relative;
  justify-self: center;
  width: 100%;
  min-width: 0;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.02);
  color: #0f172a;
}
.nav-toggle-lines {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 6px;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
}
.nav-link {
  color: rgba(15, 23, 42, 0.72);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--navy);
}
.topbar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-orange {
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(240, 138, 0, 0.26);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.92);
}
.btn-wide {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
}
.btn-nav-cta {
  min-width: 112px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(240, 138, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(240, 138, 0, 0.36);
}
.btn-nav-cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Hero */
.hero {
  padding: 34px 0 44px;
  background: radial-gradient(900px 500px at 70% 20%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, var(--navy2), var(--navy));
  color: #ffffff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}
.hero-copy {
  padding-top: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 13px;
}
.hero-title {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
  font-weight: 900;
}
.hero-title-accent {
  color: #ffcc4d;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin: 0 0 18px;
  max-width: 56ch;
}
.hero-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 24px 0 18px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.metric-num {
  font-size: 40px;
  font-weight: 900;
  color: #ffcc4d;
  letter-spacing: -0.02em;
}
.metric-label {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 18px;
}
.stats {
  margin: 18px 0 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat dt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 6px;
}
.stat dd {
  margin: 0;
  font-weight: 800;
}
.num {
  font-size: 22px;
}
.trust {
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.trust-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}
.trust-list {
  margin: 10px 0 0;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.hero-media {
  position: relative;
}
.hero-photo {
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(900px 520px at 40% 20%, rgba(0, 0, 0, 0.25), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}
.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-float {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 14px 50px rgba(15, 23, 42, 0.14);
}
.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(240, 138, 0, 0.14);
}
.float-title {
  font-weight: 900;
}
.float-sub {
  color: rgba(15, 23, 42, 0.62);
  margin-top: 2px;
  font-size: 13px;
}

/* Generic sections */
.section {
  padding: 74px 0;
}
.section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}
.section-title h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3.1vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 900;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  background: var(--bluePill);
  color: var(--navy);
}
.pill-warm {
  background: var(--warmPill);
  color: #7a4a00;
}
.pill-dark {
  background: rgba(255, 204, 77, 0.14);
  color: #ffcc4d;
  border: 1px solid rgba(255, 204, 77, 0.22);
}
.pill-mini {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
}
.pill-blue {
  background: #eaf2ff;
  color: #123b8f;
}

.card-grid {
  display: grid;
  gap: 18px;
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.white-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px 22px;
}
.white-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.white-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.icon-square {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #123b8f;
  color: #ffcc4d;
}
.icon-square svg {
  width: 28px;
  height: 28px;
}
.card-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 900;
  color: #123b8f;
}

/* 卡片交互反馈：五页统一风格 */
#malaysia .white-card,
#apply .white-card,
section[aria-label="申请流程"] .step-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
#malaysia .white-card:hover,
#apply .white-card:has(.card-link:hover),
#apply .white-card:hover,
section[aria-label="申请流程"] .step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
  border-color: rgba(18, 59, 143, 0.14);
}
#apply .card-link {
  cursor: pointer;
  align-items: center;
  gap: 2px;
  transition: color 0.22s ease, transform 0.22s ease;
}
#apply .card-link:hover {
  color: var(--orange);
  transform: translateX(3px);
}
.section-dark .dark-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.section-dark .dark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
}
#services .uni-item {
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
#services .uni-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(18, 59, 143, 0.14);
  background: rgba(18, 59, 143, 0.04);
}
@media (hover: none) {
  #malaysia .white-card:active,
  #apply .white-card:active,
  section[aria-label="申请流程"] .step-card:active {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  }
  #apply .card-link:active {
    color: var(--orange);
    transform: translateX(2px);
  }
  .section-dark .dark-card:active {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
  }
  #services .uni-item:active {
    transform: translateY(-2px);
    background: rgba(18, 59, 143, 0.06);
  }
}

.section-dark {
  background: radial-gradient(1200px 520px at 50% -10%, rgba(255, 255, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #0b2a6e, #143a8b);
  color: #ffffff;
}
.section-title--dark p {
  color: rgba(255, 255, 255, 0.78);
}
.dark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.dark-card {
  border-radius: 22px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}
.dark-card h3 {
  margin: 14px 0 8px;
  font-weight: 900;
}
.dark-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}
.dark-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #ffffff;
}
.i-blue { background: linear-gradient(180deg, #12b8ff, #1b6cff); }
.i-orange { background: linear-gradient(180deg, #ffb020, #ff7a00); }
.i-purple { background: linear-gradient(180deg, #b85bff, #ff47b3); }
.i-green { background: linear-gradient(180deg, #22c55e, #0ea5e9); }
.i-red { background: linear-gradient(180deg, #ff3b30, #ff2d55); }
.i-sky { background: linear-gradient(180deg, #4f7cff, #2b5bff); }

/* Universities */
.uni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.uni-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.uni-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 8px 14px;
}
.uni-tag {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.uni-tag--blue { background: #123b8f; }
.uni-tag--orange { background: var(--orange); }
.uni-title { font-weight: 900; }
.uni-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.uni-list { display: grid; gap: 12px; }
.uni-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.uni-name { font-weight: 900; }
.uni-en {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.qs {
  font-weight: 900;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.qs-warm { background: #ffefc9; color: #8a5200; }
.qs-cool { background: #e7f0ff; color: #123b8f; }
.qs-neutral { background: rgba(15, 23, 42, 0.06); color: rgba(15, 23, 42, 0.62); }
.banner {
  margin-top: 22px;
  background: linear-gradient(180deg, #0b2a6e, #123b8f);
  border-radius: 18px;
  padding: 22px 18px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 18px 60px rgba(11, 42, 110, 0.22);
}
.banner-title { font-weight: 900; font-size: 18px; }
.banner-sub {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
  position: relative;
}
.step-card--active { outline: 2px solid rgba(59, 130, 246, 0.28); }
.step-n {
  position: absolute;
  top: -14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #123b8f;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.step-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #123b8f;
  font-weight: 900;
}
.step-card h3 { margin: 16px 0 8px; font-weight: 900; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.8; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(18, 59, 143, 0.18), rgba(18, 59, 143, 0.06));
  border: 3px solid #eaf2ff;
}
.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.12);
}
.avatar--photo-graduate img {
  object-position: center 72%;
  transform: scale(1.18);
}
.quote {
  font-weight: 900;
  font-size: 48px;
  color: rgba(15, 23, 42, 0.12);
  line-height: 1;
}
.review-name { margin-top: 10px; font-weight: 900; font-size: 18px; }
.review-meta { color: var(--muted); margin-top: 6px; font-size: 13px; }
.review-text { margin: 14px 0 0; color: rgba(15, 23, 42, 0.76); line-height: 1.9; }
.stars { margin-top: 14px; color: #f59e0b; letter-spacing: 2px; }
.metrics-bar {
  margin-top: 26px;
  background: linear-gradient(180deg, #0b2a6e, #123b8f);
  border-radius: 18px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 20px 18px;
  box-shadow: 0 18px 60px rgba(11, 42, 110, 0.22);
}
.metrics-item { text-align: center; }
.metrics-big { font-weight: 900; font-size: 34px; color: #ffcc4d; }
.metrics-small { margin-top: 8px; color: rgba(255, 255, 255, 0.8); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  margin-left: 32px;
  margin-bottom: 40px;
}
.about-photo {
  height: 480px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.15);
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.about-slide.is-active {
  opacity: 1;
}
.about-photo-badge {
  position: absolute;
  left: -28px;
  bottom: -32px;
  z-index: 3;
  background: #d4af37;
  color: #fff;
  border-radius: 15px;
  padding: 22px 28px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
  min-width: 168px;
  pointer-events: none;
}
.about-photo-badge-year {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.about-photo-badge-sub {
  margin-top: 8px;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
}
.about-copy h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
}
.about-copy p {
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.9;
  margin: 0 0 12px;
}
.about-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(15, 23, 42, 0.76);
}
.about-list li { display: flex; gap: 10px; align-items: start; }
.about-list li::before { content: "✓"; color: var(--orange); font-weight: 900; margin-top: 1px; }
.about-badge {
  margin-top: 18px;
  background: #fff7e6;
  border: 1px solid rgba(240, 138, 0, 0.22);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(240, 138, 0, 0.16);
}
.badge-title { font-weight: 900; }
.badge-sub { margin-top: 4px; color: rgba(15, 23, 42, 0.62); font-size: 13px; }

/* About: core values */
.about-group .section-about-intro {
  padding-bottom: 48px;
}
.about-group .section-values {
  padding-top: 0;
  padding-bottom: 48px;
}
.about-group .section-timeline {
  padding-top: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.value-card {
  text-align: center;
}
.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: #123b8f;
  color: #d4af37;
}
.value-icon svg {
  width: 34px;
  height: 34px;
}
.value-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}
.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
}

/* About: timeline */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.15), #d4af37 12%, #d4af37 88%, rgba(212, 175, 55, 0.15));
  transform: translateX(-50%);
}
.timeline-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.45);
}
.timeline-dot--1 { left: 18%; top: 18%; }
.timeline-dot--2 { right: 14%; top: 46%; }
.timeline-dot--3 { left: 22%; bottom: 12%; }
.timeline-item {
  position: relative;
  width: 50%;
  padding-bottom: 52px;
  box-sizing: border-box;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item--left {
  margin-right: auto;
  padding-right: 52px;
  text-align: right;
}
.timeline-item--right {
  margin-left: auto;
  padding-left: 52px;
  text-align: left;
}
.timeline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.timeline-badge--navy {
  background: var(--navy);
}
.timeline-badge--gold {
  background: #d4af37;
}
.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
  max-width: 320px;
}
.timeline-item--left p {
  margin-left: auto;
}
.timeline-item--right p {
  margin-right: auto;
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, #0b2a6e, #123b8f);
  color: #ffffff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.contact-left h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 900;
}
.contact-left p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}
.contact-checks {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}
.contact-checks li { display: flex; gap: 10px; align-items: center; }
.contact-checks li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(240, 138, 0, 0.18);
  color: #ffcc4d;
  font-weight: 900;
}
.contact-mini {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 16px;
}
.mini-label { color: rgba(255, 255, 255, 0.72); font-weight: 900; font-size: 13px; }
.mini-value { margin-top: 8px; font-weight: 900; }
.contact-form {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.field { display: grid; gap: 8px; margin-bottom: 12px; }
.field-wide { grid-column: 1 / -1; }
.field-label { color: rgba(15, 23, 42, 0.78); font-weight: 900; font-size: 13px; }
.req { color: #ef4444; }
input, textarea, select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: rgba(15, 23, 42, 0.92);
  padding: 12px 12px;
  outline: none;
  font-family: inherit;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(15, 23, 42, 0.6) 50%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 4px), calc(100% - 15px) calc(1em + 4px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(18, 59, 143, 0.4);
  box-shadow: 0 0 0 4px rgba(18, 59, 143, 0.12);
}
.form-note {
  margin: 12px 0 0;
  color: rgba(15, 23, 42, 0.54);
  font-size: 12px;
  line-height: 1.6;
}
.contact-qrcode-panel {
  text-align: center;
  animation: contact-qrcode-in 0.35s ease;
}
.contact-qrcode-head {
  margin-bottom: 18px;
}
.contact-qrcode-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}
.contact-qrcode-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.contact-qrcode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-qrcode-item {
  padding: 14px 12px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.contact-qrcode-img {
  width: 100%;
  max-width: 148px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.contact-qrcode-label {
  margin-top: 10px;
  font-weight: 900;
  font-size: 14px;
  color: var(--navy);
}
.contact-qrcode-phone {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.btn-outline-dark {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: rgba(15, 23, 42, 0.82);
  height: 48px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-outline-dark:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.24);
}
@keyframes contact-qrcode-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  padding: 48px 0 24px;
  background: #061b4a;
  color: #ffffff;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 1.1fr;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.footer-col {
  font-size: 14px;
}
.footer-col--brand .footer-text {
  margin: 16px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-mark {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f97316;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.footer-logo-text {
  font-weight: 900;
  font-size: 18px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.footer-title {
  font-weight: 900;
  margin: 4px 0 14px;
}
.footer-links {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}
.footer-links a {
  font-size: 14px;
}
.footer-links a:hover { color: #ffffff; }
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}
.footer-col--contact .footer-contact {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-contact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.footer-contact-value {
  font-weight: 900;
  margin-top: 4px;
}
.footer-col--qrcode {
  text-align: center;
}
.footer-qrcode {
  margin-top: 4px;
  padding: 10px 14px 12px;
  border-radius: 18px;
  background: rgba(3, 13, 40, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  max-width: 320px;
  margin-left: auto;
  margin-right: 0;
}
.footer-qrcode-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.footer-qrcode-header {
  text-align: center;
  font-weight: 900;
  margin-bottom: 10px;
}
.footer-qrcode-box {
  width: 136px;
  height: 136px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}
.footer-qrcode-box--extra {
  /* 备用图占位样式，新图片上传后复用同尺寸 */
}
.footer-qrcode-text {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-muted { color: rgba(148, 163, 184, 0.9); }
.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.38);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(148, 163, 184, 0.9);
  font-size: 13px;
}
.footer-bottom-right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom-right a {
  color: rgba(148, 163, 184, 0.96);
}
.footer-bottom-right a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uni-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; row-gap: 26px; }
}
@media (max-width: 1240px) {
  .topbar-inner {
    gap: 16px 20px;
    width: min(1440px, calc(100% - 24px));
  }
  .nav-link {
    font-size: 14px;
    padding: 8px 10px;
  }
  .brand-name {
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: 0.06em;
  }
  .brand-slogan {
    font-size: clamp(11px, 0.95vw, 12px);
    letter-spacing: 0.16em;
  }
}
@media (max-width: 720px) {
  .topbar-inner {
    display: flex;
    justify-content: space-between;
    height: 68px;
    width: min(var(--container), calc(100% - 24px));
  }
  .topbar-actions {
    display: flex;
  }
  .topbar-actions .btn-nav-cta {
    min-width: 96px;
    height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    width: auto;
    justify-self: auto;
  }
  .nav-panel {
    position: absolute;
    right: 0;
    top: 56px;
    width: min(92vw, 360px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.18);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    font-size: 15px;
    padding: 12px 14px;
  }
  .nav-panel.is-open { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .dark-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .metrics-bar { grid-template-columns: 1fr; }
  .contact-mini { grid-template-columns: 1fr; }
  .contact-qrcode-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-photo-wrap {
    margin-left: 24px;
    margin-bottom: 32px;
  }
  .about-photo-badge {
    left: -16px;
    bottom: -24px;
    padding: 16px 18px;
    min-width: 140px;
    border-radius: 12px;
  }
  .about-photo-badge-sub { white-space: normal; }
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .timeline-line {
    left: 18px;
    transform: none;
  }
  .timeline-dot { display: none; }
  .timeline-item {
    width: 100%;
    padding-left: 48px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item--left,
  .timeline-item--right {
    margin-left: 0;
    margin-right: 0;
    padding-left: 48px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item--left p,
  .timeline-item--right p {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

/* Sections */
.section {
  padding: 56px 0;
}
.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.link-arrow {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.link-arrow:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}
.checklist {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.76);
  display: grid;
  gap: 8px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(82, 255, 168, 0.9), rgba(82, 255, 168, 0.15));
  border: 1px solid rgba(82, 255, 168, 0.25);
  box-shadow: 0 0 0 3px rgba(82, 255, 168, 0.12);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.feature-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  margin-bottom: 10px;
}
.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 231, 255, 1), rgba(124, 92, 255, 1));
  box-shadow: 0 0 0 4px rgba(110, 231, 255, 0.12);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.step {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
}
.step-no {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.step-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.case {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
}
.case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.badge {
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(110, 231, 255, 0.12);
  border: 1px solid rgba(110, 231, 255, 0.22);
}
.case-title {
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.4;
}
.case-list {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
}
.k {
  display: inline-block;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.86);
  margin-right: 6px;
}

.faq {
  display: grid;
  gap: 10px;
}
.faq-item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "＋";
  float: right;
  color: rgba(255, 255, 255, 0.75);
}
.faq-item[open] summary::after {
  content: "－";
}
.faq-item p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.cta {
  padding: 66px 0;
}
.cta-inner {
  border-radius: 28px;
  background: radial-gradient(900px 360px at 20% 0%, rgba(124, 92, 255, 0.22), transparent 58%),
    radial-gradient(900px 360px at 80% 0%, rgba(110, 231, 255, 0.22), transparent 58%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.field {
  display: grid;
  gap: 8px;
}
.field-wide {
  grid-column: span 2;
}
.field-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  outline: none;
}
input:focus,
textarea:focus {
  border-color: rgba(110, 231, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, 0.12);
}
.form-submit {
  grid-column: span 2;
}
.form-note {
  grid-column: span 2;
  font-size: 12px;
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 40px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
  align-items: start;
}
.brand--footer .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.footer-col {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.88);
}
.footer-col a:hover {
  color: rgba(255, 255, 255, 0.92);
}
.footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .field-wide,
  .form-submit,
  .form-note {
    grid-column: auto;
  }
}

/* Custom AI customer service floating button (replaces Coze default orb) */
.ai-cs-float {
  position: fixed;
  right: 48px;
  bottom: 56px;
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 14px 22px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 55%, #ffb347 100%);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow:
    0 10px 30px rgba(240, 138, 0, 0.48),
    0 4px 14px rgba(21, 58, 138, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: ai-cs-float-bob 2.8s ease-in-out infinite;
}

.ai-cs-float:hover {
  animation: none;
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 14px 36px rgba(240, 138, 0, 0.55),
    0 6px 18px rgba(21, 58, 138, 0.24);
}

.ai-cs-float:focus-visible {
  outline: 3px solid rgba(21, 58, 138, 0.45);
  outline-offset: 3px;
}

.ai-cs-float__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(255, 154, 31, 0.75);
  animation: ai-cs-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.ai-cs-float__label {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

@keyframes ai-cs-pulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@keyframes ai-cs-float-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 720px) {
  .ai-cs-float {
    right: 32px;
    bottom: 44px;
    min-width: 96px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .ai-cs-float__label {
    font-size: 16px;
  }
}

