/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --secondary-color: #00d4ff;
    --accent-color: #00ff88;
    --dark-bg: #0a0e27;
    --darker-bg: #050815;
    --light-text: #ffffff;
    --gray-text: #b0b8c4;
    --section-padding: 100px 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* 基础字体大小 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    display: block;
    padding: 0.5rem 0;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background video,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background video {
    display: none; /* 默认隐藏视频，由JavaScript控制显示 */
}

.hero-background video.active {
    display: block;
}

.hero-background img.active {
    display: block;
}

.hero-background img {
    display: block; /* 默认显示图片 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.85), rgba(0, 102, 255, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px; /* 触摸友好的最小高度 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--light-text);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(20px);
    }
}

/* 通用section样式 */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-dark {
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.about-image .media-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-image video {
    display: none;
}

.about-image video.active {
    display: block;
}

.about-image img {
    display: block; /* 默认显示图片 */
}

.about-image img.active {
    display: block;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--secondary-color);
}

.about-text .highlight {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* 产品中心 */
.products-grid {
    display: grid;
    gap: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s;
}

.product-link {
    text-decoration: none;
    color: inherit;
    cursor: default;
    display: block;
    position: relative;
    pointer-events: none; /* 禁用整个卡片的点击，使用内部按钮 */
}

.product-link .product-media,
.product-link .product-info {
    pointer-events: auto; /* 允许媒体元素和按钮区域正常交互 */
}

/* 产品卡片hover效果已移除，使用按钮交互 */

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.3);
    border-color: var(--primary-color);
}

.product-media {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.product-media .media-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-media video {
    display: none;
}

.product-media video.active {
    display: block;
}

.product-media img {
    display: block; /* 默认显示图片 */
}

.product-media img.active {
    display: block;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.product-info > p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-features {
    list-style: none;
}

.product-features li {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    flex-wrap: wrap;
}

.product-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.product-btn svg {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.product-btn:hover svg {
    transform: translate(3px, -3px);
}

.product-link {
    pointer-events: none;
}

.product-btn {
    pointer-events: auto;
}

/* 企业理念 */
.vision-text-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-text {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.vision-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 2;
    text-align: justify;
    text-indent: 2em;
}

/* 品牌理念及产品 */
.brand-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.brand-image .media-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.brand-image video {
    display: none;
}

.brand-image video.active {
    display: block;
}

.brand-image img {
    display: block; /* 默认显示图片 */
}

.brand-image img.active {
    display: block;
}

.brand-text {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.brand-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 2;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 2em;
}

.brand-text p:last-child {
    margin-bottom: 0;
}

/* 核心优势 */
.advantages-content {
    display: grid;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.advantage-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.advantage-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 2;
    text-align: justify;
    text-indent: 2em;
}

/* 合作伙伴 */
.partners-content {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.partners-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-text);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--darker-bg);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.footer p {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.footer-slogan {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-record {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-record a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-record a:hover {
    color: var(--secondary-color);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */

/* iPad横屏和桌面小屏 (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        gap: 40px;
    }

    .vision-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .product-card {
        padding: 30px;
    }
}

/* iPad竖屏和平板 (641px - 768px) */
@media (max-width: 768px) and (min-width: 641px) {
    .container {
        padding: 0 30px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .about-content,
    .product-card,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .product-card {
        padding: 35px;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 15px;
    }

    .btn {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
    }

    .about-text h3,
    .product-info h3 {
        font-size: 1.8rem;
    }

    .vision-text {
        padding: 40px 30px;
    }

    .brand-text {
        padding: 40px 30px;
    }

    .advantage-item {
        padding: 35px 30px;
    }

    .advantage-header h3 {
        font-size: 1.7rem;
    }
}

/* 大手机 (481px - 640px) */
@media (max-width: 640px) and (min-width: 481px) {
    .container {
        padding: 0 25px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .about-content,
    .product-card,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .vision-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card {
        padding: 30px;
    }

    .vision-item {
        padding: 30px 20px;
    }

    .vision-icon {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .btn {
        flex: 1;
        min-width: 160px;
        max-width: 240px;
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .about-text h3,
    .product-info h3 {
        font-size: 1.6rem;
    }

    .about-text p,
    .product-info > p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 30px;
    }
}

/* 小手机 (≤ 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1.5rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0.8rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-content,
    .product-card,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-card {
        padding: 25px 20px;
    }

    .vision-text {
        padding: 30px 20px;
    }

    .vision-text p {
        font-size: 1rem;
        text-indent: 1.5em;
    }

    .brand-text {
        padding: 30px 20px;
    }

    .brand-text p {
        font-size: 1rem;
        text-indent: 1.5em;
    }

    .advantage-item {
        padding: 30px 20px;
    }

    .advantage-header h3 {
        font-size: 1.5rem;
    }

    .advantage-text p {
        font-size: 1rem;
        text-indent: 1.5em;
    }

    .vision-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-item {
        padding: 25px 15px;
    }

    .vision-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .vision-item h3 {
        font-size: 1.3rem;
    }

    .vision-item p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 10px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .about-text h3,
    .product-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-text p,
    .product-info > p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .vision-text {
        padding: 30px 20px;
    }

    .brand-text {
        padding: 30px 20px;
    }

    .vision-text p,
    .brand-text p {
        font-size: 0.95rem;
        text-indent: 1.5em;
    }

    .advantage-item {
        padding: 30px 20px;
    }

    .advantage-header h3 {
        font-size: 1.4rem;
    }

    .advantage-text p {
        font-size: 0.95rem;
        text-indent: 1.5em;
    }

    .about-text .highlight {
        font-size: 1.05rem;
    }

    .product-features li {
        font-size: 0.9rem;
    }

    .product-actions {
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        gap: 12px;
    }

    .product-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        min-width: 120px;
    }

    .product-btn svg {
        width: 16px;
        height: 16px;
    }

    .contact-info {
        gap: 25px;
        margin-bottom: 30px;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 30px 0;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .footer-slogan {
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        width: 25px;
        height: 40px;
    }
}

/* 超小屏幕 (≤ 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-brand h1 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .product-card:hover {
        transform: none;
    }

    .vision-item:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background img,
    .about-image img,
    .product-media img,
    .vision-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hamburger,
    .scroll-indicator,
    .hero-buttons,
    .contact-form {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}
