:root {
    --primary: #14b8a6;       /* 声声绿 */
    --primary-grad: linear-gradient(135deg, #2dd4bf, #0f766e); /* 活力渐变 */
    --text-main: #1e293b;     /* 深蓝黑，比纯黑柔和 */
    --text-sub: #64748b;
    --bg-light: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'PingFang SC', 'Helvetica Neue', sans-serif;
    height: 100vh; overflow: hidden; background: #fff;
}

.login-container {
    position: relative; width: 100%; height: 100%;
    display: flex; flex-direction: column;
}

/* --- 1. 极光流体背景 --- */
.aurora-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
    background: #f0fdfa;
    overflow: hidden;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6;
    animation: move 20s infinite alternate;
}
.b1 { width: 600px; height: 600px; background: #ccfbf1; top: -100px; left: -100px; }
.b2 { width: 500px; height: 500px; background: #e0f2fe; bottom: -100px; right: -100px; animation-duration: 25s; }
.b3 { width: 300px; height: 300px; background: #fce7f3; top: 40%; left: 40%; animation-duration: 15s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, -50px) scale(1.1); }
}

.glass-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    backdrop-filter: blur(60px);
    z-index: 1;
}

/* --- 顶部导航 --- */
.top-nav {
    position: relative; z-index: 10; padding: 30px 60px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.icon-gradient {
    font-size: 32px;
    background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-name { font-size: 24px; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
.brand-badge {
    background: #1e293b; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 12px; font-weight: bold;
}

/* --- 舞台区 --- */
.main-stage {
    position: relative; z-index: 10; flex: 1;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 100px; max-width: 1400px; margin: 0 auto; width: 100%;
}

/* 左侧文案 */
.stage-text { max-width: 500px; }
.hello-badge {
    display: inline-block; background: #fff; padding: 8px 16px; border-radius: 30px;
    font-size: 14px; font-weight: bold; color: var(--text-main); margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.slogan {
    font-size: 64px; line-height: 1.1; margin-bottom: 20px; font-weight: 900; color: var(--text-main);
}
.desc { font-size: 18px; color: var(--text-sub); line-height: 1.6; margin-bottom: 40px; }

.trust-avatars { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-main); font-weight: bold; }
.avatars { display: flex; }
.av { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; }
.av:first-child { margin-left: 0; }
.av.count { background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-sub); }

/* --- 登录卡片 --- */
.login-card-wrapper { flex: 1; display: flex; justify-content: flex-end; }
.login-card {
    width: 420px; background: #fff; border-radius: 24px; padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
}

.role-switcher {
    background: #f1f5f9; border-radius: 12px; padding: 4px; display: flex; position: relative; margin-bottom: 30px;
}
.role-item {
    flex: 1; text-align: center; padding: 10px 0; font-size: 14px; font-weight: bold; color: var(--text-sub);
    position: relative; z-index: 2; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.role-item.active { color: var(--text-main); }
.role-slider {
    position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px);
    background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-header h3 { font-size: 24px; color: var(--text-main); margin-bottom: 4px; }
.card-header p { font-size: 14px; color: var(--text-sub); margin-bottom: 30px; }

/* 输入框样式 */
.input-field { margin-bottom: 20px; }

/* [修改] 字段头部：包含Label和忘记密码 */
.field-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.field-header label { font-size: 12px; font-weight: bold; color: var(--text-main); }

/* [修改] 忘记密码链接样式 */
.link-forgot {
    color: var(--primary); text-decoration: none; font-size: 12px; font-weight: bold;
}

.clean-input {
    width: 100%; padding: 12px 16px; background: #f8fafc; border: 2px solid transparent; border-radius: 10px;
    font-size: 15px; outline: none; transition: 0.2s;
}
.clean-input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1); }

/* [修改] 协议勾选区域 */
.agreement-box { margin-bottom: 24px; }

.check-wrap {
    color: var(--text-sub); cursor: pointer;
    display: flex; align-items: flex-start; /* 关键：顶部对齐 */
    gap: 8px; font-size: 13px; line-height: 1.5;
}
.check-wrap input {
    accent-color: var(--primary);
    margin-top: 3px; /* 微调复选框位置 */
    width: 14px; height: 14px; flex-shrink: 0;
}
.agree-text a {
    color: var(--primary); text-decoration: none; font-weight: 600;
}

/* 按钮 */
.btn-gradient {
    width: 100%; padding: 14px; border: none; border-radius: 10px;
    background: var(--primary-grad); color: #fff; font-size: 16px; font-weight: bold; cursor: pointer;
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.25);
    display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s;
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(20, 184, 166, 0.35); }

.reg-row { margin-top: 24px; text-align: center; font-size: 14px; color: var(--text-sub); }
.link-reg { color: var(--primary); font-weight: bold; text-decoration: none; margin-left: 5px; }
