/* 主要交易區塊樣式 */
.trading-hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.trading-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.2;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.trading-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.section-title-white {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
    text-align: center;
}

.section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
    text-align: center;
}

@keyframes slideInDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 主要內容容器 - 居中佈局 */
.trading-main-container {
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* CTA區域 - 居中顯示 */
.cta-section {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 主要CTA按鈕 */
.main-cta-button {
    background: white;
    color: var(--primary-color);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.main-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s;
}

.main-cta-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255,255,255,0.3);
    color: var(--accent-color);
    border-color: rgba(255,255,255,0.5);
}

.main-cta-button:hover::before {
    left: 100%;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--accent-color);
}

.cta-text {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* 特色功能卡片 */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-card-text {
    width: 100%;
}

.feature-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-card-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .cta-section {
        max-width: 400px;
    }
    
    .main-cta-button {
        padding: 1.5rem;
        font-size: 1.2rem;
    }
    
    .cta-icon {
        font-size: 2.5rem;
    }
    
    .feature-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .trading-hero-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-section {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .main-cta-button {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    .cta-icon {
        font-size: 2rem;
    }
    
    .feature-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .feature-card {
        padding: 0.8rem 0.5rem;
    }
    
    .feature-card-content {
        gap: 0.5rem;
    }
    
    .feature-card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .feature-card-title {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    /* 手機端隱藏描述文字 */
    .feature-card-desc {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .main-cta-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .cta-icon {
        font-size: 1.8rem;
    }
    
    .feature-cards-grid {
        gap: 0.3rem;
    }
    
    .feature-card {
        padding: 0.6rem 0.3rem;
    }
    
    .feature-card-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .feature-card-title {
        font-size: 0.8rem;
    }
}

/* 背景裝飾 */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: floatShapes 25s infinite linear;
}

.shape:nth-child(1) { left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { left: 20%; animation-delay: 5s; }
.shape:nth-child(3) { left: 40%; animation-delay: 10s; }
.shape:nth-child(4) { left: 60%; animation-delay: 15s; }
.shape:nth-child(5) { left: 80%; animation-delay: 20s; }

@keyframes floatShapes {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(180deg); }
}