/* 国际爱学社分级活动网站 - 现代苹果/韩式风格 */

/* 全局重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --primary-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --secondary-color: #5856D6;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --background: #F2F2F7;
    --surface: #FFFFFF;
    --surface-secondary: #F9F9F9;
    --border-light: #E5E5EA;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-xl: 24px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Noto Sans KR', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container-wrapper {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
    background: var(--background);
    display: flex;
    flex-direction: column;
}

/* 导航栏 - 苹果风格 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 汉堡菜单按钮 - 移动端显示 */
.hamburger-menu {
    display: none; /* 默认隐藏，在移动端显示 */
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-small);
    transition: all 0.3s ease;
    z-index: 1001;
}

.hamburger-menu:hover {
    background: var(--surface-secondary);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 汉堡菜单激活状态 */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-brand h2 {
    font-size: 1.3rem;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex !important;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    background: var(--surface-secondary);
    color: var(--primary-color);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.nav-link.admin-link {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* 确保管理后台按钮的文字和图标都是纯白色 */
.nav-link.admin-link,
.nav-link.admin-link:hover,
.nav-link.admin-link:active,
.nav-link.admin-link:focus {
    color: #FFFFFF !important;
}

/* 特别确保文字是纯白色 */
.nav-link.admin-link,
.nav-link.admin-link:hover,
.nav-link.admin-link:active,
.nav-link.admin-link:focus {
    color: #FFFFFF !important;
}

/* 确保所有子元素都是白色 */
.nav-link.admin-link *,
.nav-link.admin-link:hover *,
.nav-link.admin-link:active *,
.nav-link.admin-link:focus * {
    color: #FFFFFF !important;
}

.admin-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.nav-link.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%) !important;
    border-color: rgba(255, 255, 255, 0.5);
}

/* 移动端导航栏优化 - 使用更高优先级 */
@media (max-width: 768px) {
    .navbar {
        padding: 0 !important;
    }
    
    .nav-container {
        height: auto !important;
        min-height: 64px !important;
        padding: 0 16px !important;
        flex-wrap: wrap !important;
    }
    
    .nav-brand h2 {
        font-size: 1.1rem !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .nav-brand h2 i {
        font-size: 1rem !important;
    }
    
    /* 强制显示汉堡菜单 */
    .hamburger-menu {
        display: flex !important;
        order: 2 !important;
        position: relative !important;
        z-index: 1001 !important;
    }
    
    /* 强制隐藏桌面端菜单 */
    .nav-menu {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-top: 16px !important;
        order: 3 !important;
        background: var(--surface) !important;
        border-radius: var(--radius-medium) !important;
        box-shadow: var(--shadow-medium) !important;
        border: 1px solid var(--border-light) !important;
        overflow: hidden !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }
    
    /* 移动端菜单显示状态 */
    .nav-menu.mobile-open {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* 移动端菜单基础样式 */
    .nav-menu {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        display: none !important;
    }
    
    .nav-link {
        padding: 16px 20px !important;
        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-light) !important;
        justify-content: flex-start !important;
        font-size: 1rem !important;
        width: 100% !important;
    }
    
    .nav-link:last-child {
        border-bottom: none !important;
    }
    
    .nav-link:hover {
        background: var(--surface-secondary) !important;
        transform: none !important;
    }
    
    .nav-link.admin-link {
        margin: 8px 20px !important;
        border-radius: var(--radius-medium) !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    /* 移动端头部区域优化 */
    .header {
        padding: 40px 16px 30px !important;
    }
    
    .header-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .subtitle {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
    
    .nav-brand h2 {
        font-size: 1rem;
    }
    
    .nav-brand h2 i {
        font-size: 0.9rem;
    }
    
    .hamburger-menu {
        padding: 6px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    .header {
        padding: 30px 12px 20px;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
}

.admin-link i {
    color: #FFFFFF !important;
    position: relative;
    z-index: 1;
}

.admin-link span {
    position: relative;
    z-index: 1;
}

/* 头部区域 - 韩式渐变风格 */
.header {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-large);
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* 主要内容区域 */
.main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* 步骤页面样式 */
.step-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: calc(100vh - 400px); /* 确保内容区域有足够高度 */
}

.step-title {
    text-align: center;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
}

/* 卡片样式 - 立体感设计 */
.card {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 32px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 章节样式 */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.section-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    opacity: 0.8;
    /* 彩色立体图标样式 */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
    text-shadow: 
        0 1px 0 #fff,
        0 2px 0 #ccc,
        0 3px 0 #bbb,
        0 4px 0 #aaa,
        0 5px 10px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateX(15deg);
    transition: all 0.3s ease;
}

.section-icon:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.4));
}

/* 彩色立体图标系统 */
.section-icon.trophy {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.section-icon.medal {
    background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 50%, #808080 100%);
    filter: drop-shadow(0 4px 8px rgba(192, 192, 192, 0.3));
}

.section-icon.user {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #AF52DE 100%);
    filter: drop-shadow(0 4px 8px rgba(0, 122, 255, 0.3));
}

.section-icon.home {
    background: linear-gradient(135deg, #34C759 0%, #30D158 50%, #28A745 100%);
    filter: drop-shadow(0 4px 8px rgba(52, 199, 89, 0.3));
}

.section-icon.play {
    background: linear-gradient(135deg, #FF3B30 0%, #FF6B6B 50%, #FF8E8E 100%);
    filter: drop-shadow(0 4px 8px rgba(255, 59, 48, 0.3));
}

.section-icon.cog {
    background: linear-gradient(135deg, #8E8E93 0%, #AEAEB2 50%, #C7C7CC 100%);
    filter: drop-shadow(0 4px 8px rgba(142, 142, 147, 0.3));
}

.section-icon.graduation-cap {
    background: linear-gradient(135deg, #5856D6 0%, #7B68EE 50%, #9370DB 100%);
    filter: drop-shadow(0 4px 8px rgba(88, 86, 214, 0.3));
}

.section-icon.history {
    background: linear-gradient(135deg, #FF9500 0%, #FFB340 50%, #FFCC80 100%);
    filter: drop-shadow(0 4px 8px rgba(255, 149, 0, 0.3));
}

.section-icon.rocket {
    background: linear-gradient(135deg, #AF52DE 0%, #D946EF 50%, #EC4899 100%);
    filter: drop-shadow(0 4px 8px rgba(175, 82, 222, 0.3));
}

.section-icon.map-marked-alt {
    background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

/* 悬停效果 */
.section-icon.trophy:hover {
    filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.4));
}

.section-icon.medal:hover {
    filter: drop-shadow(0 6px 12px rgba(192, 192, 192, 0.4));
}

.section-icon.user:hover {
    filter: drop-shadow(0 6px 12px rgba(0, 122, 255, 0.4));
}

.section-icon.home:hover {
    filter: drop-shadow(0 6px 12px rgba(52, 199, 89, 0.4));
}

.section-icon.play:hover {
    filter: drop-shadow(0 6px 12px rgba(255, 59, 48, 0.4));
}

.section-icon.cog:hover {
    filter: drop-shadow(0 6px 12px rgba(142, 142, 147, 0.4));
}

.section-icon.graduation-cap:hover {
    filter: drop-shadow(0 6px 12px rgba(88, 86, 214, 0.4));
}

.section-icon.history:hover {
    filter: drop-shadow(0 6px 12px rgba(255, 149, 0, 0.4));
}

.section-icon.rocket:hover {
    filter: drop-shadow(0 6px 12px rgba(175, 82, 222, 0.4));
}

.section-icon.map-marked-alt:hover {
    filter: drop-shadow(0 6px 12px rgba(16, 185, 129, 0.4));
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 介绍卡片网格 */
.intro-section {
    padding: 80px 0;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.intro-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.intro-card:hover::before {
    transform: scaleX(1);
}

.intro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.card-image {
    margin-bottom: 24px;
}

.card-image img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-large);
    object-fit: cover;
    box-shadow: var(--shadow-light);
}

.intro-card h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 要求部分 */
.requirements-section {
    padding: 80px 0;
    background: var(--surface-secondary);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.requirement-item {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.requirement-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.req-image {
    margin-bottom: 20px;
}

.req-image img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-medium);
    object-fit: cover;
    box-shadow: var(--shadow-light);
}

.requirement-item h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.requirement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 奖励通知 */
.reward-notice {
    margin-top: 48px;
    text-align: center;
}

.reward-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.reward-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.reward-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.reward-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.reward-icon {
    font-size: 2.5rem;
}

.reward-content {
    position: relative;
    z-index: 1;
}

.reward-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.reward-content p {
    opacity: 0.9;
    font-size: 1rem;
}

/* 活动流程 - 现代网格布局 */
.flow-section {
    padding: 40px 0 60px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.flow-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.flow-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.flow-step {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.flow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.flow-step:hover::before {
    transform: scaleX(1);
}

.flow-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
    color: inherit;
}

.step-image {
    margin-bottom: 16px;
}

.step-image img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-medium);
    object-fit: cover;
    box-shadow: var(--shadow-light);
}

.step-number {
    background: var(--primary-gradient);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-light);
}

.step-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 开始报名区域 */
.start-section {
    background: var(--primary-gradient);
    color: white;
    padding: 80px 0;
    margin: 60px 0;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.start-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.start-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.start-visual {
    flex: 1;
    text-align: center;
}

.start-image img {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-heavy);
}

.start-text {
    flex: 1;
}

.start-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.start-text p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.start-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.start-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
    box-shadow: var(--shadow-medium);
}

/* 表单样式 - 现代化设计 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-medium);
    font-size: 16px;
    transition: all 0.2s ease;
    background: var(--surface);
    color: var(--text-primary);
}

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

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

/* 按钮样式 - 苹果风格 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    color: rgb(192, 237, 14) !important; /* 改为黑色文字 */
}

.btn:active {
    transform: translateY(0);
}

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

.btn-secondary {
    background: var(--text-secondary);
}

/* 消息提示样式 */
.message {
    padding: 16px 20px;
    border-radius: var(--radius-medium);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid;
    animation: slideInDown 0.3s ease;
}

.message::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.1rem;
}

.message-success {
    background: rgba(52, 199, 89, 0.1);
    color: #34C759;
    border-color: #34C759;
}

.message-success::before {
    content: '\f00c';
}

.message-error {
    background: rgba(255, 59, 48, 0.1);
    color: #FF3B30;
    border-color: #FF3B30;
}

.message-error::before {
    content: '\f071';
}

.message-warning {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
    border-color: #FF9500;
}

.message-warning::before {
    content: '\f06a';
}

.message-info {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.message-info::before {
    content: '\f05a';
}

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

/* 信息框样式 */
.info-box {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 24px;
    margin: 24px 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.enhanced-info-box {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(88, 86, 214, 0.05) 100%);
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-light);
}

.info-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.info-content {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.item-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.item-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .info-box {
        padding: 20px;
        margin: 20px 0;
    }
    
    .info-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-header h3 {
        font-size: 1.2rem;
    }
    
    .info-item {
        padding: 12px;
        gap: 12px;
    }
    
    .item-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

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

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

/* 状态样式 - 优雅的反馈设计 */
.submitted-status {
    text-align: center;
    padding: 48px 32px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    margin: 32px 0;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.status-icon.approved { color: var(--success-color); }
.status-icon.pending { color: var(--warning-color); }
.status-icon.rejected { color: var(--error-color); }
.status-icon.other { color: var(--text-secondary); }

.status-title {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 600;
}

.status-message {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.status-action {
    margin-top: 24px;
}



/* 页脚 - 简洁设计 */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-main .copyright {
    font-size: 1rem;
    font-weight: 600;
}

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

.footer-details p {
    margin-bottom: 8px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 响应式设计 - 移动优先 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 4px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .header {
        padding: 60px 16px 40px;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .header-stats {
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .start-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .start-image img {
        width: 220px;
        height: 220px;
    }
    
    .start-text h3 {
        font-size: 1.6rem;
    }
    
    .flow-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-details {
        text-align: center;
    }
    
    .step-main {
        padding: 0 16px;
    }
    
    .card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .intro-card,
    .requirement-item,
    .card {
        padding: 20px;
    }
    
    .start-section {
        margin: 40px 0;
        border-radius: var(--radius-large);
        padding: 60px 0;
    }
    
    .start-text h3 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* 隐藏类 */
.hidden { display: none !important; }
.hidden-form { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Step2 特定样式 */
.lexile-note {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.lexile-form {
    margin-top: 16px;
}

.lexile-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.lexile-note-small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.level-options {
    display: grid;
    gap: 12px;
}

.level-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.level-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.05);
}

.level-option input[type="radio"]:checked + div h4 {
    color: var(--primary-color);
}

.level-option h4 {
    margin-bottom: 4px;
}

.level-option p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.submit-section {
    margin-top: 16px;
}

.choice-container {
    display: grid;
    gap: 32px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .choice-container {
        gap: 24px;
    }
    
    .level-option {
        padding: 12px;
    }
    
    .lexile-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 步骤流程样式 - 现代化一行显示 */
.progress-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 20px 0;
    padding: 40px 16px 40px 16px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    overflow: hidden;
    max-width: 100%;
    /* 确保内容在一行内显示 */
    width: 100%;
    min-height: 120px;
}

/* 移除滚动条样式，因为不再需要滚动 */

.progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 4px 16px 4px;
    border-radius: var(--radius-large);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 85px;
    max-width: 110px;
    flex-shrink: 1;
    position: relative;
    border: 2px solid transparent;
}

.progress-item.completed {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(52, 199, 89, 0.05) 100%);
    border-color: rgba(52, 199, 89, 0.3);
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.1);
}

.progress-item.current {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.15) 0%, rgba(255, 149, 0, 0.08) 100%);
    border-color: #FF9500;
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.25);
    transform: scale(1.05);
    position: relative;
}

.progress-item.current::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #FF9500;
}

.progress-item.locked {
    background: var(--surface-secondary);
    border-color: var(--border-light);
    opacity: 0.7;
}

.progress-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.progress-item.current:hover {
    transform: scale(1.02) translateY(-2px);
}

.progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-item.completed .progress-dot {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.progress-item.current .progress-dot {
    background: linear-gradient(135deg, #FF9500 0%, #FF8C00 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.4);
    transform: scale(1.1);
}

.progress-item.locked .progress-dot {
    background: var(--surface);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
}

.progress-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: var(--text-primary);
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-top: 4px;
    height: auto;
    max-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.progress-item.completed .progress-title {
    color: #34C759;
}

.progress-item.current .progress-title {
    color: var(--primary-color);
    font-weight: 700;
}

.progress-item.locked .progress-title {
    color: var(--text-secondary);
}

.progress-connector {
    width: 8px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-light) 0%, var(--border-light) 50%, transparent 50%, transparent 100%);
    margin: 0 1px;
    position: relative;
    flex-shrink: 1;
}

.progress-item.completed + .progress-connector {
    background: linear-gradient(90deg, #34C759 0%, #34C759 50%, var(--border-light) 50%, var(--border-light) 100%);
}

.progress-connector::after {
    content: '→';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-item.completed + .progress-connector::after {
    color: #34C759;
}

.progress-legend {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 16px;
    padding: 12px 20px;
    background: var(--surface-secondary);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-light);
    max-width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-small);
    background: var(--surface);
    border: 1px solid var(--border-light);
}

.legend-item.completed {
    color: #34C759;
    border-color: #34C759;
    background: rgba(52, 199, 89, 0.1);
}

.legend-item.current {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.legend-item.locked {
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.legend-item::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 768px) {
    .flow-section {
        padding: 20px 0;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .progress-compact {
        gap: 0;
        padding: 16px;
        margin: 16px 0;
        border-radius: var(--radius-large);
    }
    
    .progress-item {
        min-width: 100px;
        padding: 10px 12px;
        gap: 6px;
    }
    
    .progress-dot {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .progress-title {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .progress-connector {
        width: 12px;
        margin: 0 2px;
    }
    
    .progress-legend {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 10px 16px;
    }
    
    .legend-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .flow-section {
        padding: 16px 0;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .progress-compact {
        padding: 12px;
        margin: 12px 0;
    }
    
    .progress-item {
        min-width: 80px;
        padding: 8px 10px;
        gap: 4px;
    }
    
    .progress-dot {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .progress-title {
        font-size: 0.65rem;
        font-weight: 600;
    }
    
    .progress-connector {
        width: 8px;
        margin: 0 1px;
    }
    
    .progress-connector::after {
        font-size: 0.6rem;
        top: -5px;
    }
    
    .progress-legend {
        padding: 8px 12px;
        gap: 6px;
    }
    
    .legend-item {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Step7 打卡活动样式 */
.checkin-tips {
    margin-top: 30px;
    padding: 25px;
    background: var(--surface-secondary);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-light);
}

.checkin-tips h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tip-item {
    text-align: center;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.tip-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
}

.tip-item h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
}

.tip-item p {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

/* 已完成表单样式 */
.completed-form {
    position: relative;
}

.completion-badge {
    position: absolute;
    top: -30px !important;        /* 向上移动更多 */
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-medium);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
    z-index: 10;
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    font-size: 0.85rem;
}

.disabled-form {
    opacity: 0.7;
    pointer-events: none;
}

.disabled-form .form-group input,
.disabled-form .form-group textarea,
.disabled-form .form-group select {
    background: var(--surface-secondary);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.disabled-form .btn {
    background: var(--success-color);
    cursor: not-allowed;
    opacity: 0.8;
}

.next-step-action {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.next-step-action .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-item {
        padding: 15px;
    }
    
    .checkin-tips {
        padding: 20px;
        margin-top: 20px;
    }
    
    .completion-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    /* 步骤页面响应式 */
    .step-main {
        padding: 0 16px;
    }
    
    .step-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .step-info {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .container-wrapper {
        padding: 16px 0;
    }
    
    .flow-section {
        padding: 40px 0;
    }
}

/* 登录页面样式 */
.auth-hero {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(88, 86, 214, 0.05) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
}

.auth-hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-medium);
}

.auth-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.auth-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.auth-form-container {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-header h2 i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 28px;
}

.auth-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form .form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-medium);
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--surface);
    color: var(--text-primary);
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

.input-wrapper input:focus + .input-icon {
    color: var(--primary-color);
}

.auth-form .form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.auth-form .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-medium);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-light);
}

.auth-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.auth-form .btn:active {
    transform: translateY(0);
}

.auth-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.info-card .info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-light);
}

.info-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.auth-links {
    margin-top: 60px;
    text-align: center;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.register-link,
.home-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.register-link i,
.home-link i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* 新的内联链接样式 */
.auth-links-inline {
    margin-top: 24px;
    padding: 20px;
    background: rgba(248, 249, 255, 0.8);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-light);
    text-align: center;
}

.auth-links-inline p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-links-inline .register-link {
    margin-bottom: 12px;
}

.auth-links-inline .home-link {
    margin-top: 8px;
}

.link-highlight {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-highlight:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.home-link a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-link a:hover {
    color: var(--primary-color);
}

/* 消息提示增强样式 */
.message {
    padding: 16px 20px;
    border-radius: var(--radius-medium);
    margin-bottom: 24px;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideInDown 0.3s ease;
}

.message::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

.message-success {
    background: rgba(52, 199, 89, 0.1);
    color: var(--success-color);
    border-color: rgba(52, 199, 89, 0.2);
}

.message-success::before {
    content: '\f00c';
}

.message-error {
    background: rgba(255, 59, 48, 0.1);
    color: var(--error-color);
    border-color: rgba(255, 59, 48, 0.2);
}

.message-error::before {
    content: '\f071';
}

.message-warning {
    background: rgba(255, 149, 0, 0.1);
    color: var(--warning-color);
    border-color: rgba(255, 149, 0, 0.2);
}

.message-warning::before {
    content: '\f06a';
}

.message-info {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.2);
}

.message-info::before {
    content: '\f05a';
}

/* 登录页面响应式设计 */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }
    
    .auth-info {
        order: -1;
    }
    
    .info-card {
        padding: 24px;
    }
    
    .info-card .info-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .auth-hero {
        padding: 40px 0 30px;
        margin-bottom: 30px;
    }
    
    .auth-hero h1 {
        font-size: 2rem;
    }
    
    .auth-hero p {
        font-size: 1rem;
    }
    
    .auth-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }
    
    .auth-form-container {
        padding: 30px 24px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-header h2 i {
        font-size: 1.3rem;
    }
    
    .auth-form .form-group {
        margin-bottom: 24px;
    }
    
    .input-wrapper input {
        padding: 14px 16px 14px 44px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .input-icon {
        left: 14px;
        font-size: 0.9rem;
    }
    
    .auth-form .btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .auth-links {
        margin-top: 40px;
    }
    
    .register-link,
    .home-link {
        font-size: 0.95rem;
    }
    
    /* 步骤流程响应式 */
    .progress-compact {
        padding: 12px;
    }
    
    .progress-item {
        min-width: 70px;
        max-width: 80px;
        padding: 6px 2px;
    }
    
    .progress-title {
        font-size: 0.7rem;
    }
    
    .progress-connector {
        width: 8px;
        margin: 0 1px;
    }
}

@media (max-width: 480px) {
    /* 步骤流程小屏幕响应式 */
    .progress-compact {
        padding: 8px;
    }
    
    .progress-item {
        min-width: 60px;
        max-width: 70px;
        padding: 4px 1px;
    }
    
    .progress-dot {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .progress-title {
        font-size: 0.65rem;
    }
    
    .progress-connector {
        width: 6px;
        margin: 0 1px;
    }
}

@media (max-width: 480px) {
    .auth-hero {
        padding: 30px 0 20px;
        margin-bottom: 20px;
    }
    
    .auth-hero h1 {
        font-size: 1.8rem;
    }
    
    .auth-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .auth-form-container {
        padding: 24px 20px;
    }
    
    .form-header {
        margin-bottom: 24px;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .auth-form .form-group {
        margin-bottom: 20px;
    }
    
    .input-wrapper input {
        padding: 12px 14px 12px 40px;
    }
    
    .input-icon {
        left: 12px;
        font-size: 0.85rem;
    }
    
    .auth-form .btn {
        padding: 12px 16px;
    }
    
    .info-card {
        padding: 16px;
    }
    
    .info-card .info-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .info-card p {
        font-size: 0.85rem;
    }
}

/* 个人中心样式 */
.profile-section {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-medium);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0 0 0;
}

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

.profile-info-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-large);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-info-card.clickable {
    cursor: pointer;
}

.profile-info-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.profile-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-info-card.clickable:hover::before {
    opacity: 1;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-medium);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.info-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    font-weight: 500;
}

