/* 通用样式 */
:root {
    --primary-color: #007aff; /* 苹果蓝 */
    --secondary-color: #5ac8fa; /* 辅助蓝 */
    --text-color-dark: #1d1d1f; /* 深色文字 */
    --text-color-light: #f5f5f7; /* 浅色文字 */
    --bg-color-dark: #000;
    --bg-color-light: #fff;
    --bg-color-grey: #f5f5f7;
    --border-color: #e8e8ed;
    --font-family-apple: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-apple);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--bg-color-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* 移除图片底部空白 */
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px; /* 胶囊按钮 */
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color-light);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0060df;
    border-color: #0060df;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 122, 255, 0.1);
}

.btn-text-link {
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text-link:hover {
    text-decoration: underline;
}

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.8); /* 磨砂玻璃效果 */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-logo img {
    height: 30px; /* 调整logo大小 */
    filter: invert(0%); /* 确保在浅色背景下可见，如果logo本身是深色 */
}

.nav-links ul {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color-dark);
    font-size: 14px;
    font-weight: 400;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主视觉区域 */
.hero-section {
    background-color: var(--bg-color-dark); /* 黑色背景 */
    color: var(--text-color-light);
    text-align: center;
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 防止图片溢出 */
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 50px; /* 调整内容与图片间距 */
    z-index: 10; /* 确保文字在图片上方 */
}

.hero-pretitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.hero-section h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero-section .btn {
    margin: 0 10px;
    font-size: 18px;
    padding: 12px 25px;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 1000px; /* 控制图片最大宽度 */
    margin-top: 50px;
    position: relative;
    /* 模拟苹果官网图片动效，可能需要JS */
}

.hero-image-placeholder img {
    border-radius: 15px; /* 增加一点圆角 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* 通用内容 section 样式 */
section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-color-dark);
}

