/* tp-style.min.css - TokenPocket 官网样式 */
:root {
    --tp-primary: #2E5BFF;
    --tp-secondary: #8C54FF;
    --tp-accent: #FF6B4A;
    --tp-dark: #0B0F1E;
    --tp-gray: #6B7280;
    --tp-light: #F9FAFC;
    --tp-gradient: linear-gradient(135deg, #2E5BFF, #8C54FF);
    --tp-gradient-2: linear-gradient(135deg, #FF6B4A, #FFB800);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    color: var(--tp-dark);
    line-height: 1.6;
    background: white;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 顶部公告栏 */
.top-banner {
    background: var(--tp-dark);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
}

.top-banner a {
    color: var(--tp-accent);
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
}

/* 头部 */
.tp-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--tp-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--tp-primary);
}

.tp-btn {
    background: var(--tp-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(46, 91, 255, 0.3);
}

.tp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 91, 255, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--tp-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区 */
.tp-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #F5F9FF 0%, #F0F4FF 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    background: rgba(46, 91, 255, 0.1);
    color: var(--tp-primary);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--tp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--tp-gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--tp-primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--tp-gray);
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--tp-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 91, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 91, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--tp-primary);
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--tp-primary);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--tp-primary);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.qr-code {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qr-code img {
    border-radius: 12px;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.qr-code span {
    color: var(--tp-gray);
    font-size: 14px;
}

.phone-mockup {
    position: relative;
    text-align: center;
}

.phone-img {
    max-width: 320px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.floating-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.floating-icons .icon {
    position: absolute;
    background: white;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: float-icon 4s ease-in-out infinite;
}

.icon.eth { top: 10%; left: 0; color: #627EEA; }
.icon.bsc { top: 30%; right: 0; color: #F0B90B; }
.icon.polygon { bottom: 30%; left: 10%; color: #8247E5; }
.icon.arbitrum { bottom: 10%; right: 20%; color: #2D374B; }
.icon.op { top: 50%; right: 10%; color: #FF0420; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-icon {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

/* 品牌区域 */
.brands {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #E5E7EB;
}

.brands p {
    text-align: center;
    color: var(--tp-gray);
    margin-bottom: 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.brand-logos img {
    height: 30px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.brand-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--tp-gray);
    font-size: 18px;
}

/* 功能卡片 */
.tp-features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(46, 91, 255, 0.1);
    border-color: var(--tp-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--tp-gray);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-link {
    color: var(--tp-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* 公链生态 */
.tp-chains {
    padding: 100px 0;
    background: var(--tp-light);
}

.chains-showcase {
    margin-bottom: 40px;
}

.chain-category {
    margin-bottom: 40px;
}

.chain-category h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--tp-dark);
}

.chain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.chain-item {
    background: white;
    padding: 10px 20px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.chain-item:hover {
    border-color: var(--tp-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 91, 255, 0.1);
}

.chain-item img {
    width: 20px;
    height: 20px;
}

.chains-more {
    text-align: center;
}

/* DeFi专区 */
.tp-defi {
    padding: 100px 0;
    background: white;
}

.defi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    background: rgba(46, 91, 255, 0.1);
    color: var(--tp-primary);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.defi-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.defi-content p {
    color: var(--tp-gray);
    margin-bottom: 30px;
    font-size: 18px;
}

.defi-features {
    list-style: none;
    margin-bottom: 30px;
}

.defi-features li {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--tp-dark);
}

.defi-stats {
    background: var(--tp-light);
    padding: 40px;
    border-radius: 32px;
}

.stat-panel {
    margin-bottom: 30px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 16px;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-value {
    font-weight: 700;
    color: var(--tp-primary);
    font-size: 18px;
}

.protocol-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.protocol-logos img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s;
}

.protocol-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* NFT专区 */
.tp-nft {
    padding: 100px 0;
    background: var(--tp-light);
}

.nft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nft-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nft-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.nft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 91, 255, 0.15);
}

.nft-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.nft-info {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.nft-info span:first-child {
    font-weight: 600;
}

.nft-info span:last-child {
    color: var(--tp-primary);
    font-weight: 600;
}

.nft-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.nft-content p {
    color: var(--tp-gray);
    margin-bottom: 30px;
    font-size: 18px;
}

.nft-features {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.nft-features li {
    font-size: 16px;
    color: var(--tp-dark);
}

/* 新闻动态 */
.tp-news {
    padding: 100px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(46, 91, 255, 0.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--tp-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 24px;
}

.news-date {
    color: var(--tp-gray);
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

.news-card-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-content p {
    color: var(--tp-gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.read-more {
    color: var(--tp-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.news-more {
    text-align: center;
}

/* 下载区 */
.tp-download {
    padding: 80px 0;
    background: var(--tp-gradient);
    color: white;
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 60px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.download-left h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.download-left p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.download-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-stats span {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.store-btn img {
    height: 50px;
    transition: all 0.3s;
}

.store-btn:hover img {
    transform: translateY(-3px);
    opacity: 0.9;
}

.apk-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.qr-big {
    text-align: center;
}

.qr-big img {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    margin-bottom: 12px;
    border: 4px solid white;
}

.qr-big p {
    font-size: 14px;
    opacity: 0.9;
}

/* 页脚 */
.tp-footer {
    background: var(--tp-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col img {
    margin-bottom: 20px;
}

.footer-col p {
    color: #9CA3AF;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.social:hover {
    background: var(--tp-primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom a {
    color: #9CA3AF;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

.seo-keywords {
    color: #4B5563;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-grid,
    .defi-grid,
    .nft-grid,
    .download-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .nft-gallery {
        order: 2;
    }
    
    .brand-logos {
        gap: 24px;
    }
    
    .brand-logos img {
        height: 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .qr-code {
        justify-content: center;
    }
    
    .nft-features {
        grid-template-columns: 1fr;
    }
}