@import url('https://fonts.googleapis.com/css2?family=PingFang+SC:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFF9F5;
}

:root {
    --primary-color: #FF6B35;
    --primary-light: #FFE4D8;
    --secondary-color: #FFB366;
    --accent-color: #FF9F7F;
    --bg-light: #FFF9F5;
    --bg-white: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #F0F0F0;
    --success-color: #52C41A;
    --shadow: 0 2px 12px rgba(255, 107, 53, 0.1);
    --shadow-hover: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9F7F 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.hero {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9F7F 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.about-summary {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 3rem;
}

.about-summary p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #FFE4D8 0%, #FFF0E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 4rem;
    color: var(--primary-color);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-commission {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.steps-section {
    background: linear-gradient(135deg, #FFF9F5 0%, #FFFBF8 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-secondary);
}

.blog-preview {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
}

.blog-preview-image {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #FFE4D8 0%, #FFF0E8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-preview-image i {
    font-size: 3rem;
    color: var(--primary-color);
}

.blog-preview-content {
    flex: 1;
}

.blog-preview-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.blog-preview-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-preview-title a:hover {
    color: var(--primary-color);
}

.blog-preview-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-preview-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9F7F 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

footer {
    background: #2D2D2D;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 25px;
    border: none;
    outline: none;
}

.newsletter-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #E55A2B;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #666;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-qrcode {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #FFE4D8 0%, #FFF0E8 100%);
    border-radius: 20px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.modal-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    touch-action: none;
    -webkit-user-select: auto;
    user-select: auto;
}

.modal-qrcode i {
    font-size: 5rem;
    color: var(--primary-color);
}

.modal-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: 600;
}

.save-tip {
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    z-index: 3000;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

.about-hero {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9F7F 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.2rem;
}

.about-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.about-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.value-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.partner-logo {
    width: 100px;
    height: 60px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, #FFE4D8 0%, #FFF0E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: var(--primary-color);
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-header {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.article-content h2 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.article-content h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.8rem;
    font-size: 1.1rem;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-light) 0%, #FFF5F0 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
}

.article-cta h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 1rem;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 0.7rem 1rem;
        border-radius: 10px;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .blog-preview {
        flex-direction: column;
    }

    .blog-preview-image {
        width: 100%;
        height: 180px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .about-content {
        padding: 1.5rem;
    }

    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .footer-section {
        text-align: center;
        padding: 0.5rem;
    }

    .footer-section ul {
        padding-left: 0;
        margin: 0;
    }

    .footer-section h3 {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .footer-section ul li {
        margin-bottom: 0.25rem;
        font-size: 0.8rem;
    }

    .footer-section p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .footer-section img {
        width: 60px !important;
        height: 60px !important;
    }

    .copyright {
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.2rem;
    }
}