/* ===================================================================
   联系我们 (Contact) 新版视觉 —— 整页双栏, 取消弹窗式卡片
   深蓝紫渐变 Hero + SVG 信封插画 + 内联留言表单 + 精简页脚
   独立命名空间 ct-*; 表单保留原 id, contact-form.js 无需改动
   =================================================================== */

/* ===== Hero ===== */
.ct-hero {
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding: 54px 6% 62px;
    background:
        radial-gradient(ellipse 38% 76% at 100% 0%, rgba(206,138,226,0.34) 0%, transparent 62%),
        radial-gradient(ellipse 52% 92% at 88% 4%, rgba(157,123,255,0.42) 0%, transparent 64%),
        radial-gradient(ellipse 62% 60% at 42% 100%, rgba(34,201,166,0.34) 0%, transparent 68%),
        linear-gradient(112deg, #0d1533 0%, #182a5c 40%, #3a2a6c 74%, #2b1748 100%);
    border-bottom: 1px solid rgba(120,150,255,0.16);
}
.ct-hero-inner {
    position: relative; width: 100%; max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 0.82fr; gap: 72px; align-items: start;
}
.ct-crumb { font-size: 12px; letter-spacing: 5px; font-weight: 700; color: var(--mint, #7ef0d4); margin-bottom: 20px; }
.ct-title { font-size: clamp(40px, 4.2vw, 60px); font-weight: 900; letter-spacing: 5px; line-height: 1.12; color: #fff; }
.ct-lede { margin-top: 14px; font-size: 15px; letter-spacing: 1px; line-height: 1.7; color: rgba(233,238,255,0.72); }

/* ===== 左侧信封插画 ===== */
.ct-art { position: relative; width: 100%; max-width: 420px; margin: 46px 0 0 8px; }
.ct-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ct-art-glow {
    position: absolute; left: 50%; bottom: 6%; width: 82%; height: 46px; transform: translateX(-50%);
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(126,240,212,0.30), transparent 72%);
    filter: blur(12px); pointer-events: none;
}
.ct-rule { width: 100%; max-width: 380px; height: 1px; margin: 18px 0 20px 8px; background: rgba(186,208,255,0.28); }
.ct-reply { display: flex; align-items: center; gap: 12px; margin-left: 8px; font-size: 14px; font-weight: 700; letter-spacing: 2px; color: rgba(233,238,255,0.9); }
.ct-reply i { color: var(--mint, #7ef0d4); font-size: 10px; }

/* ===== 右侧表单面板 ===== */
.ct-form-card {
    padding: 38px 38px 40px;
    border: 1px solid rgba(120,150,255,0.26); border-radius: 8px;
    background: rgba(8,13,30,0.82);
    box-shadow: 0 22px 60px rgba(4,7,18,0.35);
}
.ct-form-title { font-size: 22px; font-weight: 900; letter-spacing: 2px; color: #fff; }
.ct-form-rule { height: 1px; margin: 20px 0 30px; background: rgba(120,150,255,0.22); }
/* 蜜罐字段: 对人不可见, 专钓自动填表的脚本 */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ct-field { position: relative; margin-bottom: 26px; }
.ct-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #eef2ff; }
.ct-input {
    display: block; width: 100%; height: 52px; padding: 0 16px;
    border: 1.5px solid rgba(120,150,255,0.3); border-radius: 8px;
    background: rgba(8,14,32,0.72); color: #eef2ff;
    font-family: inherit; font-size: 15px; letter-spacing: .5px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.ct-input::placeholder { color: rgba(226,233,255,0.40); letter-spacing: 1px; }
.ct-input:focus { border-color: var(--mint, #7ef0d4); box-shadow: 0 0 0 3px rgba(126,240,212,0.12); }
.ct-textarea { height: 144px; padding: 14px 16px; resize: vertical; line-height: 1.65; min-height: 96px; }
.ct-spark { position: absolute; right: -5px; top: 30px; color: var(--mint, #7ef0d4); font-size: 12px; text-shadow: 0 0 12px rgba(126,240,212,0.9); pointer-events: none; }

/* ===== 提交按钮与内联状态提示 ===== */
.ct-submit {
    min-width: 158px; height: 52px; padding: 0 22px; margin-top: 10px;
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    border: 1px solid #a8ffe7; border-radius: 8px; cursor: pointer;
    background: linear-gradient(180deg, #8ff6dc 0%, #22c9a6 100%);
    color: #062a24; font-size: 15px; font-weight: 900; letter-spacing: 2px;
    box-shadow: 0 4px 0 #12866d, 0 12px 26px rgba(126,240,212,.25);
    transition: transform .18s, box-shadow .18s;
}
.ct-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #12866d, 0 16px 32px rgba(126,240,212,.38); }
.ct-submit:disabled { opacity: .68; cursor: wait; transform: none; }
.contact-status {
    display: none; margin-bottom: 18px; padding: 11px 14px;
    border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.6;
}
.contact-status.is-success { background: rgba(126,240,212,0.10); border: 1px solid rgba(126,240,212,0.45); color: #a8ffe7; }
.contact-status.is-error { background: rgba(255,142,160,0.10); border: 1px solid rgba(255,142,160,0.45); color: #ffb3c0; }

/* ===== 精简页脚 ===== */
.ct-footer { border-top: 1px solid rgba(120,150,255,0.14); background: rgba(6,9,20,0.75); }
.ct-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 6%; flex-wrap: wrap; }
.ct-footer-brand { display: flex; align-items: center; gap: 14px; }
.ct-footer-brand img { height: 30px; }
.ct-footer-brand b { font-size: 17px; letter-spacing: 1px; }
.ct-footer-brand span { color: rgba(226,233,255,0.62); font-size: 13px; }
.ct-footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.ct-footer-links a { color: rgba(226,233,255,0.62); text-decoration: none; font-size: 13px; transition: color .2s; }
.ct-footer-links a:hover { color: var(--mint, #7ef0d4); }
.ct-footer-cr { color: rgba(226,233,255,0.35); font-size: 12px; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .ct-hero-inner { grid-template-columns: 1fr 0.92fr; gap: 40px; }
    .ct-form-card { padding: 28px 26px 30px; }
    .ct-art { margin-left: 0; }
}
@media (max-width: 860px) {
    .ct-hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .ct-art { max-width: 340px; margin: 30px auto 0; }
    .ct-art-glow { bottom: 4%; }
    .ct-rule { margin-left: 0; margin-right: 0; }
    .ct-reply { margin-left: 0; }
    .ct-form-card { width: 100%; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 720px) {
    .ct-hero { padding: 36px 5% 48px; }
    .ct-crumb { letter-spacing: 3px; font-size: 11px; }
    .ct-title { font-size: 38px; }
    .ct-lede { font-size: 14px; }
    .ct-art { max-width: 300px; margin-top: 26px; }
    .ct-form-card { padding: 24px 20px 26px; }
    .ct-form-title { font-size: 19px; }
    .ct-form-rule { margin: 16px 0 22px; }
    .ct-field { margin-bottom: 18px; }
    .ct-submit { width: 100%; }
    .ct-footer-inner { flex-direction: column; text-align: center; gap: 16px; }
    .ct-footer-brand { flex-wrap: wrap; justify-content: center; }
}
