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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --cyan: #F8D748;
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    /* background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); */
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 导航栏 */
.header {
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #1C338B;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.8rem 2rem;
    background: #1C338B;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    margin: 0 auto;
    position: relative;
    max-width: 1200px;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: 80px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    white-space: nowrap;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 主要内容区 */
.main-content {
    margin: 0 auto;
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-section {
    display: flex;
    justify-content: center;
    background: #133490;
    width: 100%;
    overflow-x: hidden;
}

.section-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 120px);
    /* padding: 3rem; */
}

.content-left {
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    color: var(--cyan);
    font-size: 0.95rem;
}

.feature-item {
    font-weight: 500;
}

.feature-divider {
    color: rgba(255, 255, 255, 0.5);
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.content-right {
    position: relative;
}

.hero-image-container {
    position: relative;
    height: 600px;
}

.businessman-img {
    border-radius: 20px;
    overflow: hidden;
}

.placeholder-icon {
    font-size: 5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    width: 400px;
    height: 100%;
    border-radius: 20px;
    margin-top: 2rem;
}

/* 卡片元素 */
.card-element {
    position: absolute;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

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

.card-account {
    top: 2rem;
    right: 0%;
    width: 280px;
    background: var(--cyan);
    color: var(--text-white);
    animation-delay: 0s;
}

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

.card-logo {
    font-size: 0.9rem;
    font-weight: 600;
}

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

.card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.card-number {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-date {
    font-size: 0.9rem;
}

.card-chips {
    display: flex;
    gap: 0.3rem;
}

.chip {
    width: 30px;
    height: 20px;
    border-radius: 5px;
}

.chip-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.chip-blue {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.card-wallet {
    top: 35%;
    right: 0;
    width: 220px;
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation-delay: 0.5s;
}

.wallet-icon {
    font-size: 2rem;
}

.wallet-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.3rem;
}

.wallet-amount {
    font-size: 1.3rem;
    font-weight: 700;
}

.card-exchange {
    bottom: 15%;
    left: 10%;
    width: 260px;
    background: var(--card-bg);
    color: #333;
    animation-delay: 1s;
}

.exchange-top,
.exchange-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exchange-label {
    font-size: 0.85rem;
    color: #666;
}

.exchange-amount {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.amount-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.currency {
    font-size: 0.9rem;
    color: #666;
}

.exchange-icon {
    text-align: center;
    font-size: 1.5rem;
    margin: 0.8rem 0;
}

/* 地球仪 */
.globe-container {
    position: absolute;
    bottom: 2rem;
    right: 0;
    width: 300px;
    height: 300px;
    z-index: 1;
}

.globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    position: relative;
    overflow: hidden;
    animation: rotate 20s linear infinite;
}

.globe-image {
    width: 130%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    position: relative;
    left: -15%;
    top: -15%;
}

.globe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 浮动按钮 */
.floating-buttons {
    position: fixed;
    right: 2rem;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
    background: var(--text-white);
    border-radius: 50px;
    padding: 0.2rem 0.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    padding: 10px;
    margin: 0.2rem 0;
    position: relative;
}

.float-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.1);
}

/* 邮箱tooltip样式 */
.email-tooltip {
    position: absolute;
    right: 65px;
    background: #1C338B;
    color: var(--text-white);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
}

.email-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #1C338B;
}

.email-btn:hover .email-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.btn-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.whatsapp {
    width: 38px;
    height: 38px;
}

.back-icon{
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.float-btn .icon {
    font-size: 1.8rem;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        height: 500px;
    }
    
    .businessman-img {
        width: 380px;
        height: 420px;
    }
    
    .card-account {
        width: 240px;
    }
    
    .card-wallet {
        width: 190px;
    }
    
    .globe-container {
        width: 350px;
        height: 350px;
    }
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 70px);
        background: #1C338B;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s;
        align-items: flex-start;
        margin-left: 0;
        overflow-x: hidden;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-content {
        padding: 0;
        margin-top: 70px;
        width: 100%;
        max-width: 100vw;
    }
    
    .hero-section {
        width: 100%;
        max-width: 100vw;
    }
    
    .section-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .content-left {
        order: 2;
        padding: 0 0.5rem;
    }
    
    .content-right {
        order: 1;
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .features {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }
    
    .hero-image-container {
        height: auto;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .businessman-img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
    
    .placeholder-icon {
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }
    
    .card-account {
        display: none;
    }
    
    .card-wallet {
        display: none;
    }
    
    .card-exchange {
        display: none;
    }
    
    .globe-container {
        width: 200px;
        height: 200px;
        bottom: -20px;
        right: -20px;
    }
    
    /* 浮动按钮移动端优化 - 保持与PC端一致的样式 */
    .floating-buttons {
        right: 0.8rem;
        top: auto;
        bottom: 80px;
        transform: none;
        gap: 0;
        background: var(--text-white);
        border-radius: 50px;
        padding: 0.2rem 0.2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        background: transparent;
        box-shadow: none;
        margin: 0.2rem 0;
        padding: 10px;
    }
    
    .float-btn:hover {
        background: rgba(37, 99, 235, 0.1);
        transform: scale(1.05);
    }
    
    .btn-icon {
        width: 22px;
        height: 22px;
    }
    
    /* 移动端隐藏邮箱tooltip */
    .email-tooltip {
        display: none;
    }
    
    /* 返回顶部按钮移动端优化 - 与浮动按钮对齐 */
    .back-to-top {
        bottom: 1.5rem;
        right: 0.85rem;
        width: 44px;
        height: 44px;
    }
    
    .back-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .features {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .disclaimer {
        font-size: 0.8rem;
    }
    
    .hero-image-container {
        height: auto;
    }
    
    .businessman-img {
        max-width: 240px;
    }
    
    .globe-container {
        width: 160px;
        height: 160px;
        bottom: -15px;
        right: -15px;
    }
    
    .floating-buttons {
        right: 0.85rem;
        bottom: 70px;
        gap: 0;
        padding: 0.15rem 0.15rem;
    }
    
    .float-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 8px;
        margin: 0.15rem 0;
    }
    
    .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .back-to-top {
        bottom: 1.2rem;
        right: 0.85rem;
        width: 40px;
        height: 40px;
    }
    
    .back-icon {
        width: 18px;
        height: 18px;
    }
}
