/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0066cc;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0052a3;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
}

.btn-outline:hover {
    background-color: #0066cc;
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    background-color: #e6f0ff;
    color: #0066cc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

.see-more-container {
    text-align: center;
    margin-top: 40px;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: #0066cc;
}

.logo span {
    color: #ff6600;
}

.logo .tagline {
    font-size: 0.8rem;
    color: #666;
    margin-top: -5px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0066cc;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0066cc, #00a3cc);
    color: white;
    padding: 80px 0;
}

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

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero span {
    color: #ffcc00;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero .btn {
    background-color: white;
    color: #0066cc;
    font-weight: bold;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.hero .btn:hover {
    background-color: #f0f0f0;
}

.hero .btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.hero .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Exchanges section */
.exchanges {
    padding: 80px 0;
    background-color: white;
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.exchange-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
}

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

.highlight-card {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 102, 204, 0.5);
        transform: translateY(-5px);
    }
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-header img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.card-header h3 {
    font-size: 1.3rem;
    color: #333;
}

.exchange-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature {
    background-color: #f0f7ff;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.version-info {
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.version-info span {
    font-weight: 500;
    color: #333;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-android, .btn-ios {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-android {
    background-color: #3ddc84;
    color: #333;
}

.btn-android:hover {
    background-color: #32b76c;
}

.btn-ios {
    background-color: #007aff;
}

.btn-ios:hover {
    background-color: #0062cc;
}

.guide-link {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #0066cc;
}

.guide-link:hover {
    text-decoration: underline;
}

/* Apple ID section */
.appleid {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.appleid-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.appleid-text {
    flex: 1;
}

.highlight {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
}

.appleid-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.feature-text p {
    color: #666;
}

.appleid-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.appleid-image {
    flex: 1;
    text-align: center;
}

.appleid-image img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Guide section */
.guide {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.guide-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background-color: transparent;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
    font-weight: 500;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-item {
    display: flex;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.guide-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066cc;
    opacity: 0.6;
    margin-right: 20px;
    width: 50px;
    text-align: center;
}

.guide-text {
    flex: 1;
}

.guide-text h3 {
    color: #0066cc;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guide-text p {
    color: #666;
}

.guide-image {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.guide-image img {
    border-radius: 6px;
    border: 1px solid #eee;
}

/* News section */
.news {
    padding: 80px 0;
    background-color: white;
}

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

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 180px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    display: inline-block;
    color: #0066cc;
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* About section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text .section-header {
    text-align: left;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
}

/* Security section */
.security {
    background-color: #fff;
    padding: 50px 0;
    border-top: 1px solid #eee;
}

.security-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.security-content h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #333;
}

.security-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.security-feature {
    flex: 1;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.security-icon {
    background-color: #d4edda;
    color: #28a745;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.security-text h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.security-text p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-logo span {
    color: #ff6600;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-logo .tagline {
    color: #777;
    margin-bottom: 10px;
}

.footer-links h4, .footer-disclaimer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-disclaimer p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #aaa;
    transition: color 0.3s;
}

.social-link:hover {
    color: #fff;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .appleid-content,
    .about-content {
        flex-direction: column;
    }
    
    .appleid-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .security-features {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.3rem;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 80%;
        background-color: white;
        flex-direction: column;
        padding: 80px 30px;
        transition: left 0.3s;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .guide-item {
        flex-direction: column;
    }
    
    .guide-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .guide-image {
        margin-top: 20px;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    z-index: 101;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Top Exchanges Ranking */
.top-exchanges {
    margin-bottom: 50px;
}

.sub-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.ranking-table {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 15px;
}

.ranking-header {
    display: flex;
    background-color: #f0f7ff;
    padding: 15px;
    font-weight: 600;
    color: #0066cc;
    border-bottom: 1px solid #e6f0ff;
}

.ranking-row {
    display: flex;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.ranking-row:hover {
    background-color: #f8f9fa;
}

.ranking-row:last-child {
    border-bottom: none;
}

.rank-col {
    width: 8%;
    text-align: center;
}

.exchange-col {
    width: 25%;
    display: flex;
    align-items: center;
}

.features-col {
    width: 35%;
    text-align: left;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

.visits-col {
    width: 15%;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

.action-col {
    width: 17%;
    text-align: center;
}

.rank {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background-color: #e6f0ff;
    color: #0066cc;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

.ranking-row:nth-child(1) .rank,
.ranking-row:nth-child(2) .rank,
.ranking-row:nth-child(3) .rank {
    background-color: #0066cc;
    color: white;
}

.exchange-col img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 5px;
}

.exchange-name h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.trust-score {
    width: 100px;
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.trust-score span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #00a3cc);
    border-radius: 3px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.ranking-note {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    line-height: 1.5;
}

.section-divider {
    height: 1px;
    background-color: #eee;
    margin: 40px 0;
}

@media (max-width: 992px) {
    .exchange-name h4 {
        font-size: 0.9rem;
    }
    
    .volume-col, .pairs-col {
        font-size: 0.9rem;
    }
    
    .trust-score {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .ranking-header {
        display: none;
    }
    
    .ranking-row {
        flex-wrap: wrap;
        padding: 15px 10px;
    }
    
    .rank-col {
        width: 15%;
    }
    
    .exchange-col {
        width: 85%;
        margin-bottom: 10px;
    }
    
    .features-col {
        width: 100%;
        margin-bottom: 8px;
        font-size: 0.85rem;
        padding-left: 15%;
    }
    
    .visits-col {
        width: 40%;
        text-align: left;
        font-size: 0.85rem;
    }
    
    .visits-col:before {
        content: "月访问量: ";
        font-size: 0.8rem;
        color: #888;
    }
    
    .action-col {
        width: 45%;
        text-align: right;
    }
}
