/* 糖心vlog全站样式 */
:root {
  --bg: #F5F7FF;
  --ink: #1F2740;
  --heading: #131A35;
  --muted: #66708A;
  --soft: #9AA4BA;
  --brand: #5B6CFF;
  --brand-2: #7A5CFF;
  --cyan: #00D4FF;
  --gold: #FFC857;
  --deep: #16213E;
  --footer: #0B1024;
  --card: #FFFFFF;
  --line: rgba(91,108,255,0.18);
  --shadow: 0 20px 46px rgba(25,43,91,0.14);
  --radius: 24px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
main { display: block; min-height: 60vh; }
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 20000;
  background: #fff;
  color: var(--heading);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 84px 0; }
.section-sm { padding: 54px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #9B6A00;
  background: #FFF4D6;
  border: 1px solid rgba(255,200,87,.55);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
}
.section-title, h1, h2, h3 { color: var(--heading); line-height: 1.25; }
.section-title { margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; }
.section-desc { margin: 0; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.main-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.main-btn {
  color: #fff;
  background: linear-gradient(135deg, #5B6CFF 0%, #7A5CFF 48%, #00D4FF 100%);
  box-shadow: 0 14px 32px rgba(91,108,255,0.22);
}
.main-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(91,108,255,.3); }
.ghost-btn { color: var(--brand); background: #fff; border: 1px solid var(--line); }
.ghost-btn:hover { transform: translateY(-2px); color: var(--brand-2); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.card, .zone-card, .info-card, .review-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.card { padding: 28px; }
.card h3, .zone-card h3, .info-card h3 { margin-top: 0; font-size: 22px; }
.muted { color: var(--muted); }
.badge, .tag, .label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
  background: #FFF4D6;
  color: #8A5B00;
}
.tag.blue { color: #23507B; background: #EAF7FF; }
.tag.purple { color: #4F3ED0; background: #EEE9FF; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(12,18,40,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(25,43,91,0.16);
}
.header-inner {
  width: min(calc(100% - 36px), 1280px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; color: #fff; white-space: nowrap; }
.site-logo:hover { color: #fff; }
.site-logo img { width: 44px; max-height: 44px; object-fit: contain; }
.site-logo strong { font-size: 20px; letter-spacing: .02em; }
.nav-core { display: flex; align-items: center; justify-content: center; gap: 6px; }
.nav-core a {
  color: #EEF2FF;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 15px;
  white-space: nowrap;
}
.nav-core a:hover, .nav-core a.active { color: #fff; background: rgba(0,212,255,0.16); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.menu-toggle, .drawer-close {
  border: 0;
  color: #fff;
  background: rgba(255,255,255,.1);
  border-radius: 14px;
}
.menu-toggle { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { width: 19px; height: 2px; background: currentColor; border-radius: 2px; }
.mobile-menu-toggle { display: none; }
.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 12001;
  width: min(390px, 90vw);
  height: 100dvh;
  padding: 24px;
  overflow-y: auto;
  background: #11182F;
  color: #fff;
  transform: translateX(102%);
  transition: transform .28s ease;
  box-shadow: -22px 0 60px rgba(0,0,0,.28);
}
.site-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(5,9,24,.58);
  opacity: 0;
  transition: opacity .22s ease;
}
.drawer-overlay.is-visible { opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; }
.drawer-brand img { width: 42px; height: 42px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; font-size: 30px; line-height: 1; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-nav a { color: #EEF2FF; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); padding: 12px 14px; border-radius: 14px; }
.drawer-nav a:hover { color: #fff; border-color: rgba(0,212,255,.35); background: rgba(0,212,255,.1); }
.drawer-note { margin-top: 22px; padding: 18px; border-radius: 18px; background: rgba(122,92,255,.18); border: 1px solid rgba(122,92,255,.34); }
.drawer-note p { margin-bottom: 0; color: #CBD4F4; font-size: 14px; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 10% 15%, rgba(122,92,255,.23), transparent 35%),
    radial-gradient(circle at 87% 18%, rgba(0,212,255,.22), transparent 32%),
    linear-gradient(135deg, #F8F2FF 0%, #EFF8FF 50%, #FFF4FA 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
}
.hero::before { width: 220px; height: 220px; right: 9%; top: 9%; background: rgba(255,200,87,.16); }
.hero::after { width: 300px; height: 300px; left: -120px; bottom: -140px; background: rgba(91,108,255,.13); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.hero-copy h1 { margin: 10px 0 12px; font-size: clamp(52px, 8vw, 88px); letter-spacing: -.06em; }
.hero-subtitle { margin: 0 0 18px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--deep); }
.hero-copy > p { max-width: 680px; color: #536078; font-size: 17px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-points span { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; font-weight: 800; color: #3B4561; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 8% -4%; z-index: -1; border-radius: 40px; background: linear-gradient(135deg, rgba(91,108,255,.2), rgba(0,212,255,.18)); transform: rotate(4deg); }
.hero-visual img, .content-img, .zone-card img, .app-section img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-visual img { max-height: 580px; filter: drop-shadow(0 30px 50px rgba(35,52,104,.23)); }
.hero-stat {
  position: absolute;
  right: -12px;
  bottom: 20px;
  max-width: 220px;
  padding: 16px 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
.hero-stat strong { display: block; color: var(--heading); }

/* Homepage layouts */
.highlight-strip { margin-top: -28px; position: relative; z-index: 2; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.highlight-item { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 36px rgba(25,43,91,.1); }
.highlight-item strong { display: block; color: var(--heading); font-size: 18px; margin-bottom: 5px; }
.highlight-item p { margin: 0; color: var(--muted); font-size: 14px; }
.channel-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.channel-pill { flex: 1 1 210px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.channel-pill strong { display: block; color: var(--heading); }
.channel-pill small { color: var(--muted); display: block; margin: 3px 0 5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { min-width: 0; }
.split-media img { max-height: 520px; margin: 0 auto; object-fit: contain; }
.split-copy p { color: var(--muted); }
.feature-list { display: grid; gap: 12px; margin: 22px 0; }
.feature-list div { padding: 14px 16px; border-radius: 16px; background: rgba(234,247,255,.8); border: 1px solid rgba(0,212,255,.16); }
.feature-list strong { color: var(--heading); }
.two-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zone-card { overflow: hidden; }
.zone-card img { width: 100%; max-height: 290px; object-fit: contain; background: linear-gradient(135deg,#F2EEFF,#EDF9FF); }
.zone-body { padding: 26px; }
.zone-body p { color: var(--muted); }
.mini-points { margin: 18px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mini-points li { display: flex; gap: 8px; color: #4C5872; }
.mini-points li::before { content: "✓"; color: var(--brand); font-weight: 900; }
.safety-panel {
  background: linear-gradient(135deg, #11182F, #18254A);
  color: #EEF2FF;
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.safety-panel h2, .safety-panel h3 { color: #fff; }
.safety-panel p { color: #CBD4F4; }
.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.safety-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.safety-images img { width: 100%; min-height: 220px; max-height: 340px; object-fit: contain; background: rgba(255,255,255,.06); border-radius: 22px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { padding: 24px; }
.review-card p { margin-top: 0; color: #46516B; }
.review-card span { color: var(--soft); font-size: 14px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: transparent; color: var(--heading); font-weight: 800; text-align: left; }
.faq-item button::after { content: "+"; font-size: 24px; color: var(--brand); }
.faq-item.is-open button::after { content: "−"; }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }
.notice-band { background: linear-gradient(135deg, #FFF4D6, #F3F0FF 60%, #EAF7FF); border-block: 1px solid var(--line); }
.notice-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.notice-inner h2 { margin-bottom: 6px; }
.notice-inner p { margin: 0; color: var(--muted); max-width: 850px; }

/* Inner pages */
.page-hero { padding: 72px 0; background: linear-gradient(135deg,#F0ECFF,#EEF9FF 55%,#FFF6EA); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 66px); margin: 8px 0 16px; letter-spacing: -.045em; }
.page-hero p { color: #55617B; font-size: 17px; }
.page-hero img { width: 100%; max-height: 470px; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(25,43,91,.17)); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.prose-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.prose-card + .prose-card { margin-top: 24px; }
.prose-card h2 { font-size: 30px; margin-top: 0; }
.prose-card h3 { margin-top: 24px; }
.prose-card p { color: #4E5A73; }
.sidebar { position: sticky; top: 98px; display: grid; gap: 18px; }
.sidebar-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.sidebar-card h2 { margin-top: 0; font-size: 21px; }
.sidebar-card nav { display: grid; gap: 8px; }
.sidebar-card nav a { padding: 9px 11px; border-radius: 12px; background: #F5F7FF; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 32px rgba(25,43,91,.09); }
.service-card h3 { margin-top: 0; font-size: 21px; }
.service-card p { color: var(--muted); margin-bottom: 0; }
.steps { counter-reset: steps; display: grid; gap: 16px; }
.step { position: relative; padding: 19px 20px 19px 68px; background: #F8F9FF; border: 1px solid var(--line); border-radius: 18px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 900; background: linear-gradient(135deg,var(--brand),var(--cyan)); }
.step h3 { margin: 0 0 4px; font-size: 19px; }
.step p { margin: 0; }
.quote-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.quote { margin: 0; padding: 22px; border-radius: 18px; background: #F7F9FF; border: 1px solid var(--line); color: #46516B; }
.quote footer { margin-top: 10px; color: var(--soft); font-size: 14px; }
.compact-faq { display: grid; gap: 12px; }
.compact-faq article { padding: 18px; border-radius: 16px; background: #F7F9FF; border: 1px solid var(--line); }
.compact-faq h3 { margin: 0 0 6px; font-size: 18px; }
.compact-faq p { margin: 0; }

/* Footer */
.site-footer { background: #0B1024; color: #EEF2FF; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 40px; }
.footer-grid h2 { color: #fff; font-size: 17px; margin-top: 0; }
.footer-grid section > a:not(.footer-brand) { display: block; color: #C6CFEF; margin: 8px 0; }
.footer-grid p { color: #AEB9DE; max-width: 440px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 21px; font-weight: 900; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 28px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: #929EC5; font-size: 13px; }
.mobile-bottom-nav { display: none; }

/* Forms */
.contact-form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--heading); font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #F9FAFF; border-radius: 14px; padding: 12px 14px; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }

/* Responsive */
@media (max-width: 1050px) {
  .nav-core { display: none; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .highlight-grid { grid-template-columns: repeat(2,1fr); }
  .review-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid section:last-child { grid-column: 2 / -1; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .header-inner { width: min(calc(100% - 24px), 1280px); min-height: 66px; }
  .desktop-menu-toggle { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .site-logo strong { display: none; }
  .site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .site-logo img { width: 42px; height: 42px; }
  .header-actions { margin-left: auto; }
  .header-cta { min-height: 40px; padding: 7px 14px; font-size: 13px; }
  .hero { padding: 62px 0 58px; }
  .hero-grid, .page-hero-grid, .split, .safety-grid, .content-layout { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .button-row, .hero-points { justify-content: center; }
  .hero-visual { max-width: 580px; margin-inline: auto; }
  .hero-stat { right: 4%; }
  .split.reverse .split-media { order: initial; }
  .three-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid section:last-child { grid-column: auto; }
  .notice-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section { padding: 52px 0; }
  .section-title { font-size: 32px; }
  .hero-copy h1 { font-size: 52px; }
  .hero-subtitle { font-size: 24px; }
  .hero-copy > p, .page-hero p { font-size: 15px; }
  .highlight-strip { margin-top: -18px; }
  .highlight-grid, .two-grid, .three-grid, .service-grid, .review-grid, .quote-grid, .safety-images, .sidebar { grid-template-columns: 1fr; }
  .highlight-item { padding: 18px; }
  .channel-pill { flex-basis: 100%; }
  .card, .zone-body, .prose-card { padding: 22px; }
  .safety-panel { padding: 24px; border-radius: 24px; }
  .page-hero { padding: 52px 0; }
  .page-hero h1 { font-size: 40px; }
  .page-hero img { max-height: 350px; }
  .drawer-nav { grid-template-columns: 1fr; }
  .site-drawer { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid section:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 9000;
    min-height: 58px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-items: center;
    padding: 5px 8px;
    border-radius: 20px;
    background: rgba(11,16,36,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(5,9,24,.28);
  }
  .mobile-bottom-nav a { color: #EEF2FF; text-align: center; font-size: 12px; }
  .mobile-bottom-nav span { display: block; font-size: 18px; line-height: 1.1; color: #7EE8FF; }
  .hero-stat { position: static; margin: 10px auto 0; }
}
@media (max-width: 420px) {
  .header-cta { padding-inline: 12px; }
  .site-logo img { width: 38px; height: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid section:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
