/*
Theme Name: WooApp
Theme URI: https://github.com/yourdomain/wooapp-theme
Description: 模仿 woo-app.com 风格的 WordPress 电商解决方案主题
Author: Neo
Version: 1.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: wooapp
Tags: woocommerce, business, one-page, flat-design, responsive
*/

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #2563eb;
    transition: all 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.site-title a {
    color: #333;
}

.site-title span {
    color: #2563eb;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.main-navigation a:hover {
    color: #2563eb;
}

.menu-toggle {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 160px 0 100px;
    color: #ffffff;
    margin-top: 70px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ffffff;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #667eea;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 18px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

/* ==========================================================================
   Feature List Section
   ========================================================================== */

.feature-list-section {
    padding: 100px 0;
    background: #ffffff;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-list-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.feature-list-item:hover {
    background: #f8fafc;
}

.feature-check {
    color: #10b981;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e293b;
}

.feature-list-item p {
    color: #64748b;
    font-size: 15px;
}

/* ==========================================================================
   Screenshots Section
   ========================================================================== */

.screenshots-section {
    padding: 100px 0;
    background: #f8fafc;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1e293b;
}

.screenshot-item img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    padding: 100px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
}

.testimonial-text {
    color: #334155;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1e293b;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 3px solid #667eea;
}

.pricing-card:hover {
    transform: scale(1.08);
}

.pricing-card.featured:hover {
    transform: scale(1.10);
}

.pricing-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.pricing-price {
    margin-bottom: 25px;
}

.pricing-price .amount {
    font-size: 42px;
    font-weight: 700;
    color: #667eea;
}

.pricing-price .period {
    font-size: 16px;
    color: #64748b;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    color: #475569;
    display: flex;
    align-items: center;
}

.pricing-features .check {
    color: #10b981;
    margin-right: 10px;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

.pricing-card.featured .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e1;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 968px) {
    .main-navigation ul {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        font-size: 24px;
        color: #333;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-heading h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: none;
    }
}
