/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #0F172A;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    color: #E2E8F0;
    line-height: 1.6;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    background: url('aaa.png') center center;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

#tickerInput {
    flex: 1;
    min-width: 200px;
    padding: 18px 24px;
    border: 2px solid #334155;
    border-radius: 60px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: border-color 0.3s, background 0.3s;
}

#tickerInput::placeholder {
    color: #94A3B8;
}

#tickerInput:focus {
    outline: none;
    border-color: #60A5FA;
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background-color: #FFB347;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    min-height: 44px;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.btn-primary:hover {
    background-color: #FFA033;
}

.compliance-note {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-top: 12px;
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin: 48px 0 32px;
    color: #F8FAFC;
}

/* Signals Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 24px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.card-icon {
    background: rgba(59, 130, 246, 0.2);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-icon i {
    font-size: 1.5rem;
    color: #60A5FA;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #F8FAFC;
}

.card-desc {
    font-size: 0.85rem;
    color: #CBD5E1;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.feature {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.feature-icon {
    background: rgba(251, 191, 36, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.feature-icon i {
    font-size: 1.8rem;
    color: #FBBF24;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #F8FAFC;
}

.feature-desc {
    font-size: 0.95rem;
    color: #CBD5E1;
}

/* Newsletter Section */
.newsletter {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 48px;
}

.newsletter .section-title {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.newsletter-subtitle {
    font-size: 1rem;
    color: #CBD5E1;
    margin-bottom: 32px;
}

.btn-secondary {
    background-color: #1E88E5;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    min-height: 44px;
}

.btn-secondary:hover {
    background-color: #1976D2;
}

/* WhatsApp Link - 保持按钮样式，点击时样式不变 */
.whatsapp-link {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
}

.whatsapp-link:hover,
.whatsapp-link:active,
.whatsapp-link:focus,
.whatsapp-link:visited {
    text-decoration: none;
    color: inherit;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(71, 85, 105, 0.5);
    margin-top: 20px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.5;
}

.disclaimer p {
    margin-bottom: 16px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #F8FAFC;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
    color: #F8FAFC;
}

.progress-container {
    background: rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    height: 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    height: 100%;
    width: 0%;
    border-radius: 12px;
    transition: width 0.05s linear;
}

.progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #F8FAFC;
}

.modal-complete {
    text-align: center;
    display: none;
}

.modal-complete p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #F8FAFC;
}

.whatsapp-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #94A3B8;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.whatsapp-download:hover {
    color: #60A5FA;
}

.whatsapp-download i {
    font-size: 1rem;
}

/* Modal Info Text */
.modal-info-text {
    font-size: 1.1rem;
    color: #F8FAFC;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-chat-btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .input-group {
        flex-direction: column;
    }
    #tickerInput, .btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 16px;
    }
    .hero {
        padding: 60px 0 40px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .card, .feature {
        padding: 24px 20px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .btn-primary, .btn-secondary {
        padding: 16px 24px;
    }
}
