/**
 * 幸运日历 Lucky Calendar - 青绿幸运色系
 * 不依赖任何外部库，纯手写CSS
 */

/* ========== 重置样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========== 栅格系统 ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 { width: 100%; padding: 0 15px; }
.col-6 { width: 50%; padding: 0 15px; }
.col-4 { width: 33.333%; padding: 0 15px; }
.col-3 { width: 25%; padding: 0 15px; }

/* ========== 工具类 ========== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }

.section-padding {
    padding: 100px 0;
}

/* ========== Header 头部导航 ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-area {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(16, 185, 129, 0.1);
}

.header-transparent {
    background: transparent;
    box-shadow: none;
}

.header-sticky {
    padding: 15px 0;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-menu nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    padding: 10px 0;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-menu nav ul li a:hover {
    color: #10b981;
}

.main-menu nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #10b981, #34d399);
    transition: width 0.3s ease;
}

.main-menu nav ul li a:hover::after {
    width: 100%;
}

.header-btn2 {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.header-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.mobile_menu {
    display: none;
}

/* ========== Hero Section ========== */
.slider-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.slider-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 211, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-caption h1 {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-caption h3 {
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

.hero-caption p {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #10b981;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    margin-right: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #10b981;
}

.hero-icon {
    font-size: 200px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========== Section Titles ========== */
.section-tittle h1,
.section-tittle h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-tittle p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.section-tittle span {
    display: block;
    color: #10b981;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* ========== Feature Cards ========== */
.feature-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #10b981, #34d399);
}

.feature-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

/* ========== Statistics ========== */
.stats-area {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-box {
    text-align: center;
    color: #fff;
    padding: 30px;
}

.counter {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stats-label {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
}

/* ========== Testimonials ========== */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

/* ========== Download CTA ========== */
.download-area {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-area h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.download-area p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: #fff;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* ========== Footer ========== */
footer {
    background: #1f2937;
    color: #e5e7eb;
}

.footer-area {
    padding: 80px 0 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-tittle h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-tittle ul li {
    margin-bottom: 12px;
}

.footer-tittle ul li a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-tittle ul li a:hover {
    color: #10b981;
}

.footer-pera p {
    color: #9ca3af;
    line-height: 1.8;
}

.footer-bottom-area {
    padding: 30px 0;
    border-top: 1px solid #374151;
}

.footer-copy-right {
    text-align: center;
    color: #9ca3af;
}

.footer-copy-right a {
    color: #10b981;
}

.footer-copy-right a:hover {
    color: #34d399;
}

/* ========== Back to Top ========== */
#back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

#back-top a {
    color: #fff;
    font-size: 24px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-top.show {
    opacity: 1;
    visibility: visible;
}

#back-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* ========== 响应式设计 ========== */
@media (max-width: 991px) {
    .col-6 { width: 100%; }
    .col-4 { width: 50%; }
    .col-3 { width: 50%; }
    
    .main-menu { display: none; }
    .mobile_menu { display: block; }
    
    .hero-caption h1 { font-size: 48px; }
    .hero-caption h3 { font-size: 24px; }
    .hero-icon { font-size: 150px; }
}

@media (max-width: 767px) {
    .col-4, .col-3 { width: 100%; }
    
    .hero-caption h1 { font-size: 36px; }
    .hero-caption h3 { font-size: 20px; }
    .hero-caption p { font-size: 16px; }
    .hero-icon { font-size: 120px; }
    
    .hero-btn, .btn {
        padding: 14px 35px;
        font-size: 16px;
        display: block;
        margin: 10px 0;
    }
    
    .section-tittle h1,
    .section-tittle h2 { font-size: 32px; }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .counter { font-size: 42px; }
    
    #back-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
