/* ================================================
   oneCMS - 前台主样式
   Design: 欧美科技风 / International / Modern
   ================================================ */

/* ---- Font Stack（系统字体，无需外网） ---- */
/* 完全不依赖 Google Fonts，使用跨平台系统字体覆盖 Win/Mac/Linux/iOS/Android */

/* ---- CSS Variables ---- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-dark: #0891b2;

    --bg: #0a0a0f;
    --bg-card: #111118;
    --bg-elevated: #16161f;
    --bg-hover: #1c1c28;
    --bg-border: #1e1e2e;

    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #0d0d1a 100%);
    --gradient-glow: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;

    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* 系统字体栈：Inter/Space Grotesk 风格，完全本地，无外网依赖 */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',
                 Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI Semibold',
                    'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas',
                 'Source Code Pro', monospace;

    --header-h: 72px;
    --container-w: 1200px;
    --transition: 0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Antialiased ---- */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ================================================
   HEADER
   ================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 200;
    transition: background var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 40px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 50px; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-one { color: var(--primary); }
.logo-cms { color: var(--text); }

/* PC Nav */
.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 14px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-hover); }

/* PC Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all 0.15s ease;
    box-shadow: var(--shadow);
    z-index: 210;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block; padding: 10px 14px;
    font-size: 0.875rem; color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.dropdown-menu a:hover { color: var(--text); background: var(--bg-hover); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }

/* 汉堡按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    padding: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: background var(--transition);
    position: relative;
}
.menu-toggle:hover { background: var(--bg-hover); }
.menu-toggle .bar {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 50%; transform: translateX(-50%);
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-toggle .bar-top { top: 12px; }
.menu-toggle .bar-mid { top: 19px; }
.menu-toggle .bar-bot { top: 26px; }

/* 汉堡 → X 变形动画 */
.menu-toggle.active .bar-top { top: 19px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle.active .bar-mid { opacity: 0; transform: translateX(-50%) scaleX(0); }
.menu-toggle.active .bar-bot { top: 19px; transform: translateX(-50%) rotate(-45deg); }

/* ================================================
   MOBILE OVERLAY
   ================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ================================================
   MOBILE DRAWER
   ================================================ */
.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 88vw);
    height: 100%;
    z-index: 300;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open {
    transform: translateX(0);
}

/* 抽屉头部 */
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: var(--header-h);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.drawer-close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: background var(--transition), color var(--transition);
}
.drawer-close:hover { background: var(--bg-hover); color: var(--text); }

/* 抽屉菜单列表 */
.drawer-nav {
    flex: 1;
    padding: 12px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* 普通链接 */
a.drawer-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
a.drawer-link:hover { background: var(--bg-hover); color: var(--text); }

/* 有子菜单的触发按钮 */
button.drawer-toggle-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    font-family: var(--font-sans);
    text-align: left;
}
button.drawer-toggle-sub:hover { background: var(--bg-hover); color: var(--text); }
button.drawer-toggle-sub[aria-expanded="true"] { color: var(--text); background: rgba(99,102,241,0.08); }

/* 子菜单箭头旋转 */
.sub-arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
button.drawer-toggle-sub[aria-expanded="true"] .sub-arrow {
    transform: rotate(180deg);
}

/* 子菜单容器（折叠动画） */
.drawer-sub {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.drawer-sub.expanded {
    max-height: 600px; /* 足够大的值 */
}

/* 子菜单链接 */
.drawer-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
    position: relative;
}
.drawer-sub-link::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
    flex-shrink: 0;
}
.drawer-sub-link:hover { background: var(--bg-hover); color: var(--text); }
.drawer-sub-link:hover::before { opacity: 1; }

/* 分隔线 */
.drawer-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 16px;
}

/* 抽屉底部 CTA */
.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.drawer-footer .btn { margin-bottom: 10px; }
.drawer-footer-tip {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* body 锁定滚动 */
body.drawer-open {
    overflow: hidden;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem; font-weight: 500; font-family: var(--font-sans);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap; cursor: pointer;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5); }
.btn-outline {
    border: 1px solid var(--border-hover);
    color: var(--text);
    background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(99,102,241,0.08); }
