:root {
    --ref-width: 1730;
    --bg-left: #262625;
    --bg-right: #000000;
    --text-white: #ffffff;
    --font-family: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-right);
    font-family: var(--font-family);
}

/* --- Fullpage Wrapper --- */
#main-wrapper {
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

section {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

/* --- Hero Section (Pixel Perfect Layout) --- */
.hero {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Side (513px / 1730px) */
.hero-left-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(513 / 1730 * 100%);
    height: 100%;
    background-color: var(--bg-left);
    z-index: 1;
}

/* Right Side (1217px / 1730px) */
.hero-right-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: calc(1217 / 1730 * 100%);
    height: 100%;
    background-color: var(--bg-right);
    z-index: 1;
}

/* Header (76px Height) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(76 / 1730 * 100vw);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: calc(177 / 1730 * 100vw);
    /* Fixed split background matching the first page */
    background: linear-gradient(to right, var(--bg-left) calc(513 / 1730 * 100%), var(--bg-right) calc(513 / 1730 * 100%));
}

.logo {
    position: absolute;
    left: calc(100 / 1730 * 100vw);
    font-size: calc(32 / 1730 * 100vw);
    font-weight: 800;
    color: #fff;
}

nav ul {
    display: flex;
    gap: calc(118 / 1730 * 100vw);
    width: calc(990 / 1730 * 100vw);
    justify-content: space-between;
    list-style: none; /* Remove bullet points */
}

nav ul li a {
    font-size: calc(14 / 1730 * 100vw);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none; /* Ensure no underlines */
}

/* Hero Content (Left side English block) */
.hero-english-block {
    position: absolute;
    /* Aligned with Chinese block left (262px) */
    left: calc(262 / 1730 * 100vw);
    top: calc(273 / 1730 * 100vw);
    z-index: 10;
}

.hero-english-block h1 {
    font-family: var(--font-display);
    font-size: calc(70 / 1730 * 100vw); /* Adjusted to exactly 70px at 1730px ref */
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: calc(0.5 / 1730 * 100vw);
    white-space: nowrap;
}

/* Hero Subtitle (Chinese block below English) */
.hero-chinese-block {
    position: absolute;
    /* Adjusted left to 249px so the 10th char "实" centers on the 513px boundary */
    left: calc(262 / 1730 * 100vw);
    top: calc((273 + 184 + 50) / 1730 * 100vw);
    width: calc(400 / 1730 * 100vw);
    height: calc(43 / 1730 * 100vw);
    display: flex;
    align-items: center;
    z-index: 10;
}

.hero-chinese-block p {
    font-size: calc(24 / 1730 * 100vw);
    letter-spacing: calc(4 / 1730 * 100vw);
    color: #fff;
}

