/* style.css - 云梦商城Pro样式文件 */

/* 全局变量和重置 */
:root {
    /* 桌面端变量 */
    --desktop-primary: #4f46e5;
    --desktop-primary-light: #818cf8;
    --desktop-primary-dark: #3730a3;
    --desktop-secondary: #06b6d4;
    --desktop-accent: #f97316;
    --desktop-dark: #0f172a;
    --desktop-darker: #020617;
    --desktop-light: #f8fafc;
    --desktop-gray: #94a3b8;
    --desktop-gray-dark: #475569;
    --desktop-success: #10b981;
    --desktop-card-bg: rgba(30, 41, 59, 0.7);
    --desktop-card-border: rgba(255, 255, 255, 0.08);
    --desktop-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    --desktop-shadow-light: 0 10px 25px rgba(0, 0, 0, 0.15);
    --desktop-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --desktop-gradient: linear-gradient(135deg, var(--desktop-primary), var(--desktop-secondary));
    
    /* 移动端变量 */
    --mobile-primary: #4f46e5;
    --mobile-primary-light: #818cf8;
    --mobile-secondary: #06b6d4;
    --mobile-accent: #f97316;
    --mobile-dark: #0f172a;
    --mobile-light: #f8fafc;
    --mobile-gradient: linear-gradient(135deg, var(--mobile-primary), var(--mobile-secondary));
    --mobile-card-bg: rgba(30, 41, 59, 0.9);
    --mobile-card-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--desktop-darker);
    color: var(--desktop-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 设备检测遮罩层 */
.device-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.device-mask.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(79, 70, 229, 0.3);
    border-top: 5px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.device-text {
    font-size: 24px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.device-subtext {
    color: #94a3b8;
    font-size: 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 桌面端样式 */
.desktop-view {
    display: none;
}

.mobile-view {
    display: none;
}

/* 当设备检测完成后，显示对应的视图 */
body.desktop .desktop-view {
    display: block;
}

body.mobile .mobile-view {
    display: block;
}

/* 弹窗样式 - 共用 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modal-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: white;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.modal-content {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-content a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #818cf8;
}

.modal-content a:hover {
    color: #06b6d4;
    border-bottom: 1px solid #06b6d4;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-close {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* ===================== 桌面端专用样式 ===================== */
.desktop-view body {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 右下角客服按钮 - 桌面端 */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    text-decoration: none;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.6);
}

.chat-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 15px;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.chat-button:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 导航栏 - 桌面端 - 修复按钮问题 */
.desktop-view header {
    padding: 22px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 2px;
}

.desktop-view nav {
    display: flex;
    align-items: center;
}

.desktop-view nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-right: 32px;
}

.desktop-view nav a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.desktop-view nav a i {
    font-size: 14px;
}

.desktop-view nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.desktop-view nav a:hover {
    color: #818cf8;
}

.desktop-view nav a:hover::after {
    width: 100%;
}

/* 修复：确保桌面端按钮容器始终显示 */
.header-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #f8fafc;
    border: 1.5px solid #818cf8;
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

.btn-large, .btn-xlarge {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-xlarge {
    padding: 16px 40px;
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 主要区域 - 桌面端 */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.2);
    color: #818cf8;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #ffffff, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #06b6d4;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 8px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 420px;
}

.visual-card {
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    padding: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.method-item {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.method-item:hover {
    border-color: #4f46e5;
    transform: translateY(-5px);
    background: rgba(79, 70, 229, 0.1);
}

.method-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #818cf8;
}

.method-name {
    font-size: 12px;
    font-weight: 600;
}

.transaction-list {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.transaction-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
}

.transaction-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.transaction-details p {
    font-size: 12px;
    color: #94a3b8;
}

.transaction-amount {
    font-weight: 700;
    color: #10b981;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    filter: blur(60px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    animation: floatShape 25s infinite linear;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    animation: floatShape 20s infinite linear reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation: floatShape 15s infinite linear;
}

/* 功能特性 - 桌面端 */
.features {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.section-title p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 20px;
    padding: 36px 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(79, 70, 229, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 28px;
    color: #818cf8;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(6, 182, 212, 0.3));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: white;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.7;
}

/* 文档对接区域 - 桌面端 */
.docs {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.5);
    position: relative;
}

.docs-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.docs-visual {
    flex: 1;
    position: relative;
}

.integration-flow {
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    text-align: center;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    border-left: 4px solid #4f46e5;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateX(5px);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.step-content p {
    font-size: 13px;
    color: #94a3b8;
}

.docs-text {
    flex: 1;
}

.docs-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.docs-text p {
    color: #94a3b8;
    margin-bottom: 36px;
    line-height: 1.7;
}

.docs-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.docs-buttons.secondary-buttons {
    margin-top: 15px;
}

/* 立即接入区域 - 桌面端 */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: rgba(15, 23, 42, 0.7);
    position: relative;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #f8fafc, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* 联系区域 - 桌面端 */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #f8fafc;
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #818cf8;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.friends {
    flex: 1;
}

.friends h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: white;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.friend-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 16px;
}

.friend-card:hover {
    transform: translateY(-5px);
    border-color: #4f46e5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.friend-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #f97316;
}

.friend-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.friend-info p {
    font-size: 14px;
    color: #94a3b8;
}

/* 底部区域 - 桌面端 */
.desktop-view footer {
    padding: 70px 0 30px;
    background: rgba(2, 6, 23, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo p {
    margin-top: 18px;
    color: #94a3b8;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-column a:hover {
    color: #818cf8;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 0.9rem;
}

.copyright a {
    color: #818cf8;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-logo-img {
    height: 40px;
}

.footer-logo-main {
    font-size: 22px;
}

/* ===================== 移动端专用样式 ===================== */
.mobile-view body {
    background: #0f172a;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 30%);
}

/* 移动端头部 - 重新设计 */
.mobile-view header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.mobile-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.5));
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
}

