/* 
 * 两岸积分通 - 现代化酷炫界面设计
 * 采用渐变色彩、玻璃拟态、动态效果
 */

/* 全局样式和CSS变量 */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
    --bg-dark: #1a202c;
    --bg-light: #f7fafc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.5);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 动态背景粒子效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

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

/* 头部样式 - 玻璃拟态效果 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -1px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a::before {
    content: '✨';
    font-size: 24px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

/* 导航样式 */
.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    border-radius: 50px;
}

.nav ul li a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav ul li a:hover::before {
    opacity: 1;
}

/* 用户菜单 */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.user-link:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.user-link i {
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 按钮样式 - 渐变和发光效果 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), var(--shadow-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 警告信息 - 玻璃拟态 */
.alert {
    padding: 16px 24px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(245, 101, 101, 0.9);
    color: var(--white);
}

.alert-success {
    background: rgba(72, 187, 120, 0.9);
    color: var(--white);
}

/* 英雄区域 - 动态渐变背景 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-section h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
    letter-spacing: -2px;
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons .btn {
    padding: 18px 40px;
    font-size: 16px;
}

/* 特性区域 - 卡片悬浮效果 */
.features-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
}

.features-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-size: 42px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item i {
    font-size: 56px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-item h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* 工作流程 - 时间线设计 */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-size: 42px;
    font-weight: 800;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    z-index: 0;
}

.step-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    margin: 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(102, 126, 234, 0.7); }
}

.step-item h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
}

.step-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 推荐语 - 卡片设计 */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-size: 42px;
    font-weight: 800;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: linear-gradient(135deg, #f5f7fa 0%, var(--white) 100%);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-item p {
    margin-bottom: 24px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.user-info span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
}

/* 底部样式 - 深色主题 */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d3748 100%);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    margin-bottom: 24px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul li i {
    color: var(--primary-color);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    font-size: 18px;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

/* 表单样式 - 玻璃拟态 */
.form-container {
    max-width: 500px;
    margin: 60px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-container h2 {
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-actions .btn {
    width: 100%;
}

/* 工作台样式 */
.dashboard {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.dashboard h2 {
    margin-bottom: 40px;
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.dashboard-card h3 {
    margin-bottom: 24px;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-card h3 i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
}

.points-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
}

.points-item {
    text-align: center;
}

.points-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.points-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 统计样式 */
.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

/* 列表样式 */
.dashboard-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.dashboard-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card ul li:last-child {
    border-bottom: none;
}

.dashboard-card ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.dashboard-card ul li a:hover {
    color: var(--primary-color);
}

.rating {
    color: #f6ad55;
    font-weight: 700;
}

.reward {
    font-size: 12px;
    color: var(--success-color);
    font-weight: 600;
    background: rgba(72, 187, 120, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.points {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.status.active {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
}

.status.inactive {
    background: rgba(160, 174, 192, 0.1);
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .nav ul li a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .hero-section h1 {
        font-size: 40px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps::before {
        display: none;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-item {
        margin: 15px 0;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    .features-section h2,
    .how-it-works h2,
    .testimonials h2 {
        font-size: 32px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* 加载动画 */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* 错误信息样式 */
.error-message {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠️';
}

/* 成功提示 */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    background: var(--success-color);
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    font-weight: 600;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: var(--error-color);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}