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

:root {
    --primary: #2B5C8A;
    --primary-light: #4A90D9;
    --primary-dark: #1E3D5F;
    --accent: #E8A838;
    --text: #333;
    --text-light: #666;
    --bg: #FAFBFC;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(43, 92, 138, 0.12);
    --radius: 12px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-icon {
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition);
}

.nav a:hover {
    color: var(--primary-light);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3D5F 0%, #2B5C8A 50%, #4A90D9 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 0 60px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232,168,56,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232,168,56,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.hero-image {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.6s both;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,61,95,0.4) 0%, transparent 50%);
}

/* Slogan Bar */
.slogan-bar {
    background: var(--primary-dark);
    padding: 16px 0;
    overflow: hidden;
}

.slogan-track {
    display: flex;
    gap: 40px;
    animation: scrollSlogan 20s linear infinite;
    white-space: nowrap;
}

.slogan-item {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Section Common */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Products Grid */
.products {
    background: var(--white);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 35px rgba(43,92,138,0.18);
}

.product-img {
    background: linear-gradient(135deg, #F0F4F8 0%, #E2E8F0 100%);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
}

.product-img-src {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-card:hover .product-img-src {
    transform: scale(1.08);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about {
    background: var(--bg);
}

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

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

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

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Slogan Grid */
.testimonials {
    background: var(--white);
}

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

.slogan-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
    background: var(--bg);
    transition: transform var(--transition), box-shadow var(--transition);
}

.slogan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.slogan-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.slogan-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-style: italic;
}

.slogan-card span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-header h2::after {
    background: var(--accent);
}

.contact .section-header p {
    color: rgba(255,255,255,0.7);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-qr {
    text-align: center;
    flex-shrink: 0;
}

.qr-img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius);
    border: 3px solid rgba(255,255,255,0.2);
    object-fit: cover;
    display: block;
}

.contact-qr p {
    margin-top: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 900px;
}

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform var(--transition), background var(--transition);
    position: relative;
}

.contact-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.18);
}

.contact-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.contact-card p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    word-break: break-all;
}

.copy-tip {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--accent);
    cursor: pointer;
    padding: 4px 12px;
    border: 1px solid var(--accent);
    border-radius: 20px;
    transition: all var(--transition);
    opacity: 0.7;
}

.copy-tip:hover {
    opacity: 1;
    background: var(--accent);
    color: var(--white);
}

.copy-tip.copied {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

/* Footer */
.footer {
    background: #1A1A2E;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-inner p {
    margin: 6px 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollSlogan {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-img {
        height: 200px;
    }

    .contact-qr {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }
}
