/* 
   Theme: Bright Future / Clean Tech
   Brand: 广州初展
   Color Palette:
   - Background: #ffffff (Pure White)
   - Surface: #f4f7f6 (Light Minty Grey)
   - Primary Accent: #0066ff (Tech Blue)
   - Secondary Accent: #00d2d3 (Bright Cyan)
   - Text Primary: #1a1a1a (Almost Black)
   - Text Secondary: #666666 (Grey)
*/

:root {
    --bg-color: #ffffff;
    --surface-color: #f8f9fa;
    --surface-hover: #eef2f1;
    --primary-color: #0066ff;
    --secondary-color: #00d2d3;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --nav-height: 80px;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fff;
    overflow-x: hidden;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* 增加微妙的阴影 */
    height: var(--nav-height);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo h2 {
    font-family: 'Montserrat', sans-serif; /* 现代无衬线 */
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    padding-bottom: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 100%);
    overflow: hidden;
}

/* 装饰性背景图形 */
.hero::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
    filter: blur(40px);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-primary);
}

/* 移除 Glitch，改为平滑的高级感文本 */
.glitch {
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* 不需要伪元素动画了，保持干净 */

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px; /* 增加圆角，更友好 */
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.25);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Image Frame Style - Light Theme */
.image-frame {
    position: relative;
    padding: 12px;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); /* 更深邃的阴影 */
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    transition: all 0.5s ease;
}

.image-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 102, 255, 0.2);
}

.hero-img, .about-img, .intro-img, .member-img {
    width: 100%;
    /* 移除去色滤镜，保持原色 */
    display: block;
    border-radius: 2px;
}

/* 装饰边角 - 改为深色或强调色 */
.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.image-frame:hover .frame-corner {
    width: 30px;
    height: 30px;
    opacity: 1;
}

.corner-tl { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.corner-tr { top: -5px; right: -5px; border-left: 0; border-bottom: 0; }
.corner-bl { bottom: -5px; left: -5px; border-right: 0; border-top: 0; }
.corner-br { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

/* Services Section */
.services {
    padding: 40px 0 60px;
    background: #f9fafb; /* 浅灰背景，突显白色卡片 */
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
    border-left: 5px solid var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px; /* 增加圆角 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), #4facfe);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px; /* 方形圆角更现代 */
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* About Preview & Company Intro */
.about-preview {
    padding: 80px 0;
    background-color: #ffffff; /* 纯白背景，与Services形成对比 */
}

.company-intro, .team-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.mission-vision, .contact-section {
    padding: 80px 0;
    background-color: #f9fafb; /* 浅灰背景，衬托卡片 */
}

.about-content, .intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2, .intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 800;
    color: var(--text-primary);
}

.about-text p, .intro-text p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.btn-outline:hover {
    gap: 15px; /* 箭头移动效果 */
}

/* Page Header */
.page-header {
    padding: 200px 0 100px;
    text-align: center;
    background: #f0f7ff;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 900;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Mission Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mission-card {
    background: white;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
    transition: 0.3s;
    box-shadow: var(--card-shadow);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow-hover);
}

.mission-card .card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    background: transparent;
}

.member-image {
    margin-bottom: 25px;
}

.member-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.member-info p {
    color: var(--text-secondary);
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-item {
    background: white;
    padding: 50px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-item h4 {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #111; /* 保持深色页脚作为视觉收尾 */
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section h4 {
    color: #888;
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: #ccc;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-section i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .services-grid, .team-grid, .contact-info, .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--text-primary);
    }

    .hero-content, .about-content, .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
    
    .section-title::after {
        content: '';
        display: block;
        width: 50px;
        height: 5px;
        background: var(--primary-color);
        margin: 20px auto 0;
    }

    .services-grid, .team-grid, .contact-info, .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }
}
