* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

:root {
    --primary: #2C3E50;
    --accent: #3498DB;
    --highlight: #E74C3C;
    --light: #ECF0F1;
    --dark: #2C3E50;
    --success: #2ECC71;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
}

header {
    text-align: center;
    padding: 30px 0 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 0 0 20px 20px;
    margin: 0 -20px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Latar Belakang Saham */
.stock-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.stock-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: 
        linear-gradient(to right, transparent 95%, rgba(255,255,255,0.1) 100%),
        linear-gradient(to top, transparent 95%, rgba(255,255,255,0.1) 100%);
    background-size: 40px 40px, 40px 40px;
}

.stock-line {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 90%;
    height: 60%;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    fill: none;
}

.stock-candles {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 80%;
    height: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

.candle {
    width: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    position: relative;
}

.candle::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    top: -5px;
    left: -2px;
}

.candle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    bottom: -5px;
    left: -2px;
}

.financial-icons {
    position: absolute;
    top: 20%;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.financial-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.trending-up {
    position: absolute;
    top: 15%;
    left: 5%;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    transform: rotate(15deg);
}

.percentage-up {
    position: absolute;
    top: 25%;
    left: 12%;
    font-size: 16px;
    color: rgba(46, 204, 113, 0.5);
    font-weight: bold;
}

.percentage-down {
    position: absolute;
    top: 40%;
    right: 15%;
    font-size: 14px;
    color: rgba(231, 76, 60, 0.5);
    font-weight: bold;
}

.header-content {
    position: relative;
    z-index: 1;
}

.profile {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    background: url('../assets/images/1.png') center/cover no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.profile:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    z-index: 1;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 16px;
    opacity: 0.9;
    max-width: 80%;
    margin: 0 auto 15px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.intro-section {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.intro-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}

.intro-text {
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.highlight {
    color: var(--highlight);
    font-weight: bold;
}

.course-section {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
}

.features {
    list-style: none;
}

.features li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.features li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--accent);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.feature-content p {
    color: #666;
    font-size: 14px;
}

.testimonial-section {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial {
    background-color: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial:before {
    content: '"';
    font-size: 60px;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
    text-align: right;
}

.whatsapp-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    padding: 30px 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    text-align: center;
    color: white;
}

.whatsapp-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.whatsapp-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.whatsapp-desc {
    margin-bottom: 25px;
    opacity: 0.9;
}

.whatsapp-btn {
    display: inline-block;
    background-color: white;
    color: var(--accent);
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.steps {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.step-content p {
    color: #666;
}

.faq-section {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 16px;
}

.faq-answer {
    color: #666;
    font-size: 14px;
}

/* Footer Styles */
footer {
    background: var(--primary);
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

.footer-link:hover {
    color: white;
}

.disclaimer-link {
    color: var(--accent);
    cursor: pointer;
    font-weight: bold;
}

.copyright {
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

/* Disclaimer Modal Styles */
.disclaimer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.disclaimer-content {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.disclaimer-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.disclaimer-close:hover {
    background-color: var(--light);
}

.disclaimer-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-right: 30px;
}

.disclaimer-body {
    color: #555;
    line-height: 1.7;
}

.disclaimer-body p {
    margin-bottom: 15px;
}

.disclaimer-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.disclaimer-body li {
    margin-bottom: 8px;
}

.disclaimer-accept {
    display: block;
    margin-top: 25px;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.disclaimer-accept:hover {
    background-color: var(--primary);
}

/* Floating WhatsApp Button - Fixed Position */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none; /* 确保容器不干扰点击 */
}

.floating-whatsapp {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    pointer-events: auto; /* 允许按钮接收点击事件 */
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    animation: none;
}

.floating-whatsapp .whatsapp-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-text {
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(44, 62, 80, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* 修复滚动问题 */
html, body {
    overflow-x: hidden;
}