/* ===================================
   抖客迪 - 抖音生态开发者平台
   DOUKEDI - Douyin Developer Platform
   =================================== */

:root {
    --primary: #161823;
    --primary-light: #252632;
    --accent: #fe2c55;
    --accent-light: #ff4d6d;
    --accent-cyan: #24f6f0;
    --accent-blue: #2875f0;
    --accent-yellow: #fcca00;
    
    --text-white: #ffffff;
    --text-light: #e8e8e8;
    --text-muted: #8a8b91;
    --text-dark: #161823;
    
    --bg-light: #f7f8fa;
    --bg-card: #ffffff;
    --border: #e4e5e9;
    
    --gradient-tiktok: linear-gradient(135deg, #24f6f0 0%, #fe2c55 100%);
    --gradient-dark: linear-gradient(180deg, #161823 0%, #252632 100%);
    --gradient-hero: radial-gradient(ellipse at 80% 0%, rgba(254, 44, 85, 0.12) 0%, transparent 50%),
                       radial-gradient(ellipse at 20% 100%, rgba(36, 246, 240, 0.08) 0%, transparent 50%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: 0.3s ease;
    --container-max: 1280px;
    --section-padding: 5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--text-white);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* 预加载 */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.loader-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-tiktok);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-white);
    margin: 0 auto 1rem;
    animation: logo-pulse 1.5s ease-in-out infinite;
}
@keyframes logo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.loader-text { font-size: 1.25rem; font-weight: 700; color: var(--text-white); letter-spacing: 0.15em; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-primary {
    background: var(--accent);
    color: var(--text-white);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(254, 44, 85, 0.3); }
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* 导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(22, 24, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}
.header.scrolled { padding: 0.75rem 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-tiktok);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
}
.logo-name { font-size: 1.25rem; font-weight: 700; color: var(--text-white); display: block; line-height: 1.2; }
.logo-slogan { font-size: 0.625rem; color: var(--text-muted); letter-spacing: 0.1em; display: block; }

