/* ============================================================
   正泽智能 官网 - 主样式表
   设计风格: 极简科技 | 大面积留白 | 动态渐入
   ============================================================ */

/* -------------------- CSS 变量 & 重置 -------------------- */
:root {
    /* 主色系 */
    --color-primary: #0066FF;
    --color-primary-dark: #004DC6;
    --color-primary-light: #3388FF;
    --color-primary-glow: rgba(0, 102, 255, 0.15);

    /* 中性色 */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FB;
    --color-bg-dark: #0A0E27;
    --color-surface: #FFFFFF;
    --color-border: rgba(0, 0, 0, 0.06);

    /* 文字 */
    --color-text: #1A1A2E;
    --color-text-secondary: #6B7280;
    --color-text-tertiary: #9CA3AF;
    --color-text-inverse: #FFFFFF;

    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px var(--color-primary-glow);

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: "SF Mono", "JetBrains Mono", "Consolas", monospace;

    /* 过渡 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* 容器 */
    --container-max: 1200px;
}

/* -------------------- 全局重置 -------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    width: 100%;
    background: var(--color-bg-alt);
    transition: var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
    background: var(--color-bg);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* -------------------- 容器 -------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* -------------------- 按钮 -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 16px var(--color-primary-glow);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* -------------------- 导航栏 -------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* transition: var(--transition-base); */
    background: rgba(255, 255, 255, 0.85);
    padding: var(--space-md) 0;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.125rem;
    transition: var(--transition-fast);
    z-index: 1001;
}

.nav__logo-icon {
    width: 160px;
    height: 56px;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.nav__logo:hover .nav__logo-icon {
    transform: scale(1.1);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-primary);
    background: var(--color-primary-glow);
}

.nav__arrow {
    transition: var(--transition-fast);
}

.nav__item--dropdown {
    position: relative;
}

.nav__item--dropdown:hover .nav__arrow {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-base);
    border: 1px solid var(--color-border);
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav__dropdown-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    z-index: 1001;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav__hamburger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* -------------------- Hero 区 -------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-4xl) var(--space-xl);
}

.hero__bg{
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__gradient{
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 102, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(102, 51, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0, 200, 255, 0.03) 0%, transparent 50%);
}

.hero__particles_index {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.hero__particles_robot {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner_robot.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.hero__particles_car {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner_car.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}





.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin-top:50px;
}


.hero__badge {
    display: inline-block;
    padding: 0.375rem 1.25rem;
    background: rgba(0, 102, 255, 0.08);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 102, 255, 0.15);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.05em;
}

.hero__title {
    margin-bottom: var(--space-lg);
}

.hero__brand {
    display: block;
    font-size: 1.0rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-sm);
}

.hero__name {
    display: block;
    font-size: clamp(2.8rem, 2vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1A1A2E 0%, #0066FF 50%, #4DC9F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.robot__hero__name {
    display: block;
    font-size: clamp(2.8rem, 2vw, 4rem);
    font-weight: 800;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.hero__desc {
    font-size: 1.0625rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: #7f94b8;
    font-size: 0.8125rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* -------------------- Section Header -------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header__tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(0, 102, 255, 0.06);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
}

.section-header__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.section-header__desc {
    font-size: 1.0625rem;
    color: var(--color-text-tertiary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------------------- 产品理念区 -------------------- */
.philosophy {
    padding: var(--space-4xl) 0;
   
    background-size: cover;
}

.philosophy__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    min-height: 360px;
}

.philosophy__card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.philosophy__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-primary-glow), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.philosophy__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

.philosophy__card:hover::before {
    opacity: 1;
}

.philosophy__card-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
}

.philosophy__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.philosophy__card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* -------------------- 首页无人车区 -------------------- */

.car {
    padding: var(--space-4xl) 0;
    background-image: url(../images/banner01.png);
    background-size: cover;
    background-position: center;
}
.car .section-header{
    text-align: left;
}
.car .section-header__desc{
    max-width: 1200px;
}
.car .hero__actions{
    justify-content: left;
}
.car .btn--outline{
    color: #fff;
    border-color: #fff;
}
.car .section-header__title{
text-align: left;
color: #fff;
}
.car .section-header__desc{
    color: #fff;

}
.car__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    min-height: 400px;
}

/* -------------------- 首页机器人区 -------------------- */

.robot {
    padding: var(--space-4xl) 0;
    background-image: url(../images/banner02.png);
    background-size: cover;
    background-position: center;
}
.robot .section-header{
    text-align: left;
}
.robot .section-header__desc{
    max-width: 1200px;
}
.robot .hero__actions{
    justify-content: left;
}
.robot .btn--outline{
    color: #fff;
    border-color: #fff;
}
.robot .section-header__title{
text-align: left;
color: #fff;
}
.robot .section-header__desc{
    color: #fff;

}
.robot__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    min-height: 400px;
}

