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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0a1428 0%, #1a2847 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: #d4af37;
}

.language-selector {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: #d4af37;
    color: #0a1428;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    background: #ffd700;
    transform: scale(1.05);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1428 0%, #1a2847 50%, #0f1f3c 100%);
    color: white;
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-logo-container {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #d4af37;
    color: #0a1428;
}

.btn-primary:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-small {
    padding: 8px 15px;
    font-size: 12px;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: white;
}

.about h2,
.products h2,
.why-choose h2,
.contact h2 {
    font-size: 40px;
    margin-bottom: 50px;
    text-align: center;
    color: #0a1428;
    position: relative;
    padding-bottom: 20px;
}

.about h2::after,
.products h2::after,
.why-choose h2::after,
.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4af37;
    margin: 20px auto 0;
}

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

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.mission {
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #d4af37;
    margin-top: 30px;
}

.mission h3 {
    color: #0a1428;
    margin-bottom: 15px;
}

.mission ul {
    list-style: none;
}

.mission li {
    padding: 8px 0;
    color: #555;
}

/* Products Section */
.products {
    padding: 80px 20px;
    background: #f8f9fa;
}

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

.product-card {
    background: white;
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-top-color: #d4af37;
}

.product-icon {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.product-card h3 {
    color: #0a1428;
    margin-bottom: 15px;
    font-size: 20px;
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-list {
    list-style: none;
    text-align: left;
    color: #666;
}

.product-list li {
    padding: 8px 0;
    font-size: 14px;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

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

.feature i {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
}

.feature h3 {
    color: #0a1428;
    margin-bottom: 15px;
    font-size: 18px;
}

.feature p {
    color: #666;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 32px;
    color: #d4af37;
    flex-shrink: 0;
}

.info-item h3 {
    color: #0a1428;
    margin-bottom: 8px;
}

.info-item p {
    color: #666;
}

.wechat-input {
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    margin: 10px 0;
    width: 100%;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0a1428;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a1428 0%, #1a2847 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
        padding: 40px 20px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

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

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

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

    .contact-form {
        padding: 25px;
    }

    .language-selector {
        flex-basis: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .about h2,
    .products h2,
    .why-choose h2,
    .contact h2 {
        font-size: 28px;
    }

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

    .hero {
        padding: 60px 20px;
    }

    .about,
    .products,
    .why-choose,
    .contact {
        padding: 40px 20px;
    }
}

/* RTL Adjustments */
.rtl .info-item {
    flex-direction: row-reverse;
}

.rtl .mission {
    border-left: none;
    border-right: 4px solid #d4af37;
    padding-right: 25px;
}

.rtl .product-list {
    text-align: right;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.product-card,
.feature {
    animation: fadeIn 0.6s ease-out;
}
