/* ========== 扁平化大气设计 = Nascent Soul 元婴科技 ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1D4ED8;
    --secondary: #1E3A8A;
    --accent: #2563EB;
    --dark: #0C1220;
    --light: #F1F5F9;
    --gray: #475569;
    --success: #059669;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --white: #FFFFFF;
    --tech-glow: #3B82F6;
    --ai-purple: #8B5CF6;
    --data-cyan: #06B6D4;
    --border-radius: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.18);
    --shadow-tech: 0 0 20px rgba(59, 130, 246, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-tech: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

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

/* ========== 页面加载动画 ========== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--ai-purple) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 2rem;
}

.loader-logo {
    margin-bottom: 3rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loader-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #fff, #3B82F6, #8B5CF6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease-in-out infinite;
}

.loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #06B6D4);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 1.5s ease-in-out infinite;
}

.loader-message {
    font-size: 1rem;
    opacity: 0.9;
    animation: messagePulse 1s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes messagePulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

/* ========== 粒子背景（简化） ========== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.nav-menu a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.15);
    font-weight: 600;
}

.hamburger {
    display: none;
}

/* ========== 首页 ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(139, 92, 246, 0.08) 25%,
        rgba(6, 182, 212, 0.12) 50%,
        rgba(16, 185, 129, 0.08) 75%,
        rgba(59, 130, 246, 0.1) 100%);
    animation: techFlow 8s ease-in-out infinite;
}

@keyframes techFlow {
    0%, 100% { 
        background: linear-gradient(135deg, 
            rgba(59, 130, 246, 0.1) 0%, 
            rgba(139, 92, 246, 0.08) 25%,
            rgba(6, 182, 212, 0.12) 50%,
            rgba(16, 185, 129, 0.08) 75%,
            rgba(59, 130, 246, 0.1) 100%);
    }
    50% { 
        background: linear-gradient(135deg, 
            rgba(16, 185, 129, 0.08) 0%, 
            rgba(6, 182, 212, 0.12) 25%,
            rgba(139, 92, 246, 0.08) 50%,
            rgba(59, 130, 246, 0.1) 75%,
            rgba(16, 185, 129, 0.08) 100%);
    }
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.floating-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    color: var(--primary);
    display: block;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    margin-top: 2rem;
    font-weight: 400;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.cta-button {
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

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

.cta-button.primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--light);
}

.scroll-indicator {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== 服务部分 ========== */
.services {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.title-border {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.title-border::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent);
    opacity: 0.2;
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: var(--transition-tech);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-tech);
    border-color: var(--tech-glow);
    background: linear-gradient(135deg, var(--white) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.service-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== 关于我们 ========== */
.about {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.singapore-reasons {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.reason-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-tech);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s forwards;
}

.reason-item:nth-child(1) { animation-delay: 0.2s; }
.reason-item:nth-child(2) { animation-delay: 0.4s; }
.reason-item:nth-child(3) { animation-delay: 0.6s; }
.reason-item:nth-child(4) { animation-delay: 0.8s; }

.reason-item:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: var(--shadow-md);
    border-left-color: var(--tech-glow);
}

.reason-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.reason-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light);
    border-radius: 20px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

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

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition-tech);
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.image-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.image-placeholder {
    font-size: 8rem;
    opacity: 0.3;
}

/* ========== 联系我们 ========== */
.contact {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    transition: var(--transition-tech);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.6s; }

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--tech-glow);
    box-shadow: var(--shadow-tech);
    background: linear-gradient(135deg, var(--white) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.info-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.8s;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 1rem;
}

.submit-btn {
    padding: 1.2rem 2rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

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

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    gap: 0.5rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
}