.nav-list { display: flex; gap: 0.25rem; }
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-white); background: rgba(255,255,255,0.06); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--text-white); transition: all var(--transition); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
    padding-top: 5rem;
}
.hero-bg { position: absolute; inset: 0; }
.hero-gradient { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(254, 44, 85, 0.15);
    border: 1px solid rgba(254, 44, 85, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.text-gradient {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.hstat-num { font-size: 1.5rem; font-weight: 700; color: var(--text-white); }
.hstat-label { font-size: 0.8125rem; color: var(--text-muted); }
.hero-btns { display: flex; gap: 1rem; }

/* 手机Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-phone {
    width: 280px;
    height: 560px;
    background: var(--primary-light);
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.dy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem;
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 500;
}
.dy-header i { margin-right: auto; font-size: 0.75rem; }
.dy-video {
    flex: 1;
    background: linear-gradient(135deg, #252632 0%, #1a1c24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.dy-play {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    backdrop-filter: blur(10px);
}
.dy-sidebar {
    position: absolute;
    right: 0.75rem;
    bottom: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.dy-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-tiktok);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
}
.dy-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
}
.dy-footer {
    padding: 0.75rem;
    color: var(--text-white);
}
.dy-user { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.dy-title { font-size: 0.75rem; opacity: 0.9; margin-bottom: 0.5rem; }
.dy-music { font-size: 0.6875rem; opacity: 0.7; }
.dy-music i { animation: music-spin 2s linear infinite; }
@keyframes music-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.dy-miniapp {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 0.6875rem;
    backdrop-filter: blur(10px);
}
.dy-miniapp i { font-size: 0.875rem; }

.float-card {
    position: absolute;
    padding: 0.75rem 1rem;
    background: rgba(37, 38, 50, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    animation: float-card 3s ease-in-out infinite;
}
.float-card i { font-size: 1.25rem; color: var(--accent-cyan); }
.fc-title { color: var(--text-muted); font-size: 0.75rem; }
.fc-val { color: var(--text-white); font-weight: 600; }
.float-card.card-1 { top: 10%; right: -10%; }
.float-card.card-2 { bottom: 25%; left: -15%; animation-delay: 1s; animation-duration: 4s; }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.scroll-down i { animation: bounce 2s infinite; color: var(--accent); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* 公告栏 */
.announcement { padding: 2rem 0; background: var(--bg-light); border-bottom: 1px solid var(--border); }
.announcement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.anno-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.anno-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.anno-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
    flex-shrink: 0;
}
.anno-icon.hot { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.anno-icon.blue { background: linear-gradient(135deg, #4d96ff, #2875f0); }
.anno-icon.purple { background: linear-gradient(135deg, #a55eea, #8854d0); }
.anno-icon.green { background: linear-gradient(135deg, #26de81, #20bf6b); }
.anno-body { flex: 1; min-width: 0; }
.anno-body h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.25rem; }
.anno-body p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anno-arrow { font-size: 0.875rem; color: var(--text-muted); }

/* 通用头部 */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-tag-light {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title { font-size: 2.25rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 0.75rem; }
.section-title-light { font-size: 2.25rem; font-weight: 700; color: var(--text-white); line-height: 1.2; margin-bottom: 0.75rem; }
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; }
.section-desc-light { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 560px; }
.section-header.center .section-desc, .section-header.center .section-desc-light { margin: 0 auto; }

/* 产品能力 */
.products { padding: var(--section-padding) 0; background: var(--text-white); }
.capability-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.cap-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition);
}
.cap-tab:hover { border-color: var(--accent); color: var(--accent); }
.cap-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
}
.cap-tab i { font-size: 1rem; }

.capability-content { position: relative; }
.cap-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    animation: fadeIn 0.4s ease;
}
.cap-panel.active { display: grid; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.cap-visual { display: flex; justify-content: center; }
.cap-info h3 { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.cap-info p { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.cap-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.cap-feature {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}
.cap-feature i {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-white);
    flex-shrink: 0;
}
.cap-feature strong { display: block; font-size: 0.9375rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.cap-feature span { font-size: 0.875rem; color: var(--text-muted); }

/* Mockups */
.phone-mockup {
    width: 260px;
    background: var(--primary);
    border-radius: 2rem;
    padding: 0.75rem;
    box-shadow: var(--shadow-xl);
}
.phone-header {
    text-align: center;
    padding: 0.5rem;
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 500;
}
.miniapp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--primary-light);
    border-radius: 1.5rem;
}
.ma-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: var(--text-white);
    font-size: 0.625rem;
}
.ma-item i { font-size: 1.25rem; }

.video-mockup {
    width: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.video-player {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #252632 0%, #161823 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-content i { font-size: 3rem; color: var(--text-white); opacity: 0.8; }
.video-poi {
    position: absolute;
    left: 1rem;
    bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 0.75rem;
}
.video-miniapp {
    position: absolute;
    left: 1rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(254, 44, 85, 0.9);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 0.75rem;
}

.live-mockup {
    width: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.live-screen {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #2d1b2e 0%, #1a1c24 100%);
    position: relative;
    padding: 1rem;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(239, 68, 68, 0.9);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 500;
}
.live-badge i { font-size: 0.5rem; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-gift {
    position: absolute;
    right: 1rem;
    bottom: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.gift-item {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
}
.live-cart {
    position: absolute;
    left: 1rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--accent-yellow);
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
}

.sdk-mockup { width: 100%; max-width: 420px; }
.code-window {
    background: #1e1e2e;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.code-header {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #252632;
}
.code-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.code-header span:nth-child(1) { background: #ff5f56; }
.code-header span:nth-child(2) { background: #ffbd2e; }
.code-header span:nth-child(3) { background: #27c93f; }
.code-body { padding: 1.25rem; overflow-x: auto; }
.code-body pre { margin: 0; }
.code-body code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.8125rem; line-height: 1.7; color: #e4e4e7; }
.token-key { color: #c792ea; }
.token-func { color: #82aaff; }
.token-str { color: #c3e88d; }
.token-comment { color: #676e95; }

.web-mockup { width: 100%; max-width: 440px; }
.browser-window {
    background: var(--text-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 0.375rem; }
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }
.browser-url {
    flex: 1;
    padding: 0.375rem 0.75rem;
    background: var(--text-white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}
.browser-body { padding: 1rem; }
.web-content { display: flex; gap: 1rem; min-height: 180px; }
.web-sidebar { display: flex; flex-direction: column; gap: 0.5rem; }
.web-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.875rem;
}
.web-nav.active { background: var(--accent); color: var(--text-white); }
.web-main { flex: 1; }
.web-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.wstat { text-align: center; padding: 0.5rem; background: #f8fafc; border-radius: var(--radius-sm); }
.wstat span { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-dark); }
.wstat small { font-size: 0.625rem; color: var(--text-muted); }
.web-chart {
    height: 80px;
    background: linear-gradient(to top, rgba(40, 117, 240, 0.1) 0%, transparent 100%);
    border-radius: var(--radius-sm);
    position: relative;
}
.web-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(40, 117, 240, 0.3) 0%, transparent 100%);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* 解决方案 */
.solutions { padding: var(--section-padding) 0; background: var(--primary); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.solution-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}
.solution-card:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.12);
}
.solution-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}
.solution-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-white); margin-bottom: 0.75rem; }
.solution-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.solution-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-light);
}
.solution-card a:hover { gap: 0.75rem; }

/* 开发文档 */
.docs { padding: var(--section-padding) 0; background: var(--bg-light); }
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.doc-card {
    background: var(--text-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.doc-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.doc-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.doc-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.doc-card a { font-size: 0.875rem; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 0.375rem; }
.doc-card a:hover { gap: 0.5rem; }

.docs-banner {
    background: var(--text-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.docs-banner-content h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1.5rem; text-align: center; }
.process-steps { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.process-step { text-align: center; }
.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    position: relative;
}
.step-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
    margin: -1.5rem auto 0.75rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
}
.step-title { font-size: 0.9375rem; font-weight: 500; color: var(--text-dark); }
.step-arrow { font-size: 1.25rem; color: var(--border); margin-top: -1rem; }

/* 工具资源 */
.tools { padding: var(--section-padding) 0; background: var(--text-white); }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tool-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.tool-card:hover { background: var(--text-white); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tool-card i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }
.tool-card h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.tool-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* 成功案例 */
.cases { padding: var(--section-padding) 0; background: var(--primary); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}
.case-card:hover { background: rgba(255,255,255,0.04); transform: translateY(-5px); }
.case-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.case-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient-tiktok);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
}
.case-info h4 { font-size: 1rem; font-weight: 600; color: var(--text-white); }
.case-info span { font-size: 0.75rem; color: var(--text-muted); }
.case-card > p { font-size: 0.9375rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem; }
.case-stats { display: flex; gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.06); }
.case-stats div { text-align: center; }
.case-stats strong { display: block; font-size: 1.25rem; font-weight: 700; color: var(--accent-cyan); }
.case-stats span { font-size: 0.75rem; color: var(--text-muted); }

/* 联系我们 */
.contact { padding: var(--section-padding) 0; background: var(--bg-light); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.citem { display: flex; gap: 1rem; }
.citem i {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--text-white);
    flex-shrink: 0;
}
.citem strong { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.citem span { font-size: 1rem; font-weight: 500; color: var(--text-dark); }

.contact-form-box { background: var(--text-white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1.5rem; text-align: center; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* 页脚 */
.footer { background: #0b0c10; padding: 4rem 0 0; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--text-white); }

.footer-links h4 { font-size: 1rem; font-weight: 600; color: var(--text-white); margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 0.9375rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text-white); }

.footer-qr h4 { font-size: 1rem; font-weight: 600; color: var(--text-white); margin-bottom: 1rem; }
.qr-box {
    width: 110px;
    height: 110px;
    background: var(--text-white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--dark-bg);
    margin-bottom: 0.75rem;
}
.footer-qr p { font-size: 0.8125rem; color: var(--text-muted); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.875rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-white); }

/* 悬浮工具 */
.float-bar { position: fixed; right: 20px; bottom: 100px; display: flex; flex-direction: column; gap: 0.75rem; z-index: 999; }
.float-item {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
}
.float-item:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }
.float-item.back-to-top { background: var(--primary-light); border: 1px solid rgba(255,255,255,0.1); opacity: 0; visibility: hidden; }
.float-item.back-to-top.visible { opacity: 1; visibility: visible; }

/* 响应式 */
@media (max-width: 1200px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-btns, .hero-stats { justify-content: center; }
    .announcement-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-panel { grid-template-columns: 1fr; }
    .cap-visual { order: -1; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .docs-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
    :root { --section-padding: 3.5rem; }
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary);
        padding: 5rem 1.5rem 1.5rem;
        transform: translateX(100%);
        transition: transform var(--transition);
    }
    .nav.active { transform: translateX(0); }
    .nav-list { flex-direction: column; gap: 0.5rem; }
    .nav-link { font-size: 1.125rem; padding: 1rem; }
    .menu-toggle { display: flex; z-index: 1001; }
    .header-phone span { display: none; }
    .hero-title { font-size: 2.25rem; }
    .announcement-grid { grid-template-columns: 1fr; }
    .capability-tabs { gap: 0.5rem; }
    .cap-tab { padding: 0.625rem 1rem; font-size: 0.8125rem; }
    .solutions-grid, .docs-grid, .tools-grid, .cases-grid { grid-template-columns: 1fr; }
    .process-steps { gap: 0.75rem; }
    .step-arrow { display: none; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { grid-column: span 1; }
    .footer-social { justify-content: center; }
    .qr-box { margin: 0 auto 0.75rem; }
    .contact-form .form-row { grid-template-columns: 1fr; }
}
