:root {
    --primary-color: #1B3A5C;
    --primary-dark: #0F2438;
    --primary-light: #2A4A6D;
    --secondary-color: #C8A96E;
    --secondary-light: #D8B97E;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #F8F5F0;
    --bg-white: #FFFFFF;
    --border-color: #E1E5EB;
    --shadow-sm: 0 2px 8px rgba(27, 58, 92, 0.1);
    --shadow-md: 0 4px 16px rgba(27, 58, 92, 0.15);
    --shadow-lg: 0 8px 32px rgba(27, 58, 92, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

@font-face {
    font-family: 'Playfair Display';
    src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
}

@font-face {
    font-family: 'Montserrat';
    src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

p, a, li {
    font-family: "Microsoft YaHei", "PingFang SC", "Montserrat", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.logo:hover {
    color: var(--secondary-color);
}

.nav ul {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 16px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav a:hover, .nav a.active {
    color: var(--primary-color);
}

.nav a.contact-link {
    color: #000000;
}

.nav a.contact-link:hover {
    color: var(--primary-color);
}

.nav a.contact-link.active {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg-light);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.8) 0%, rgba(15, 36, 56, 0.9) 100%), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=silver%20chain%20bracelet%20on%20wooden%20background%2C%20high%20quality%20product%20photography%2C%20professional%20jewelry%20photography&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(200, 169, 110, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(200, 169, 110, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-content .subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--bg-white);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--secondary-color);
}

.btn-primary::before {
    background: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    margin-left: 20px;
}

.btn-secondary::before {
    background: var(--bg-white);
}

.btn-secondary:hover {
    color: var(--primary-color);
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--bg-white);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(27, 58, 92, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    transition: var(--transition);
    font-size: 16px;
}

.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-light);
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    position: relative;
    padding-left: 12px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    opacity: 0;
    transition: var(--transition);
    transform: translateX(-5px);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 16px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    position: relative;
    z-index: 1;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-light);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-light), #e8f5e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-color);
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: var(--transition);
}

.product-card:hover .product-info h3 {
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.category-tabs {
    margin-bottom: 40px;
    text-align: center;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.product-material {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-info button {
    margin-top: 20px;
    width: 100%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: var(--bg-white);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    padding: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn-group {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 13px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .tab-buttons {
        gap: 10px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .service-card,
    .product-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .footer-content {
        gap: 30px;
    }
}

/* Language button */
.lang-btn {
    position: relative;
    padding: 8px 16px;
    background: var(--accent-color);
    color: var(--bg-white) !important;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}