/* Home Page Styles */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
}

/* Navigation */
.landing-navbar { 
    background: white; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

/* Mobile Navigation Buttons */
.mobile-nav-btn {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    min-width: auto !important;
    white-space: nowrap !important;
}

@media (max-width: 991.98px) {
    .mobile-nav-btn {
        font-size: 0.85rem !important;
        padding: 6px 14px !important;
    }
}

@media (max-width: 575.98px) {
    .mobile-nav-btn {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
    
    .landing-navbar .d-lg-none {
        gap: 8px !important;
    }
}

/* Hero Section */
.hero-section { 
    background: linear-gradient(135deg, var(--main-600) 0%, var(--main-800) 100%); 
    padding: 100px 0 80px !important; 
    color: white; 
    position: relative; 
    overflow: hidden; 
    margin-bottom: 0 !important; 
}

.hero-section::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: url('/assets/images/bg/star-shape.png') no-repeat center; 
    opacity: 0.1; 
}

/* Hero Slider */
.hero-slider { 
    position: relative; 
    min-height: 180px; 
}

.hero-slider .slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
}

.hero-slider .slide.active { 
    opacity: 1; 
    position: relative; 
}

/* Slider Dots */
.slider-dots { 
    display: flex; 
    gap: 8px; 
}

.dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.4); 
    cursor: pointer; 
    transition: all 0.3s; 
}

.dot.active { 
    background: white; 
    width: 28px; 
    border-radius: 5px; 
}

.dot:hover { 
    background: rgba(255,255,255,0.7); 
}

/* Stat Cards */
.stat-card { 
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(10px); 
    border-radius: 16px; 
    padding: 28px; 
    text-align: center; 
    border: 1px solid rgba(255,255,255,0.2); 
    transition: all 0.3s; 
}

.stat-card:hover { 
    background: rgba(255,255,255,0.2); 
    transform: translateY(-4px); 
}

.stat-number { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 8px; 
}

.stat-label { 
    font-size: 0.95rem; 
    opacity: 0.95; 
}

/* Section Spacing */
#features { 
    padding: 120px 0 !important; 
    margin: 0 !important; 
}

#pricing { 
    padding: 120px 0 !important; 
    margin: 0 !important; 
}

#faq { 
    padding: 120px 0 !important; 
    margin: 0 !important; 
}

/* Feature Cards */
#features .container { 
    max-width: 1200px !important; 
}

#features .row { 
    row-gap: 48px !important; 
    margin: 0 -20px !important; 
}

#features .col-4 { 
    padding: 0 20px !important; 
    flex: 0 0 33.333333% !important; 
    max-width: 33.333333% !important; 
}

.feature-card { 
    background: white !important; 
    border-radius: 20px !important; 
    padding: 48px 36px !important; 
    text-align: center !important; 
    transition: all 0.3s !important; 
    border: 1px solid #e5e7eb !important; 
    height: 100% !important;
    min-height: 280px !important;
}

.feature-card:hover { 
    transform: translateY(-8px) !important; 
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important; 
    border-color: var(--main-200) !important; 
}

.feature-icon { 
    width: 80px !important; 
    height: 80px !important; 
    background: var(--main-50) !important; 
    color: var(--main-600) !important; 
    border-radius: 20px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    font-size: 2.5rem !important; 
    margin: 0 auto 32px !important; 
    transition: all 0.3s !important; 
}

.feature-card:hover .feature-icon { 
    background: var(--main-600) !important; 
    color: white !important; 
    transform: scale(1.1) !important; 
}

.feature-card h3 { 
    margin-bottom: 24px !important; 
    font-size: 1.25rem !important; 
}

.feature-card p { 
    line-height: 1.8 !important; 
    font-size: 0.95rem !important; 
}

/* Pricing Cards */
#pricing .container { 
    max-width: 1200px !important; 
}

#pricing .row { 
    row-gap: 48px !important; 
    margin: 0 -20px !important; 
}

#pricing .col-4 { 
    padding: 0 20px !important; 
    flex: 0 0 33.333333% !important; 
    max-width: 33.333333% !important; 
}

.pricing-card { 
    background: white !important; 
    border-radius: 24px !important; 
    padding: 48px 40px !important; 
    border: 2px solid #e5e7eb !important; 
    transition: all 0.3s !important; 
    height: 100% !important;
    min-height: 520px !important;
    display: flex !important;
    flex-direction: column !important;
}

