/* LeBaoSound Theme */

:root {
    --primary: #003366;
    --primary-light: #004d99;
    --accent: #c9a84c;
    --accent-light: #e6c96c;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --text: #1a1a2e;
    --text-light: #666;
    --border: #e0e0e0;
    --radius: 8px;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    font-size: 16px;
}

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

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

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

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.site-title span {
    color: var(--accent);
}

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

.main-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 5px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #001a33 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

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

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
}

/* Product Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 35px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

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

.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

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

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-alt);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.product-spec {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px 20px;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Contact */
.contact-section {
    background: var(--primary);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.contact-section .section-title {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-info p {
    font-size: 15px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}

.contact-info strong {
    color: #fff;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpcf7-form input,
.wpcf7-form textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.wpcf7-form input[type="submit"] {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 14px;
    font-size: 16px;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--accent-light);
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 20px;
}

/* Applications */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.app-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.app-item .emoji {
    font-size: 32px;
    margin-bottom: 8px;
}

.app-item span {
    font-size: 14px;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: #001a33;
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero { padding: 60px 0; }
    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; height: auto; padding: 15px 0; gap: 10px; }
    .main-nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
}