/* Hero Image (Right side) */
.hero-image-block {
    position: absolute;
    right: calc(198 / 1730 * 100vw);
    top: calc(262 / 1730 * 100vw);
    width: calc(505 / 1730 * 100vw);
    height: calc(532 / 1730 * 100vw);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll-down {
    position: absolute;
    left: calc(100 / 1730 * 100vw);
    bottom: calc(80 / 1730 * 100vw);
    width: calc(64 / 1730 * 100vw);
    height: calc(64 / 1730 * 100vw);
    z-index: 10;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.hero-scroll-down svg { width: 100%; height: 100%; }

/* --- Restore Other Sections Styles --- */
.clients {
    background-color: #fff;
    color: #000;
    padding: 140px 0;
    overflow: hidden;
}

.clients-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
    padding: 0 100px;
}

.clients-title h2 { font-size: 32px; font-weight: 900; }
.clients-title p { font-size: 18px; font-weight: 600; margin-top: 5px; }
.clients-desc { font-size: 14px; line-height: 1.8; color: #000; font-weight: 500; }
.clients-desc-cn { font-size: 14px; line-height: 1.8; color: #888; }

.clients-carousel-container { width: 100%; overflow: hidden; position: relative; }
.clients-list { display: flex; gap: 60px; padding-left: 100px; width: max-content; }
.client-item { width: 400px; flex-shrink: 0; }
.client-num { font-size: 32px; font-weight: 800; margin-bottom: 25px; font-family: serif; }
.client-img { width: 100%; aspect-ratio: 1/1; background-color: #f0f0f0; margin-bottom: 25px; overflow: hidden; }
.client-img img { width: 100%; height: 100%; object-fit: cover; }
.client-name { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }

.development { 
    padding: 100px 0; 
    background-color: #000; 
    position: relative; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.development-header { 
    padding: 0 calc(100 / 1730 * 100vw); 
    margin-bottom: 40px; 
    z-index: 5;
}

.development-header h2 { 
    font-family: var(--font-display);
    font-size: calc(32 / 1730 * 100vw); 
    font-weight: 700; 
    letter-spacing: 2px;
}

.development-header p { 
    font-size: calc(18 / 1730 * 100vw); 
    font-weight: 400; 
    margin-top: 5px; 
    color: #fff;
}

.development-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc(60 / 1730 * 100vw) 0;
}

.development-factory-img {
    position: relative;
    width: 100%;
    z-index: 2;
}

.development-factory-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.development-timeline { 
    display: flex; 
    justify-content: space-between; 
    padding: 0 calc(100 / 1730 * 100vw); 
    position: relative; 
    z-index: 5;
    margin-top: 20px;
}

.timeline-node { 
    width: 18%; 
}

.timeline-year { 
    font-family: var(--font-display);
    font-size: calc(64 / 1730 * 100vw); 
    font-weight: 700; 
    margin-bottom: 15px; 
    color: #fff;
}

.timeline-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.timeline-desc { 
    font-size: calc(14 / 1730 * 100vw); 
    color: #fff; 
    line-height: 1.6; 
    font-weight: 400;
    max-width: 90%;
}

.whyus { 
    background-color: #f5f5f5; 
    color: #000; 
    display: flex;
    width: 100vw;
    height: 100vh;
    padding-top: calc(76 / 1730 * 100vw); /* 留出导航栏空间 */
}

.whyus-left-col { 
    width: calc(513 / 1730 * 100vw);
    height: 100%;
    padding: calc(100 / 1730 * 100vw);
    border-right: 1px solid #e0e0e0;
}

.whyus-left-col h2 { 
    font-family: var(--font-display);
    font-size: calc(32 / 1730 * 100vw); 
    font-weight: 700; 
    margin-bottom: 5px;
}

.whyus-left-col p { 
    font-size: calc(18 / 1730 * 100vw); 
    font-weight: 600; 
}

.whyus-right-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
}

.whyus-cell {
    position: relative;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    padding: calc(40 / 1730 * 100vw);
}

.whyus-cell:nth-child(3n) {
    border-right: none;
}

.whyus-cell.image-container {
    padding: 0;
    overflow: hidden;
}

.whyus-cell.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.whyus-cell.text-top {
    justify-content: flex-start;
}

.whyus-cell.text-bottom {
    justify-content: flex-end;
}

.whyus-num-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: auto; /* Push to bottom for text-bottom cells */
}

.whyus-num {
    font-family: var(--font-display);
    font-size: calc(24 / 1730 * 100vw); /* Matched with title font size */
    font-weight: 700;
    line-height: 1;
}

.whyus-title {
    font-size: calc(24 / 1730 * 100vw);
    font-weight: 700;
}

.whyus-desc-text {
    font-size: calc(14 / 1730 * 100vw);
    line-height: 1.8;
    color: #333;
    width: 100%;
}

.whyus-desc-text.align-right {
    text-align: right;
    margin-top: 20px; /* Space between title and desc */
    color: #666;
    max-width: 80%;
    align-self: flex-end;
}

.levelup { 
    display: flex; 
    background-color: #000; 
    width: 100vw;
    height: 100vh;
}

.levelup-left { 
    width: calc(917 / 1731 * 100vw);
    height: 100%;
    overflow: hidden;
}

.levelup-left img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.levelup-right { 
    flex: 1; 
    padding: calc(80 / 1731 * 100vw) calc(100 / 1731 * 100vw); 
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
}

.levelup-title { 
    font-family: var(--font-display);
    font-size: calc(36 / 1731 * 100vw); 
    font-weight: 700; 
    margin-bottom: calc(60 / 1731 * 100vw); 
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
}

.levelup-item { 
    border-top: 1px solid #fff; 
    padding: calc(30 / 1731 * 100vw) 0 calc(60 / 1731 * 100vw) 0;
}

.levelup-item h3 { 
    font-family: var(--font-display);
    font-size: calc(28 / 1731 * 100vw); 
    font-weight: 700; 
    margin-bottom: calc(25 / 1731 * 100vw); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    color: #fff;
    text-transform: uppercase;
}

.levelup-item h3 span.cn { 
    font-family: var(--font-family);
    font-size: calc(20 / 1731 * 100vw); 
    font-weight: 400;
}

.levelup-desc-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: calc(60 / 1731 * 100vw);
}

.levelup-desc-row p.en { 
    font-size: calc(14 / 1731 * 100vw); 
    color: #fff; 
    line-height: 1.6;
}

.levelup-desc-row p.cn { 
    font-size: calc(13 / 1731 * 100vw); 
    color: #888; 
    line-height: 1.6;
    text-align: right;
}

/* --- Contact & Footer (Last Page) --- */
.contact-footer-wrap {
    background: url('../img/last_bg.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 强制包裹层占满全屏 */
}

.contact { 
    padding: calc(150 / 1731 * 100vw) calc(100 / 1731 * 100vw) calc(20 / 1731 * 100vw); 
    background: transparent;
    position: relative; 
    flex: 1; /* 让 contact 占据上方剩余空间 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title { 
    font-family: var(--font-display);
    font-size: calc(32 / 1731 * 100vw); 
    font-weight: 700; 
    margin-bottom: calc(40 / 1731 * 100vw); 
    line-height: 1.2; 
    color: #fff;
    text-transform: uppercase;
}

.contact-title span.cn {
    display: block;
    font-family: var(--font-family);
    font-size: calc(24 / 1731 * 100vw);
    font-weight: 400;
    margin-top: 10px;
}

.contact-input-wrapper {
    width: calc(400 / 1731 * 100vw);
    position: relative;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-input-wrapper input {
    background: none;
    border: none;
    color: #fff;
    font-size: calc(14 / 1731 * 100vw);
    width: 100%;
    outline: none;
    text-transform: uppercase;
}

.contact-input-wrapper .arrow {
    font-size: calc(20 / 1731 * 100vw);
    color: #fff;
    margin-left: 10px;
}

footer { 
    background: transparent;
    padding: calc(40 / 1731 * 100vw) calc(100 / 1731 * 100vw) calc(40 / 1731 * 100vw); 
    display: flex;
    flex-direction: column;
    margin-top: auto; /* 确保 footer 靠底 */
}

.footer-top-logo h2 {
    font-family: var(--font-display);
    font-size: calc(48 / 1731 * 100vw); 
    font-weight: 700; 
    margin-bottom: calc(30 / 1731 * 100vw); 
    color: #fff;
    line-height: 1;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: calc(100 / 1731 * 100vw);
    align-items: flex-start;
}

.footer-slogan-area p.slogan { 
    font-family: var(--font-display);
    font-size: calc(32 / 1731 * 100vw); 
    font-weight: 700; 
    max-width: calc(600 / 1731 * 100vw); 
    line-height: 1.1; 
    color: #fff;
    text-transform: uppercase;
    margin-bottom: calc(80 / 1731 * 100vw);
}

.footer-col h4 { 
    font-size: calc(15 / 1731 * 100vw); 
    font-weight: 600; 
    margin-bottom: calc(20 / 1731 * 100vw); 
    color: #fff; 
    text-transform: uppercase;
    line-height: 1.1; /* Ensure same line height as slogan for top alignment */
}

.footer-col ul li { 
    margin-bottom: calc(20 / 1731 * 100vw); 
    font-size: calc(15 / 1731 * 100vw); 
    font-weight: 600; 
    color: #fff;
    list-style: none;
    text-transform: uppercase;
}

.footer-col p.address {
    font-size: calc(14 / 1731 * 100vw);
    color: #888;
    line-height: 2;
    margin-bottom: 10px;
}

.footer-newsletter {
    width: calc(400 / 1731 * 100vw);
}

.footer-newsletter h4 {
    font-size: calc(14 / 1731 * 100vw);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.newsletter-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}

.newsletter-input-wrapper input {
    background: none;
    border: none;
    color: #fff;
    font-size: calc(14 / 1731 * 100vw);
    flex: 1;
    outline: none;
}

.newsletter-input-wrapper .arrow {
    color: #fff;
    font-size: calc(18 / 1731 * 100vw);
    cursor: pointer;
}
