/* 
 * BeyondJeet CopyTrade - Main Stylesheet
 * 专业级 Solana 跟单交易系统官网样式
 */

:root {
    --primary-color: #6c5ce7;
    --primary-dark: #5649c0;
    --primary-light: #a29bfe;
    --secondary-color: #00b894;
    --accent-color: #fdcb6e;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --gray-color: #b2bec3;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --bg-color: #f8f9fa;
    --card-bg-color: #ffffff;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --heading-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* 基础样式 */
body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 导航栏 */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(108, 92, 231, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
}

.navbar-nav .nav-link.btn {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
}

.navbar-nav .nav-link.btn:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-section img {
    transform: perspective(1000px) rotateY(-10deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.hero-section img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 通用部分样式 */
.section-padding {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

/* 功能卡片 */
.feature-card {
    background-color: var(--card-bg-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(108, 92, 231, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    z-index: -1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #636e72;
    margin-bottom: 0;
}

/* 平台卡片 */
.platform-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.05);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
}

.platform-card img {
    height: 60px;
    margin-bottom: 1rem;
}

.platform-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* 高级功能 */
.advanced-feature {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.03);
    transition: all 0.3s ease;
}

.advanced-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.12);
}

.advanced-feature h4 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.advanced-feature h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    background-color: rgba(108, 92, 231, 0.1);
    padding: 0.35rem;
    border-radius: 6px;
}

.advanced-feature p {
    color: #636e72;
    padding-left: 1.75rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 价格卡片 */
.pricing-card {
    background-color: var(--card-bg-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 8px;
}

.pricing-header {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 400;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.pricing-features li i.bi-check-circle {
    color: var(--success-color);
}

.pricing-features li i.bi-x-circle {
    color: var(--danger-color);
}

.pricing-features li.disabled {
    color: var(--gray-color);
}

/* FAQ 手风琴 */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background-color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(108, 92, 231, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(108, 92, 231, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c5ce7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem;
    color: #636e72;
}

/* 客户案例 */
.case-study-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.15);
}

.case-study-image {
    overflow: hidden;
    position: relative;
}

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

.case-study-content {
    padding: 1.5rem;
}

.case-study-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.case-study-content .trader-name {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-content .trader-name i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.twitter-profile {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.twitter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid var(--primary-color);
}

.twitter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twitter-info {
    flex: 1;
}

.twitter-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: var(--dark-color);
}

.twitter-handle {
    font-size: 0.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.case-study-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.stat-item {
    flex: 1;
    min-width: 80px;
    text-align: center;
}

.stat-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* 联系表单 */
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > textarea.form-control {
    height: auto;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: #dfe6e9;
    padding: 5rem 0 2rem;
}

.footer h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: #dfe6e9;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: white;
    text-decoration: none;
}

.footer-links li i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links li a {
    color: #b2bec3;
    font-size: 0.9rem;
}

.footer-bottom-links li a:hover {
    color: white;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .feature-card,
    .platform-card,
    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
