* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', 'Noto Sans Arabic', sans-serif;
    background: #fef9f0;
    color: #2c2b28;
    scroll-behavior: smooth;
}
:root {
    --sand: #e9d6b0;
    --deep-green: #1a4a3a;
    --gold: #c9a03d;
    --gold-light: #e0bc6e;
    --cream: #fff7eb;
    --charcoal: #2e2c2a;
}
body[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
    text-align: right;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* 导航栏 */
.top-bar {
    background: rgba(26, 74, 58, 0.92);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.9rem 0;
    border-bottom: 2px solid var(--gold);
}
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: -0.5px;
}
.logo span {
    font-weight: 400;
    color: #fff;
    font-size: 0.9rem;
}
/* 下拉菜单通用 */
.products-dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background: transparent;
    border: none;
    color: #f5e6c4;
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}
.dropbtn:hover {
    color: var(--gold);
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1f3d34;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    top: 100%;
    left: 0;
}
body[dir="rtl"] .dropdown-content {
    left: auto;
    right: 0;
}
.dropdown-content a {
    color: #f5e6c4;
    padding: 0.75rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255,255,240,0.1);
}
.dropdown-content a:hover {
    background-color: var(--gold);
    color: #1a4a3a;
}
.products-dropdown:hover .dropdown-content {
    display: block;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.lang-switch {
    display: flex;
    gap: 0;
    background: rgba(255,255,240,0.2);
    border-radius: 48px;
    padding: 0.2rem;
}
.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.2s;
    font-family: inherit;
    color: #f5e6c4;
    font-size: 0.9rem;
}
.lang-btn.active {
    background: var(--gold);
    color: #1a4a3a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lang-btn:hover:not(.active) {
    background: rgba(201,160,61,0.4);
    color: white;
}
/* Hero */
.hero {
    background: linear-gradient(105deg, #1f4e3e 0%, #2c6e54 100%);
    color: white;
    padding: 3rem 0 4rem;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "⚡";
    font-size: 18rem;
    opacity: 0.08;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    pointer-events: none;
}
.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.hero-text {
    flex: 2;
}
.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 1rem 0 1.5rem;
}
.cert-badge {
    display: inline-flex;
    gap: 1rem;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    padding: 0.6rem 1.2rem;
    border-radius: 60px;
    font-size: 0.85rem;
}
.hero-icon {
    flex: 1;
    text-align: center;
    font-size: 5rem;
}
/* 图片展示 */
.gallery-section {
    margin: 2rem 0 2rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    justify-items: center;
    align-items: center;
}
.gallery-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 380px;
}
.gallery-card:hover {
    transform: translateY(-5px);
}
.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--gold);
}
.gallery-caption {
    padding: 0.8rem;
    text-align: center;
    font-weight: 500;
    color: var(--deep-green);
    background: #fffaf2;
}
/* 表格 */
.product-section {
    padding: 2rem 0 2rem;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-green);
    margin-bottom: 0.5rem;
}
.title-decoration {
    text-align: center;
    margin-bottom: 2.5rem;
}
.title-decoration i {
    color: var(--gold);
    font-size: 1.8rem;
}
.table-wrapper {
    overflow-x: auto;
    border-radius: 2rem;
    background: white;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    border: 1px solid #f0e2cf;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.9rem;
}
.spec-table th, .spec-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #efe3d2;
    vertical-align: top;
}
.spec-table th {
    background: #fcf5e8;
    font-weight: 700;
    color: #1a4a3a;
}
.product-header th {
    background: #1a4a3a;
    color: #f3d382;
    font-size: 1.2rem;
    text-align: center;
}
.param-label {
    font-weight: 600;
    background-color: #fef8ef;
    width: 35%;
}
/* 认证卡片 */
.certificate-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0 2rem;
}
.cert-card {
    background: white;
    border-radius: 2rem;
    padding: 1rem 2rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    border-right: 4px solid var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.cert-card i {
    font-size: 1.8rem;
    color: var(--gold);
}
/* 联系方式区块 */
.contact-section {
    background: linear-gradient(135deg, #e8f0ea 0%, #fff7eb 100%);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin: 2rem 0 2rem;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}
.contact-info {
    flex: 1;
    min-width: 220px;
}
.contact-info h3 {
    font-size: 1.5rem;
    color: var(--deep-green);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-detail {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-detail i {
    width: 2rem;
    color: var(--gold);
    font-size: 1.3rem;
}
.contact-form {
    flex: 1;
    min-width: 260px;
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    font-family: inherit;
}
.contact-form button {
    background: var(--deep-green);
    color: white;
    border: none;
    padding: 0.8rem;
    width: 100%;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.contact-form button:hover {
    background: var(--gold);
    color: #1a4a3a;
}
/* 页脚 */
.footer {
    background: #1f3d34;
    color: #e9ddc7;
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
}
@media (max-width: 780px) {
    .container { padding: 0 1.2rem; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-icon { font-size: 3rem; }
    .gallery-card img { height: 200px; }
}