/* ===== Design tokens ===== */
:root {
    --color-brand: #0d7a5f;
    --color-brand-dark: #065a46;
    --color-brand-light: #e8f5f0;
    --color-accent: #0ea5e9;
    --color-bg: #f8fafb;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-hero-bg: #041f18;
    --color-hero-text: #ecfdf5;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    /* 优化中文字体 */
    --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    --header-h: 72px;
    --container-max: 1120px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* 排版系统 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --leading-tight: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: var(--leading-normal);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--color-brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-brand-dark);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 32px);
    box-sizing: border-box;
}

.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;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--color-brand);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-border);
}

.site-header.is-scrolled .site-nav a {
    color: var(--color-text);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active {
    color: var(--color-brand);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: min(200px, 42vw);
    object-fit: contain;
    object-position: left center;
    /* 原站 footerlogo：深色首屏反白，滚动后白底显示深色 */
    filter: brightness(0) invert(1);
    transition: filter 0.3s var(--ease);
}

.site-header.is-scrolled .brand-logo {
    filter: brightness(0);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #fff;
}

.nav-cta {
    padding: 8px 18px;
    background: var(--color-brand);
    color: #fff !important;
    border-radius: 999px;
}

.nav-cta:hover {
    background: var(--color-brand-dark);
    color: #fff !important;
}

.site-header.is-scrolled .nav-cta {
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.site-header.is-scrolled .nav-toggle-bar {
    background: var(--color-text);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons - 可点击操作，明显区别于 Tag ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    /* 按钮必须明确可点击 */
    pointer-events: auto;
    user-select: none;
    letter-spacing: 0.01em;
    position: relative;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 122, 95, 0.35);
}

.btn-primary:hover {
    background: var(--color-brand-dark);
    color: #fff;
    box-shadow: 0 6px 20px rgba(13, 122, 95, 0.4);
}

.btn-primary::after {
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: var(--color-brand-light);
    color: var(--color-brand-dark);
    border-color: rgba(13, 122, 95, 0.2);
}

.btn-secondary:hover {
    background: #d1ebe3;
    color: var(--color-brand-dark);
    border-color: rgba(13, 122, 95, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* 卡片内使用的 outline 按钮 */
.product-body .btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.product-body .btn-outline:hover {
    background: var(--color-brand-light);
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.875rem;
}

/* 按钮组：独立官网 + 下载按钮 */
.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-group .btn {
    margin-bottom: 0;
}

/* 独立官网链接按钮 */
.link-btn {
    margin-bottom: 16px;
    align-self: flex-start;
}

.link-btn::before {
    content: "🌐";
    margin-right: 6px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 32px) 0 48px;
    background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(14, 165, 233, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(13, 122, 95, 0.25), transparent),
        var(--color-hero-bg);
    color: var(--color-hero-text);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 20%, transparent 90%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
    padding: 4px 12px;
    background: var(--color-brand-light);
    border-radius: 999px;
}

/* Hero 深色背景上的 eyebrow 用浅色 */
.hero .eyebrow {
    color: #6ee7b7;
    background: rgba(110, 231, 183, 0.12);
}

.hero h1 {
    margin: 0 0 16px;
    font-size: 2rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero h1 span {
    display: block;
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.72em;
    color: rgba(236, 253, 245, 0.75);
}

.hero-lead {
    margin: 0 0 28px;
    max-width: 52ch;
    color: rgba(236, 253, 245, 0.8);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-chips li {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(236, 253, 245, 0.9);
}

.hero-panel {
    display: flex;
    align-items: stretch;
}

.hero-panel-inner {
    width: 100%;
    padding: 28px 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.hero-panel-title {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.hero-panel-inner ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-panel-inner li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    color: rgba(236, 253, 245, 0.88);
}

.hero-panel-inner li:last-child {
    border-bottom: none;
}

.hero-panel-inner li span {
    display: inline-block;
    min-width: 4.5em;
    margin-right: 8px;
    font-weight: 600;
    color: #6ee7b7;
}

.hero-panel-foot {
    margin: 18px 0 0;
    font-size: 0.85rem;
    color: rgba(236, 253, 245, 0.6);
}

.notice-bar {
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
}

.notice-inner p {
    margin: 0;
    padding: 14px 0;
    font-size: 0.92rem;
    color: #78350f;
    line-height: 1.6;
}

.notice-inner a {
    color: #b45309;
    font-weight: 600;
}

/* ===== Trust strip ===== */
.trust-strip {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0 64px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 36px 44px !important;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 122, 95, 0.08);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--color-brand-light), #d1fae5);
    border-radius: var(--radius-md);
    color: var(--color-brand);
    box-shadow: 0 4px 12px rgba(13, 122, 95, 0.15);
}

.trust-icon svg {
    width: 34px;
    height: 34px;
}

.trust-item h2 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: var(--leading-tight);
}

.trust-item p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: var(--leading-relaxed);
    max-width: 34ch;
}

/* ===== Sections ===== */
.section {
    padding: 48px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: var(--leading-tight);
}

.section-head h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light));
    margin-top: 14px;
    border-radius: 2px;
}

