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

body {
    background: linear-gradient(180deg, #00331e 0%, #00331e 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #000;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Header contact matches footer style */
.header-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-contact .contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.header-contact .contact-item img {
    width: 10px;
    opacity: 0.8;
}

.header-contact .contact-item span {
    font-size: 14px;
    opacity: 0.9;
    color: #fff;
}

.header-text {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-transform: lowercase;
}

.talk-btn {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Top Section - Device Showcase */
.hero-top {
    flex: 1;
    background-image: linear-gradient(to bottom, #09A7F6, #2D9DD4, #478DAD, #77878B, #B07654);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px 0 0 0;
    min-height: 45vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(10%);
}

.hero-logo-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.2) saturate(1.1);
    mix-blend-mode: normal;
}

.hero-device {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 60px 0 0 0;
}

.hero-device img {
    max-width: 80vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.25));
    border-radius: 8px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

/* Bottom Section - Information */
.hero-bottom {
    background-image: linear-gradient(to bottom, #4A2E1E, #442614, #391D0D, #2C1508, #110702);
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.4;
    max-width: 1000px;
    margin: 0 auto 5px auto;
    text-align: center;
}

.hero-description:last-child {
    margin-bottom: 0;
}

/* Product Overview Section */
.product-overview {
    padding: 80px 0;
    background: #fff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.overview-content {
    display: flex;
    width: 100%;
    max-width: none;
    align-items: stretch;
}

.overview-image {

    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.overview-image img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    display: block;
}

.overview-text {
    flex: 2 1 0;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-left: 20px;
}

.overview-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.2;
}

.overview-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 30px;
}

.overview-details .detail-item {
    margin-bottom: 25px;
}

.overview-details .detail-item strong {
    color: #222;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.overview-details .detail-item p {
    color: #a7a7a7;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 5px;
}

.overview-details .detail-item span {
    color: #a7a7a7;
    font-size: 0.95rem;
    margin-top: 5px;
    display: block;
}

.overview-details .detail-item ul {
    list-style: disc;
    margin: 10px 0 0 20px;
}

.overview-details .detail-item li {
    color: #a7a7a7;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.more-link {
    color: #EC6519;
    text-decoration: none;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
    font-size: 0.95rem;
}

/* Product Functions Section */
.product-functions {
    padding: 80px 0;
    background: #f8f9fa;
}

.function-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.function-item:nth-child(even) {
    direction: rtl;
}

.function-item:nth-child(even) .function-content {
    direction: ltr;
}

.function-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

.function-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.function-details .detail-group {
    margin-bottom: 25px;
    margin-left: 40px;
}

.function-details .detail-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.function-details .detail-group ul {
    list-style: none;
    margin-top: 10px;
}

.function-details .detail-group li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.function-details .detail-group li:before {
    content: "•";
    color: #0066cc;
    position: absolute;
    left: 0;
}

.function-details .detail-group span {
    color: #666;
}

.function-details .detail-group p {
    color: #666;
    line-height: 1.6;
}

/* Test Report Section */
.test-report {
    min-height: 80vh;
    background-image: linear-gradient(to bottom, #001926, #041822, #0B161B, #141312, #19120E);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding: 5vh 0;
    position: relative;
    overflow: hidden;
}

.test-report-bgimg {
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 100%;
    max-width: 100%;
    width: auto;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    object-fit: contain;
}
.report-content, .report-text {
    position: relative;
    z-index: 2;
}

.report-content {
    display: none;
}

.report-text {
    position: absolute;
    top: 8vh;
    margin-left: 4%;
    transform: translateX(-5%);
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 600px;
    width: 40%;
}

.report-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
    letter-spacing: 1px;
}

.report-list {
    padding: 0;
    margin: 0;
}

.report-item {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.4;
    text-align: left;
}


.report-screens {
    display: none;
}

/* Equipment Parameters Section */
.equipment-params {
    padding: 80px 0;
    background: #fff;
}

