/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

/* 自定义颜色变量 */
:root {
    --primary: #1E88E5;
    --secondary: #FF9800;
    --light: #F5F7FA;
    --dark: #263238;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --white: #ffffff;
    --yellow-500: #eab308;
    --green-100: #dcfce7;
    --green-600: #16a34a;
}

/* 基础样式 */
body {
    color: var(--dark);
    background-color: var(--light);
    scroll-behavior: smooth;
}

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

/* 通用工具类 */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.transition-custom {
    transition: all 0.3s ease;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

/* 响应式字体 */
.text-clamp-hero {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.text-clamp-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-clamp-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* 通用文本样式 */
.text-center {
    text-align: center;
}

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

.text-gray-600 {
    color: var(--gray-600);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