.section-desc {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: var(--leading-normal);
}

/* ===== Featured ===== */
.featured {
    background: var(--color-bg);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== Product cards ===== */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

/* hover 动效见 effects.css .fx-card */

.product-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px;
    min-height: 140px;
    color: #fff;
}

.product-visual--photo {
    position: relative;
    padding: 20px;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2f6 55%, #e8edf3 100%);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card--featured .product-visual--photo {
    aspect-ratio: 4 / 3;
}

.product-visual--photo picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.product-visual--photo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.product-visual--thumb {
    aspect-ratio: 1;
    padding: 18px;
}

.product-catalog .product-visual--thumb {
    aspect-ratio: 1;
    padding: 16px;
}

.product-card--featured .product-visual {
    min-height: 180px;
}

.visual-emerald {
    background: linear-gradient(145deg, #0d7a5f, #10b981);
}

.visual-teal {
    background: linear-gradient(145deg, #0f766e, #14b8a6);
}

.visual-blue {
    background: linear-gradient(145deg, #1d4ed8, #3b82f6);
}

.visual-indigo {
    background: linear-gradient(145deg, #4338ca, #6366f1);
}

.visual-amber {
    background: linear-gradient(145deg, #b45309, #f59e0b);
}

.visual-violet {
    background: linear-gradient(145deg, #6d28d9, #8b5cf6);
}

.visual-slate {
    background: linear-gradient(145deg, #334155, #64748b);
}

.product-icon {
    width: 44px;
    height: 44px;
    opacity: 0.95;
}

.product-visual-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

.product-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
}

/* ===== 产品标签 (Tag) - 信息标记，非可点击 ===== */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 4px;
    background: rgba(13, 122, 95, 0.08);
    color: var(--color-brand-dark);
    border: 1px dashed rgba(13, 122, 95, 0.3);
    letter-spacing: 0.01em;
    /* 明确非可点击 */
    pointer-events: none;
    user-select: none;
}

/* OS 平台标签 - 稍醒目但仍为信息标记 */
.tag-os {
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    border: 1px solid rgba(14, 165, 233, 0.25);
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    background: var(--color-brand-light);
    color: var(--color-brand-dark);
    /* 明确非可点击 */
    pointer-events: none;
    user-select: none;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    /* 明确非可点击 */
    pointer-events: none;
    user-select: none;
}

.badge-hot {
    background: #fef3c7;
    color: #b45309;
}

.product-body h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
}

.product-subtitle {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: var(--leading-normal);
}

.product-tagline {
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: var(--leading-normal);
    font-weight: 500;
}

/* 查看完整介绍（悬停/聚焦显示 tip） */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    margin-bottom: 16px;
    background: transparent;
    border: none;
    border-bottom: 1px dashed transparent;
    color: var(--color-brand);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: help;
    transition: color 0.2s, border-color 0.2s;
}

.btn-more::before {
    content: "ℹ";
    font-size: 0.8rem;
    opacity: 0.85;
}

.btn-more:hover,
.btn-more:focus-visible,
.btn-more.is-tip-active {
    color: var(--color-brand-dark);
    border-bottom-color: var(--color-brand);
    outline: none;
}

.desc-tip {
    position: fixed;
    z-index: 1100;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 16px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.desc-tip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desc-tip[data-placement="top"] {
    transform: translateY(-6px);
}

.desc-tip[data-placement="top"].is-visible {
    transform: translateY(0);
}

.desc-tip::after {
    content: "";
    position: absolute;
    left: var(--tip-arrow-left, 24px);
    width: 12px;
    height: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.desc-tip[data-placement="bottom"]::after {
    top: -7px;
    border-bottom: none;
    border-right: none;
}

.desc-tip[data-placement="top"]::after {
    bottom: -7px;
    border-top: none;
    border-left: none;
}

.desc-tip-title {
    margin: 0 0 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: var(--leading-normal);
}

.desc-tip-text {
    margin: 0;
    font-size: 0.84rem;
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.feature-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 6px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: var(--leading-normal);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-brand);
    font-weight: 700;
}

.feature-list--compact li {
    font-size: 0.85rem;
}

.product-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== Product catalog ===== */
.products {
    background: var(--color-surface);
}

.product-catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.product-catalog .product-card {
    flex-direction: column;
}

.product-catalog .product-body {
    padding: 20px 22px 22px;
}

.product-catalog .product-body h3 {
    font-size: 1.05rem;
}

.product-catalog .product-tagline {
    font-size: 0.86rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-catalog .feature-list {
    margin-bottom: 14px;
}

.product-catalog .btn-more {
    margin-bottom: 12px;
}

.custom-dev-banner {
    margin-top: 48px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand));
    border-radius: var(--radius-lg);
    color: #fff;
}

.custom-dev-banner h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.custom-dev-banner p {
    margin: 0;
    opacity: 0.9;
    max-width: 52ch;
}

.custom-dev-banner .btn-primary {
    background: #fff;
    color: var(--color-brand-dark);
    box-shadow: none;
    flex-shrink: 0;
}

.custom-dev-banner .btn-primary:hover {
    background: var(--color-brand-light);
}

/* ===== About & FAQ Cards ===== */
.about-faq {
    background: linear-gradient(180deg, var(--color-bg) 0%, #f1f5f9 100%);
    padding: 64px 0;
}

.about-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}

/* 通用信息卡片 */
.info-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, var(--color-brand-light), rgba(14, 165, 233, 0.05));
    border-bottom: 1px solid var(--color-border);
}

.info-card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--color-brand);
    color: #fff;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(13, 122, 95, 0.3);
}

