/* 
    TradeFX 响应式网站样式表
    支持多种设备：手机、平板和桌面
*/

/* 基础样式和重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #00b4d8;
    --accent-color: #48cae4;
    --text-color: #333;
    --light-bg: #f0f9ff;
    --dark-bg: #1e3a8a;
    --border-color: #e0e0e0;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn.primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
}

.btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.register-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

section {
    padding: 80px 0;
}

/* 导航和头部 */
header {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width var(--transition-speed) ease;
}

nav ul li a:hover:before,
nav ul li a.active:before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* 英雄/Banner区域 */
.hero {
    background-image: url('https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0;
    position: relative;
    text-align: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(0, 180, 216, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.features {
    display: flex;
    justify-content: space-around;
    max-width: 850px;
    margin: 40px auto 0;
}

.feature {
    padding: 30px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature h2 {
    font-size: 2.2rem;
    margin-bottom: 0;
    text-align: center;
}

.feature h2:after {
    display: none;
}

.feature h2 span {
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 平台图标区域 */
.platforms {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.platforms:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    border-radius: 0 0 50% 50%;
}

.platform-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.platform-item {
    text-align: center;
    transition: transform var(--transition-speed) ease;
}

.platform-item:hover {
    transform: translateY(-10px);
}

.platform-item img {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* 为什么选择我们 */
.why-choose-us {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #666;
    font-size: 1.1rem;
}

.benefits {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    flex: 1;
    min-width: 280px;
    padding: 40px 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* TradeFX平台区域 */
.exness-platform {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.exness-platform:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(72, 202, 228, 0.1), transparent);
    border-radius: 50%;
}

.platform-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.platform-text {
    flex: 1;
    min-width: 300px;
}

.platform-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.platform-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 页面Banner */
.page-banner {
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(0, 180, 216, 0.75));
}

.page-banner h1 {
    position: relative;
    z-index: 1;
    color: white;
}

/* 账户类型表格 */
.account-types {
    padding: 100px 0;
    background-color: white;
}

.account-table {
    overflow-x: auto;
    margin-top: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    overflow: hidden;
}

table th {
    background: linear-gradient(135deg, var(--primary-color), #2a4a9a);
    color: white;
    padding: 20px 15px;
    text-align: center;
}

table td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background-color: #f8f9fa;
}

.feature-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* 更多信息区域 */
.more-info {
    background-color: var(--light-bg);
    text-align: center;
    padding: 80px 0;
}

/* 安全资金区域 */
.secure-funds {
    padding: 100px 0;
    background-color: white;
}

.security-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
}

.security-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.security-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.security-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* 关于平台 */
.about-platform {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* 监管机构列表 */
.platform-regulators {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.regulators-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.regulator-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    width: 150px;
}

.regulator-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.regulator-item img {
    height: 80px;
    margin-bottom: 15px;
}

.regulator-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

/* 交易产品类 */
.trading-products {
    padding: 100px 0;
    background-color: white;
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.product-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    width: 180px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.product-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* 合作伙伴计划样式 */
.coop-intro {
    padding: 100px 0;
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.commission-structure {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.commission-table {
    max-width: 900px;
    margin: 50px auto 30px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commission-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
    color: #666;
}

.cooperation-benefits {
    padding: 100px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.cooperation-steps {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
}

.steps-container:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 60px;
    width: calc(100% - 120px);
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}

.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2a4a9a);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section h2:after {
    background: white;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-section .btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 页脚 */
footer {
    background-color: #161e2e;
    color: white;
    padding: 80px 0 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column a {
    color: #ccc;
    transition: color var(--transition-speed) ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
    line-height: 1.8;
}

.risk-warning {
    font-style: italic;
    margin-top: 15px;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}

/* 媒体查询 - 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .feature h2 {
        font-size: 1.8rem;
    }
    
    .benefits, 
    .security-features {
        gap: 20px;
    }
    
    .steps-container:before {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0;
    }
    
    .features {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature {
        padding: 20px;
    }
    
    .feature h2 {
        font-size: 1.6rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .benefit-card,
    .security-item,
    .benefit-item {
        min-width: 100%;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .step-item {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-buttons,
    .cta-container {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 20px;
    }
} 