.btn-sm { padding: 7px 16px; font-size: 0.825rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 80px) 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px; height: 400px;
    top: -100px; left: 50%;
    transform: translateX(-60%);
    background: radial-gradient(ellipse, rgba(99,102,241,0.25), transparent 70%);
}
.hero-glow-2 {
    width: 400px; height: 300px;
    top: 30%; right: -100px;
    background: radial-gradient(ellipse, rgba(6,182,212,0.2), transparent 70%);
}
.hero .container {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 50px;
    font-size: 0.8rem; font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.05rem; color: var(--text-secondary);
    line-height: 1.75; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-card-main { width: 100%; max-width: 420px; }
.card-header {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.card-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.card-title { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }
.card-code { padding: 20px; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.8; }
.code-line { white-space: pre; }
.code-indent { padding-left: 20px; }
.code-blank { height: 0.5em; }
.code-keyword { color: #c792ea; }
.code-func { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-key { color: #f07178; }
.code-bool { color: #ff9cac; }
.code-cursor { color: var(--primary); animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-card-stat {
    position: absolute; bottom: -20px; right: -20px;
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.float-icon { font-size: 1.5rem; }
.float-value { font-weight: 700; font-size: 1rem; }
.float-label { font-size: 0.75rem; color: var(--text-muted); }

/* ================================================
   SECTIONS
   ================================================ */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-card); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 50px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700; letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 48px; }

/* ================================================
   SERVICES
   ================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-card.featured {
    border-color: rgba(99,102,241,0.4);
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.05));
}
.service-badge {
    position: absolute; top: 16px; right: 16px;
    padding: 3px 10px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.72rem; font-weight: 600; color: white;
}
.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.service-icon-blue { background: rgba(99,102,241,0.15); color: var(--primary); }
.service-icon-purple { background: rgba(167,139,250,0.15); color: #a78bfa; }
.service-icon-cyan { background: rgba(6,182,212,0.15); color: var(--accent); }
.service-icon-green { background: rgba(34,197,94,0.15); color: #22c55e; }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.service-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.service-link { font-size: 0.875rem; color: var(--primary); font-weight: 500; transition: var(--transition); }
.service-link:hover { color: var(--primary-light); }

/* ================================================
   PRODUCTS GRID
   ================================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.product-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-cover { aspect-ratio: 16/9; overflow: hidden; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-cover img { transform: scale(1.05); }
.product-body { padding: 24px; }
.product-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.product-summary { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }

/* ================================================
   ARTICLES GRID
   ================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.article-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.article-cover { display: block; aspect-ratio: 16/9; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-cover img { transform: scale(1.05); }
.article-body { padding: 20px; }
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.article-category {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
    color: var(--primary); text-transform: uppercase;
}
.article-date { font-size: 0.75rem; color: var(--text-muted); }
.article-title { font-size: 0.95rem; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.article-title a:hover { color: var(--primary); }
.article-summary { font-size: 0.825rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }
.article-footer { display: flex; align-items: center; justify-content: space-between; }
.article-views { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--text-muted); }
.read-more { font-size: 0.825rem; color: var(--primary); font-weight: 500; }
.read-more:hover { color: var(--primary-light); }

/* ================================================
   INQUIRY FORM
   ================================================ */
.inquiry-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.inquiry-info { padding-top: 12px; }
.inquiry-info p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 28px; margin-top: 16px; }
.inquiry-features { display: flex; flex-direction: column; gap: 14px; }
.inquiry-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.inquiry-features li svg { color: #22c55e; flex-shrink: 0; }
.inquiry-form-wrap {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.inquiry-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-group .required { color: #f87171; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem; font-family: var(--font-sans);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.form-group select option { background: var(--bg-elevated); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Form states */
.form-group input.error,
.form-group textarea.error { border-color: #f87171; }
.form-error-msg { font-size: 0.78rem; color: #f87171; margin-top: 4px; display: none; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding-top: 64px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 12px;
}
.footer-slogan { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.footer-desc { font-size: 0.825rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all var(--transition);
}
.social-link:hover { border-color: var(--primary); color: var(--primary); }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--text-muted); }
.contact-list a:hover { color: var(--text); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.copyright, .beian { font-size: 0.8rem; color: var(--text-muted); }
.beian a:hover { color: var(--text-secondary); }

/* ================================================
   ARTICLE PAGE
   ================================================ */
.article-hero {
    padding: calc(var(--header-h) + 48px) 0 48px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.article-hero .container { max-width: 800px; }
.article-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.article-breadcrumb a:hover { color: var(--text); }
.article-page-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.article-page-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.825rem; color: var(--text-muted); }
.article-content-wrap { padding: 64px 0; }
.article-content-wrap .container { max-width: 800px; display: grid; grid-template-columns: 1fr 240px; gap: 48px; align-items: start; }
.article-body { min-width: 0; }
.prose { color: var(--text-secondary); line-height: 1.85; font-size: 1.0rem; }
.prose h1,.prose h2,.prose h3,.prose h4 { color: var(--text); font-family: var(--font-display); margin: 2em 0 0.75em; line-height: 1.35; }
.prose h1 { font-size: 2rem; padding-bottom: 0.5em; border-bottom: 1px solid var(--border); }
.prose h2 { font-size: 1.5rem; padding-bottom: 0.5em; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.2rem; }
.prose h4 { font-size: 1.05rem; }
.prose p { margin-bottom: 1.25em; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(99,102,241,0.4); }
.prose a:hover { color: var(--primary-light); }
.prose code { font-family: var(--font-mono); font-size: 0.875em; background: var(--bg-elevated); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; color: #c3e88d; }
.prose pre { background: #0d1117; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; overflow-x: auto; margin: 1.5em 0; }
.prose pre code { background: none; border: none; padding: 0; font-size: 0.875rem; color: #e6edf3; }
.prose img { max-width: 100%; border-radius: var(--radius); margin: 1.5em 0; display: block; }
.prose blockquote { border-left: 3px solid var(--primary); padding: 0.5em 0 0.5em 20px; margin: 1.5em 0; color: var(--text-secondary); font-style: italic; background: rgba(99,102,241,0.05); border-radius: 0 4px 4px 0; }
.prose ul,.prose ol { margin: 1em 0 1.25em 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose ul li { list-style-type: disc; }
.prose ol li { list-style-type: decimal; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th,.prose td { padding: 10px 16px; border: 1px solid var(--border); }
.prose th { background: var(--bg-elevated); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
.prose del,.prose s { opacity: 0.6; text-decoration: line-through; }
.prose input[type="checkbox"] { margin-right: 6px; accent-color: var(--primary); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text-secondary); }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.toc-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.toc-list { display: flex; flex-direction: column; gap: 6px; }
.toc-list a { font-size: 0.825rem; color: var(--text-muted); padding: 4px 8px; border-radius: 4px; transition: all var(--transition); border-left: 2px solid transparent; }
.toc-list a:hover,.toc-list a.active { color: var(--text); border-left-color: var(--primary); background: rgba(99,102,241,0.08); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .inquiry-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* 隐藏 PC 导航 & CTA，显示汉堡按钮 */
    .main-nav { display: none; }
    .nav-cta-pc { display: none; }
    .menu-toggle { display: flex; }

    .services-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .article-content-wrap .container { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .products-grid { grid-template-columns: 1fr; }
}

/* ================================================
   FLOATING ACTION BUTTONS
   ================================================ */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* 滚动超过一屏后显示 */
.floating-actions.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.fab-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45), 0 4px 8px rgba(0, 0, 0, 0.25);
}

.fab-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.fab-btn svg {
    width: 20px;
    height: 20px;
}

/* 联系我们按钮 - 不同渐变 */
.fab-contact {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .floating-actions {
        right: 16px;
        bottom: 80px;
        gap: 10px;
    }

    .fab-btn {
        width: 44px;
        height: 44px;
    }

    .fab-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* 避免与底部内容重叠 */
@media (max-height: 600px) {
    .floating-actions {
        bottom: 60px;
    }
}

/* ================================================
   UTILS
   ================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.badge-blue { background: rgba(99,102,241,0.1); color: var(--primary-light); }

/* ================================================
   PAGE TRANSITIONS
   ================================================ */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ================================================
   TOAST NOTIFICATION
   ================================================ */
.toast {
    position: fixed; bottom: 24px; right: 24px;
    padding: 14px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(100px); opacity: 0;
    transition: all 0.3s ease;
    max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(34,197,94,0.4); }
.toast.error { border-color: rgba(248,113,113,0.4); }

/* ================================================
   PAGE HERO（内页顶部横幅）
   ================================================ */
.page-hero {
    padding: 100px 0 0px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(99,102,241,.15), transparent);
    pointer-events: none;
}
.page-hero-content { text-align: center; position: relative; }
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 16px 0 20px;
    color: var(--text);
}
.page-hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================================================
   BREADCRUMB
   ================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: var(--text-muted); }

/* ================================================
   BLOG LIST PAGE
   ================================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) {
    .blog-layout { grid-template-columns: 1fr; }
}
.articles-list { display: flex; flex-direction: column; gap: 32px; }
.article-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.article-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
@media (max-width: 640px) { .article-item { grid-template-columns: 1fr; } }
.article-item-cover { display: block; overflow: hidden; }
.article-item-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; transition: transform 0.4s ease; }
.article-item:hover .article-item-cover img { transform: scale(1.04); }
/* 有封面时：左侧 body 不需要 padding-left（封面占 240px 列）；无封面时 body 成为首列，需要左 padding */
.article-item-body { padding: 28px 28px 28px 0; }
/* 无封面图时：article-item 只有一列，body 成为第一个子元素，需加左 padding */
.article-item .article-item-body:first-child { padding-left: 28px; }
@media (max-width: 640px) { .article-item-body { padding: 20px; } }
.article-item-title { font-size: 1.2rem; font-weight: 600; margin: 10px 0 12px; line-height: 1.5; }
.article-item-title a { color: var(--text); text-decoration: none; }
.article-item-title a:hover { color: var(--primary-light); }
.article-item-summary { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 16px; }

/* Sidebar */
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.widget-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.category-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.category-list li a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--transition);
}
.category-list li a:hover,
.category-list li.active a {
    background: rgba(99,102,241,.12);
    color: var(--primary-light);
}
.related-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.related-list li a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.5;
    display: block;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}
.related-list li a:hover { color: var(--primary-light); }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.page-btn {
    padding: 8px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.page-info { font-size: 0.85rem; color: var(--text-muted); }

/* ================================================
   ARTICLE DETAIL PAGE
   ================================================ */
.article-detail-page {}
.article-detail-header {
    padding: 100px 0 48px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.article-detail-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(99,102,241,.12), transparent);
    pointer-events: none;
}
.article-detail-header .breadcrumb { position: relative; }
.article-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 20px 0 24px;
    color: var(--text);
    position: relative;
}
.article-detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; }
.article-detail-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) { .article-detail-layout { grid-template-columns: 1fr; } }
.article-detail-content {}
.article-detail-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}
.article-detail-cover img { width: 100%; max-height: 480px; object-fit: cover; }

/* Prose 文章内容 */
.prose {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1rem;
}
.prose h1,.prose h2,.prose h3,.prose h4 {
    color: var(--text);
    font-family: var(--font-display);
    margin: 2em 0 0.8em;
    font-weight: 600;
}
.prose h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.prose h3 { font-size: 1.2rem; }
.prose p { margin-bottom: 1.4em; }
.prose a { color: var(--primary-light); }
.prose code {
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 0.875em;
    color: var(--primary-light);
}
.prose pre {
    /* 代码高亮 CSS 会处理 pre 的背景色和字体，这里只保留布局 */
    margin: 1.5em 0;
    overflow-x: auto;
}
.prose pre code { background: none; border: none; padding: 0; }
.prose img { max-width: 100%; border-radius: var(--radius); margin: 1.5em 0; display: block; }
.prose ul,.prose ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.prose ul li { list-style-type: disc; }
.prose ol li { list-style-type: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
.prose del,.prose s { opacity: 0.6; text-decoration: line-through; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
    border-left: 3px solid var(--primary);
    background: rgba(99,102,241,.05);
    padding: 16px 20px;
    margin: 1.5em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}

/* ---- Article Tags ---- */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.article-tags-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 4px;
    flex-shrink: 0;
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    color: var(--primary-light);
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}
.tag-chip:hover {
    background: rgba(99,102,241,.2);
    border-color: rgba(99,102,241,.5);
    color: #fff;
    transform: translateY(-1px);
}
.tag-chip-lg {
    padding: 6px 18px;
    font-size: 0.85rem;
}

/* ---- Tag Page ---- */
.tag-hero {
    padding: 80px 0 48px;
    text-align: center;
}
.tag-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.25);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.tag-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.tag-hero-title .tag-name-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tag-hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Article prev/next nav */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } }
.article-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color var(--transition);
}
.article-nav-item:hover { border-color: var(--primary); }
.article-nav-next { text-align: right; }
.nav-label { font-size: 0.75rem; color: var(--text-muted); }
.nav-title { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; }

