* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部标题 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.logo-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.6);
}

.header h1 {
    font-size: 3rem;
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    margin-bottom: 30px;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 卡片基础样式 */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.9;
}

.card-header h2 {
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    z-index: 1;
}

.card-header p {
    position: relative;
    opacity: 0.95;
    font-size: 1.1rem;
    z-index: 1;
}

.card-content {
    padding: 40px 30px;
}

/* 不同卡片头部颜色 */
.about-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.products-header {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.cases-header {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.services-header {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.contact-header {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

/* 关于星哥区域 */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight-box {
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.highlight-box.primary {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-left-color: #4facfe;
}

.highlight-box.secondary {
    background: linear-gradient(135deg, #f3e5f5 0%, #fce4ec 100%);
    border-left-color: #fa709a;
}

.highlight-box h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-box p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    margin: 0;
}

.about-image {
    text-align: center;
    position: sticky;
    top: 20px;
}

.profile-image {
    width: 100%;
    max-width: 250px;
    border-radius: 20px;
    border: 5px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: #4facfe;
}

.image-caption {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.product-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: #4facfe;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.2);
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-icon.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-icon.orange {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.product-icon.green {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.product-icon.purple {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.product-item h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.product-section {
    margin-bottom: 20px;
}

.product-section h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-section ul {
    list-style: none;
    padding-left: 0;
}

.product-section ul li {
    padding: 8px 0 8px 25px;
    color: #666;
    position: relative;
    line-height: 1.6;
}

.product-section ul li::before {
    content: '●';
    color: #ff6a88;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.feature-list li::before {
    content: '✓';
    color: #00b894;
    font-weight: 700;
}

.product-tags {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.tag.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tag.orange {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.tag.green {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.tag.purple {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #d63031 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.case-item:hover {
    border-color: #30cfd0;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(48, 207, 208, 0.2);
}

.case-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.case-badge.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.case-badge.green {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.case-badge.purple {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.case-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-section {
    margin-bottom: 20px;
}

.case-section h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.case-section p {
    color: #666;
    line-height: 1.8;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.result-item {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-number.green {
    color: #00b894;
}

.result-number.blue {
    color: #4facfe;
}

.result-number.orange {
    color: #ff9a56;
}

.result-label {
    font-size: 0.9rem;
    color: #666;
}

.case-quote {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #ffc107;
    margin-top: 25px;
}

.case-quote p {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 10px;
}

.quote-author {
    color: #856404;
    font-weight: 600;
    text-align: right;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: #4facfe;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-item h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-item p {
    color: #666;
    line-height: 1.8;
}

/* 联系方式 */
.contact-note {
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid;
    margin-bottom: 25px;
}

.contact-note.primary {
    background: linear-gradient(135deg, #fff3cd 0%, #fef8e1 100%);
    border-left-color: #ffc107;
}

.contact-note.secondary {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-left-color: #00b894;
}

.contact-note h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-note.primary h4 {
    color: #856404;
}

.contact-note.secondary h4 {
    color: #00b894;
}

.contact-note p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.contact-note.primary p {
    color: #856404;
}

.contact-note.secondary p {
    color: #27ae60;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.qr-container {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.qr-container:hover {
    border-color: #4facfe;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.15);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 15px;
    border: 3px solid #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-placeholder i {
    font-size: 4rem;
    color: #adb5bd;
}

.qr-placeholder p {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 600;
    margin: 0;
}

.qr-placeholder span {
    font-size: 0.9rem;
    color: #adb5bd;
}

.qr-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    border: 3px solid #e9ecef;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.qr-container:hover .qr-image {
    border-color: #4facfe;
    transform: scale(1.05);
}

.qr-label {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.qr-tip {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}

/* 联系表单 */
.contact-form-section {
    margin-top: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.contact-form-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #0984e3 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 132, 227, 0.4);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 8px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        position: static;
        margin-top: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    .header-stats {
        gap: 15px;
    }
    
    .stat-badge {
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card-content {
        padding: 25px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .case-results {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .card-header p {
        font-size: 1rem;
    }
}
