/* 全局样式 - 移动端优先 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --line-green: #06C755;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 头部导航 - 移动端优化 */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.cta-button-header {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
    touch-action: manipulation;
}

.cta-button-header:active {
    transform: scale(0.98);
    background: var(--primary-dark);
}

/* 英雄区域 - 移动端优化 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
    padding: 0 8px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 8px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.cta-button-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 320px;
    touch-action: manipulation;
    display: inline-block;
}

.cta-button-primary:active {
    transform: scale(0.98);
}

.hero-image {
    text-align: center;
    order: -1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* 关于部分 - 移动端优化 */
.about {
    padding: 3rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    padding: 0 8px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    color: var(--text-light);
    line-height: 1.8;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: 2rem;
}

/* 市场洞察 - 移动端优化 */
.insights {
    padding: 3rem 0;
    background: var(--bg-light);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.insight-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.3s;
}

.insight-card:active {
    transform: scale(0.98);
}

.insight-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.insight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.insight-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 专业领域 - 移动端优化 */
.expertise {
    padding: 3rem 0;
    background: var(--bg-white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.expertise-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s;
}

.expertise-item:active {
    transform: scale(0.98);
}

.expertise-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 服务优势 - 移动端优化 */
.services {
    padding: 3rem 0;
    background: var(--bg-light);
}

.services-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    min-width: 50px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 理念使命 - 移动端优化 */
.mission {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 8px;
}

.mission-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.value-item strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.value-item span {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* LINE联系区域 - 移动端优化 */
.contact {
    padding: 3rem 0;
    background: var(--bg-white);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    padding: 0 8px;
    line-height: 1.6;
}

.line-contact-box {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.line-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.line-contact-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.line-contact-box > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.line-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--line-green);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
    transition: transform 0.2s, box-shadow 0.3s;
    width: 100%;
    max-width: 320px;
    touch-action: manipulation;
}

.line-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

.line-button svg {
    flex-shrink: 0;
}

.line-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-success {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--success-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* 页脚 - 移动端优化 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 平板和桌面端优化 */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: flex;
    }

    .cta-button-header {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: 600px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 0 24px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .cta-button-primary {
        width: auto;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .hero-image {
        order: 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .about {
        padding: 5rem 0;
    }

    .insights {
        padding: 5rem 0;
    }

    .insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .insight-card {
        padding: 2rem;
    }

    .insight-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .insight-icon {
        font-size: 3rem;
    }

    .insight-card h3 {
        font-size: 1.5rem;
    }

    .insight-card p {
        font-size: 1rem;
    }

    .expertise {
        padding: 5rem 0;
    }

    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .expertise-item {
        padding: 2rem;
    }

    .expertise-item:hover {
        transform: translateX(5px);
    }

    .expertise-item h3 {
        font-size: 1.3rem;
    }

    .expertise-item p {
        font-size: 1rem;
    }

    .services {
        padding: 5rem 0;
    }

    .service-feature {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .feature-number {
        font-size: 3rem;
        min-width: 80px;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .mission {
        padding: 5rem 0;
    }

    .mission-content h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .mission-text {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .mission-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .value-item {
        padding: 1.5rem;
    }

    .value-item strong {
        font-size: 1.3rem;
    }

    .contact {
        padding: 5rem 0;
    }

    .contact-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .line-contact-box {
        padding: 2.5rem;
    }

    .line-button {
        width: auto;
        padding: 18px 40px;
    }

    .footer {
        padding: 3rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}