/* ================================================
   PRODUCT LIST PAGE
   ================================================ */
.products-grid-full { display: flex; flex-direction: column; gap: 32px; }
.product-card-lg {
    display: grid;
    grid-template-columns: 360px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.product-card-lg:hover { border-color: var(--border-hover); transform: translateY(-2px); }
@media (max-width: 768px) { .product-card-lg { grid-template-columns: 1fr; } }
.product-cover-lg { display: block; overflow: hidden; }
.product-cover-lg img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; transition: transform 0.4s ease; }
.product-card-lg:hover .product-cover-lg img { transform: scale(1.04); }
.product-body-lg { padding: 36px; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.product-name-lg { font-size: 1.4rem; font-weight: 600; }
.product-name-lg a { color: var(--text); text-decoration: none; }
.product-name-lg a:hover { color: var(--primary-light); }
.product-price { text-align: right; white-space: nowrap; }
.price-label { display: block; font-size: 0.75rem; color: var(--text-muted); }
.price-value { font-size: 1.2rem; font-weight: 700; color: var(--primary-light); }
.product-summary-lg { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.product-features li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-secondary); }
.product-features li svg { color: var(--accent); flex-shrink: 0; }
.product-actions { display: flex; gap: 12px; }

/* 产品列表页布局（复用 blog-layout，product-main 同 blog-main 无需额外样式）*/
/* 推荐产品徽章 */
.product-recommend-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    vertical-align: middle;
}
/* 产品所属分类标签 */
.product-category-tag {
    margin-bottom: 10px;
}
.product-category-tag a {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--primary-light);
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 4px;
    padding: 2px 10px;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.product-category-tag a:hover {
    background: rgba(99,102,241,0.12);
}

