/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #1e40af;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.download-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.download-btn::after {
    display: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6b7280;
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-icon {
    font-size: 20px;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-bg {
    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><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23e2e8f0" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero-title .highlight {
    color: #1e40af;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    text-align: center;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.feature-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 20px;
    height: 100%;
}

.market-data {
    margin-top: 40px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.stock-name {
    font-weight: 500;
    color: #374151;
}

.stock-price {
    font-weight: 600;
    font-size: 1.1rem;
}

.stock-change {
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.up {
    color: #dc2626;
}

.down {
    color: #059669;
}

.stock-change.up {
    background: rgba(220, 38, 38, 0.1);
}

.stock-change.down {
    background: rgba(5, 150, 105, 0.1);
}

/* 通用样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* 产品优势 */
.features {
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 3px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-desc {
    color: #6b7280;
    line-height: 1.6;
}

/* 配资服务 */
.services {
    background: white;
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: white;
}

.tab-content {
    display: none;
}

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

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 8px 0;
    color: #374151;
    font-weight: 500;
}

.calculation-demo,
.trend-chart,
.promotion-banner {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
}

.calculation-demo h4,
.trend-chart h4,
.promotion-banner h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-size: 1.25rem;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.calc-item:last-child {
    border-bottom: none;
}

.calc-item.highlight {
    background: rgba(30, 64, 175, 0.1);
    margin: 0 -1rem;
    padding: 12px 1rem;
    border-radius: 8px;
}

.amount {
    color: #1e40af;
    font-weight: 600;
}

.multiplier {
    color: #dc2626;
    font-weight: 600;
}

.total {
    color: #059669;
    font-weight: 600;
    font-size: 1.1rem;
}

.profit {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
}

.chart-placeholder {
    height: 150px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 10px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 100px;
}

.bar {
    width: 20px;
    background: linear-gradient(to top, #1e40af, #3b82f6);
    border-radius: 2px 2px 0 0;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        height: 0;
    }
}

.promotion-banner {
    text-align: center;
}

.promo-text {
    margin: 1rem 0;
}

.big-text {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.small-text {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 500;
}

/* 安全保障 */
.safety {
    background: #f8fafc;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.safety-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.safety-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.safety-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
    margin-top: 8px;
}

/* 费用说明 */
.pricing {
    background: white;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #1e40af;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.1);
}

.pricing-card.featured {
    border-color: #1e40af;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: #374151;
}

.fee-notes {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #1e40af;
}

.fee-notes h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.fee-notes ul {
    list-style: none;
    color: #6b7280;
}

.fee-notes li {
    padding: 4px 0;
}

/* 用户评价 */
.testimonials {
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #374151;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

.rating {
    color: #fbbf24;
}

/* 下载APP */
.download {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.download-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.download-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.download-features .feature-icon {
    font-size: 1.25rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.download .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.qr-code {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-inner {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.7;
}

.phone-showcase {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.phone-frame .phone-screen {
    background: #ffffff;
    border-radius: 20px;
}

.app-preview {
    padding: 20px;
    height: 100%;
    color: #374151;
}

.app-header {
    margin-bottom: 2rem;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
}

.app-balance {
    color: #059669;
    font-weight: 600;
}

.app-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.menu-item {
    background: #f8fafc;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.menu-item.active {
    background: #dbeafe;
    border: 2px solid #3b82f6;
}

.menu-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.menu-text {
    font-weight: 500;
    color: #374151;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-logo p {
    color: #9ca3af;
    margin-top: 1rem;
}

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

.footer-info p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* 浮动元素 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    z-index: 1000;
}

.contact-btn {
    background: #059669;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.contact-icon {
    font-size: 1.25rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-contact {
        bottom: 8rem;
        right: 1rem;
    }
    
    .contact-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card,
    .safety-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.safety-card,
.testimonial-card,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}