/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1A535C;
    --secondary-color: #B08B59;
    --dark-gray: #2D2D2D;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --danger: #DC3545;
    --success: #28A745;
}

body {
    font-family: 'IBM Plex Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 风险警示条 */
.risk-warning {
    background: linear-gradient(135deg, #DC3545 0%, #C82333 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.risk-warning .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.risk-warning i {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.risk-warning span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
    background: linear-gradient(135deg, #1A535C 0%, #2D7A82 50%, #1A535C 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../imgs/bgc.png) no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-feature-item i {
    color: #FEE500;
    font-size: 1rem;
}

.cta-button {
    background: #FEE500;
    color: #000000;
    border: none;
    padding: 18px 45px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'IBM Plex Sans KR', sans-serif;
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.4);
    width: auto;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: #F5DC00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.6);
}

.btn-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* 股票跑马灯 */
.hero-ticker {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.ticker-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--light-bg);
}

.ticker-header i {
    font-size: 1.3rem;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ticker-item {
    padding: 18px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.ticker-item:hover {
    background: #E9ECEF;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ticker-label {
    font-size: 0.85rem;
    color: #6C757D;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-value {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ticker-value.up {
    color: var(--success);
}

.ticker-value.down {
    color: var(--danger);
}

.ticker-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.ticker-change.up {
    color: var(--success);
}

.ticker-change.down {
    color: var(--danger);
}

.ticker-disclaimer {
    margin-top: 18px;
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    font-style: italic;
}

/* 特色功能区域 */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #2D7A82);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-text > p {
    font-size: 1.1rem;
    color: #6C757D;
    margin-bottom: 10px;
    line-height: 1.8;
}

.feature-note {
    font-size: 0.85rem !important;
    color: var(--danger) !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
}

.feature-text ul {
    list-style: none;
    margin-top: 20px;
}

.feature-text ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.feature-text ul li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--light-bg) 0%, #E9ECEF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.placeholder-image i {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* 会员评价 */
.testimonials {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6C757D;
    margin-top: -40px;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-avatar i {
    font-size: 4rem;
    color: var(--secondary-color);
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

/* 学习日程 */
.schedule {
    padding: 80px 0;
    background: white;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.schedule-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.schedule-day {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.schedule-time {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.schedule-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.schedule-desc {
    font-size: 0.9rem;
    color: #6C757D;
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--light-bg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px 60px;
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    opacity: 0.85;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.footer-small {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-warning {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 固定CTA按钮 */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 90%;
    pointer-events: none;
}

.fixed-cta .cta-button {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    padding: 16px 35px;
    pointer-events: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .risk-warning span {
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        text-align: center;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-features {
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .hero-feature-item {
        font-size: 0.85rem;
    }

    .cta-button {
        font-size: 1.05rem;
        padding: 16px 35px;
        width: 100%;
        max-width: 320px;
        gap: 10px;
    }

    .hero-ticker {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
        text-align: center;
    }

    .feature-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .feature-text > p {
        text-align: center;
    }

    .feature-text ul {
        text-align: left;
        display: inline-block;
    }

    .feature-image {
        width: 100%;
        max-width: 100%;
    }

    .feature-image img {
        max-width: 100%;
        height: auto;
    }

    .placeholder-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fixed-cta {
        bottom: 15px;
        max-width: 350px;
    }

    .fixed-cta .cta-button {
        padding: 14px 25px;
        font-size: 0.95rem;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0 50px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-features {
        gap: 12px;
        margin-bottom: 25px;
        flex-direction: column;
        align-items: center;
    }

    .hero-feature-item {
        font-size: 0.8rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 15px 30px;
        max-width: 280px;
    }

    .btn-icon {
        width: 22px;
        height: 22px;
    }

    .hero-ticker {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-text h3 {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px 45px;
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 25px;
    }

    .schedule-card {
        padding: 25px;
    }

    .fixed-cta {
        bottom: 10px;
        max-width: 95%;
    }

    .fixed-cta .cta-button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