.edit-hint {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-info-card.clickable:hover .edit-hint {
    color: var(--secondary-color);
}

/* 模态窗口样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.modal-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-heavy);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal:not(.modal-hidden) .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.close {
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: var(--radius-small);
    transition: all 0.2s ease;
}

.close:hover {
    color: var(--text-primary);
    background: var(--surface-secondary);
}

.modal-body {
    padding: 24px 32px 32px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-medium);
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--surface);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.edit-form-hidden {
    display: none;
}

/* 个人中心响应式设计 */
@media (max-width: 1024px) {
    .profile-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .profile-section {
        padding: 24px;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .profile-info-card {
        padding: 20px;
    }
    
    .info-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .info-content h3 {
        font-size: 16px;
    }
    
    .info-content p {
        font-size: 14px;
    }
}

/* 使用更具体的选择器 */
.completed-form .completion-badge,
.form-container .completion-badge,
.step4-page .completion-badge {
    position: absolute !important;
    top: -30px !important;
    right: 50px !important;
}

/* 可点击步骤样式 */
.progress-item.clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.progress-item.clickable:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    text-decoration: none;
    color: inherit;
}

.progress-item.clickable.completed:hover {
    border-color: #34C759;
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}

.progress-item.clickable.current:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

/* 不可点击步骤样式 */
.progress-item.disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background: var(--surface-secondary) !important;
    border-color: var(--border-light) !important;
}

.progress-item.disabled .progress-dot {
    background: var(--surface) !important;
    color: var(--text-secondary) !important;
    border: 2px solid var(--border-light) !important;
    box-shadow: none !important;
}

.progress-item.disabled .progress-title {
    color: var(--text-secondary) !important;
}

.progress-item.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-light) !important;
}

/* 可点击步骤的hover提示 */
.progress-item.clickable {
    position: relative;
}

.progress-item.clickable::after {
    content: attr(title);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-small);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: var(--shadow-medium);
    max-width: 200px;
}

.progress-item.clickable:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .progress-item.clickable::after {
        display: none; /* 移动端隐藏提示文字 */
    }
}