/* 全局样式 */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    antialiased: true;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* 渐变文本 */
.gradient-text {
    background: linear-gradient(90deg, #11B2D5, #0E8CA8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(90deg, #11B2D5, #0E8CA8);
}

.btn-secondary {
    border: 1px solid #11B2D5;
    color: #11B2D5;
}

/* 卡片样式 */
.feature-card {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tool-card {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-card {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 英雄区域样式 */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* 导航菜单样式 */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ChanRipple 特有样式 */
.chanripple .gradient-text {
    background: linear-gradient(90deg, #CA9B45, #6D604D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.chanripple .btn-primary {
    background: linear-gradient(90deg, #CA9B45, #6D604D);
}

.chanripple .btn-secondary {
    border: 1px solid #CA9B45;
    color: #6D604D;
}

.chanripple .feature-card {
    border-left: 4px solid #CA9B45;
}

.chanripple .platform-card {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chanripple .platform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 语言选择器样式 */
#language-selector {
    position: relative;
}

#language-dropdown {
    transition: all 0.3s ease;
}

/* 移动端菜单样式 */
#mobile-menu {
    transition: all 0.3s ease;
}

/* 社交媒体图标样式 */
.social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* 表单样式 */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #11B2D5;
    box-shadow: 0 0 0 3px rgba(17, 178, 213, 0.1);
}

/* 链接样式 */
a {
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* 按钮动画 */
.btn-primary,
.btn-secondary {
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 卡片动画 */
.feature-card,
.tool-card,
.team-card,
.platform-card {
    transition: all 0.3s ease;
}

/* 文本动画 */
h1, h2, h3, h4, h5, h6 {
    transition: all 0.3s ease;
}

/* 背景渐变 */
.bg-gradient-blue {
    background: linear-gradient(90deg, #0E8CA8, #11B2D5);
}

.bg-gradient-gold {
    background: linear-gradient(90deg, #CA9B45, #6D604D);
}

/* 阴影效果 */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 间距辅助类 */
.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 0;
    }
}

/* 字体大小辅助类 */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

/* 间距辅助类 */
.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

/* 弹性布局辅助类 */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* 网格布局辅助类 */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

/* 显示辅助类 */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    
    .md\:hidden {
        display: none;
    }
}

/* 文本对齐辅助类 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* 文本颜色辅助类 */
.text-white {
    color: white;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-gray-600 {
    color: #4B5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1F2937;
}

/* 背景颜色辅助类 */
.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: #F9FAFB;
}

.bg-gray-900 {
    background-color: #111827;
}

/* 边框辅助类 */
.border {
    border: 1px solid #E5E7EB;
}

.border-t {
    border-top: 1px solid #E5E7EB;
}

.border-gray-800 {
    border-color: #1F2937;
}

/* 圆角辅助类 */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

/* 填充辅助类 */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pt-40 {
    padding-top: 10rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pb-32 {
    padding-bottom: 8rem;
}

/* 宽度辅助类 */
.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

.w-auto {
    width: auto;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* 高度辅助类 */
.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-24 {
    height: 6rem;
}

.h-auto {
    height: auto;
}

/* 位置辅助类 */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.-top-4 {
    top: -1rem;
}

.-top-6 {
    top: -1.5rem;
}

.-bottom-4 {
    bottom: -1rem;
}

.-bottom-6 {
    bottom: -1.5rem;
}

.-left-4 {
    left: -1rem;
}

.-left-6 {
    left: -1.5rem;
}

.-right-4 {
    right: -1rem;
}

.-right-6 {
    right: -1.5rem;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* 透明度辅助类 */
.opacity-40 {
    opacity: 0.4;
}

/* 过渡效果辅助类 */
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* 阴影辅助类 */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 悬停效果辅助类 */
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:bg-gray-100:hover {
    background-color: #F3F4F6;
}

.hover\:bg-white\/10:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hover\:text-white:hover {
    color: white;
}

.hover\:text-[#11B2D5]:hover {
    color: #11B2D5;
}

.hover\:underline:hover {
    text-decoration: underline;
}

/* 文本装饰辅助类 */
.underline {
    text-decoration: underline;
}

.no-underline {
    text-decoration: none;
}

/* 文本变换辅助类 */
.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

/* 字体粗细辅助类 */
.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* 行高辅助类 */
.leading-relaxed {
    line-height: 1.625;
}

.leading-normal {
    line-height: 1.5;
}

/* 文本溢出辅助类 */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 列表样式辅助类 */
.list-disc {
    list-style-type: disc;
}

.list-decimal {
    list-style-type: decimal;
}

.list-none {
    list-style-type: none;
}

/* 浮动辅助类 */
.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 表格样式辅助类 */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.table th {
    font-weight: 600;
    background-color: #F9FAFB;
}

/* 表单样式辅助类 */
.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-input:focus {
    outline: none;
    border-color: #11B2D5;
    box-shadow: 0 0 0 3px rgba(17, 178, 213, 0.1);
}

/* 按钮样式辅助类 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(90deg, #11B2D5, #0E8CA8);
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: #11B2D5;
    border: 1px solid #11B2D5;
}

.btn-white {
    background: white;
    color: #11B2D5;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* 响应式断点 */
@media (max-width: 640px) {
    .sm\:text-center {
        text-align: center;
    }
    
    .sm\:flex-col {
        flex-direction: column;
    }
    
    .sm\:items-center {
        align-items: center;
    }
    
    .sm\:justify-center {
        justify-content: center;
    }
}

@media (min-width: 640px) {
    .sm\:text-left {
        text-align: left;
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:items-start {
        align-items: flex-start;
    }
    
    .sm\:justify-between {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .md\:text-center {
        text-align: center;
    }
    
    .md\:flex-col {
        flex-direction: column;
    }
    
    .md\:items-center {
        align-items: center;
    }
    
    .md\:justify-center {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .md\:text-left {
        text-align: left;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:items-start {
        align-items: flex-start;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
}

@media (max-width: 1024px) {
    .lg\:text-center {
        text-align: center;
    }
    
    .lg\:flex-col {
        flex-direction: column;
    }
    
    .lg\:items-center {
        align-items: center;
    }
    
    .lg\:justify-center {
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .lg\:text-left {
        text-align: left;
    }
    
    .lg\:flex-row {
        flex-direction: row;
    }
    
    .lg\:items-start {
        align-items: flex-start;
    }
    
    .lg\:justify-between {
        justify-content: space-between;
    }
    
    .lg\:w-1\/2 {
        width: 50%;
    }
    
    .lg\:pr-12 {
        padding-right: 3rem;
    }
    
    .lg\:mb-0 {
        margin-bottom: 0;
    }
}

/* 动画辅助类 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* 其他辅助类 */
.select-none {
    user-select: none;
}

.pointer-events-none {
    pointer-events: none;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F1F1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}