/* ===== 认证页面样式（落地/登录/注册）===== */
.auth-body {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(1200px 600px at 10% -10%, #DCEBFF 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #E8E0FF 0%, transparent 50%),
    radial-gradient(800px 600px at 50% 120%, #D6F5E3 0%, transparent 55%),
    linear-gradient(180deg, #FAFBFD 0%, #F2F4F8 100%);
  position: relative;
  overflow-x: hidden;
}

/* 背景装饰气泡 */
.auth-body::before, .auth-body::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .5; pointer-events: none;
}
.auth-body::before {
  width: 380px; height: 380px; background: #AEDCFF;
  top: -80px; left: -80px; animation: float 9s ease-in-out infinite;
}
.auth-body::after {
  width: 320px; height: 320px; background: #FFC9E2;
  bottom: -60px; right: -60px; animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(20px, -20px); }
}

.auth-card {
  width: 100%; max-width: 440px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(31,41,55,.14), 0 10px 30px rgba(31,41,55,.06);
  position: relative; z-index: 1;
  animation: cardIn .5s cubic-bezier(.16,1,.3,1);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-logo {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-bottom: 8px;
}
.auth-logo-mark {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 24px;
  box-shadow: 0 10px 24px rgba(0,122,255,.4);
}
.auth-logo-text {
  font-size: 26px; font-weight: 800; letter-spacing: -.5px;
  background: linear-gradient(135deg, #1D1D1F 0%, #5A5A60 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-title {
  text-align: center; font-size: 22px; font-weight: 700;
  margin: 18px 0 6px; color: var(--text-1); letter-spacing: -.3px;
}
.auth-subtitle {
  text-align: center; color: var(--text-3); font-size: 14px;
  margin-bottom: 28px;
}

.auth-form .field:last-child { margin-bottom: 0; }

.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .input { padding-left: 42px; height: 46px; border-radius: 12px; }
.auth-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-3); pointer-events: none;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

.auth-captcha {
  display: flex; gap: 10px; align-items: stretch;
}
.auth-captcha .input { flex: 1; }
.auth-captcha-img {
  height: 46px; width: 130px; flex-shrink: 0;
  border-radius: 12px; border: 1px solid var(--border-strong);
  background: #fff; cursor: pointer; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s;
}
.auth-captcha-img:hover { border-color: var(--primary); }
.auth-captcha-img svg { width: 100%; height: 100%; }
.auth-captcha-img .tip { font-size: 11px; color: var(--text-4); }

.auth-submit {
  height: 48px; border-radius: 14px; font-size: 15px; font-weight: 600;
  margin-top: 6px;
  background: linear-gradient(135deg, #007AFF 0%, #00A2FF 100%);
  box-shadow: 0 8px 20px rgba(0,122,255,.32);
}
.auth-submit:hover { box-shadow: 0 12px 28px rgba(0,122,255,.42); }

.auth-foot {
  text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-3);
}
.auth-foot a { font-weight: 600; }

.auth-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border);
}
.auth-feature { text-align: center; }
.auth-feature-icon {
  width: 36px; height: 36px; border-radius: 10px; margin: 0 auto 6px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.auth-feature-text { font-size: 11px; color: var(--text-3); line-height: 1.3; }

/* 落地页 hero */
.hero-body {
  min-height: 100vh;
  background:
    radial-gradient(1000px 500px at 80% -10%, #DCEBFF 0%, transparent 55%),
    radial-gradient(800px 500px at 0% 100%, #FFE3F0 0%, transparent 50%),
    linear-gradient(180deg, #FBFCFE 0%, #F0F3F8 100%);
  overflow-x: hidden;
}
.hero-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px; position: relative; z-index: 5;
}
.hero-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.hero-brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 16px rgba(0,122,255,.35);
}
.hero-nav-actions { display: flex; gap: 10px; }

.hero-main {
  max-width: 980px; margin: 0 auto; padding: 60px 24px 80px;
  text-align: center; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.7); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.hero-title {
  font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.08;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #1D1D1F 0%, #4A4A52 60%, #007AFF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px; color: var(--text-2); max-width: 620px; margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-features {
  max-width: 1080px; margin: 40px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hero-feature {
  background: rgba(255,255,255,.7); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 20px; padding: 26px;
  text-align: left; transition: transform .25s, box-shadow .25s;
}
.hero-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hero-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, #007AFF, #5AC8FA); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.hero-feature h3 { font-size: 17px; margin-bottom: 6px; }
.hero-feature p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

.hero-preview {
  max-width: 1080px; margin: 60px auto 0; padding: 0 24px;
}
.hero-preview-frame {
  background: rgba(255,255,255,.8); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 24px; padding: 18px;
  box-shadow: var(--shadow-lg);
}

/* 平板 */
@media (max-width: 900px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 46px; }
  .hero-sub { font-size: 17px; }
}

@media (max-width: 720px) {
  .hero-nav { padding: 14px 18px; }
  .hero-main { padding: 40px 18px 60px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 15.5px; max-width: 100%; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-lg { height: 46px; font-size: 15px; }
  .hero-features { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; padding: 0 18px; }
  .hero-feature { padding: 22px 20px; border-radius: 16px; }
  .hero-feature-icon { width: 40px; height: 40px; font-size: 20px; }
  .hero-feature h3 { font-size: 16px; }
  .hero-feature p { font-size: 12.5px; }
  .hero-preview { margin-top: 40px; padding: 0 18px; }
  .hero-preview-frame { padding: 12px; border-radius: 18px; }

  .auth-body { padding: 20px 14px; }
  .auth-card { padding: 28px 22px; border-radius: 22px; }
  .auth-logo-mark { width: 46px; height: 46px; font-size: 21px; border-radius: 14px; }
  .auth-logo-text { font-size: 22px; }
  .auth-title { font-size: 20px; }
  .auth-subtitle { font-size: 13px; margin-bottom: 22px; }
  .auth-input-wrap .input { height: 48px; font-size: 16px; } /* iOS 避免缩放 */
  .auth-submit { height: 50px; font-size: 15px; }
  .auth-features { gap: 8px; padding-top: 18px; margin-top: 20px; }
  .auth-feature-icon { width: 32px; height: 32px; font-size: 16px; }
  .auth-feature-text { font-size: 10.5px; }
}

/* 手机（≤540px） */
@media (max-width: 540px) {
  .hero-nav { padding: 12px 14px; }
  .hero-brand { font-size: 16px; gap: 8px; }
  .hero-brand-mark { width: 32px; height: 32px; }
  .hero-nav-actions .btn { height: 32px; padding: 0 12px; font-size: 13px; }
  .hero-main { padding: 32px 14px 48px; }
  .hero-eyebrow { font-size: 12px; padding: 5px 12px; margin-bottom: 18px; }
  .hero-title { font-size: 30px; letter-spacing: -.5px; line-height: 1.12; }
  .hero-sub { font-size: 14.5px; margin-bottom: 26px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-features { gap: 10px; margin-top: 24px; padding: 0 14px; }
  .hero-feature { padding: 18px 16px; border-radius: 14px; }
  .hero-preview { margin-top: 32px; padding: 0 14px; }
  .hero-preview-frame { padding: 10px; border-radius: 16px; }

  .auth-body { padding: 16px 12px; align-items: flex-start; }
  .auth-card { padding: 24px 18px; border-radius: 20px; max-width: 100%; }
  .auth-logo-mark { width: 44px; height: 44px; font-size: 20px; }
  .auth-logo-text { font-size: 20px; }
  .auth-title { font-size: 19px; margin: 14px 0 4px; }
  .auth-subtitle { font-size: 12.5px; margin-bottom: 20px; }
  .auth-features { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .auth-feature-icon { width: 30px; height: 30px; font-size: 15px; }
  .auth-feature-text { font-size: 10px; }
  .auth-foot { font-size: 12.5px; margin-top: 18px; }
}

/* 超小屏（≤380px） */
@media (max-width: 380px) {
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 13.5px; }
  .auth-card { padding: 20px 16px; }
  .auth-logo-mark { width: 40px; height: 40px; font-size: 18px; }
  .auth-logo-text { font-size: 18px; }
  .auth-title { font-size: 18px; }
}

/* 触摸设备：禁用 hover */
@media (hover: none) {
  .hero-feature:hover { transform: none; }
}
