:root {
    /* Domestic website inspired palette */
    --burgundy: #5c1a1b;
    --burgundy-light: #7a2c2d;
    --burgundy-dark: #421213;
    --cream: #faf7f2;
    --cream-dark: #f5f0e8;
    --beige: #ebe4d8;
    --warm-white: #fffbfa;
    --charcoal: #2c2c2c;
    --text: #3d3d3d;
    --text-light: #6e6e6e;
    --gold: #a67c52;
    --gold-light: #c49a6c;
    --overlay: rgba(60, 30, 20, 0.35);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--warm-white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--burgundy);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 4%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding: 8px 0;
}

.nav a:hover,
.nav a.active {
    color: #fff;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-light);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold);
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 20px;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover { background: var(--gold-light); }

.nav-cn {
    color: var(--gold) !important;
    border: 1px solid var(--gold);
    padding: 6px 16px !important;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-left: 8px;
}

.nav-cn::after { display: none !important; }

.nav-cn:hover {
    background: var(--gold);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--overlay), var(--overlay)),
        linear-gradient(135deg, #2a1810 0%, #3d2820 30%, #1a0f08 70%, #2a1810 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}

.hero-tag {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero h1 .chinese {
    display: block;
    font-size: 0.85em;
    margin-top: 8px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-sub {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 36px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--burgundy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-gold:hover { background: var(--gold-light); }

/* ===== Sections ===== */
.section {
    padding: 90px 0;
}

.section-cream { background: var(--cream); }
.section-beige { background: var(--beige); }
.section-dark { background: var(--burgundy); color: #fff; }

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--burgundy);
}

.section-dark .section-header h2 { color: #fff; }

.section-header .chinese {
    display: block;
    font-size: 0.7em;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-top: 4px;
}

.section-dark .section-header .chinese { color: rgba(255,255,255,0.7); }

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-dark .section-header p { color: rgba(255,255,255,0.8); }

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

/* ===== About Teaser ===== */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-teaser-text h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.about-teaser-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.about-teaser-visual {
    background: var(--cream-dark);
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.about-teaser-visual .glyph {
    font-size: 6rem;
    font-weight: 300;
    line-height: 1;
}

.about-teaser-visual .label {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 12px;
}

/* ===== Product Cards ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-card-image {
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--burgundy);
    background: linear-gradient(135deg, var(--cream-dark), var(--beige));
}

.product-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.product-card-image .series-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--burgundy);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    letter-spacing: 1px;
    z-index: 1;
}

.product-card-image .model-name {
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 12px;
    border-radius: 4px;
    z-index: 1;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.15rem;
    color: var(--burgundy);
    margin-bottom: 6px;
    font-weight: 500;
}

.product-card-body .tagline {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-card-body .link {
    color: var(--burgundy);
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

.product-card-body .link:hover {
    border-bottom-color: var(--burgundy);
}

/* ===== Technology Grid ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.tech-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.tech-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* ===== Feature Icons ===== */
.feature-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-icon-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-icon-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--burgundy);
}

.feature-icon-card h4 {
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 6px;
    font-weight: 500;
}

.feature-icon-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Global Presence ===== */
.global-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.global-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--burgundy);
}

.global-card h4 {
    font-size: 1.1rem;
    color: var(--burgundy);
    margin-bottom: 8px;
    font-weight: 500;
}

.global-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--burgundy);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.cta-section p {
    opacity: 0.85;
    margin-bottom: 28px;
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== Page Banner ===== */
.page-banner {
    background: var(--burgundy);
    color: #fff;
    padding: 140px 0 70px;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 12px;
}

.page-banner p {
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto;
}

/* ===== About Page ===== */
.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--beige);
    margin: 40px 0;
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--burgundy);
    border-radius: 50%;
    border: 3px solid var(--cream);
}

.timeline-year {
    font-size: 1.2rem;
    color: var(--burgundy);
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-item p { color: var(--text-light); }

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.cert-card {
    background: #fff;
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cert-card .cert-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 1.3rem;
}

.cert-card h4 {
    font-size: 0.95rem;
    color: var(--burgundy);
    margin-bottom: 6px;
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Products Page ===== */
.product-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.product-full:nth-child(even) .product-full-image { order: 2; }
.product-full:nth-child(even) .product-full-text { order: 1; }

.product-full-image {
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
}

.product-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-full-image .model-name {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.product-full-text h2 {
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-full-text .tagline {
    color: var(--gold);
    margin-bottom: 16px;
}

.product-full-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-full-text ul {
    list-style: none;
    margin-bottom: 24px;
}

.product-full-text li {
    padding: 6px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--beige);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--beige);
}

.specs-table th {
    background: var(--cream-dark);
    color: var(--burgundy);
    font-weight: 500;
}

.specs-table td { color: var(--text-light); }

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 24px;
    font-weight: 500;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-weight: 600;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.info-text a { color: var(--burgundy); }
.info-text a:hover { text-decoration: underline; }

/* ===== Animations ===== */
.fade-in,
.reveal {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible,
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-icons { grid-template-columns: repeat(2, 1fr); }
    .global-grid { grid-template-columns: repeat(2, 1fr); }
    .about-teaser { grid-template-columns: 1fr; }
    .product-full { grid-template-columns: 1fr; }
    .product-full:nth-child(even) .product-full-image,
    .product-full:nth-child(even) .product-full-text { order: unset; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: calc(100vh - 70px);
        background: var(--burgundy);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    }

    .nav.open { right: 0; }

    .menu-toggle { display: flex; }

    .hero { min-height: 600px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 220px; }

    .products-grid { grid-template-columns: 1fr; }
    .feature-icons { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .global-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .cert-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