/* -------------------- 新闻中心 -------------------- */

.news {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
    overflow: hidden;
}
.news .section-header{
    text-align: left;
}
.news .section-header__desc{
    max-width: 1200px;
}
.news .hero__actions{
    justify-content: left;
}

.news .section-header__title{
text-align: left;

}
.news .section-header__desc{
    color: #fff;

}
.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    min-height: 400px;
}
.news__card {
    background: var(--color-bg-alt);


    transition: var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.news__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-primary-glow), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.news__card:hover {
.news__card-title{color: #004DC6;}
}


.news__card-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    position: relative;
    height: 210px;
    overflow: hidden;
    z-index: 1;
    font-size: 1.4rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.news__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.news__card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* -------------------- 场景体验区 -------------------- */
.scenes {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.scenes__carousel {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.scenes__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenes__slide {
    min-width: 100%;
    padding: 0 var(--space-md);
}

.scenes__slide-bg {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    background-position: center;
    background-size: auto 100%;
}

.scenes__slide-decoration {
    position: absolute;
    inset: 0;
}

.scenes__slide-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.scenes__slide-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.scenes__slide-num {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.scenes__slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: var(--space-sm) 0;
}

.scenes__slide-desc {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.scenes__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.scenes__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.scenes__btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.scenes__dots {
    display: flex;
    gap: var(--space-sm);
}

.scenes__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.scenes__dot--active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 6px;
}

/* -------------------- 核心技术区 -------------------- */
.tech {
    padding: var(--space-4xl) 0;
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.tech__item {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.tech__item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tech__item-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), #4DC9F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
    font-family: var(--font-mono);
}

.tech__item-label {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.tech__features {
    /* max-width: 680px; */
    margin: 0 auto;
}

.tech__feature {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-xl);
    position: relative;
}
.tech__features img,.tech__features video{
    border-radius: var(--radius-xl);
}
.tech__feature:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.tech__feature-line {
    width: 2px;
    min-height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), rgba(0, 102, 255, 0.1));
    border-radius: 1px;
    flex-shrink: 0;
}

.tech__feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.tech__feature-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size:0.9rem;
}

/* -------------------- 生产制造 -------------------- */
.produce video{
    position: relative;
    filter: brightness(0.7);
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}
.produce h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 99;
}


/* -------------------- 产品图集区 -------------------- */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-base);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.gallery__img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: var(--transition-base);
}

.gallery__img:hover .gallery__overlay {
    opacity: 1;
}

.gallery__overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

/* -------------------- 联系区域 -------------------- */
.contact {
    padding: var(--space-4xl) 0;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    background: #f6f9ff;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
}

.contact__title {
    font-size: 2rem;
    font-weight: 700;
    margin: var(--space-md) 0;
    line-height: 1.3;
    color: var(--color-primary);
}

.contact__desc {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}
.contact__emaill{
    color: var(--color-text-secondary);
}
.contact__address{
    color: var(--color-text-secondary);
}
.contact__qr {
    display: flex;
    gap: var(--space-2xl);
    margin-top: 30px;
}

.contact__qr-item {
    text-align: center;
}

.contact__qr-code {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-sm);
}

.contact__qr-code svg {
    color: var(--color-primary);
}

.contact__qr-item span {
    font-size: 0.8125rem;
    color: var(---color-text-secondary);
}

