/* 
  测咔企业官网 - 样式表
  现代简约界面设计方案，融合拟态设计(Neumorphism)风格
  主色调：蓝白双色 - 蓝色(#2B7BE5)与浅灰(#F0F4F8)
*/

/* 变量定义 */
:root {
    --primary-blue: #2B7BE5;
    --primary-blue-dark: #236ac8;
    --primary-blue-light: #5296f0;
    --bg-gray: #F0F4F8;
    --text-dark: #333;
    --text-secondary: #666;
    --white: #fff;
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: rgba(185, 200, 220, 0.3);
    --gradient-blue: linear-gradient(135deg, #2B7BE5, #4e8def);
    --transition-speed: 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all var(--transition-speed);
}

a:hover {
    color: var(--primary-blue-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: #555;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: rgba(43, 123, 229, 0.7);
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-radius: 4px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* 拟态设计（Neumorphism）通用样式 */
.neumorphic {
    background: var(--bg-gray);
    box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
    border-radius: 16px;
    transition: all var(--transition-speed);
}

.neumorphic:hover {
    box-shadow: 6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.neumorphic:active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-blue) !important;
    color: var(--white) !important;
    box-shadow: 4px 4px 10px var(--shadow-dark) !important,
- 2 px - 2 px 8 px var(--shadow-light) !important;
    border-radius: 30px !important;
    padding: 0.8rem 2rem !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: bold !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 6px 6px 15px var(--shadow-dark) !important,
- 3 px - 3 px 10 px var(--shadow-light) !important;
    color: var(--white) !important;
}

.btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1) !important,
inset - 2 px - 2 px 4 px rgba(255, 255, 255, 0.1) !important;
}


.btn-secondary {
    background: var(--bg-gray);
    color: var(--primary-blue);
    box-shadow: 4px 4px 10px var(--shadow-dark),
    -4px -4px 10px var(--shadow-light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 15px var(--shadow-dark),
    -6px -6px 15px var(--shadow-light);
    color: var(--primary-blue-dark);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
}

/* 导航栏 - 磨砂玻璃效果 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(240, 244, 248, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.logo h1 span {
    font-weight: 400;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a.active, .nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a.active::after, .nav-menu a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
    padding: 9rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #484848;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-buttons .btn-primary {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.stats-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    padding: 1.5rem;
    width: calc(33.33% - 1rem);
    text-align: center;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.hero-3d {
    flex: 1;
    max-width: 500px;
}

.lab-3d-placeholder {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
}

.lab-3d-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.lab-3d-placeholder p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* 核心功能模块 */
.core-features {
    padding: 5rem 0;
    background-color: var(--bg-gray);
}

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

.feature-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-gray);
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #555;
}

.feature-card p {
    color: var(--text-secondary);
}

/* 独特技术优势 */
.advantages {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.advantage-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
}

.advantage-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gray);
    box-shadow: 4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
}

.advantage-icon i {
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.advantage-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
    color: #555;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 定价策略 */
.pricing {
    padding: 5rem 0;
    background-color: var(--bg-gray);
}

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

.pricing-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    transform: scale(1.05);
    background: var(--bg-gray);
    box-shadow: 10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 1rem;
    font-weight: 400;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--primary-blue);
}

.currency {
    font-size: 1.5rem;
    font-weight: 300;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.custom {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: var(--primary-blue);
    margin-right: 0.8rem;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    margin-top: auto;
}

/* 合作伙伴 */
.partners {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.partner-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
    color: #555;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.partner-logo {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.partner-logo span {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.contact-form {
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
    color: #555;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.neumorphic-input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    outline: none;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
    transition: all 0.3s ease;
}

.neumorphic-input:focus {
    box-shadow: inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
}

textarea.neumorphic-input {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-method {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-method i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-method h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #555;
}

.contact-method p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

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

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-blue);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .navbar .container {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4.5rem;
        flex-direction: column;
        background-color: var(--bg-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        align-items: stretch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0.5rem 0;
    }

    .pricing-card.highlighted {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        width: 100%;
    }

    .feature-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i,
    .advantage-icon i {
        font-size: 1.5rem;
    }

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

/* JavaScript使用的类 */
.active {
    display: block;
}
