/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --accent-color: #06b6d4;
    --highlight-color: #14b8a6;
    --gold-accent: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f0fdf4;
    --bg-white: #ffffff;
    --border-color: #d1fae5;
    --shadow-sm: 0 1px 2px 0 rgba(16, 185, 129, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(16, 185, 129, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 40px;
}

.logo h1 {
    font-size: 2rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo span {
    color: #6ee7b7;
    font-size: 1.125rem;
    margin-left: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.0625rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #6ee7b7;
}

.nav-menu a.active {
    color: #6ee7b7;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* 语言切换器 */
.language-switcher {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 1.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #059669;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 语言下拉菜单 */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-dropbtn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    z-index: 1001;
    border: 1px solid #e2e8f0;
}

.lang-dropdown-content .lang-btn {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.9375rem;
}

.lang-dropdown-content .lang-btn:last-child {
    margin-bottom: 0;
}

.lang-dropdown-content .lang-btn:hover {
    background: #f0fdf4;
    color: #059669;
}

.lang-dropdown-content .lang-btn.active {
    background: #f0fdf4;
    color: #10b981;
    font-weight: 600;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* RTL 语言支持 */
body[dir="rtl"] .lang-dropdown-content {
    right: auto;
    left: 0;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1.0625rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
    text-align: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
}

/* 服务方案 */
.services {
    padding: 7rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/payment-methods.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
}

.services > .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-options {
    margin-top: 1.5rem;
}

.option-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.option-item:last-child {
    margin-bottom: 0;
}

.option-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.option-features {
    list-style: none;
    margin-top: 0.75rem;
}

.option-features li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.option-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.payment-regions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.region {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.region h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.region span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

/* 技术平台入口 */
.tech-platform-preview {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}

.tech-platform-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}

.tech-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tech-preview-text {
    animation: fadeInUp 0.6s ease-out;
}

.tech-preview-visual {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.tech-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-metric-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tech-metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.tech-metric-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tech-metric-title {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tech-metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 硬件产品 */
.products {
    padding: 7rem 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    cursor: pointer;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.product-image:hover .product-img {
    transform: scale(1.05);
}

.view-btn {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid white;
    border-radius: 4px;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-specs {
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-specs li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.product-specs li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* APP展示 */
.app-showcase {
    padding: 5rem 0;
    background: var(--bg-light);
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.app-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    margin-bottom: 1rem;
    overflow: hidden;
    padding: 2rem;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.05);
}

.app-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.app-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.app-tag {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 客户案例 */
.cases {
    padding: 5rem 0;
    background: var(--bg-white);
}

.cases-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* 美化滚动条 */
.cases-grid::-webkit-scrollbar {
    height: 8px;
}

.cases-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.cases-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.cases-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.case-item {
    flex: 0 0 calc(20% - 1.2rem);
    min-width: 200px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.case-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-preview {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    overflow: hidden;
}

.case-mockup {
    z-index: 1;
}

.case-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-mockup-img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-btn {
    background: white;
    color: var(--text-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-btn:hover {
    background: var(--primary-color);
    color: white;
}

.case-info {
    padding: 1rem;
    text-align: center;
}

.case-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.case-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 关于我们 */
.about {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.advantage-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.advantage-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.advantage-item p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 联系我们 */
.contact {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0.25rem 0;
}

.icp-info {
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .language-switcher {
        margin-right: 0.5rem;
        flex-wrap: wrap;
        max-width: 200px;
    }

    .lang-btn:not(.lang-dropdown-content .lang-btn) {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .lang-dropbtn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .lang-dropdown-content {
        min-width: 160px;
        font-size: 0.8rem;
    }

    .lang-dropdown-content .lang-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .payment-regions {
        grid-template-columns: 1fr;
    }

    .tech-preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-card-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-advantages {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .app-showcase-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        gap: 1rem;
    }

    .case-item {
        flex: 0 0 calc(33.333% - 0.67rem);
        min-width: 180px;
    }
}

@media (max-width: 600px) {
    .case-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .case-item {
        flex: 0 0 70%;
        min-width: 140px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-image,
    .app-screen,
    .case-preview {
        height: 200px;
        font-size: 4rem;
    }

    .app-screen {
        padding: 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 图片放大模态框 */
.image-modal, .product-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.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 90vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s ease;
}

/* 产品模态框特有样式 */
.product-modal .modal-content {
    max-width: 1400px;
}

.product-modal .modal-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10001;
}

.modal-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.modal-nav-btn.active {
    background: white;
    color: var(--primary-color);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.125rem;
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }

    .modal-caption {
        width: 90%;
        font-size: 0.9rem;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.product-card,
.app-card,
.case-item,
.advantage-item {
    animation: fadeIn 0.6s ease-out;
}
