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

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

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover {
    color: #2c5aa0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    color: white;
    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 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.chart-container {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 教育区域 */
.education {
    padding: 100px 0;
    background: #f8faff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.education-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s ease;
}

.education-card:hover .card-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.education-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.education-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.education-card ul {
    list-style: none;
}

.education-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.education-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* 工具区域 */
.tools {
    padding: 100px 0;
    background: white;
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.tool-card {
    background: #f8faff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e1e9ff;
}

.tool-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.tool-card > p {
    color: #666;
    margin-bottom: 2rem;
}

.assessment-form, .calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.question {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #e1e9ff;
}

.question p {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.radio-group label:hover {
    background: #f0f4ff;
}

.radio-group input[type="radio"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
    accent-color: #2c5aa0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #2c5aa0;
}

.input-group input, .input-group select {
    padding: 12px 15px;
    border: 2px solid #e1e9ff;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.result-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e1e9ff;
    margin-top: 2rem;
}

.result-container h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f4ff;
}

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

.result-item span:first-child {
    font-weight: 600;
    color: #2c5aa0;
}

.result-item span:last-child {
    font-weight: 700;
    color: #333;
}

.recommendations ul {
    list-style: none;
    margin-top: 1rem;
}

.recommendations li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.recommendations li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

/* 市场分析区域 */
.market {
    padding: 100px 0;
    background: #f8faff;
}

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

.market-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.15);
}

.market-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-wrapper {
    height: 300px;
    margin-bottom: 1.5rem;
    position: relative;
}

.market-card p {
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    padding: 1.5rem;
    background: #f8faff;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
}

.info-item h4 {
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* FAQ区域 */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e1e9ff;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: #f8faff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f0f4ff;
}

.faq-question h3 {
    color: #2c5aa0;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    color: #2c5aa0;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}

/* 投资策略区域 */
.strategies {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.strategy-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.strategy-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.strategy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.strategy-icon svg {
    width: 30px;
    height: 30px;
    color: white;
    stroke: currentColor;
    fill: none;
}

.strategy-header h3 {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.strategy-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strategy-tag:not(.popular):not(.growth):not(.balanced) {
    background: #4caf50;
    color: white;
}

.strategy-tag.popular {
    background: #ff9800;
    color: white;
}

.strategy-tag.growth {
    background: #f44336;
    color: white;
}

.strategy-tag.balanced {
    background: #2196f3;
    color: white;
}

.strategy-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.strategy-features {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.feature-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.risk-level {
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    min-width: 40px;
}

.risk-level.low {
    background: #4caf50;
    color: white;
}

.risk-level.medium {
    background: #ff9800;
    color: white;
}

.risk-level.high {
    background: #f44336;
    color: white;
}

.strategy-benefits h4 {
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.strategy-benefits ul {
    list-style: none;
    padding: 0;
}

.strategy-benefits li {
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.2rem;
}

.strategy-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* 策略对比表格 */
.strategy-comparison {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.strategy-comparison h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.comparison-table {
    display: grid;
    gap: 1px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    color: #ffd700;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
    background: rgba(255, 255, 255, 0.05);
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.table-cell {
    padding: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.table-cell:last-child {
    border-right: none;
}

.font-weight-600 {
    font-weight: 600;
    color: #ffd700;
}

/* 投资计算器图表样式 */
.chart-wrapper {
    height: 300px;
    width: 100%;
    margin-top: 1rem;
    position: relative;
}

#investmentChart {
    max-height: 300px;
    width: 100% !important;
    height: 300px !important;
}

/* 免责声明 */
.disclaimer {
    padding: 50px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.disclaimer h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.disclaimer p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-weight: 700;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .tools-container {
        grid-template-columns: 1fr;
    }
    
    .strategies-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        font-size: 0.9rem;
    }
    
    .table-cell {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .education-grid,
    .market-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 50px;
    }

    .chart-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .education-card,
    .tool-card,
    .market-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .hero,
    .education,
    .tools,
    .market,
    .faq,
    .strategies {
        padding: 60px 0;
    }
    
    .strategies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .strategy-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .strategy-header h3 {
        order: -1;
        margin-bottom: 0.5rem;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .table-cell {
        padding: 0.8rem;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .table-cell:before {
        content: attr(data-label) ': ';
        font-weight: 600;
        color: #ffd700;
        display: inline-block;
        margin-right: 0.5rem;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1e3d6f;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 自定义提示组件样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #4caf50;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.warning {
    border-left-color: #ff9800;
}

.toast.info {
    border-left-color: #2196f3;
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: #4caf50;
    color: white;
}

.toast.error .toast-icon {
    background: #f44336;
    color: white;
}

.toast.warning .toast-icon {
    background: #ff9800;
    color: white;
}

.toast.info .toast-icon {
    background: #2196f3;
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-message {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toast-close:hover {
    background: #f5f5f5;
    color: #666;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 0 0 12px 12px;
    animation: toastProgress 3s linear forwards;
}

.toast.error .toast-progress {
    background: linear-gradient(90deg, #f44336, #ff5722);
}

.toast.warning .toast-progress {
    background: linear-gradient(90deg, #ff9800, #ffc107);
}

.toast.info .toast-progress {
    background: linear-gradient(90deg, #2196f3, #03a9f4);
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

/* LINE联系功能样式 */
.line-contact {
    background: linear-gradient(135deg, #00C300, #00B300) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(0, 195, 0, 0.3);
}

.line-contact:hover {
    background: linear-gradient(135deg, #00B300, #00A300) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.4) !important;
}

.line-contact::after {
    display: none !important;
}

/* LINE模态框样式 */
.line-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.line-modal.show {
    display: block;
    opacity: 1;
}

.line-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.line-modal.show .line-modal-content {
    transform: translateY(0);
}

.line-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #666;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.line-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.line-modal-header {
    background: linear-gradient(135deg, #00C300, #00B300);
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
}

.line-logo {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.line-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.line-modal-body {
    padding: 25px;
}

.line-modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.line-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.line-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8faff;
    border-radius: 10px;
    border-left: 3px solid #00C300;
    transition: all 0.3s ease;
}

.line-feature:hover {
    background: #f0f8f0;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.2rem;
}

.line-feature span:last-child {
    color: #2c5aa0;
    font-weight: 500;
    font-size: 0.9rem;
}

.line-qr-section {
    text-align: center;
    margin-bottom: 20px;
}

.line-qr-section p {
    margin-bottom: 15px;
    color: #333;
}

.line-add-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00C300, #00B300);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
}

.line-add-button:hover {
    background: linear-gradient(135deg, #00B300, #00A300);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 195, 0, 0.4);
}

.line-disclaimer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #ffc107;
}

.line-disclaimer p {
    margin: 0;
    text-align: left;
}

.line-disclaimer small {
    color: #666;
    line-height: 1.4;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .line-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .line-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .line-feature {
        justify-content: center;
        text-align: center;
    }
    
    .line-modal-header {
        padding: 25px 15px 15px;
    }
    
    .line-modal-body {
        padding: 20px 15px;
    }
    
    .line-add-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