.pricing-card:hover { 
    border-color: var(--main-600) !important; 
    box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important; 
    transform: translateY(-4px) !important; 
}

.pricing-card.featured { 
    border-color: var(--main-600) !important; 
    background: linear-gradient(135deg, var(--main-50) 0%, white 100%) !important; 
    position: relative !important; 
    transform: scale(1.05) !important; 
    box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important; 
}

.pricing-card.featured:hover { 
    transform: scale(1.05) translateY(-4px) !important; 
}

.pricing-card.featured::before { 
    content: '推荐'; 
    position: absolute; 
    top: 28px; 
    right: 28px; 
    background: var(--main-600); 
    color: white; 
    padding: 8px 20px; 
    border-radius: 24px; 
    font-size: 0.8rem; 
    font-weight: 600; 
}

.pricing-card .text-center { 
    margin-bottom: 32px !important; 
}

.pricing-card h3 { 
    font-size: 1.5rem !important; 
    margin-bottom: 16px !important; 
}

.pricing-card ul { 
    margin-bottom: 40px !important; 
    flex-grow: 1 !important; 
}

.pricing-card ul li { 
    margin-bottom: 20px !important; 
    padding: 4px 0 !important; 
}

.pricing-card .btn { 
    margin-top: auto !important; 
}

.price-tag { 
    font-size: 3.5rem !important; 
    font-weight: 700 !important; 
    color: var(--main-600) !important; 
    margin: 28px 0 !important; 
    line-height: 1 !important; 
}

.price-period { 
    font-size: 1.1rem !important; 
    font-weight: 400 !important; 
    color: #6b7280 !important; 
}

/* FAQ Cards */
#faq .container { 
    max-width: 1100px !important; 
}

#faq .row { 
    row-gap: 32px !important; 
}

.faq-item { 
    background: white !important; 
    border-radius: 20px !important; 
    padding: 36px !important; 
    border: 1px solid #e5e7eb !important; 
    transition: all 0.3s !important;
    min-height: 200px !important;
}

.faq-item:hover { 
    border-color: var(--main-200) !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; 
}

.faq-item h3 { 
    font-size: 1.1rem !important; 
    line-height: 1.5 !important; 
}

.faq-item p { 
    line-height: 1.8 !important; 
    font-size: 0.95rem !important; 
}

/* Footer */
.footer-section { 
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; 
    color: white !important; 
    padding: 80px 0 0 !important; 
    position: relative !important;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

/* Footer Social Buttons */
.footer-social-btn {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 1.25rem !important;
}

.footer-social-btn:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px !important;
}

.footer-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.footer-link:hover {
    color: white !important;
    transform: translateX(4px) !important;
}

/* Footer Contact */
.footer-contact-icon {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 32px 0 !important;
    margin-top: 48px !important;
}

.footer-bottom-link {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease !important;
}

.footer-bottom-link:hover {
    color: #e2e8f0 !important;
}

.text-logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--main-600); 
    text-decoration: none !important; 
}