/* PRODUCT DETAIL */
.product-detail-hero {
    padding: 100px 0 60px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.product-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(99,102,241,.12), transparent);
    pointer-events: none;
}
.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    position: relative;
}
@media (max-width: 768px) { .product-detail-header { grid-template-columns: 1fr; } }
.product-detail-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.product-detail-summary { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; }
.product-detail-price { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 28px; }
.product-detail-price strong { font-size: 1.5rem; color: var(--primary-light); }
.product-detail-actions { display: flex; gap: 12px; }
.product-detail-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 768px) { .about-intro { grid-template-columns: 1fr; } }
.about-text {}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-stats { display: flex; gap: 32px; margin-top: 32px; }
.about-stat { text-align: center; }
.about-stat .stat-number { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.about-stat .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; display: block; }
.about-visual { display: flex; flex-direction: column; gap: 20px; }
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition);
}
.about-card:hover { border-color: var(--primary); }
.about-card-icon { color: var(--primary-light); margin-bottom: 16px; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.about-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* CTA Section */
.cta-section {}
.cta-inner { text-align: center; padding: 80px 0; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.cta-inner p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
    width: 44px; height: 44px;
    background: rgba(99,102,241,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}
.contact-item-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-item-value { font-size: 0.95rem; color: var(--text); text-decoration: none; }
a.contact-item-value:hover { color: var(--primary-light); }
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

/* ================================================
   ERROR PAGE
   ================================================ */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-inner { text-align: center; max-width: 480px; margin: 0 auto; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 10rem); font-weight: 800; line-height: 1; margin-bottom: 16px; }
.error-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.error-desc { color: var(--text-secondary); margin-bottom: 32px; }
.error-actions { display: flex; gap: 12px; justify-content: center; }

/* ================================================
   EMPTY STATE
   ================================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state svg { margin-bottom: 20px; opacity: 0.4; }
.empty-state p { font-size: 1rem; margin-bottom: 24px; }

/* ================================================
   ABOUT PAGE v2 — 精美改版
   ================================================ */

/* ---- Hero ---- */
.about-hero { position: relative; min-height: 560px; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.about-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-content { text-align: center; margin-bottom: 60px; }
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.65) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}
.about-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 0;
    backdrop-filter: blur(12px);
    max-width: 700px;
    margin: 0 auto;
}
.hero-stat-item { flex: 1; text-align: center; padding: 0 24px; }
.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1.1;
}
.stat-plus { font-size: .6em; vertical-align: super; }
.hero-stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; letter-spacing: .05em; text-transform: uppercase; }
.hero-stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* ---- Story Section ---- */
.about-story-section { padding-top: 100px; padding-bottom: 100px; }
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
@media (max-width: 900px) { .about-story-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-story-text .section-tag { margin-bottom: 16px; }
.about-story-text .section-title { margin-bottom: 24px; }
.about-story-p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 1.02rem;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tech-badge {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    color: var(--primary-light);
    letter-spacing: .04em;
    transition: background .2s, transform .2s;
}
.tech-badge:hover { background: rgba(99,102,241,.2); transform: translateY(-2px); }

/* Story Visual */
.about-story-visual { position: relative; display: flex; justify-content: center; }
.story-code-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
    position: relative;
    z-index: 1;
}
.story-code-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99,102,241,.3), rgba(6,182,212,.2), transparent);
    z-index: -1;
}
.story-code-card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid var(--border);
}
.card-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.card-title { font-size: 0.8rem; color: var(--text-muted); margin-left: 8px; font-family: var(--font-mono); }
.card-code { padding: 20px 22px; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.8; }
.code-line { white-space: pre; }
.code-indent { padding-left: 1.4em; }
.code-indent2 { padding-left: 2.8em; }
.code-keyword { color: #c792ea; }
.code-key { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-bool { color: #f78c6c; }
.code-func { color: #82aaff; }
.code-blank { height: .5em; }
.code-cursor { color: var(--primary-light); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.story-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hover);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
    white-space: nowrap;
    animation: floatY 3s ease-in-out infinite;
}
.badge-top { top: -18px; right: -20px; animation-delay: 0s; }
.badge-bottom { bottom: -14px; left: -16px; animation-delay: 1.5s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.float-icon-small { font-size: 1rem; }

/* ---- Core Values ---- */
.about-values-section {}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { border-color: rgba(99,102,241,.35); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.value-card-featured {
    border-color: rgba(99,102,241,.3);
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(6,182,212,.05));
}
.value-card-featured::before { transform: scaleX(1); }
.value-icon {
    width: 56px; height: 56px;
    background: rgba(99,102,241,.12);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light);
    margin-bottom: 20px;
}
.value-card-featured .value-icon { background: rgba(99,102,241,.2); }
.value-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.value-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }

/* ---- Services Deep Dive ---- */
.about-services-section {}
.about-services-list { display: flex; flex-direction: column; gap: 4px; }
.about-service-item {
    display: grid;
    grid-template-columns: 48px 68px 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .25s, transform .25s, background .25s;
    position: relative;
    overflow: hidden;
}
.about-service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,.04));
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.about-service-item:hover::after { opacity: 1; }
.about-service-item:hover { border-color: rgba(99,102,241,.3); transform: translateX(4px); }
@media (max-width: 768px) { .about-service-item { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; } }
.about-service-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    opacity: .5;
    line-height: 1;
}
.about-service-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.service-icon-blue { background: rgba(99,102,241,.15); color: var(--primary-light); }
.service-icon-purple { background: rgba(168,85,247,.15); color: #c084fc; }
.service-icon-cyan { background: rgba(6,182,212,.15); color: var(--accent); }
.service-icon-green { background: rgba(34,197,94,.12); color: #4ade80; }
.about-service-content h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.about-service-content p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    letter-spacing: .04em;
}

/* ---- Timeline ---- */
.about-timeline-section {}
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(99,102,241,.5), rgba(6,182,212,.4), transparent);
    transform: translateX(-50%);
}
@media (max-width: 640px) {
    .timeline::before { left: 18px; }
}
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}
.timeline-item:nth-child(odd) .timeline-year { text-align: right; order: -2; }
.timeline-item:nth-child(odd) .timeline-card { order: 2; }
.timeline-item:nth-child(even) .timeline-year { order: 2; text-align: left; }
.timeline-item:nth-child(even) .timeline-card { order: -2; text-align: right; }
@media (max-width: 640px) {
    .timeline-item { grid-template-columns: 48px 1fr; }
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year { display: none; }
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card { order: 2; text-align: left; }
    .timeline-dot { order: 1 !important; }
}
.timeline-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(99,102,241,.4);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    flex-shrink: 0;
    transition: border-color .25s, box-shadow .25s;
    align-self: center;
    justify-self: center;
}
.timeline-dot::after {
    content: '';
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(99,102,241,.5);
}
.timeline-dot-active { border-color: var(--primary); box-shadow: 0 0 20px rgba(99,102,241,.5); }
.timeline-dot-active::after { background: var(--primary); }
.timeline-dot-future { border-color: rgba(6,182,212,.4); }
.timeline-dot-future::after { background: rgba(6,182,212,.5); }
.timeline-year {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    white-space: nowrap;
}
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: border-color .25s, transform .25s;
}
.timeline-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-2px); }
.timeline-card-active { border-color: rgba(99,102,241,.35); background: rgba(99,102,241,.07); }
.timeline-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.timeline-card p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- Why Choose Us ---- */
.about-why-section {}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.why-card:hover { border-color: rgba(99,102,241,.35); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.why-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(6,182,212,.1));
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}
.why-card h4 { font-size: 0.98rem; font-weight: 600; }
.why-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.75; }

