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

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d63031;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #d63031;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x800') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #d63031;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background: #c02628;
}

/* Sections */
section {
    padding: 80px 0;
}

.intro, .why, .contact {
    background: #fff;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #222;
}

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

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px;
    font-size: 1.3rem;
    color: #222;
}

.product-card p {
    padding: 0 15px 20px;
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.close {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

/* Advantages */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage {
    text-align: center;
    padding: 30px;
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #d63031;
}

.advantage h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #d63031;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #c02628;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

/* =============
   Contact Float Button & Modal
============= */

.contact-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 999;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-float-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    overflow: auto;
}

.contact-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    position: relative;
    text-align: center;
}

.contact-modal h2 {
    margin-bottom: 30px;
    color: #222;
    font-size: 2rem;
}

.close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    font-weight: bold;
}

.close:hover {
    color: #333;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-option {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.contact-option:hover {
    transform: scale(1.03);
    background: #e9ecef;
}

.contact-option h3 {
    color: #222;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 15px auto;
    border: 1px solid #eee;
    border-radius: 8px;
    display: block;
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.contact-option a {
    color: #d63031;
    text-decoration: none;
}

.contact-option a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    nav {
        display: none;
    }

    .product-grid,
    .advantages,
    .contact-wrapper,
    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-float-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }
}
