/* 马股投资公益班落地页样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700;900&display=swap');

:root {
    --primary-color: #1a472a;
    --secondary-color: #2e8b57;
    --accent-color: #ff6b35;
    --gold-color: #ffd700;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --success-color: #28a745;
    --gradient-bg: linear-gradient(135deg, #1a472a 0%, #2e8b57 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    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 100 100"><defs><pattern id="chart" patternUnits="userSpaceOnUse" width="50" height="50"><path d="M5,45 L15,35 L25,40 L35,25 L45,30" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23chart)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInDown 1s ease-out;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero .highlight {
    color: var(--gold-color);
    font-weight: 900;
}

.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 900;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

.badge-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-desc {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* Stock ticker animation */
.stock-ticker {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    color: var(--gold-color);
    padding: 10px;
    font-weight: 700;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    margin-right: 50px;
    white-space: nowrap;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Image-Text Modules */
.image-text-module {
    padding: 80px 0;
}

.module-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.module-content.reverse {
    direction: rtl;
}

.module-content.reverse > * {
    direction: ltr;
}

.module-text h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.module-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.module-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    
}

/* Rules Section */
.rules {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.rules-list {
    max-width: 800px;
    margin: 0 auto;
}

.rule-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold-color);
    font-weight: 700;
}

.rule-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    animation: bounce 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fixed-cta:hover {
    background: #ff5722;
    transform: translateX(-50%) translateY(-3px);
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-left {
        text-align: center;
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .hero-badge {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
    }
    
    .badge-text {
        font-size: 1.2rem;
    }
    
    .about-content,
    .module-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Stock chart elements */
.chart-bg {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    opacity: 0.1;
    font-size: 20rem;
    color: white;
    z-index: 1;
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--gold-color);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold-color);
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.disclaimer-section,
.risk-warning {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.disclaimer-section h4,
.risk-warning h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    font-weight: 900;
}

.disclaimer-section p,
.risk-warning p {
    line-height: 1.6;
    opacity: 0.95;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gold-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.compliance-note {
    font-size: 0.8rem !important;
    opacity: 0.7 !important;
    font-style: italic;
}

/* Additional stock styling elements */
.stock-symbol {
    color: var(--success-color);
    font-weight: 900;
}

.price-up {
    color: var(--success-color);
}

.price-down {
    color: var(--accent-color);
}