.info-card-icon svg {
    width: 26px;
    height: 26px;
}

.info-card-header .eyebrow {
    margin: 0 0 6px;
    font-size: 0.75rem;
    color: var(--color-brand);
}

.info-card-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: var(--leading-tight);
}

/* 关于我们卡片 */
.about-card .info-card-body {
    padding: 24px 28px;
}

.about-card .info-card-body p {
    margin: 0 0 16px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: var(--leading-relaxed);
}

.about-card .info-card-body p:last-child {
    margin-bottom: 0;
}

.about-lead {
    font-size: 1.05rem !important;
    color: var(--color-text) !important;
    font-weight: 500;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-md);
    margin-top: 20px;
    border: 1px solid rgba(180, 83, 9, 0.15);
}

.about-highlight svg {
    flex-shrink: 0;
    color: #b45309;
    margin-top: 2px;
}

.about-highlight span {
    font-size: 0.9rem;
    color: #78350f;
    line-height: var(--leading-normal);
}

.info-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brand);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--color-brand-dark);
}

.contact-link svg {
    color: var(--color-brand);
}

.beian-link {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.beian-link:hover {
    color: var(--color-brand);
}

/* FAQ 卡片 */
.faq-card .faq-list {
    padding: 20px 24px;
}

.faq-card .faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    background: var(--color-bg);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-card .faq-item:hover {
    border-color: rgba(13, 122, 95, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-card .faq-item:last-child {
    margin-bottom: 0;
}

.faq-card .faq-item summary {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    color: var(--color-text);
    transition: color 0.2s, background 0.2s;
}

.faq-card .faq-item summary:hover {
    background: rgba(13, 122, 95, 0.03);
    color: var(--color-brand);
}

.faq-card .faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-card .faq-item summary::after {
    content: "+";
    float: right;
    font-weight: 400;
    color: var(--color-brand);
    transition: transform 0.2s;
}

.faq-card .faq-item[open] summary::after {
    content: "−";
}

.faq-card .faq-item p {
    margin: 0;
    padding: 0 18px 14px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: var(--leading-normal);
}

/* ===== Contact ===== */
.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 48px 52px;
    background: linear-gradient(135deg, #041f18, #0d7a5f);
    border-radius: var(--radius-lg);
    color: #ecfdf5;
}

.contact-card .eyebrow {
    color: #6ee7b7;
}

.contact-card h2 {
    margin: 0 0 10px;
    font-size: 1.75rem;
}

.contact-card p {
    margin: 0;
    opacity: 0.85;
}

.contact-phone {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.contact-phone:hover {
    color: #a7f3d0;
}

.contact-note {
    margin: 6px 0 16px !important;
    font-size: 0.9rem;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--color-brand);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(13, 122, 95, 0.35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--color-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 122, 95, 0.45);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* ===== Footer ===== */
.site-footer {
    background: #0b1220;
    color: #94a3b8;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin: 8px 0 0;
    font-size: 0.9rem;
    max-width: 28ch;
}

.footer-tagline {
    color: #64748b !important;
    font-size: 0.85rem !important;
}

.noscript-catalog {
    margin-top: 24px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.noscript-catalog ul {
    margin: 12px 0 0;
    padding-left: 1.2em;
}

.footer-logo {
    display: block;
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-links h3 {
    margin: 0 0 14px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e2e8f0;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 28px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
}

.modal-close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.modal-title {
    margin: 0 32px 12px 0;
    font-size: 1.25rem;
    padding-right: 24px;
}

.modal-lead {
    margin: 0 0 18px;
    font-size: 0.9rem;
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.modal-lead a {
    color: var(--color-brand);
    font-weight: 600;
}

.modal-subtitle {
    margin: 20px 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-brand-dark);
}

.modal-subtitle:first-of-type {
    margin-top: 0;
}

.download-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.download-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.download-list li:last-child {
    border-bottom: none;
}

.dl-label {
    min-width: 72px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.download-list a {
    display: inline-flex;
    padding: 8px 16px;
    background: var(--color-brand);
    color: #fff !important;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.download-list a:hover {
    background: var(--color-brand-dark);
    color: #fff !important;
}

.modal-note {
    margin: 16px 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.modal--image {
    padding: 0;
}

.modal--image .modal-image {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 94vw;
    max-height: 85vh;
    margin: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.modal-close--image {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-panel {
        max-width: 100%;
        margin: 0;
    }

    .hero-actions {
        margin-bottom: 20px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-card-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s var(--ease), opacity 0.3s;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        color: var(--color-text) !important;
        padding: 14px 12px;
        border-radius: var(--radius-sm);
    }

    .site-nav a:hover {
        background: var(--color-bg);
    }

    .product-catalog {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-catalog .product-visual--thumb {
        aspect-ratio: 4 / 3;
        padding: 14px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* 卡片式布局移动端适配 */
    .info-card-header {
        padding: 20px 20px 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .info-card-icon {
        width: 48px;
        height: 48px;
    }

    .about-card .info-card-body {
        padding: 20px;
    }

    .about-highlight {
        padding: 14px 16px;
    }

    .info-card-footer {
        flex-direction: column;
        align-items: center;
        padding: 16px 20px;
        text-align: center;
    }

    .faq-card .faq-list {
        padding: 16px 20px;
    }

    .faq-card .faq-item summary {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .faq-card .faq-item p {
        padding: 0 16px 12px;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
