/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #7c3aed;
    --secondary-purple: #a78bfa;
    --light-purple: #c4b5fd;
    --blue-accent: #60a5fa;
    --dark-blue: #3b82f6;
    --gradient-start: #e0e7ff;
    --gradient-end: #ddd6fe;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: rgba(124, 58, 237, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 50%, #fae8ff 100%);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

/* 背景装饰元素 */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.crypto-icon {
    position: absolute;
    font-size: 48px;
    font-weight: bold;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.btc-icon {
    top: 15%;
    left: 8%;
    color: #f7931a;
    animation-delay: 0s;
}

.eth-icon {
    top: 60%;
    left: 5%;
    color: #627eea;
    animation-delay: 2s;
}

.usdt-icon {
    top: 40%;
    right: 8%;
    color: #26a17b;
    animation-delay: 4s;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-purple);
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--blue-accent);
    bottom: 15%;
    left: 15%;
    animation-delay: 3s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: var(--secondary-purple);
    top: 50%;
    right: 20%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-15px) translateX(5px);
    }
}

/* 主容器 */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Hero区域 */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.main-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 手机展示区 */
.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.phone-mockup {
    position: relative;
    max-width: 350px;
    width: 100%;
    background: white;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25);
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.security-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.badge-icon {
    font-size: 40px;
    color: white;
    font-weight: bold;
}

/* 下载区域 */
.download-section {
    margin: 50px 0;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.download-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.download-btn {
    display: inline-block;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.download-btn img {
    height: 50px;
    width: auto;
    display: block;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
}

.download-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* 特色功能区 */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
    padding: 0 10px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.25);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: inline-block;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 安全保障区 */
.security-section {
    margin: 50px 0;
    padding: 30px 25px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 25px;
    border: 2px solid rgba(124, 58, 237, 0.2);
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.security-list {
    list-style: none;
    padding: 0;
}

.security-list li {
    font-size: 15px;
    color: var(--text-dark);
    padding: 12px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    line-height: 1.6;
}

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

/* 页脚 */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-purple);
}

.separator {
    color: var(--text-light);
}

.copyright {
    font-size: 13px;
    color: var(--text-light);
}

/* Cookie 横幅 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--primary-purple);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 40px;
    flex-shrink: 0;
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-title::before {
    content: '🍪';
    font-size: 20px;
}

.cookie-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
}

.cookie-settings {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.cookie-settings:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-blue) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.cookie-close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.cookie-close:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    transform: rotate(90deg);
}

/* 平板适配 */
@media (min-width: 768px) {
    .container {
        padding: 30px;
    }

    .main-title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 18px;
    }

    .download-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* 桌面适配 */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 40px;
    }

    .hero {
        padding: 80px 40px 60px;
    }

    .phone-mockup {
        max-width: 400px;
    }

    .features {
        gap: 30px;
    }
}

/* 小屏手机优化 */
@media (max-width: 375px) {
    .main-title {
        font-size: 30px;
    }

    .subtitle {
        font-size: 14px;
    }

    .crypto-icon {
        font-size: 36px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .security-badge {
        width: 60px;
        height: 60px;
        bottom: -15px;
        right: -15px;
    }

    .badge-icon {
        font-size: 30px;
    }

    /* Cookie横幅移动端优化 */
    .cookie-banner {
        padding: 15px;
    }

    .cookie-content {
        gap: 15px;
    }

    .cookie-icon {
        font-size: 32px;
    }

    .cookie-title {
        font-size: 16px;
    }

    .cookie-description {
        font-size: 12px;
    }

    .cookie-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 13px;
    }

    .cookie-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
}

/* 手机端Cookie优化 */
@media (max-width: 640px) {
    .cookie-icon {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-text {
        min-width: 100%;
        padding-right: 40px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