/* ---- CTA ---- */
.cta-about { position: relative; padding: 80px 0; }
.cta-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.3);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 24px;
}
.cta-about h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-about p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-contact-quick { margin-top: 32px; }
.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.quick-link:hover { color: var(--primary-light); }

/* ================================================
   CONTACT PAGE v2 — 精美改版
   ================================================ */

/* ---- Hero ---- */
.contact-hero { position: relative; min-height: 380px; display: flex; align-items: center; padding: 110px 0 60px; overflow: hidden; }

/* ---- Layout ---- */
.contact-layout-v2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
@media (max-width: 1024px) { .contact-layout-v2 { grid-template-columns: 1fr; gap: 48px; } }
.contact-left { display: flex; flex-direction: column; gap: 32px; }
.contact-right {}

/* ---- Contact Cards ---- */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card-v2 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .25s, transform .25s, box-shadow .25s;
    text-decoration: none;
}
.contact-card-v2:hover { border-color: rgba(99,102,241,.35); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.contact-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.icon-blue   { background: rgba(99,102,241,.15); color: var(--primary-light); }
.icon-purple { background: rgba(168,85,247,.15); color: #c084fc; }
.icon-cyan   { background: rgba(6,182,212,.15);  color: var(--accent); }
.icon-green  { background: rgba(34,197,94,.12);  color: #4ade80; }
.contact-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.contact-card-value { font-size: 0.875rem; font-weight: 500; color: var(--text); text-decoration: none; transition: color .2s; word-break: break-all; }
a.contact-card-value:hover { color: var(--primary-light); }
.contact-card-note { font-size: 0.72rem; color: var(--text-muted); }

/* ---- Service Promise ---- */
.service-promise {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 28px;
    position: relative;
    overflow: hidden;
}
.service-promise::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
}
.promise-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text);
}
.promise-list { display: flex; flex-direction: column; gap: 13px; }
.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.promise-list li svg { color: #4ade80; flex-shrink: 0; margin-top: 2px; }
.promise-list li strong { color: var(--text); font-weight: 600; }

/* ---- FAQ ---- */
.contact-faq { }
.faq-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: rgba(99,102,241,.35); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color .2s;
}
.faq-q:hover { color: var(--primary-light); }
.faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--text-muted); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--primary-light); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }
.faq-a p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.85; }

