/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
:root {
    --primary-color: #1E40AF;
    --secondary-color: #3B82F6;
    --accent-color: #F59E0B;
    --background-color: #F8FAFC;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 全局图片显示修复 */
img {
    display: block !important;
    max-width: 100%;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--background-color);
    color: var(--primary-color);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-phone {
    color: var(--primary-color);
    font-weight: 500;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 70px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-main {
    display: block;
    color: var(--primary-color);
}

.title-sub {
    display: block;
    color: var(--text-color);
    font-size: 2.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.hero-stats {
    display: flex;
    gap: 32px;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-img-1 {
    width: 60%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 3;
}

.hero-img-2 {
    width: 50%;
    height: 60%;
    top: 20%;
    right: 0;
    z-index: 2;
}

.hero-img-3 {
    width: 40%;
    height: 50%;
    bottom: 0;
    left: 30%;
    z-index: 1;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.decoration-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--accent-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 章节通用样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 数字驾驶舱 */
.innovation-dashboard {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 40%), var(--white);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    width: fit-content;
}

.dashboard-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.dashboard-description {
    color: var(--text-light);
    line-height: 1.8;
}

.dashboard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-light);
}

.dashboard-list li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    margin-right: 12px;
}

.dashboard-actions {
    display: flex;
    gap: 16px;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.metric-card {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.metric-value .metric-em {
    font-size: 2.6rem;
}

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

/* 解决方案矩阵 */
.solution-portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.portfolio-card {
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: 20px;
    padding: 32px;
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.95));
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.portfolio-tag {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-color);
    font-weight: 600;
    width: fit-content;
}

.portfolio-card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
}

.portfolio-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.portfolio-card ul li::before {
    content: "→";
    color: var(--primary-color);
    margin-right: 10px;
}

.portfolio-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.portfolio-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

.portfolio-link:hover {
    color: var(--accent-color);
}

/* 创新实验室 */
.insight-lab {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.85));
    color: var(--white);
}

.lab-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.lab-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lab-content h2 {
    font-size: 2.3rem;
    line-height: 1.4;
}

.lab-content p {
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.9);
}

.lab-tag {
    display: inline-flex;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    font-weight: 600;
    width: fit-content;
}

.lab-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.lab-item {
    background: rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.lab-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.lab-item p {
    color: rgba(226, 232, 240, 0.8);
}

.lab-actions {
    display: flex;
    gap: 16px;
}

.lab-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lab-video-placeholder {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.25);
}

.lab-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lab-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.75);
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
}

.lab-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.lab-info-card {
    background: rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.lab-info-value {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.insight-lab .btn-secondary {
    border-color: rgba(191, 219, 254, 0.6);
    color: #bfdbfe;
}

/* 核心业务 */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card-highlight {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.service-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

/* 公司优势 */
.advantages {
    background: var(--background-color);
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

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

.advantages-visual {
    position: relative;
    height: 400px;
}

.advantage-img {
    position: absolute;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.advantage-img-1 {
    width: 70%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 3;
}

.advantage-img-2 {
    width: 60%;
    height: 50%;
    top: 30%;
    right: 0;
    z-index: 2;
}

.advantage-img-3 {
    width: 50%;
    height: 40%;
    bottom: 0;
    left: 25%;
    z-index: 1;
}

/* 新闻动态 */
.news {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.news-card-featured {
    grid-row: span 2;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-featured .news-image {
    height: 300px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-featured .news-title {
    font-size: 1.3rem;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--accent-color);
}

.news-more {
    text-align: center;
}

/* 合作伙伴 */
.partners {
    background: var(--background-color);
}

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

.partner-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

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

.partner-img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-item:hover .partner-img {
    filter: grayscale(0%);
}

/* 联系CTA */
.contact-cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

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

.contact-cta .btn-primary:hover {
    background: var(--background-color);
}

.contact-cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* 页脚 */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-description {
    color: #9CA3AF;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: #9CA3AF;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #9CA3AF;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1E3A8A;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .dashboard-layout,
    .portfolio-grid,
    .lab-layout {
        grid-template-columns: 1fr;
    }
    
    .advantages-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-contact {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-actions,
    .lab-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-metrics,
    .lab-items,
    .lab-info-cards {
        grid-template-columns: 1fr;
    }
    
    .portfolio-card {
        padding: 28px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .portfolio-card {
        padding: 24px;
    }
    
    .lab-item,
    .metric-card {
        padding: 22px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
}
