/* ==========================================================================
   前台留言/预约表单页（message）专属样式 —— 深色科技风
   仅本页加载（message/index.html 引用）
   ========================================================================== */

.msg {
  --ak-line: rgba(255, 255, 255, .10);
  --ak-txt: #e9e8f6;
  --ak-muted: #9b9ac4;
  --ak-violet: #8b5cf6;
  --ak-blue: #38bdf8;
  --ak-cyan: #22d3ee;
  color: var(--ak-txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  box-sizing: border-box;
}
.msg * { box-sizing: border-box; }
.msg .ak-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.msg-hero { padding: 64px 0 30px; text-align: center; }
.msg-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -.01em; margin: 8px 0 14px; }
.msg-hero .ak-grad { background: linear-gradient(90deg, var(--ak-violet), var(--ak-blue), var(--ak-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.msg-hero-sub { max-width: 720px; margin: 0 auto; color: var(--ak-muted); font-size: 16px; }

/* 表单区块 */
.msg-form-sec {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 20px 0 80px;
}
.msg-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--ak-line);
  border-radius: 18px;
  padding: 28px 30px 30px;
}
.msg-field { margin-bottom: 20px; position: relative; }
.msg-field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ak-txt);
}
.msg-field label i { color: #fb7185; font-style: normal; margin-left: 2px; }
.msg-field input,
.msg-field textarea {
  width: 100%;
  background: rgba(8, 8, 20, .55);
  border: 1px solid var(--ak-line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ak-txt);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.msg-field input::placeholder,
.msg-field textarea::placeholder { color: #6f6e92; }
.msg-field input:focus,
.msg-field textarea:focus {
  border-color: var(--ak-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}
.msg-field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.msg-tip { position: absolute; right: 4px; bottom: -20px; font-size: 12px; color: var(--ak-muted); }

.msg-actions { margin-top: 10px; }
.msg-btn {
  width: 100%;
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--ak-violet), var(--ak-blue));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 40px -16px var(--ak-violet);
  transition: transform .2s, opacity .2s;
}
.msg-btn:hover { transform: translateY(-2px); }
.msg-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.msg-privacy { margin-top: 14px; font-size: 12.5px; color: var(--ak-muted); text-align: center; }

/* 侧栏咨询方式 */
.msg-aside {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--ak-line);
  border-radius: 18px;
  padding: 24px 26px;
}
.msg-aside h3 { font-size: 17px; margin-bottom: 16px; }
.msg-aside ul { list-style: none; padding: 0; margin: 0; }
.msg-aside li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--ak-line);
}
.msg-aside li:last-child { border-bottom: none; }
.msg-aside li b { color: var(--ak-muted); font-weight: 600; font-size: 14px; }
.msg-aside li span { color: var(--ak-txt); font-weight: 600; font-size: 14px; }

/* 响应式 */
@media (max-width: 820px) {
  .msg-form-sec { grid-template-columns: 1fr; gap: 20px; }
  .msg-hero { padding: 44px 0 18px; }
  .msg-form { padding: 22px 18px 24px; }
}
