/* ============================================
   QuickQ快客VPN 多平台支持 - 完整样式表
   版本: 2.0 (2026)
   描述: 全系统兼容适配页
   关联文件: platforms.html
   ============================================ */

:root {
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-glow: rgba(14, 165, 233, 0.4);
    --bg-deep: #0f172a;
    --bg-card: #1e293b;
    --bg-dark: #0b0f19;
    --border-color: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --success: #34d399;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
    --container-max: 1300px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast), border var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

::selection {
    background: rgba(56, 189, 248, 0.3);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ---------- 头部导航 ---------- */
header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.logo-link:hover .logo-icon {
    transform: rotate(15deg);
}

nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

nav a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    position: relative;
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition-base);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-light);
}

/* ---------- 多平台 Hero 区 ---------- */
.platforms-hero {
    padding: 5rem 1.5rem 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.platforms-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.platforms-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.highlight-text {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-glow {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 20px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    transition: all var(--transition-base);
}

.btn-outline:hover {
    background: rgba(51, 65, 85, 0.4);
    color: #ffffff;
    border-color: var(--primary-light);
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-base);
}

.trust-badge:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-info {
    display: flex;
    flex-direction: column;
}

.trust-info strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -0.3px;
}

.trust-info small {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* 设备轨道视觉 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.device-orbit {
    width: 380px;
    height: 380px;
    position: relative;
}

.orbit-ring {
    position: absolute;
    border: 2px dashed rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring-1 {
    width: 340px;
    height: 340px;
    animation: orbit-rotate 30s linear infinite;
}

.orbit-ring-2 {
    width: 260px;
    height: 260px;
    border-style: dotted;
    animation: orbit-rotate-reverse 25s linear infinite;
}

@keyframes orbit-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-rotate-reverse {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.orbit-center svg {
    width: 50px;
    height: 50px;
    margin-bottom: 0.2rem;
}

.center-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-light);
}

.orbit-device {
    position: absolute;
    font-size: 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: float-orb 5s ease-in-out infinite;
    z-index: 1;
}

.orbit-device-1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orbit-device-2 {
    top: 20%;
    right: 2%;
    animation-delay: 0.6s;
}

.orbit-device-3 {
    bottom: 15%;
    right: 8%;
    animation-delay: 1.2s;
}

.orbit-device-4 {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.8s;
}

.orbit-device-5 {
    bottom: 15%;
    left: 5%;
    animation-delay: 2.4s;
}

.orbit-device-6 {
    top: 20%;
    left: 0%;
    animation-delay: 3s;
}

@keyframes float-orb {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ---------- 平台兼容性信任条 ---------- */
.platform-trust-strip {
    background: rgba(30, 41, 59, 0.7);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    backdrop-filter: blur(8px);
}

.trust-strip-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
}

.strip-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.strip-divider {
    width: 1px;
    height: 20px;
    background: var(--border-color);
}

/* ---------- 通用容器和标题 ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- 平台矩阵展示区 ---------- */
.platform-matrix-section {
    padding-top: 4rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.matrix-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.matrix-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.matrix-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.matrix-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.matrix-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    padding: 0.2rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.matrix-badge.soon-badge {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.matrix-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.matrix-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.matrix-features span {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ---------- 跨终端同步创意板块 ---------- */
.sync-section {
    background: rgba(30, 41, 59, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sync-showcase {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.sync-device-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sync-device {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sync-device:hover,
.sync-device.active {
    border-color: var(--primary-light);
    background: rgba(2, 132, 199, 0.1);
}

.sync-device-icon {
    font-size: 1.3rem;
}

.sync-device-name {
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.sync-status {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 700;
}

.sync-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 180px;
}

.sync-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.sync-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    height: 2px;
    width: 80%;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.sync-line-1 { top: 30%; }
.sync-line-2 { top: 50%; }
.sync-line-3 { top: 70%; }

.sync-hub {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sync-hub svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
}

.sync-hub-label {
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
    color: var(--primary-light);
    font-size: 0.85rem;
}

.sync-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.benefit-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ---------- 原生体验对比创意板块 ---------- */
.native-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.native-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.native-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.native-preview {
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Windows 预览模拟 */
.windows-preview .preview-window {
    width: 100%;
    max-width: 220px;
    background: #1a2332;
    border: 1px solid #3a4a5a;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.preview-titlebar {
    background: #2a3a4a;
    padding: 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-dots {
    display: flex;
    gap: 4px;
}

.preview-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
    display: block;
}
.preview-dots i:nth-child(2) { background: #febc2e; }
.preview-dots i:nth-child(3) { background: #28c840; }

.preview-title {
    font-size: 0.6rem;
    color: #b0c0d0;
    margin-left: 0.5rem;
}

.preview-body {
    padding: 0.75rem;
    font-size: 0.7rem;
    color: #c0d0e0;
}

.preview-connect {
    margin-bottom: 0.4rem;
    color: #34d399;
}

/* macOS 预览模拟 */
.macos-preview .preview-menubar {
    background: #2a2a2a;
    padding: 0.5rem;
    font-size: 0.6rem;
    color: #d0d0d0;
    display: flex;
    gap: 0.75rem;
    border-radius: 4px;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.preview-mac-body {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: #34d399;
    text-align: center;
}

/* Android 预览模拟 */
.android-preview .preview-android-card {
    background: #1a2332;
    border-radius: 8px;
    padding: 1rem;
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.preview-android-toggle {
    width: 50px;
    height: 28px;
    background: #34d399;
    border-radius: 14px;
    margin: 0 auto 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2px;
}

.toggle-knob {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    margin-left: auto;
}

.preview-android-label {
    font-size: 0.7rem;
    color: #c0d0e0;
}

/* iOS 预览模拟 */
.ios-preview .preview-ios-widget {
    background: #1a2332;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.preview-ios-widget-header {
    font-size: 0.7rem;
    color: #b0c0d0;
    margin-bottom: 0.5rem;
}

.preview-ios-widget-body {
    font-size: 0.75rem;
    color: #34d399;
    margin-bottom: 0.5rem;
}

.preview-ios-widget-btn {
    display: inline-block;
    background: #ff5f57;
    color: #ffffff;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    cursor: pointer;
}

.native-card h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.native-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

/* ---------- 统一加密标准板块 ---------- */
.unified-security-section {
    padding-top: 4rem;
}

.security-standard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.standard-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
}

.standard-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.standard-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.standard-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.standard-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.standard-check {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--success);
    font-weight: 700;
    white-space: nowrap;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 50px;
    padding: 0.2rem 0.6rem;
}

/* ---------- 兼容性表格 ---------- */
.compatibility-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.compatibility-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 700px;
}

.compatibility-table th {
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-primary);
    font-weight: 700;
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compatibility-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    color: var(--text-secondary);
}

.compatibility-table tbody tr:last-child td {
    border-bottom: none;
}

.compatibility-table tbody tr:hover {
    background: rgba(2, 132, 199, 0.05);
}

.platform-cell {
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.status-available,
.status-beta,
.status-dev {
    display: inline-block;
    border-radius: 50px;
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-available {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-beta {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-dev {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* ---------- 多平台 FAQ 区 ---------- */
.platforms-faq-section {
    padding-top: 4rem;
}

.faq-accordion {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-block {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-block:last-child {
    border-bottom: none;
}

.faq-block:hover .faq-title {
    color: var(--primary-light);
}

.faq-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    gap: 1rem;
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: transform var(--transition-base);
    line-height: 1;
}

.faq-block.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base) ease, padding-top var(--transition-base) ease;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.faq-block.open .faq-body {
    max-height: 500px;
    padding-top: 1rem;
}

/* ---------- 页脚 ---------- */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    padding: 4rem 1.5rem 2rem;
    font-size: 0.88rem;
}

.footer-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: var(--text-dim);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1100px) {
    .platforms-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .platforms-hero h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 2rem;
    }
    .sync-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .sync-device-list {
        align-items: center;
    }
    .sync-benefits {
        align-items: center;
    }
    .benefit-item {
        text-align: left;
        width: 100%;
        max-width: 400px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .platforms-hero {
        padding: 3rem 1rem 2.5rem;
    }
    .platforms-hero h1 {
        font-size: 2.2rem;
    }
    .container {
        padding: 3rem 1rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .device-orbit {
        width: 280px;
        height: 280px;
    }
    .orbit-ring-1 { width: 240px; height: 240px; }
    .orbit-ring-2 { width: 180px; height: 180px; }
    .orbit-center { width: 80px; height: 80px; }
    .orbit-center svg { width: 40px; height: 40px; }
    .orbit-device { width: 40px; height: 40px; font-size: 1.4rem; }
    .trust-strip-inner {
        justify-content: center;
    }
    .strip-divider {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .compatibility-table-wrapper {
        overflow-x: auto;
    }
    .faq-accordion {
        padding: 1.5rem;
    }
    .hero-trust {
        gap: 1rem;
    }
    .trust-badge {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .platforms-hero h1 {
        font-size: 1.9rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
    .matrix-grid {
        grid-template-columns: 1fr;
    }
    .native-grid {
        grid-template-columns: 1fr;
    }
    .security-standard-grid {
        grid-template-columns: 1fr;
    }
    .standard-item {
        flex-direction: column;
        text-align: center;
    }
    .standard-check {
        margin-left: 0;
    }
    .sync-showcase {
        padding: 1.5rem;
    }
    .sync-device {
        width: 100%;
    }
}