.params-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.params-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.image-bg-gradient {
    position: absolute;
    top: 55%;
    left: 45%;
    transform: translate(-45%, -50%);
    width: 90%;
    height: 70%;
    background-image: linear-gradient(to right bottom, #99DDFF, #ADD7EB, #C8CFD1, #EFC4AB, #F7C1A3);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.5;
}

.params-image img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.params-details {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.params-details h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.params-list .param-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.param-label {
    font-weight: 600;
    color: #333;
    min-width: 200px;
    text-align: left;
}

.param-value {
    color: #666;
    text-align: left;
    flex: 1;
    padding-left: 40px;
}

.sensor-section {
    margin-top: 40px;
    padding-top: 30px;
}

.sensor-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sensor-section h4 span {
    color: #666;
    font-weight: 400;
}

.sensor-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
}

.sensor-image img {
    width: 150px;
    height: auto;
}

.sensor-details .sensor-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: none;
}

.sensor-label {
    color: #666;
    min-width: 180px;
}

.sensor-value {
    color: #666
}


/* Industry Applications Section */
.industry-applications {
    padding: 80px 0;
    background: #f8f9fa;
}

.industry-applications h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.application-item {
    border-radius: 15px;
    overflow: hidden;
   
}

.application-item img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.application-item h3 {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: #000;
    padding: 80px 0 40px;
    color: #fff;
}

.contact-container {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 26px;
}

.contact-form .form-row { margin-bottom: 14px; }

.contact-input, .contact-textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-left: none; border-right: none; border-top: none;
    color: #fff;
    padding: 12px 10px;
    font-size: 14px;
    outline: none;
    text-align: center;
}

.contact-textarea { height: 90px; resize: vertical; border: 1px solid rgba(255,255,255,0.2); text-align: left; }

/* Error message styles */

/* 强制未填写/校验失败提示为红色 */
.error-message {
    color: #ff3b30 !important;
    font-size: 12px;
    margin-top: 4px;
    text-align: left;
    display: none;
}


.contact-phone {
    position: relative;
    /* Keep a stable height so the country selector doesn't shift when errors show */
    min-height: 44px;
}