.newsletter button {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter button:hover {
    background: var(--secondary);
}

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

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

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

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 .gradient-text {
        font-size: 3rem !important;
    }
    
    .hero-content h1 span:not(.gradient-text) {
        font-size: 2rem !important;
    }

    .subtitle {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .about-content,
    .contact-wrapper {
        gap: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 卡片入场动画 */
.service-card,
.info-card,
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* ========== Page Hero (for subpages) ========== */
.page-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Navigation Updates ========== */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* ========== About Section Styles ========== */
.about-section, .about-preview, .contact-preview {
    padding: 80px 0;
}

.about-section .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ========== Mission & Vision ========== */
.mission-vision {
    padding: 80px 0;
    background: var(--light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ========== What We Do ========== */
.what-we-do {
    padding: 80px 0;
}

.services-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
    align-items: flex-start;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* ========== Company Stats ========== */
.company-stats {
    padding: 80px 0;
    background: var(--light);
}

/* ========== Company Info ========== */
.company-info {
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.info-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.info-card h4 i {
    font-size: 1.25rem;
}

/* ========== Team Page Styles ========== */
.team-intro {
    padding: 80px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-structure {
    padding: 80px 0;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.team-skills {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.team-skills li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.team-skills li:before {
    content: "• ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.team-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.join-us {
    padding: 80px 0;
    background: var(--light);
    text-align: center;
}

.join-content {
    max-width: 600px;
    margin: 0 auto;
}

.join-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ========== Products Page Styles ========== */
.product-section {
    padding: 80px 0;
}

.product-section.alt {
    background: var(--light);
}

.product-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-content {
    max-width: 1000px;
    margin: 0 auto;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.feature-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item h4 i {
    font-size: 1.5rem;
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ========== Contact Page Styles ========== */
.map-section {
    padding: 80px 0;
    background: var(--light);
}

.map-placeholder {
    margin-top: 3rem;
    min-height: 400px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info {
    text-align: center;
    padding: 3rem;
}

.map-info i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.map-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--primary);
}

.cta-section .cta-button:hover {
    background: var(--light);
    transform: translateY(-3px);
}

/* ========== Responsive Updates ========== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .about-section .about-content,
    .mission-grid,
    .team-grid,
    .values-grid,
    .product-grid,
    .info-grid,
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
    }
}

/* ========== Brand Elements ========== */
.tagline {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin: 1.5rem 0 3rem;
    font-style: italic;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin: 1rem 0 0;
    font-style: italic;
}

.spirit-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 1.5rem;
    font-style: italic;
}

.spirit-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.company-spirit {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.spirit-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.spirit-quote h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Mission/Vision/Values styling */
.mission-card p em {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* Service card taglines */
.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card p br + em {
    font-style: italic;
    color: var(--primary);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spirit-quote h3 {
        font-size: 1.8rem;
    }
    
    .tagline, .hero-tagline {
        font-size: 1rem;
    }
}

/* ========== Enhanced Typography ========== */
.animated-text {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.tagline {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 1rem 0 2rem;
    font-style: italic;
    opacity: 0.9;
}

/* ========== Enhanced Interactions ========== */
.service-card {
    cursor: pointer;
    transition: var(--transition);
}

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

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.service-icon {
    transition: var(--transition);
}

/* ========== Smooth Scrolling ========== */
html {
    scroll-behavior: smooth;
}

/* ========== Enhanced Form Interactions ========== */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: var(--transition);
}

.form-group input:focus + i,
.form-group textarea:focus + i {
    color: var(--primary);
}

/* ========== Enhanced Info Cards ========== */
.info-card {
    transition: var(--transition);
    cursor: pointer;
}

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

.info-card:hover .info-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.info-icon {
    transition: var(--transition);
}

/* ========== Enhanced Stats ========== */
.stat-item {
    transition: var(--transition);
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

/* ========== Enhanced Mission Cards ========== */
.mission-card {
    transition: var(--transition);
    cursor: pointer;
}

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

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.mission-icon {
    transition: var(--transition);
}

/* ========== Enhanced Product Cards ========== */
.product-card {
    transition: var(--transition);
    cursor: pointer;
}

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

.product-card:hover i {
    transform: scale(1.1);
    color: var(--secondary);
}

.product-card i {
    transition: var(--transition);
}

/* ========== Enhanced Team Cards ========== */
.team-card {
    transition: var(--transition);
    cursor: pointer;
}

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

.team-card:hover .team-icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.team-icon {
    transition: var(--transition);
}

/* ========== Enhanced Value Items ========== */
.value-item {
    transition: var(--transition);
    cursor: pointer;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item:hover i {
    transform: scale(1.1);
    color: var(--secondary);
}

.value-item i {
    transition: var(--transition);
}

/* ========== Loading Animation ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ========== Pulse Animation ========== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ========== Enhanced Mobile Experience ========== */
@media (max-width: 768px) {
    .animated-text {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .service-card,
    .mission-card,
    .team-card,
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========== Focus States for Accessibility ========== */
.cta-button:focus,
.nav-menu a:focus,
.service-card:focus,
.info-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========== Reduced Motion Support ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== Logo Styles ========== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.logo-icon:hover {
    transform: scale(1.1);
}

/* 首页大logo */
.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 3rem;
    display: block;
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* 页脚logo */
.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* 响应式logo */
@media (max-width: 768px) {
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-logo {
        width: 60px;
        height: 60px;
    }
    
    .nav-logo h2 {
        font-size: 1.25rem;
    }
}