.contact__form {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.contact__form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

textarea {
    resize: vertical;
}

/* -------------------- 页脚 -------------------- */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: var(--space-xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer__logo img {
    width: 150px;
    height: 50px;
    border-radius: 6px;
}

.footer__brand-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links h4 {
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);

}

.footer__links a {
    display: block;
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    transition: var(--transition-fast);
    
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

.footer__contact-info h4 {
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.footer__contact-info p {
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.footer__phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--color-primary);
    color: white;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer__bottom-links a {
    transition: var(--transition-fast);
}

.footer__bottom-links a:hover {
    color: white;
}

/* -------------------- 滚动动画 -------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
    
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* -------------------- 移动端菜单 -------------------- */



@media (max-width: 1024px) {
    .nav__hamburger {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        padding: 5rem var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        gap: var(--space-sm);
    }

    .nav__menu--open {
        right: 0;
    }

    .nav__menu::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-base);
    }

    .hero__particles_index {
        background-image: url('../images/banner_phone.png');
    }
    .hero__particles_robot {
        background-image: url('../images/banner_robot_phone.png');
    }
    .hero__particles_car {
        background-image: url('../images/banner_car_phone.png');
    }
    .robot__hero__name{
        font-size: 1.6rem;
    }
    .top_phone{
        display: none;
    }
    .car{
        background-image: url('../images/banner01_phone.png');
    }
    .robot{
        background-image: url('../images/banner02_phone.png');
    }
    .scenes__slide-bg{
        height: 180px;
    }



    .nav__link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav__dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        padding: 0 var(--space-md);
        display: none;
        min-width: auto;
    }

    .nav__item--dropdown:hover .nav__dropdown {
        display: block;
    }


    .news__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
        min-height: 400px;
    }
    
    .spec-table .label{
    width: 18%;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    white-space: wrap !important; 
    font-size: 14px;
    }

    .philosophy__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .kefu img{
            display: none;
    }
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }


}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }
    .philosophy__grid {
        grid-template-columns: 1fr;
    }

    .news__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: var(--space-xl);
        min-height: 400px;
    }
    .spec-table .label{
        width: 18%;
        color: #666;
        font-weight: 500;
        background: #f8f9fa;
        white-space: wrap !important; 
        font-size: 14px;
    }
    .kefu img{
            display: none;
    }
    .tech__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .tech__item {
        padding: var(--space-lg);
    }

    .tech__item-num {
        font-size: 2rem;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact__wrapper {
        padding: var(--space-xl);
        border-radius: 0;
        margin: 0 calc(-1 * var(--space-xl));
    }

    .footer__grid{
        display: none;
    }
    .footer__bottom{
        border-top: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* -------------------- 覆盖层（移动端菜单） -------------------- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
}

.overlay--visible {
    opacity: 1;
    pointer-events: auto;
}
.qrcode__item{
    width: 180px;
    position:absolute;
    bottom: 20px;    
    right: 20px; 
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 类似背景图的 cover，裁剪填充 */
  filter: brightness(0.9);
}

/* 弹窗背景遮罩 */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -225px;
  margin-left: -400px;
  width: 800px;
  height: 450px;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* 弹窗内容 */
.modal-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.modal-content video {
  width: 100%;
  display: block;
}

/* 关闭按钮 */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10;
  font-weight: bold;
}
.close:hover {
  color: #ccc;
}

/* 显示弹窗 */
.modal.show {
  display: flex;
}
/*  返回顶部 
.back-to-top {
      position: fixed;
      display: flex;
      align-items: center;
      justify-content: center;
      bottom: 40px;
      right: 40px;
      width: 50px;
      height: 50px;
      background: #007bff;
      color: #fff;
      text-align: center;
      line-height: 50px;
      font-size: 22px;
      border-radius: 50%;
      text-decoration: none;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0,123,255,0.3);
      z-index: 9999;
      cursor: pointer;
    }
    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }
    .back-to-top:hover {
      background: #0056b3;
      transform: translateY(-3px);
    }
 */
 /* ==================== 返回顶部按钮 ==================== */
.back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-primary, #0066FF);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999 !important;
    cursor: pointer;
    border: none;
    outline: none;
}


.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover{
    background: var(--color-primary-dark, #004DC6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
}

.back-to-top i {
    color: #fff;
    font-size: 20px;
}
/* 返回顶部按钮 */

.back-to-top01,.back-to-top02,.back-to-top03 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-primary, #0066FF);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999 !important;
    cursor: pointer;
    border: none;
    outline: none;
}



.back-to-top01.show,.back-to-top02.show,.back-to-top03.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top01:hover,.back-to-top02:hover,.back-to-top03:hover {
    background: var(--color-primary-dark, #004DC6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
}

.back-to-top01 i ,.back-to-top02 i ,.back-to-top03 i {
    color: #fff;
    font-size: 20px;
}



/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .back-to-top i {
        font-size: 18px;
    }
    .qrcode__item{
        display: none;
}
.hero__name{
    font-size: 1.8rem;
    line-height: 32px;
}
}

.kefu{
    display: flex;
     justify-content: center; 
     width:72%;
     margin-bottom: -80px;
     margin-left:100px;
}
/* 机器人参数 */
.spec-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f2f5;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table .label {
  width: 18%;
  color: #666;
  font-weight: 500;
  background: #f8f9fa;
  white-space: nowrap;
  font-size: 14px;
}

.spec-table .value {
  width: 32%;
  color: #1a1a2e;
  font-weight: 500;
}

/* 每行两个参数，所以第三列重新开始一组 */
.spec-table td:nth-child(3) {
  background: #f8f9fa;
  color: #666;
  font-weight: 500;
}

.spec-table td:nth-child(4) {
  color: #1a1a2e;
  font-weight: 500;
}

@media (max-width: 1024px) {
    .modal-content{
        max-width: 400px;
    }
}