/* 花序 inflora 官网 · 纯静态版共用样式
   由 claude-design 模板内联样式转写。原则：凡带 :hover / 响应式 / JS 状态的元素，
   其可变属性必须整体放这里（内联样式优先级高于 class，混放会压掉悬停与断点）；
   一次性布局仍留在各页 HTML 的内联 style 里。断点：900 / 700 / 560（对应原模板 w>=900/700/560）。 */

/* ---- 基础（原 <helmet> 段搬运） ---- */
html, body { margin: 0; padding: 0; background: #FAFCFB; color: #1A2E26; font-family: -apple-system, "SF Pro Text", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.7; scroll-behavior: smooth; }
* { box-sizing: border-box; }
a { color: #007AFF; text-decoration: none; }
a:hover { color: #0062CC; }
section { scroll-margin-top: 72px; }
html, body { height: auto; min-height: 100%; }
body { min-height: 100vh; }
img { display: block; max-width: 100%; }

@keyframes leafDrift { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-11.2deg) translateY(-14px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(72px) scale(.96); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

/* ---- 首页顶栏 ---- */
/* 底部描线初始透明，滚动过 4px 后 site.js 加 .scrolled 显出 */
.site-header { border-bottom: 1px solid transparent; transition: border-bottom-color .25s ease; }
.site-header.scrolled { border-bottom-color: rgba(26, 46, 38, .10); }

/* 桌面导航（窄于 900 整组隐藏，换汉堡钮） */
.d-nav { display: flex; gap: clamp(20px, 3vw, 36px); font-size: 15px; font-weight: 600; }
.nav-link { color: #495D55; padding-bottom: 4px; background-image: linear-gradient(#007AFF, #007AFF); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1.5px; transition: background-size .3s cubic-bezier(.16, 1, .3, 1), color .2s ease; }
.nav-link:hover { color: #1A2E26; background-size: 100% 1.5px; }

.btn-pill { background: #1A2E26; color: #fff; font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; transition: background .2s ease; }
.btn-pill:hover { background: #0F1D17; color: #fff; }

/* 汉堡钮（900 以上隐藏；display 归 class 管） */
.m-menu-btn { display: grid; place-items: center; }

/* 移动端菜单（默认收起，site.js 切 .open） */
.m-menu { display: none; }
.m-menu.open { display: grid; }

/* ---- 首页区块 ---- */
/* 特性圆点列表行（f01–f10 反复出现） */
.point-li { display: grid; grid-template-columns: 6px 1fr; gap: 12px; font-size: 15px; }
.point-li > i { width: 6px; height: 6px; border-radius: 50%; background: #007AFF; margin-top: 8px; }
.point-li .pt { display: grid; gap: 2px; }
.point-li b { font-weight: 600; }
.point-li .pd { color: #7C8C86; font-size: 13.5px; line-height: 1.55; }

/* 首屏下载大按钮（箭标悬停右移渐显） */
.dl-btn { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; background: #1A2E26; color: #fff; padding: 12px 22px; border-radius: 14px; min-height: 56px; min-width: 0; transition: background .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease; }
.dl-btn:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(26, 46, 38, .5); }
.dl-btn [data-arrow] { display: inline-block; font-size: 17px; opacity: .75; transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .25s ease; }
.dl-btn:hover [data-arrow] { transform: translateX(6px); opacity: 1; }

/* 植物图库格（悬停轻浮起） */
.plant-cell { aspect-ratio: 1; background: #fff; border-radius: 18px; border: 1px solid rgba(26, 46, 38, .08); padding: 12%; box-shadow: 0 1px 2px rgba(26, 46, 38, .04); transition: transform .25s ease, box-shadow .25s ease; }
.plant-cell:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26, 46, 38, .08); }

/* 操作图标格 */
.op-cell { aspect-ratio: 1; background: #fff; border-radius: 16px; border: 1px solid rgba(26, 46, 38, .08); display: grid; place-items: center; align-content: center; gap: 5px; padding-top: 8px; box-shadow: 0 1px 2px rgba(26, 46, 38, .04); }

/* 收口 CTA 双按钮 */
.cta-btn { display: flex; flex-direction: column; gap: 3px; min-width: 0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 15px clamp(10px, 2.5vw, 22px); color: #F2F7F4; text-decoration: none; text-align: center; transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .2s; }
.cta-btn:hover { background: rgba(255, 255, 255, .13); transform: translateY(-3px); }

/* 回到顶部按钮（滚过 600px 后 site.js 加 .show） */
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #1A2E26; color: #F2F7F4; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 10px 26px -8px rgba(26, 46, 38, .5); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(.16, 1, .3, 1), background .2s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: #22382F; }

/* ---- 首页页脚 ---- */
.footer-link { color: rgba(242, 247, 244, .72); font-size: 14.5px; text-decoration: none; transition: color .2s; }
.footer-link:hover { color: #F2F7F4; }
.icp-link { color: rgba(242, 247, 244, .5); font-size: 12.5px; text-decoration: none; transition: color .2s; }
.icp-link:hover { color: #F2F7F4; }
.footer-grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
.footer-grid .span2 { grid-column: span 2; }

/* 图文配对区块的响应式顺序：桌面按 DOM 序，窄屏图沉到文后（原 imgFirst 绑定） */
.pair-fig { order: 1; }

/* 左列与编号对齐的响应式上移（原 offset03/07/09 绑定；ul 默认外边距一并归零） */
.offset-700 { margin: 0; }
.offset-900 { margin: 0; }

/* ---- 响应式断点 ---- */
@media (min-width: 560px) {
  .footer-grid { gap: 24px; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-grid .span2 { grid-column: auto; }
}
@media (min-width: 700px) {
  .offset-700 { margin: calc(clamp(44px, 5vw, 64px) + 14px) 0 0; }
}
@media (min-width: 900px) {
  .pair-fig { order: 0; }
  .offset-900 { margin: calc(clamp(44px, 5vw, 64px) + 14px) 0 0; }
  .m-menu-btn { display: none; }
}
@media (max-width: 899.98px) {
  .d-nav, .d-dl { display: none; }
}

/* ---- 法务页 ---- */
.legal-link { color: #495D55; font-weight: 600; transition: color .2s ease; }
.legal-link:hover { color: #1A2E26; }
.legal-card { background: #fff; border: 1px solid rgba(26, 46, 38, .10); border-radius: 16px; padding: 18px 20px; }