.contact-phone .country-code {
    position: absolute;
    left: 0;
    /* Align bottom of selector with bottom of input field */
    bottom: 5px;
    transform: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-phone .country-code .flag { font-size: 16px; line-height: 1; }
.contact-phone .country-code .code { font-size: 14px; }

.country-dropdown {
    position: absolute;
    left: 0;
    top: 120%;
    width: 420px;
    max-height: 260px;
    overflow: auto;
    background: #fff;
    color: #222;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 5;
}

.country-item {
    padding: 10px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-item:hover { background: #f3f4f6; cursor: pointer; }


.contact-phone .phone-input { width: 100%; padding-left: 72px; padding-right: 72px; }

/* Prevent error text from changing the row height; place it below the input */
.contact-phone .error-message {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
}

.contact-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    min-width: 0;
}

/* Center placeholders */
.contact-input::placeholder,
.contact-textarea::placeholder { 
    text-align: center; 
    color: rgba(255,255,255,0.7);
}

/* Do not center textarea placeholder */
.contact-textarea::placeholder { text-align: left; }

@media (max-width: 768px) {
    .contact-submit { min-width: 240px; width: 70%; }
}

/* Footer */
.footer {
    background: url('img/bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.footer-contact {
    text-align: left;
}

.contact-row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.contact-item img {
    width: 10px;
    opacity: 0.8;
}

.contact-item span {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-top {
        padding: 15px 0 0 0;
    }
    
    .hero-device img {
        max-width: 90vw;
        max-height: 45vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .overview-content,
    .function-item,
    .report-content,
    .params-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .function-item:nth-child(even) {
        direction: ltr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .params-list .param-item,
    .sensor-details .sensor-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .param-label,
    .sensor-label {
        min-width: auto;
    }
    
    .param-value,
    .sensor-value {
        text-align: left;
    }
    
    /* Test report responsive adjustments */
    .report-text {
        left: 25%;
        transform: translateX(-15%);
        width: 50%;
        max-width: 400px;
    }
    
    .report-text h2 {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .report-item {
        font-size: 0.4rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-top {
        padding: 10px 0 0 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-device img {
        max-width: 95vw;
        max-height: 40vh;
    }
    
    .overview-text h2 {
        font-size: 1.5rem;
    }
    
    .overview-text h3 {
        font-size: 1.2rem;
    }
    
    /* Test report small screen adjustments */
    .report-text {
        left: 20%;
        transform: translateX(-10%);
        width: 60%;
        max-width: 300px;
    }
    
    .report-text h2 {
        font-size: 0.7rem;
        margin-bottom: 25px;
    }
    
    .report-item {
        font-size: 0.3rem;
        margin-bottom: 12px;
    }
}

/* 额外的大屏幕优化 */
@media (min-width: 1200px) {
    .hero-top {
        padding: 30px 0 0 0;
    }
    
    .hero-device img {
        max-width: 70vw;
        max-height: 70vh;
    }
    
    /* Test report large screen optimization */
    .report-text {
        left: 25%;
        transform: translateX(-15%);
        width: 35%;
        max-width: 700px;
    }
    
    .report-text h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .report-item {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .hero-top {
        padding: 8px 0 0 0;
    }
    
    .hero-device img {
        max-width: 280px;
        max-height: 45vh;
    }
} 

.functions-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 36px;
    text-align: center;
    letter-spacing: 0.5px;
}

.functions-subtitle-card {
    background: #fff;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    padding: 22px 0;
    margin: 0 0 40px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
} 

/* 1500px以上屏幕使用1200px的样式 */
@media (min-width: 1500px) {
    .container {
        max-width: 1200px;
    }
    
    .header-content {
        max-width: 1200px;
    }
    
    .hero-content {
        max-width: 1000px;
    }
    
    .overview-content {
        max-width: 1200px;
    }
    
    .function-item {
        max-width: 1200px;
    }
    
    .params-content {
        max-width: 1200px;
    }
    
    .applications-grid {
        max-width: 1200px;
    }
    
    .footer-content {
        max-width: 800px;
    }
}

/* 1500px以下屏幕使用更小的字体 */
@media (max-width: 1499px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    .overview-text h2 {
        font-size: 2rem;
    }
    
    .overview-text h3 {
        font-size: 1.3rem;
    }
    
    .overview-details .detail-item strong {
        font-size: 0.9rem;
    }
    
    .overview-details .detail-item p,
    .overview-details .detail-item span,
    .overview-details .detail-item li {
        font-size: 0.85rem;
    }
    
    .more-link {
        font-size: 0.85rem;
    }
    
    .functions-title {
        font-size: 2.4rem;
    }
    
    .functions-subtitle-card {
        font-size: 1.3rem;
    }
    
    .function-content h3 {
        font-size: 1.6rem;
    }
    
    .function-details .detail-group h4 {
        font-size: 1rem;
    }
    
    .function-details .detail-group p,
    .function-details .detail-group span {
        font-size: 0.9rem;
    }
    
    .report-text h2 {
        font-size: 1.6rem;
    }
    
    .report-item {
        font-size: 0.8rem;
    }
    
    .params-details h3 {
        font-size: 1.8rem;
    }
    
    .param-label,
    .param-value {
        font-size: 0.9rem;
    }
    
    .sensor-section h4 {
        font-size: 1.1rem;
    }
    
    .sensor-label,
    .sensor-value {
        font-size: 0.85rem;
    }
    
    .industry-applications h2 {
        font-size: 2.2rem;
    }
    
    .application-item h3 {
        font-size: 1.1rem;
    }
    
    .header-text {
        font-size: 13px;
    }
    
    .talk-btn {
        font-size: 13px;
    }
    
    .footer-logo p {
        font-size: 13px;
    }
    
    .contact-item span {
        font-size: 13px;
    }
    
    /* 文字部分向左移动 */
    .overview-text {
        margin-left:20px;
    }
    
    .function-content {
        padding-left: -10px;
        margin-left: -15px;
    }
    
    .params-details {
        padding-left: -10px;
        margin-left: -15px;
    }
    
    .report-text {
        margin-left: -2%;
        transform: translateX(-8%);
    }
    
    .hero-content {
        text-align: center;
        color: #fff;
        max-width: 1000px;
        padding: 0 20px;
        margin: 0 auto;
    }
    
    .functions-title {
        padding-left: 0px;
        margin-left: -15px;
    }
    
    .functions-subtitle-card {
        margin-left: -15px;
        margin-right: 15px;
    }
    
    .industry-applications h2 {
        padding-left: 0px;
        margin-left: -15px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 20px;
    }
    
    .header-content {
        padding-left: 15px;
        padding-right: 20px;
    }
} 