/* ========== Design Tokens (CSS Variables) ========== */
:root {
    /* Colors - Token: paint_2:097 */
    --color-banner-bg: #E6EDFF;
    /* Token: paint_2:158 - 增强渐变效果 */
    --color-gradient-overlay: linear-gradient(90deg, rgba(2, 24, 62, 0.95) 0%, rgba(2, 24, 62, 0.8) 34%, rgba(2, 24, 62, 0) 78%);
    /* Token: paint_2:049 & paint_2:061 */
    --color-text-white: #FFFFFF;
    /* Token: paint_2:085 */
    --color-accent-yellow: #FFC21A;
    /* Token: paint_2:104 */
    --color-text-black: #000000;
    /* Token: paint_2:110 */
    --color-white: #FFFFFF;

    /* Fonts - Token: font_2:066 */
    --font-title-main: 700 70px/60px 'Roboto', sans-serif;
    /* Token: font_2:083 */
    --font-highlight: 700 48px/60px 'Roboto', sans-serif;
    /* Token: font_2:078 */
    --font-subtitle: 500 30px/60px 'Roboto', sans-serif;
    /* Token: font_2:059 */
    --font-description: 400 16px/28px 'Roboto', sans-serif;

    /* Container */
    --container-max-width: 1440px;
    --content-height: 578px;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text-black);
    line-height: 1.5;
    background-color: var(--color-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* ========== Banner Section ========== */
.banner {
    width: 100%;
    height: var(--content-height);
    background-color: var(--color-banner-bg);
    position: relative;
    overflow: hidden;
}

/* Gradient Overlay - 必须在背景图之上 */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-gradient-overlay);
    z-index: 1;
}

/* Background Images - 在最底层 */
.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-image-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('/images/pi-drive-chip/78f0735387b5b6f682c911aecb33d664.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-image-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('/images/pi-drive-chip/072d070592c67f1abaeff10a9e986954.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Content Group */
.content-group {
    position: absolute;
    top: 66px;
    left: 46px;
    width: 837px;
    min-height: 464px;
    height: auto;
    z-index: 2;
}

/* Main Title */
.main-title {
    font: var(--font-title-main);
    color: var(--color-text-white);
    width: 766px;
    height: 60px;
    margin-bottom: 38px;
    white-space: nowrap;
}

/* Highlight Text */
.highlight-text {
    font: var(--font-highlight);
    color: var(--color-accent-yellow);
    width: 144px;
    height: 60px;
    margin-bottom: 54px;
}

/* Subtitle */
.subtitle {
    font: var(--font-subtitle);
    color: var(--color-text-white);
    width: 692px;
    height: 50px;
    margin-bottom: 35px;
    white-space: normal;
    word-wrap: break-word;
}

/* Description Text */
.description-text {
    font: var(--font-description);
    color: var(--color-text-white);
    width: 823px;
    height: auto;
    min-height: 168px;
    line-height: 1.6;
    white-space: pre-line;
    word-wrap: break-word;
}

/* Divider Line */
.divider-line {
    position: absolute;
    top: 186px;
    left: 7px;
    width: 830px;
    height: 2px;
    background-color: var(--color-text-white);
}

/* Logo Section */
.logo-section {
    position: absolute;
    bottom: 39px;
    right: 50px;
    z-index: 2;
    width: 135px;
    height: 47px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .bg-image-1,
    .bg-image-2 {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }
    
    .content-group {
        left: 46px;
        top: 66px;
        width: calc(100% - 92px);
        height: auto;
    }
    
    .main-title {
        font-size: 56px;
        line-height: 60px;
        width: 100%;
    }
    
    .subtitle {
        font-size: 26px;
        line-height: 48px;
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }
    
    .description-text {
        font-size: 14px;
        width: 100%;
    }
    
    .logo-section {
        right: 30px;
        bottom: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --content-height: 400px;
    }
    
    .banner {
        height: var(--content-height);
    }
    
    .bg-image-1,
    .bg-image-2 {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }
    
    .content-group {
        left: 20px;
        top: 40px;
        width: calc(100% - 40px);
        height: auto;
    }
    
    .main-title {
        font-size: 36px;
        line-height: 40px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .highlight-text {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 16px;
    }
    
    .subtitle {
        font-size: 20px;
        line-height: 28px;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .description-text {
        font-size: 14px;
        width: 100%;
        height: auto;
    }
    
    .divider-line {
        display: none;
    }
    
    .logo-section {
        width: 100px;
        height: 35px;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --content-height: 300px;
    }
    
    .banner {
        height: var(--content-height);
    }
    
    .bg-image-1,
    .bg-image-2 {
        width: 400px;
        height: 223px;
        left: 50px;
        top: -10px;
    }
    
    .content-group {
        left: 15px;
        top: 30px;
    }
    
    .main-title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 12px;
    }
    
    .highlight-text {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 8px;
    }
    
    .description-text {
        font-size: 12px;
        width: 100%;
        height: auto;
        line-height: 1.5;
    }
    
    .gradient-overlay {
        background: linear-gradient(90deg, #02183E 50%, rgba(0, 0, 0, 0) 90%);
    }
    
    .logo-section {
        width: 80px;
        height: 28px;
        right: 15px;
        bottom: 15px;
    }
}
