* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6B46C1;
    --secondary-purple: #9333EA;
    --accent-orange: #F59E0B;
    --dark-bg: #1F2937;
    --light-bg: #F9FAFB;
    --border-color: #E5E7EB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --success-green: #10B981;
}

/* Top Navigation */
.top-nav {
    background: var(--dark-bg);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-nav .container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 12px;
}

/* Main Header */
.main-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-purple);
    text-decoration: none;
}

.company-logo span {
    color: var(--text-primary);
}

.verified-badge {
    background: var(--success-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
}

.footer-content {
    /* display: grid; */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3 {
    font-family: 'Manrope', sans-serif;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .case-studies-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

.product-card,
.case-study-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }



/* Top Navigation */
.top-nav {
    background: var(--dark-bg);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-nav .container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 12px;
}

/* Main Header */
.main-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-purple);
    text-decoration: none;
}

.company-logo span {
    color: var(--text-primary);
}

.verified-badge {
    background: var(--success-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
}

/* Company Hero Section */
.company-hero {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.company-hero::before {
    content: '';
    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"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.hero-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.hero-right {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 15px;
}

.quick-info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    opacity: 0.8;
    flex-shrink: 0;
}

.info-value {
    font-weight: 600;
    font-size: 14px;
}

/* Main Content Container */
.main-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 60px 40px; */
    padding: 60px 0px;
}

.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 50px;
    height: fit-content;
}

.sidebar-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    word-break: break-word;
}

.contact-icon {
    width: 20px;
    height: 20px;
    background: var(--light-bg);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-purple);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
    cursor: pointer;
}

.social-link:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cert-placeholder {
    aspect-ratio: 1;
    background: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    padding: 10px;
    max-width: 110px;
}

/* Main Content Area */
.main-content {
    background: white;
}

.content-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
    gap: 15px;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 28px;
    background: var(--primary-purple);
    margin-right: 12px;
    vertical-align: middle;
}

/* About Section */
.about-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content p {
    margin-bottom: 16px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-card {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-purple);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.highlight-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.highlight-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Products Section */
.geo-home .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.geo-home .product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.geo-home .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-purple);
}

.geo-home .product-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.geo-home .product-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><rect width="40" height="40" fill="none"/><path d="M20 10l5 5h-3v8h-4v-8h-3z" fill="rgba(107,70,193,0.1)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.3;
}

.geo-home .product-info {
    padding: 20px;
}

.geo-home .product-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.geo-home .product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.geo-home .product-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    flex: 1;
}

/* Company Images Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    /* aspect-ratio: 4/3; */
    background: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    border-color: var(--primary-purple);
    background: rgba(107, 70, 193, 0.05);
}

.gallery-icon {
    font-size: 32px;
    margin-bottom: 10px;
    /* opacity: 0.5; */
}

.gallery-image {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.gallery-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 60px 60px;
    opacity: 0.3;
}

/* Certificates Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.certificate-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.cert-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 40px;
    color: var(--primary-purple);
}

.cert-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-study-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.case-study-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.case-study-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.case-study-content {
    padding: 24px;
}

.case-study-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.case-study-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.case-study-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1F2937, #374151);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background: var(--primary-purple);
    transform: scale(1.1);
}

.video-info {
    padding: 16px;
}

.video-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.video-duration {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    margin-top: 30px;
}

.contact-cta h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-cta p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-white {
    background: white;
    color: var(--primary-purple);
}

.btn-white:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
}

.footer-content {
    /* display: grid; */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3 {
    font-family: 'Manrope', sans-serif;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .case-studies-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-section {
        padding: 20px;
    }
    
    .contact-cta {
        padding: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-left h1 {
        font-size: 36px;
    }
    
    .hero-tagline {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

.product-card,
.case-study-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }

/* Service Cards Styles */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 1条数据时：占满一行 */
.service-cards-grid:has(> :only-child) {
    grid-template-columns: 1fr;
}

/* 2条数据时：每条占50% */
.service-cards-grid:has(> :first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-purple);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 20px;
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.service-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-detail-item {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.service-detail-label {
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 100px;
}

.service-detail-value {
    color: var(--text-primary);
    flex: 1;
}

/* Service Table Styles */
.service-table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.service-table thead {
    background: var(--light-bg);
}

.service-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
}

.service-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.service-table tbody tr:hover {
    background: var(--light-bg);
}

.service-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-table-responsive {
        font-size: 13px;
    }

    .service-table th,
    .service-table td {
        padding: 10px 12px;
    }
}

.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }


