/* 志酷互联官网样式: 品牌蓝 + 暖色点缀, 不依赖任何第三方字体/CDN */
:root {
  --blue: #0a8fe0;
  --blue-d: #0670b8;
  --blue-l: #6bbfef;
  --navy: #0b1b33;
  --ink: #1b2a3f;
  --muted: #5d6b80;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --orange: #ff8a1f;
  --red: #e5391f;
  --yellow: #ffc61a;
  --green: #5fbf3a;
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(11, 27, 51, .25);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
.ico { flex: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; text-decoration: none !important; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-toggle:focus-visible, a:focus-visible { outline: 3px solid rgba(10, 143, 224, .45); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: 0 10px 24px -8px rgba(10, 143, 224, .6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-d); }
.btn-light { background: #fff; color: var(--blue-d); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* 顶部导航 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(11, 27, 51, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { padding: 8px 16px; border-radius: 999px; color: var(--ink); font-weight: 500; transition: background .2s, color .2s; }
.site-nav a:not(.btn):hover { background: var(--bg-alt); color: var(--blue-d); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }

/* 首屏 */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% 10%, rgba(107, 191, 239, .35), transparent 70%),
  radial-gradient(520px 380px at 5% 90%, rgba(255, 138, 31, .16), transparent 70%),
  radial-gradient(420px 320px at 60% 100%, rgba(255, 198, 26, .14), transparent 70%),
  linear-gradient(#fff, #f7fbff); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11, 27, 51, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 27, 51, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { margin-top: 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.18; letter-spacing: .02em; color: var(--navy); }
.grad-text { background: linear-gradient(90deg, var(--blue-d), var(--blue) 45%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-sub { margin-top: 22px; max-width: 560px; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact dt { font-size: 20px; font-weight: 700; color: var(--navy); }
.fact dd { font-size: 14px; color: var(--muted); }

/* 首屏右侧视觉 */
.hero-visual { position: relative; min-height: 460px; }
.phone { position: relative; background: #101826; border-radius: 38px; padding: 10px; box-shadow: var(--shadow), inset 0 0 0 2px #2a3547; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 56px; height: 6px; margin-left: -28px; border-radius: 6px; background: #2a3547; z-index: 2; }
.phone-screen { border-radius: 30px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; height: auto; image-rendering: auto; }
.hero-window { position: absolute; left: 0; top: 28px; width: 410px; max-width: calc(100% - 20px); transform: rotate(-2deg); }
.mini-app { position: absolute; left: 4px; bottom: 6px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.mini-app img { border-radius: 12px; }
.float-card { position: absolute; right: 0; bottom: 36px; width: 250px; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.fc-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.fc-head img { border-radius: 8px; }
.fc-head em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue-d); background: #e8f4fd; padding: 2px 10px; border-radius: 999px; }
.curve { width: 100%; margin-top: 10px; }
.curve path { fill: none; stroke-linecap: round; stroke-width: 3; }
.curve-bg { stroke: #d6dde8; stroke-dasharray: 4 6; }
.curve-fg { stroke: var(--blue); }
.curve circle { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.float-card p { font-size: 13px; color: var(--muted); }
.app-icon { position: absolute; right: 14px; top: 0; z-index: 3; padding: 6px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.app-icon img { border-radius: 16px; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 6s ease-in-out -2s infinite; }
.float-c { animation: floaty 5s ease-in-out -1s infinite; }
.float-d { animation: floaty 6.500s ease-in-out -3s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* 通用区块 */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--blue-d); }
.kicker.light { color: rgba(255, 255, 255, .8); }
.section h2 { margin-top: 8px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; color: var(--navy); }
.section-head > p:last-child { margin-top: 14px; color: var(--muted); font-size: 17px; }
.feature-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint, #e8f4fd); color: var(--accent, var(--blue-d)); flex: none; }

/* 产品卡片 */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 48px; border-radius: 32px; background: var(--card-bg, #f3f9ff); border: 1px solid var(--line); }
.product + .product { margin-top: 32px; }
.product.flip .product-copy { order: 2; }
.theme-green { --accent: #3f9a1f; --tint: #e3f5da; --card-bg: linear-gradient(135deg, #f4fbef, #ffffff 70%); --stage: radial-gradient(circle at 50% 40%, #d6f0c4, transparent 70%); }
.theme-blue { --accent: var(--blue-d); --tint: #e0f1fd; --card-bg: linear-gradient(135deg, #eef7ff, #ffffff 70%); --stage: radial-gradient(circle at 50% 40%, #cfe9fb, transparent 70%); }
.product-title { display: flex; align-items: center; gap: 16px; }
.product-title img { border-radius: 14px; box-shadow: 0 8px 20px -10px rgba(11, 27, 51, .5); }
/* 海狮笔记 logo 是带透明镂空的圆形图: 容器也做成正圆 + 白底, 阴影随圆形, 不再出现方形底板 */
.product-title img.logo-seal, .demo-poster img.logo-seal { border-radius: 50%; background: #fff; }
.product-title h3 { font-size: 28px; color: var(--navy); line-height: 1.2; }
.chip { display: inline-block; margin-top: 6px; padding: 2px 12px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--tint); border-radius: 999px; }
.product-lead { margin-top: 24px; font-size: 22px; font-weight: 700; color: var(--navy); }
.product-desc { margin-top: 10px; color: var(--muted); }
.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-list li, .values li, .contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list strong, .values strong, .contact-list strong { display: block; color: var(--navy); line-height: 1.5; }
.feature-list span:not(.feature-ico), .values span:not(.feature-ico), .contact-list span:not(.feature-ico) { display: block; color: var(--muted); font-size: 15px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.platforms { font-size: 14px; color: var(--muted); margin-left: 4px; }
.product-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 400px; }
.product-visual::before { content: ""; position: absolute; inset: 0; background: var(--stage); z-index: 0; }
.phone-md { position: relative; z-index: 1; width: 240px; }
.bubble { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--accent); box-shadow: var(--shadow); }
.bubble-1 { left: 4%; top: 22%; animation: floaty 6s ease-in-out infinite; }
.bubble-2 { right: 2%; bottom: 20%; animation: floaty 5s ease-in-out -2s infinite; }

/* 海狮笔记界面示意 */
.window { position: relative; z-index: 1; width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f1f5fa; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.window-bar i:nth-child(2) { background: #ffbd2e; }
.window-bar i:nth-child(3) { background: #28c940; }
.window-bar span { margin: 0 auto; transform: translateX(-24px); }
.window-body { display: grid; gap: 12px; padding: 18px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.msg-user { justify-self: end; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; border-bottom-right-radius: 4px; }
.model-row { display: flex; gap: 6px; margin-bottom: 6px; }
.model-tag { padding: 0 8px; font-size: 11px; font-weight: 600; line-height: 18px; color: var(--blue-d); background: #fff; border: 1px solid #cfe6f7; border-radius: 6px; }
.msg-ai { background: #f1f5fa; color: var(--ink); border-bottom-left-radius: 4px; }
.save-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 2px 10px; font-size: 12px; font-weight: 600; color: var(--blue-d); background: #fff; border: 1px solid #bfe0f6; border-radius: 999px; }
.note-card { padding: 14px; border: 1px dashed #b7d9f1; border-radius: 14px; background: #f8fcff; }
.note-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.note-title em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--orange); }
.steps { display: flex; gap: 6px; margin-top: 10px; }
.steps span { flex: 1; text-align: center; padding: 4px 0; font-size: 12px; border-radius: 8px; background: #e9eef5; color: var(--muted); }
.steps span.on { background: var(--blue); color: #fff; }


/* 在线体验 (内嵌海狮笔记) */
.demo { margin-top: 32px; padding: 48px 32px 28px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(520px 260px at 50% 0%, rgba(10, 143, 224, .10), transparent 70%), #fff; }
.product + .demo, .demo + .product { margin-top: 32px; }
.demo-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.demo-head h3 { margin-top: 6px; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; color: var(--navy); }
.demo-head > p:not(.kicker) { margin-top: 10px; color: var(--muted); }
.demo-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.demo-chips li { padding: 4px 14px; font-size: 13px; font-weight: 600; color: var(--blue-d); background: #e8f4fd; border-radius: 999px; }
.browser { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f1f5fa; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #28c940; }
.addr { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; max-width: 520px; margin: 0 auto; padding: 5px 14px; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-actions { display: flex; gap: 6px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font: inherit; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; text-decoration: none !important; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue-d); }
.icon-btn:focus-visible { outline: 3px solid rgba(10, 143, 224, .45); outline-offset: 2px; }
.browser-body { position: relative; height: 720px; background: #fff; }
.demo-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .35s; background: #fff; }
.demo-frame.ready { opacity: 1; }
.demo-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(420px 300px at 20% 20%, rgba(107, 191, 239, .30), transparent 70%), radial-gradient(420px 300px at 85% 85%, rgba(255, 138, 31, .16), transparent 70%), linear-gradient(#fbfdff, #f1f7fd); transition: opacity .3s; }
.demo-poster img { border-radius: 18px; box-shadow: 0 10px 24px -12px rgba(11, 27, 51, .5); }
.demo-poster h4 { margin-top: 6px; font-size: 24px; color: var(--navy); }
.demo-poster p { color: var(--muted); }
.demo-poster .btn { margin-top: 12px; }
.poster-note { font-size: 13px; color: var(--muted); }
.demo-poster.gone { opacity: 0; pointer-events: none; }
.demo-status { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); transform: translateX(-50%); white-space: nowrap; }
.demo-status[hidden] { display: none; }
.demo-slow { bottom: 70px; }
.spinner { width: 16px; height: 16px; border: 2px solid #cfe6f7; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-tip { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.browser.is-full { position: fixed; inset: 0; z-index: 100; border: 0; border-radius: 0; box-shadow: none; }
.browser.is-full .browser-body { flex: 1; height: auto; }
body.demo-lock { overflow: hidden; }

/* 关于我们 */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-copy > p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.values { display: grid; gap: 18px; margin-top: 30px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 20px; color: var(--navy); padding-bottom: 14px; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--blue), var(--orange)) 1; }
.info-card dl { display: grid; grid-template-columns: 88px 1fr; gap: 16px 12px; margin-top: 20px; font-size: 15px; }
.info-card dt { color: var(--muted); }
.info-card dd { color: var(--ink); font-weight: 500; }

/* 联系我们 */
.contact { padding-top: 40px; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 32px; color: #fff; background:
  radial-gradient(420px 300px at 100% 0%, rgba(255, 138, 31, .35), transparent 70%),
  radial-gradient(420px 300px at 0% 100%, rgba(10, 143, 224, .5), transparent 70%),
  var(--navy); }
.contact-card h2 { color: #fff; }
.contact-copy > p:not(.kicker) { margin: 12px 0 28px; color: rgba(255, 255, 255, .78); }
.contact-list { display: grid; gap: 22px; }
.contact-list .feature-ico { --tint: rgba(255, 255, 255, .12); --accent: #fff; }
.contact-list strong { color: #fff; }
.contact-list span:not(.feature-ico), .contact-list a { color: rgba(255, 255, 255, .8) !important; font-size: 15px; }
.contact-list a { overflow-wrap: anywhere; }

/* 页脚 */
.site-footer { background: #f5f8fc; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink); font-weight: 500; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--blue-d); }
.footer-legal .sep { margin: 0 10px; color: #c3ccd9; }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound-code { font-size: 96px; font-weight: 800; line-height: 1; background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { margin: 16px 0 8px; font-size: 28px; color: var(--navy); }
.notfound p:not(.notfound-code) { color: var(--muted); margin-bottom: 28px; }

/* 滚动入场 (仅 JS 可用时启用, 无 JS 内容始终可见) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-inner, .product, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; max-width: 420px; margin: 0 auto; width: 100%; }
  .product { padding: 32px 24px; gap: 32px; }
  .product.flip .product-copy { order: 0; }
  .product-visual { min-height: 340px; }
  .demo { padding: 36px 16px 20px; }
  .browser-body { height: 640px; }
  .contact-card { padding: 36px 24px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11, 27, 51, .3); }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 8px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-window { width: 330px; }
  .float-card { width: 210px; }
  .hero-visual { min-height: 430px; }
  .info-card { padding: 24px 20px; }
  .btn-text { display: none; }
  .addr { margin: 0; }
  .dots { display: none; }
  .demo-status { white-space: normal; width: max-content; max-width: 90%; text-align: center; }
  .info-card dl { grid-template-columns: 76px 1fr; }
  .facts { gap: 16px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-a, .float-b, .float-c, .float-d, .bubble { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