.mobile-logo-main {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mobile-logo-sub {
    font-size: 10px;
    color: #94a3b8;
}

/* 移动端菜单按钮 */
.mobile-view .mobile-menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-view .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* 移动端下拉菜单 */
.mobile-dropdown-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
}

.mobile-dropdown-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-list li {
    margin-bottom: 10px;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-list a i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: rgba(79, 70, 229, 0.2);
    color: #818cf8;
    transform: translateX(5px);
}

.mobile-dropdown-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-dropdown-buttons .mobile-btn-primary {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.mobile-dropdown-buttons .mobile-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.4);
}

.mobile-dropdown-buttons .mobile-btn-outline {
    background: transparent;
    color: #818cf8;
    border: 2px solid #818cf8;
}

.mobile-dropdown-buttons .mobile-btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

/* 移动端主要内容区域 */
.mobile-main {
    padding: 100px 0 30px;
}

.mobile-card {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* 移动端按钮 */
.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    width: 100%;
    margin: 10px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.mobile-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.4);
}

.mobile-btn-outline {
    background: transparent;
    color: #818cf8;
    border: 2px solid #818cf8;
}

.mobile-btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

/* 移动端滑动卡片 */
.mobile-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 15px;
    scrollbar-width: none;
}

.mobile-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 auto;
    width: 85%;
    scroll-snap-align: start;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 移动端进度指示器 */
.slider-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #818cf8;
    width: 20px;
    border-radius: 10px;
}

/* 移动端折叠面板 */
.mobile-accordion {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 12px;
    margin: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    padding: 18px 20px;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(79, 70, 229, 0.2);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 20px;
    max-height: 500px;
}

/* 移动端快速链接 */
.mobile-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mobile-link-item {
    background: rgba(79, 70, 229, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #f8fafc;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-link-item:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-3px);
}

.mobile-link-icon {
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
    color: #818cf8;
}

.mobile-link-text {
    font-size: 12px;
    font-weight: 600;
}

/* 移动端统计 */
.mobile-stats {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-stat-item {
    text-align: center;
}

.mobile-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #06b6d4;
}

.mobile-stat-label {
    font-size: 12px;
    color: #94a3b8;
}

/* 移动端联系信息 */
.mobile-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px 0;
}

.mobile-contact-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.mobile-contact-icon {
    font-size: 20px;
    color: #818cf8;
    margin-bottom: 8px;
}

.mobile-contact-name {
    font-size: 12px;
}

/* 移动端客服按钮 */
.mobile-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    text-decoration: none;
}

.mobile-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.6);
}

.mobile-chat-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.mobile-chat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.mobile-chat-button:hover .mobile-chat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 响应式设计 - 重点修复桌面端按钮显示问题 */
@media (max-width: 1100px) {
    .desktop-view .hero-content, 
    .desktop-view .docs-container, 
    .desktop-view .contact-container {
        flex-direction: column;
    }
    
    .desktop-view .hero-text, 
    .desktop-view .docs-text, 
    .desktop-view .contact-info, 
    .desktop-view .friends {
        width: 100%;
        max-width: 100%;
    }
    
    .desktop-view .hero-text h1 {
        font-size: 3rem;
    }
    
    .desktop-view .cta-section h2 {
        font-size: 2.2rem;
    }
}

/* 重点修复：在768px以下屏幕确保按钮仍然可见 */
@media (max-width: 768px) {
    .desktop-view .header-buttons {
        display: none !important; /* 在小屏幕上隐藏桌面端按钮 */
    }
    
    .desktop-view nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .desktop-view nav.active {
        display: block;
    }
    
    .desktop-view nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .desktop-view nav li {
        width: 100%;
    }
    
    .desktop-view nav a {
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }
    
    .desktop-view nav a:last-child {
        border-bottom: none;
    }
    
    .desktop-view .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-view .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .desktop-view .section-title h2 {
        font-size: 2.2rem;
    }
    
    .desktop-view .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .desktop-view .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .desktop-view .chat-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .desktop-view .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .desktop-view .docs-buttons, 
    .desktop-view .hero-buttons {
        flex-direction: column;
    }
    
    .desktop-view .docs-buttons .btn-primary,
    .desktop-view .docs-buttons .btn-secondary,
    .desktop-view .docs-buttons .btn-outline,
    .desktop-view .hero-buttons .btn-primary,
    .desktop-view .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* 移动端调整 */
    .mobile-view .mobile-card {
        margin: 10px;
        padding: 15px;
    }
    
    .mobile-view .slider-card {
        width: 90%;
    }
    
    .mobile-view .mobile-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .desktop-view .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .desktop-view .section-title h2 {
        font-size: 1.8rem;
    }
    
    .desktop-view .footer-content {
        flex-direction: column;
    }
    
    .desktop-view .footer-logo, 
    .desktop-view .footer-column {
        min-width: 100%;
    }
    
    .desktop-view .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .mobile-view .mobile-header-container {
        padding: 0 15px;
    }
    
    .mobile-view .mobile-logo-img {
        height: 36px;
    }
    
    .mobile-view .mobile-logo-main {
        font-size: 16px;
    }
    
    .mobile-view .mobile-logo-sub {
        font-size: 9px;
    }
    
    .mobile-view .mobile-dropdown-menu {
        padding: 15px;
    }
    
    .mobile-view .mobile-nav-list a {
        padding: 14px 16px;
        font-size: 15px;
    }
}

/* 新增：确保桌面端按钮在正常屏幕下始终可见 */
@media (min-width: 769px) {
    .desktop-view .header-buttons {
        display: flex !important;
    }
}