/* 产品概览区域 */
.product-grid-section {
    background-color: var(--bg-color-grey);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-item {
    background-color: var(--bg-color-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    max-height: 250px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.product-item h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.product-tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* 特点区域 */
.features-section {
    background-color: var(--bg-color-light);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
    text-align: left;
}

.feature-item {
    padding: 20px;
}

.feature-item h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.feature-item p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.feature-image-promo {
    margin-top: 80px;
    padding: 50px;
    background-color: var(--bg-color-dark);
    border-radius: 20px;
    color: var(--text-color-light);
    text-align: center;
}

.feature-image-promo img {
    max-width: 80%;
    margin: 0 auto 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-caption {
    font-size: 20px;
    opacity: 0.8;
}

/* 应用场景区域 */
.application-section {
    background-color: var(--bg-color-grey);
}

.application-content {
    display: flex;
    flex-direction: row; /* 默认横向布局 */
    align-items: center;
    gap: 80px;
    text-align: left;
    margin-top: 60px;
}

.application-text {
    flex: 1;
}

.application-text h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.application-text p {
    font-size: 20px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.application-image {
    flex: 1;
}

.application-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 新品预告区域 */
.coming-soon-section {
    background-color: var(--bg-color-dark);
    color: var(--text-color-light);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.coming-soon-section .pre-announcement {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.coming-soon-section .section-title {
    color: var(--text-color-light);
    font-size: 56px;
}

.teaser-text {
    font-size: 24px;
    max-width: 800px;
    margin: 20px auto 60px;
    opacity: 0.8;
}

.coming-soon-image {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
}

.coming-soon-image img {
    border-radius: 20px;
    filter: brightness(0.4) grayscale(0.7); /* 制造悬念效果 */
    transition: filter 0.5s ease;
}

.coming-soon-image:hover img {
    filter: brightness(0.6) grayscale(0.4);
}

.coming-soon-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color-light);
    font-size: 48px;
    font-weight: 700;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.coming-soon-image .overlay span {
    display: block;
    margin: 5px 0;
}

/* CTA 区域 */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 100px 20px;
}

.cta-section h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cta-section .btn {
    border-color: var(--text-color-light);
    color: var(--text-color-light);
}

.cta-section .btn-primary {
    background-color: var(--text-color-light);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* 页脚 */
.footer {
    background-color: var(--bg-color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.footer-column {
    text-align: left;
}

.footer-column h4 {
    color: var(--text-color-light);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-color-light);
}

.footer-logo img {
    height: 35px;
    filter: invert(100%); /* 在深色背景下显示白色logo */
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links img {
    height: 24px; /* 社交图标大小 */
    filter: invert(100%); /* 确保在深色背景下可见 */
}

/* 媒体查询 - 响应式设计 */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-section {
        padding: 80px 20px;
    }

    .hero-section h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 20px;
    }

    .hero-section .btn {
        font-size: 16px;
        padding: 10px 20px;
        margin: 5px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .application-content {
        flex-direction: column; /* 手机上改为纵向排列 */
        gap: 40px;
    }
    .application-text, .application-image {
        text-align: center;
    }
    .application-text h3 {
        font-size: 32px;
    }

    .coming-soon-section .section-title {
        font-size: 44px;
    }

    .coming-soon-image .overlay {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 44px;
    }

    .cta-section p {
        font-size: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-column:last-child {
        border-bottom: none;
    }
    .footer-logo img {
        margin: 0 auto 15px;
    }
}

/* 社交媒体图标样式 - 添加到你的 style.css 文件中 */

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 为不同平台设置特定的悬停颜色 */
.social-links a:hover .fa-weibo {
    color: #E6162D;
}

.social-links a:hover .fa-weixin {
    color: #09B83E;
}

.social-links a:hover .fa-tv {
    color: #00A1D6;
}

.social-links a:hover .fa-newspaper {
    color: #09BB07;
}

.social-links a:hover .fa-video {
    color: #09BB07;
}

.social-links a:hover .fa-tiktok {
    color: #000000;
}

.social-links a:hover .fa-book {
    color: #FF2442;
}

.social-links a:hover .fa-twitter {
    color: #1DA1F2;
}

.social-links a:hover .fa-youtube {
    color: #FF0000;
}

.social-links a:hover .fa-instagram {
    color: #E4405F;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* 视频弹窗样式 */  
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; /* 可自定义宽度 */
    max-width: 90vw; /* 最大宽度为视口宽度的90% */
    background-color: #000;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-bottom: 3px;
}

.video-modal-close:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 16px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* 不同尺寸选项（可根据需要选择） */

/* 小尺寸弹窗 */
.video-modal-content.size-small {
    width: 700px;
}

/* 中等尺寸弹窗（默认） */
.video-modal-content.size-medium {
    width: 1000px;
}

/* 大尺寸弹窗 */
.video-modal-content.size-large {
    width: 1400px;
}

/* 超大尺寸弹窗 */
.video-modal-content.size-xlarge {
    width: 1600px;
}

/* 响应式设计 */
@media (max-width: 1650px) {
    .video-modal-content.size-xlarge {
        width: 90vw;
    }
}

@media (max-width: 1450px) {
    .video-modal-content.size-large {
        width: 90vw;
    }
}

@media (max-width: 1050px) {
    .video-modal-content,
    .video-modal-content.size-medium {
        width: 90vw;
    }
}

@media (max-width: 768px) {
    .video-modal-content,
    .video-modal-content.size-small,
    .video-modal-content.size-medium,
    .video-modal-content.size-large,
    .video-modal-content.size-xlarge {
        width: 95vw;
        max-width: 95vw;
    }
    
    .video-modal-close {
        top: -45px;
        right: 0;
        font-size: 36px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        border-radius: 12px;
    }
    
    .video-container,
    .video-container iframe {
        border-radius: 12px;
    }
}

/* 调整导航栏左侧 logo 与品牌文字的间距与字体 */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 2px; /* 控制 logo 与文字之间的距离，原先太远 */
}

.brand-text {
    font-size: 20px;        /* 增加字体大小 */
    font-weight: 700;       /* 增加粗度 */
    color: #1d1d1f;         /* 保持深色字体 */
    letter-spacing: 0.5px;  /* 微调字间距，让更具品牌感 */
}

.navbar-container {
    padding: 0 10px;
}

/* 让 logo 与品牌文字靠得更近 */
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 这行保留用于菜单 */
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 4px; /* 控制 logo 与文字之间距离，越小越贴近 */
}

.navbar-logo img {
    height: 34px;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
}


/* ========================================
   联系我们信息区域
   ======================================== */
.contact-info-section {
    background-color: var(--bg-color-light);
    padding: 100px 0;
}

.contact-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    text-align: left;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0060df;
    text-decoration: underline;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-social-links a {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-social-links a:hover {
    color: var(--primary-color);
}

.contact-qr-code {
    text-align: center;
    background-color: var(--bg-color-grey);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-qr-code img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qr-caption {
    margin-top: 20px;
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-info-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-social-links {
        align-items: center;
    }
    
    .contact-qr-code {
        padding: 30px;
    }
    
    .contact-qr-code img {
        max-width: 250px;
    }
}

/* ========================================
   联系表单弹窗样式
   ======================================== */
.contact-form-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.contact-form-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-form-close {
    color: #999;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-form-close:hover,
.contact-form-close:focus {
    color: #333;
}

.contact-form-modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 10px;
}

.required {
    color: #ff3b30;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-method-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    background-color: #ebebeb;
}

.tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.contact-input {
    transition: all 0.3s ease;
}

.submit-btn {
    margin-top: 20px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

/* 二维码区域的联系按钮 */
.contact-form-trigger {
    margin-top: 25px;
    width: 100%;
    max-width: 300px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-form-modal-content {
        padding: 30px 25px;
        margin: 10% auto;
    }
    
    .contact-form-modal-content h2 {
        font-size: 26px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 14px 30px;
    }
}