/* ---- Form Card ---- */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.4);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.form-card-header {
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(6,182,212,.05));
}
.form-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.form-card-sub { font-size: 0.85rem; color: var(--text-secondary); }
.inquiry-form { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 640px) { .inquiry-form { padding: 20px; } .form-card-header { padding: 20px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); letter-spacing: .03em; }
.form-group input, .form-group select, .form-group textarea {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.9rem;
    color: var(--text);
    font-family: var(--font-sans);
    transition: border-color .2s, background .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(99,102,241,.05);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 36px; cursor: pointer; }
.select-wrap select option { background: var(--bg-elevated); color: var(--text); }
.select-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.required { color: #f87171; }
.form-feedback { font-size: 0.875rem; padding: 12px 16px; border-radius: var(--radius-sm); text-align: center; }
.feedback-success { background: rgba(34,197,94,.1); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.feedback-error { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.25); }

/* ---- Contact CTA Banner ---- */
.contact-cta-section { }
.contact-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 48px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
@media (max-width: 640px) { .contact-cta-row { flex-direction: column; text-align: center; padding: 28px 20px; } }
.contact-cta-text h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.contact-cta-text p { font-size: 0.9rem; color: var(--text-secondary); }

/* ---- Section Shared ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-tag { margin-bottom: 14px; }
.section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.section-subtitle { color: var(--text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto; }
.section { padding: 30px 0; }
.section-dark { background: var(--bg-elevated); }
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
