/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
:root {
    --primary-color: #0066ff;
    --text-color: #333333;
    --bg-color: #ffffff;
    --secondary-bg: #f8f9fa;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem 0;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn.primary:hover {
    background-color: #0052cc;
}

.btn.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* 头部样式 */
header {
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-with-text img {
    height: 40px;
    display: block;
}

/* 导航样式 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav a:not(.btn):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover:after {
    width: 100%;
}

.main-nav .btn {
    margin-left: 1rem;
}

/* 汉堡菜单按钮 */
.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-button span {
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 英雄区域样式 */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-image {
    margin: 0 auto 2rem;
    max-width: 150px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image.animate {
    opacity: 1;
    transform: scale(1);
}

.cta-button {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.cta-button.animate {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

h1.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 关于区域样式 */
.about {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    flex-shrink: 0;
    margin-top: 0;
}

.about-content p {
    margin-top: 0;
    font-size: 1.2rem;
}

/* 支柱区域样式 */
.pillars {
    padding: 4rem 0;
}

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

.pillar {
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--secondary-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pillar.animate {
    opacity: 1;
    transform: translateY(0);
}

.pillar h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pillar p {
    margin-bottom: 0;
}

/* 订阅区域样式 */
.subscribe {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
    text-align: center;
}

#mc_embed_signup {
    max-width: 600px;
    margin: 2rem auto 0;
}

#mc_embed_signup form {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#mc_embed_signup .mc-field-group {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#mc_embed_signup input.email {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    height: 50px;
    padding: 0 1rem;
    width: 100%;
    margin: 0;
    display: block;
}

#mc_embed_signup input.email:focus {
    border-color: var(--primary-color);
    outline: none;
}

#mc_embed_signup .button {
    font-family: 'Inter', sans-serif;
    height: 50px;
    min-width: 120px;
    margin: 0 auto;
    display: block;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

#mc_embed_signup .button:hover {
    background-color: #0052cc;
}

#mc_embed_signup #mc-embedded-subscribe-form {
    padding: 0;
}

#mc_embed_signup #mc_embed_signup_scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    #mc_embed_signup #mc_embed_signup_scroll {
        flex-direction: row;
    }
    
    #mc_embed_signup .mc-field-group {
        width: auto;
        flex-grow: 1;
    }
}

/* 页脚样式 */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

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

.social-links img {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-button {
        display: flex;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pillars {
        padding: 2rem 0;
    }
    
    .pillars-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pillar {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        border-left: 3px solid var(--primary-color);
        border-radius: 6px;
        opacity: 1;
        transform: translateY(0);
    }
    
    .pillar:hover {
        transform: translateY(-3px);
    }
    
    .pillar.animate {
        opacity: 1;
        transform: translateY(0);
    }
    
    .pillar h2 {
        margin-bottom: 0.75rem;
        font-size: 1.4rem;
    }
    
    .pillar p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* 移动端小屏幕适配 */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-cta {
        width: 100%;
    }
    
    .header-cta .btn {
        width: 100%;
    }
    
    .pillar {
        padding: 1.25rem;
    }
} 