* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.navbar {
    padding: 1rem 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}
.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s 0.2s both;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s 0.4s both;
}
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}
.btn-block {
    width: 100%;
}
section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.about {
    background: var(--bg-light);
}
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.info-card p {
    color: var(--text-light);
    font-weight: 500;
}
.company-details {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.detail-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}
.detail-item:last-child {
    border-bottom: none;
}
.detail-item strong {
    color: var(--primary-color);
    min-width: 180px;
}
.detail-item span {
    color: var(--text-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--secondary-color);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.service-features {
    list-style: none;
    margin-top: 1.5rem;
}
.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}
.projects {
    background: var(--bg-light);
}
.projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.project-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}
.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.project-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.project-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}
.project-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
}
.contact-content {
    display: flex;
    justify-content: center;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}
.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
}
.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.contact-details p {
    color: var(--text-light);
}
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-info h3 {
    margin-bottom: 0.5rem;
}
.footer-info p {
    opacity: 0.8;
    font-size: 0.9rem;
}
.footer-slogan {
    margin-top: 0.5rem;
    font-weight: 500;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.5rem;
}
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column ul li a:hover {
    color: white;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.8;
}
.icp-info {
    margin-top: 1rem;
}
.icp-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s;
}
.icp-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        gap: 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    .hero {
        padding: 140px 0 60px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    section {
        padding: 60px 0;
    }
    .about-info {
        grid-template-columns: 1fr;
    }
    .services-grid,
    .projects-content {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}