/* Mobile Responsive Styles */
@media (max-width: 1199.98px) {
    /* Large screens - 2 columns */
    #features .col-4,
    #pricing .col-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 991.98px) {
    /* Medium screens */
    .hero-section {
        padding: 80px 0 60px !important;
    }
    
    .hero-section .col-lg-7 {
        text-align: center;
    }
    
    .hero-section .d-flex.gap-16 {
        justify-content: center !important;
    }
    
    #features,
    #pricing,
    #faq {
        padding: 80px 0 !important;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .price-tag {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 767.98px) {
    /* Small screens - 1 column */
    .hero-section {
        padding: 60px 0 40px !important;
    }
    
    #features,
    #pricing,
    #faq {
        padding: 50px 0 !important;
    }
    
    #features .col-4,
    #pricing .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 24px;
    }
    
    #features .row,
    #pricing .row {
        row-gap: 24px !important;
        margin: 0 -15px !important;
    }
    
    #features .col-4,
    #pricing .col-4 {
        padding: 0 15px !important;
    }
    
    .feature-card {
        padding: 24px 20px !important;
        min-height: auto !important;
    }
    
    .pricing-card {
        padding: 24px 20px !important;
        min-height: auto !important;
    }
    
    .pricing-card.featured {
        transform: none !important;
        margin: 0 !important;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px) !important;
    }
    
    .feature-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.75rem !important;
        margin-bottom: 20px !important;
    }
    
    .feature-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 16px !important;
    }
    
    .feature-card p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .pricing-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }
    
    .pricing-card .text-center {
        margin-bottom: 20px !important;
    }
    
    .pricing-card ul {
        margin-bottom: 24px !important;
    }
    
    .pricing-card ul li {
        margin-bottom: 12px !important;
        font-size: 0.9rem !important;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .price-tag {
        font-size: 2rem !important;
    }
    
    .faq-item {
        padding: 24px !important;
        min-height: auto !important;
    }
    
    /* Navigation mobile - removed hide rule */
    
    /* Hero mobile */
    .hero-slider {
        min-height: 120px;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 1.8rem !important;
    }
    
    .hero-section .fs-5 {
        font-size: 1rem !important;
    }
    
    .hero-section .col-lg-7 {
        text-align: center;
    }
    
    .hero-section .d-flex.gap-16 {
        justify-content: center !important;
    }
    
    .slider-dots {
        justify-content: center !important;
    }
    
    /* Footer mobile optimization */
    .footer-section {
        padding: 50px 0 0 !important;
    }
    
    .footer-section .row {
        text-align: center;
    }
    
    .footer-section .col-lg-5 {
        margin-bottom: 40px;
    }
    
    /* Hide product and user sections on mobile */
    .footer-section .col-lg-2 {
        display: none !important;
    }
    
    .footer-section .col-lg-3 {
        margin-bottom: 40px;
    }
    
    .footer-section h3,
    .footer-section h5 {
        font-size: 1.25rem !important;
        margin-bottom: 20px !important;
    }
    
    .footer-section p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    
    .footer-social-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-links li {
        margin-bottom: 8px !important;
    }
    
    .footer-link {
        font-size: 0.9rem !important;
        padding: 8px 0;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer-contact li {
        margin-bottom: 12px !important;
    }
    
    .footer-contact .d-flex {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center !important;
        padding: 24px 0 !important;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-top: 0 !important;
    }
    
    .footer-bottom .d-flex {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 16px !important;
    }
    
    .footer-bottom p {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    .footer-bottom-link {
        font-size: 0.85rem !important;
        padding: 4px 8px;
    }
}

@media (max-width: 575.98px) {
    /* Extra small screens */
    .hero-section {
        padding: 40px 0 30px !important;
    }
    
    #features,
    #pricing,
    #faq {
        padding: 40px 0 !important;
    }
    
    .feature-card,
    .pricing-card {
        padding: 20px 16px !important;
    }
    
    .feature-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.5rem !important;
        margin-bottom: 16px !important;
    }
    
    .feature-card h3 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .feature-card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    .pricing-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    
    .pricing-card .text-center {
        margin-bottom: 16px !important;
    }
    
    .pricing-card ul {
        margin-bottom: 20px !important;
    }
    
    .pricing-card ul li {
        margin-bottom: 10px !important;
        font-size: 0.85rem !important;
    }
    
    .pricing-card .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .faq-item {
        padding: 20px !important;
    }
    
    .hero-section .display-4 {
        font-size: 1.5rem !important;
        text-align: center;
    }
    
    .hero-section .fs-5 {
        font-size: 0.9rem !important;
        text-align: center;
    }
    
    .hero-section .col-lg-7 {
        text-align: center !important;
    }
    
    .hero-section .d-flex.gap-16 {
        justify-content: center !important;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .price-tag {
        font-size: 1.8rem !important;
    }
    
    /* Footer extra small screens */
    .footer-section {
        padding: 40px 0 0 !important;
    }
    
    .footer-section .col-lg-5,
    .footer-section .col-lg-3 {
        margin-bottom: 32px;
        padding: 0 20px;
    }
    
    /* Keep product and user sections hidden on extra small screens */
    .footer-section .col-lg-2 {
        display: none !important;
    }
    
    .footer-section h3,
    .footer-section h5 {
        font-size: 1.1rem !important;
        margin-bottom: 16px !important;
    }
    
    .footer-section p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
    
    .footer-social-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .footer-link {
        font-size: 0.85rem !important;
    }
    
    .footer-contact-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
    }
    
    .footer-contact .text-gray-300 {
        font-size: 0.85rem !important;
    }
    
    .footer-bottom {
        padding: 20px 0 !important;
        margin-top: 32px !important;
    }
    
    .footer-bottom p {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
    }
    
    .footer-bottom-link {
        font-size: 0.8rem !important;
        padding: 2px 6px;
    }
    
    .footer-bottom .d-flex {
        gap: 12px !important;
    }
}