/* Twitter营销页面主样式 */
/* 使用tw-前缀避免样式冲突 */

/* 重置与基础样式 */
.tw-page-container {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #14171a;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.tw-page-container * {
    box-sizing: border-box;
}

.tw-page-container h1, 
.tw-page-container h2, 
.tw-page-container h3, 
.tw-page-container h4, 
.tw-page-container h5, 
.tw-page-container h6 {
    margin-top: 0;
    font-weight: 700;
}

.tw-page-container p {
    margin-bottom: 1rem;
}

/* 色彩系统 - 使用Twitter蓝色作为主色 */
:root {
    --tw-blue: #1da1f2;
    --tw-dark-blue: #0d8ecf;
    --tw-black: #14171a;
    --tw-dark-gray: #657786;
    --tw-light-gray: #aab8c2;
    --tw-extra-light-gray: #e1e8ed;
    --tw-white: #ffffff;
    --tw-background: #f5f8fa;
}

/* 布局 */
.tw-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tw-section {
    padding: 80px 0;
}

.tw-section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.tw-section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--tw-black);
}

.tw-section-title p {
    font-size: 1.25rem;
    color: var(--tw-dark-gray);
    max-width: 800px;
    margin: 0 auto;
}

.tw-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--tw-blue);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.tw-grid {
    display: grid;
    gap: 30px;
}

.tw-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tw-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tw-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 按钮样式 */
.tw-btn {
    display: inline-block;
    background-color: var(--tw-blue);
    color: var(--tw-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.tw-btn:hover {
    background-color: var(--tw-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.tw-btn-outline {
    background-color: transparent;
    border: 2px solid var(--tw-blue);
    color: var(--tw-blue);
}

.tw-btn-outline:hover {
    background-color: var(--tw-blue);
    color: var(--tw-white);
}

.tw-btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* 卡片样式 */
.tw-card {
    background-color: var(--tw-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.tw-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tw-card-content {
    padding: 25px;
}

.tw-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--tw-black);
}

.tw-card-text {
    color: var(--tw-dark-gray);
    margin-bottom: 20px;
}

/* 动画效果 */
@keyframes tw-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tw-animate-fade-in {
    animation: tw-fade-in 0.6s ease forwards;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tw-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tw-section {
        padding: 60px 0;
    }
    
    .tw-section-title h2 {
        font-size: 2rem;
    }
    
    .tw-grid-3, .tw-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tw-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .tw-section-title h2 {
        font-size: 1.8rem;
    }
    
    .tw-btn {
        width: 100%;
        display: block;
    }
} 