/* ===== 全局 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== 通知 ===== */
.notification { position: fixed; top: 18vh; left: 50%; width: min(560px, calc(100vw - 32px)); padding: 16px 22px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 14px; border: 1px solid rgba(220,38,38,0.18); background: #fff7ed; color: #9f1239; box-shadow: 0 18px 45px rgba(15,23,42,0.18); z-index: 999; transform: translate(-50%, -140%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; font-size: 1rem; font-weight: 600; }
.notification.show { transform: translate(-50%, 0); opacity: 1; }
.notification.success { background: #ecfdf5; border-color: rgba(16,185,129,0.25); color: #047857; }
.notification.error { background: linear-gradient(135deg, #fff1f2, #fee2e2); border-color: rgba(220,38,38,0.35); color: #991b1b; }
.notification i { margin-right: 8px; }

/* ===== 英雄区域 ===== */
.hero-section { display: flex; min-height: 100vh; background: linear-gradient(rgba(18,28,50,0.85), rgba(18,28,50,0.9)), url('/assets/market-155128.avif') no-repeat center center/cover; color: #fff; align-items: center; padding: 40px 20px; }
.hero-inner { display: flex; align-items: center; }
.hero-content { flex: 1.25; max-width: 720px; }
.hero-content h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 26px; line-height: 1.25; background: linear-gradient(to right, #4facfe, #00f2fe); background-clip: inherit; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.2rem; margin-bottom: 20px; opacity: 0.9; }

/* ===== 登录表单 ===== */
.login-form { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 40px; border-radius: 12px; width: 380px; max-width: 100%; margin-left: 30px; border: 1px solid rgba(255,255,255,0.2); }
.login-form h2 { color: #00f2fe; margin-bottom: 25px; font-size: 1.6rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: #1a2b4c; }
.login-form .form-group label { color: rgba(255,255,255,0.8); }
.form-control { width: 100%; padding: 14px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.15); font-size: 1rem; transition: all 0.3s ease; background: #fff; color: #333; }
.form-control:focus { outline: none; border-color: #4a6fa5; background: #fff; }
.form-control.input-error { border-color: #dc2626; background: #fff1f2; box-shadow: 0 0 0 3px rgba(220,38,38,0.18), 0 4px 12px rgba(220,38,38,0.12); }
.form-control.input-error:focus { border-color: #dc2626; background: #fff7f7; box-shadow: 0 0 0 4px rgba(220,38,38,0.22); }
.checkbox-group input.input-error { outline: 2px solid #dc2626; outline-offset: 2px; }
.form-control::placeholder { color: #999; }
.form-group input::placeholder { color: #666; }
.login-btn { width: 100%; padding: 16px; background: linear-gradient(to right, #4facfe, #00f2fe); border: none; border-radius: 8px; color: #fff; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; margin-top: 10px; }
.login-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,242,254,0.3); }
.form-links { display: flex; justify-content: space-between; margin-top: 20px; font-size: 0.9rem; }
.form-links a { color: #4facfe; transition: color 0.3s ease; }
.form-links a:hover { color: #00f2fe; text-decoration: underline; }
.logged-in-info { display: flex; align-items: center; gap: 16px; margin-bottom: 25px; }
.logged-in-info .user-avatar { font-size: 3rem; color: #00f2fe; }
.logged-in-info .user-detail .user-name { color: #fff; font-size: 1.2rem; font-weight: 600; margin: 0 0 4px 0; }
.logged-in-info .user-detail .corp-name { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.logged-in-info .user-detail .corp-name i { margin-right: 4px; }
.checkbox-group { display: flex; align-items: center; margin: 15px 5px; }
.checkbox-group input { margin-right: 10px; transform: scale(1.2); }
.checkbox-group a { color: #4facfe; transition: color 0.3s ease; }
.checkbox-group a:hover { color: #00f2fe; text-decoration: underline; }

/* ===== 通用section ===== */
.section { padding: 100px 0; }
.section:nth-child(even) { background-color: #f8fafc; }
.section-title { font-size: 2.5rem; margin-bottom: 30px; color: #1a2b4c; line-height: 1.3; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 60px; height: 4px; background: linear-gradient(90deg, #4facfe, #00f2fe); border-radius: 2px; }
.section-content { display: flex; gap: 50px; align-items: center; }
.section-image { flex: 1; }
.section-text { flex: 1; }
.section-text p { font-size: 1.05rem; color: #555; margin-bottom: 15px; line-height: 1.8; }

/* ===== 战略区域 ===== */
.strategy-section { padding: 100px 0; background: linear-gradient(135deg, #f0f4ff, #e8eeff); }
.strategy-container { display: flex; gap: 50px; align-items: center; }
.strategy-text { flex: 1; }
.strategy-features { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-box { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.feature-box:hover { transform: translateY(-5px); }
.feature-title { font-size: 1.2rem; color: #1a2b4c; margin-bottom: 10px; }
.feature-title i { margin-right: 8px; color: #4facfe; }
.feature-desc { font-size: 0.95rem; color: #666; }

/* ===== 执行区域 ===== */
.execution-section { padding: 100px 0; background: #1a2b4c; color: #fff; }
.execution-container { display: flex; flex-direction: row-reverse; gap: 50px; align-items: center; }
.execution-text { flex: 1; }
.execution-text .section-title { color: #fff; }
.execution-text .section-title::after { background: linear-gradient(90deg, #00f2fe, #4facfe); }
.execution-text p { color: rgba(255,255,255,0.8); }
.execution-features { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.execution-features .feature-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.execution-features .feature-title { color: #fff; }
.execution-features .feature-desc { color: rgba(255,255,255,0.6); }
.highlight { color: #2563eb; font-weight: 600; }
.execution-section .core-value-label { color: #4facfe; font-weight: 600; }

/* ===== 注册区域 ===== */
.register-section { background: #f0f4ff; color: #1a2b4c; padding: 60px 0 20px 0; }
.register-section a { color: #1d4ed8; text-decoration: underline; }
.register-section a:hover { color: #2563eb; }
.register-form-container { max-width: 700px; margin: 0 auto; }
.register-title { font-size: 2rem; text-align: center; margin-bottom: 30px; }
.form-row { display: flex; gap: 0; margin-bottom: 0; }
.form-row .form-group { flex: 1; min-width: 0; }
.form-row .form-group + .form-group { margin-left: 16px; }
.form-full-width { width: 100%; }
.verification-group { display: flex; }
.verification-group .verification-btn { margin-left: 10px; flex-shrink: 0; }
.verification-btn { padding: 14px 20px; background: #1a2b4c; color: #fff; border: 1px solid #1a2b4c; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: all 0.3s ease; }
.verification-btn:hover:not(:disabled) { background: #2d4a6f; }
.verification-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.exists-notify { font-size: 0.85rem; color: #dc2626; margin-top: 5px; display: none; }
.required { color: #dc2626; }
.register-btn { width: 100%; padding: 16px; background: linear-gradient(to right, #4facfe, #00f2fe); border: none; border-radius: 8px; color: #fff; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: transform 0.3s ease; margin-top: 20px; }
.register-btn:hover { transform: translateY(-3px); }
/* ===== 底部版权栏 ===== */
.site-footer { background: #1a2b4c; padding: 22px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.footer-left { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.footer-left a { color: #4facfe; text-decoration: none; transition: color 0.3s; }
.footer-left a:hover { color: #00f2fe; text-decoration: underline; }
.footer-right { font-size: 0.85rem; }
.footer-right a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.3s; }
.footer-right a:hover { color: rgba(255,255,255,0.75); }
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== 模态框 ===== */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: #fff; padding: 40px; border-radius: 12px; max-width: 500px; width: 90%; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-title { font-size: 1.5rem; color: #1a2b4c; }
.close-modal { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; }

/* ===== 动画 ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .hero-section { padding: 60px 30px; }
  .hero-content h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
  .login-form { width: 340px; margin-left: 30px; }
}
@media (max-width: 827px) {
  .hero-section { flex-direction: column; padding: 40px 20px; }
  .hero-inner { flex-direction: column; }
  .hero-content { max-width: 100%; }
  .login-form { margin-left: 0; margin-top: 30px; width: 100%; max-width: 440px; }
  .section-content { flex-direction: column; }
  .strategy-container, .execution-container { flex-direction: column; }
  .strategy-features, .execution-features { grid-template-columns: 1fr; width: 100%; }
  .strategy-features .feature-box, .execution-features .feature-box { width: 100%; }
  .form-row { flex-direction: column; }
  .form-row .form-group + .form-group { margin-left: 0; }
  .hero-section { padding: 30px 16px; }
  .hero-content h1 { font-size: clamp(1.5rem, 5.4vw, 2rem); }
  .section-title { font-size: 1.8rem; }
  .login-form { padding: 24px; }
}
@media (max-width: 640px) {
  .hero-section { padding: 24px 16px; }
  .hero-content h1 { font-size: clamp(1.4rem, 5.4vw, 1.75rem); white-space: normal; }
  .hero-content p { font-size: 1rem; }
  .login-form { padding: 24px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.5rem; }
  .strategy-features, .execution-features { grid-template-columns: 1fr; }
  .feature-box { padding: 20px; }
  .register-form-container { padding: 0 10px; }
}
