/* ============================================
   Genix AI — Contact Page (layout + Classic 变量)
   变量可被 contact-neon.css / contact-aurora.css 覆盖
   ============================================ */

:root {
  --bg: #eef2fb;
  --bg-2: #0a0e2a;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, .82);
  --ink: #080c1c;
  --text: #080c1c;
  --muted: #a7b0cc;
  --line: rgba(15, 20, 45, .1);
  --line-strong: rgba(15, 20, 45, .16);
  --accent: #7c3aed;
  --grad-btn: linear-gradient(90deg, #2f6bff 0%, #7b3ff2 45%, #e539c8 100%);
  --grad-text: linear-gradient(90deg, #a855f7 0%, #e879f9 55%, #f472d0 100%);
  --radius-btn: 999px;
  --radius-card: 16px;
  --radius-input: 10px;
  --container: 1200px;
  --header-h: 76px;
  --shadow: 0 14px 38px -12px rgba(15, 20, 45, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(110, 60, 240, .6);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(160, 60, 235, .75); }

.btn-sm { padding: 13px 30px; font-size: 15px; }
.btn-lg { padding: 19px 42px; font-size: 16px; }
.btn-block { width: 100%; }

.icon-arrow { width: 21px; height: 21px; flex: none; transition: transform .25s ease; }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
}

.brand-ai {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-desktop {
  display: flex;
  gap: 40px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-link, #1b2138);
}

.nav-desktop a { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-btn);
  transition: width .25s ease;
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a:hover::after { width: 100%; }

.nav-desktop a.active { color: var(--accent); }
.nav-desktop a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  cursor: pointer;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a {
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--nav-link, #1b2138);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a.active { color: var(--accent); }

.nav-mobile .nav-mobile-cta {
  margin-top: 12px;
  text-align: center;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--grad-btn);
  color: #fff;
  font-weight: 600;
}

/* ---------- Contact Hero ---------- */
.contact-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 52px;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 380px;
  border-radius: 50%;
  background: var(--hero-glow, rgba(167, 139, 250, .35));
  filter: blur(80px);
  pointer-events: none;
}

.contact-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.4px;
  color: var(--ink);
}

.contact-hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero p {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--hero-sub, #3d4560);
}

/* ---------- Contact Body ---------- */
.contact-body {
  background: var(--bg-2);
  padding: 0 0 90px;
  color: var(--body-text, #fff);
}

.contact-wrap {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: start;
}

/* 表单卡 */
.form-card {
  background: var(--form-bg, #ffffff);
  border: 1px solid var(--form-border, transparent);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow);
  color: var(--form-ink, #14182e);
}

.form-card h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--form-ink, #14182e);
}

.form-card > p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--form-muted, #6b7490);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--form-ink, #14182e);
}

.field label .req { color: var(--accent); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--form-ink, #14182e);
  background: var(--input-bg, #f5f6fa);
  border: 1px solid var(--input-border, transparent);
  border-radius: var(--radius-input);
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23888' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.field textarea { resize: vertical; min-height: 128px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: var(--input-ph, #9aa1b8); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: var(--input-bg-focus, #fff);
  box-shadow: 0 0 0 4px var(--focus-ring, rgba(124, 58, 237, .14));
}

.form-foot {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--form-muted, #6b7490);
  flex: 1;
  min-width: 200px;
}

/* 提交成功提示 */
.form-success {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-input);
  border: 1px solid var(--success-border, rgba(16, 185, 129, .35));
  background: var(--success-bg, rgba(16, 185, 129, .1));
  font-size: 14px;
  font-weight: 500;
  color: var(--success-text, #047857);
}

.form-success.show { display: block; animation: pop .35s ease; }

@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 右侧信息卡 */
.side-col { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  background: var(--form-bg, #ffffff);
  border: 1px solid var(--form-border, transparent);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
  color: var(--form-ink, #14182e);
}

.info-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--form-muted, #6b7490);
}

.info-list { margin-top: 22px; display: flex; flex-direction: column; gap: 22px; }

.info-item { display: flex; gap: 14px; align-items: flex-start; }

.info-ico {
  flex: none;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-input);
  background: var(--ico-bg, rgba(124, 58, 237, .1));
  color: var(--accent);
}

.info-ico svg { width: 19px; height: 19px; }

.info-body strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--form-ink, #14182e);
}

.info-body span,
.info-body a {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--form-muted, #6b7490);
  transition: color .2s ease;
}

.info-body a:hover { color: var(--accent); }

/* FAQ */
.faq-card h3 { margin-bottom: 20px; }

.faq-item {
  border-top: 1px solid var(--form-border, rgba(15, 20, 45, .08));
  padding: 18px 0;
}

.faq-item:last-child { padding-bottom: 0; }

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--form-ink, #14182e);
}

.faq-q svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

.faq-a {
  margin-top: 8px;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--form-muted, #6b7490);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg, #070a20);
  padding: 44px 0 130px;
  color: #fff;
  border-top: 1px solid var(--footer-border, transparent);
}

.footer-inner { display: flex; align-items: center; gap: 32px; }

.brand-light { font-size: 26px; color: #fff; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--footer-link, #c9d0e6);
}

.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-links .divider { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }

.footer-social { text-align: right; }

.social-icons { display: flex; justify-content: flex-end; gap: 18px; }

.social-icons a {
  color: #dfe5f5;
  transition: color .2s ease, transform .2s ease;
}

.social-icons a:hover { color: #a855f7; transform: translateY(-2px); }
.social-icons svg { width: 22px; height: 22px; }

.disclaimer { margin-top: 12px; font-size: 12px; color: #7c86a8; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .side-col { flex-direction: row; flex-wrap: wrap; }
  .side-col > * { flex: 1 1 300px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .container, .header-inner { padding: 0 22px; }
  .brand { font-size: 26px; }

  .nav-desktop { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  .header-cta { padding: 11px 24px; font-size: 14px; }

  .nav-mobile.open { display: flex; }

  .contact-hero { padding: calc(var(--header-h) + 34px) 0 42px; }
  .contact-wrap { margin-top: -32px; gap: 18px; }

  .form-card { padding: 30px 24px; }
  .info-card { padding: 26px 24px; }

  .btn-lg { padding: 17px 28px; font-size: 15px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 18px; }
  .footer-links { margin: 0; gap: 15px; font-size: 13px; }
  .footer-social { text-align: center; }
  .social-icons { justify-content: center; }
}

@media (max-width: 520px) {
  .container, .header-inner { padding: 0 16px; }

  .contact-hero h1 { letter-spacing: -1px; }
  .contact-eyebrow { font-size: 11px; padding: 6px 14px; }

  .contact-wrap { margin-top: -26px; }
  .form-card { padding: 24px 18px; border-radius: var(--radius-input); }
  .info-card { padding: 22px 18px; }

  .form-row { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }

  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }

  .footer-links { flex-wrap: wrap; justify-content: center; }

  /* 浮标改为两行紧凑排布，避免单行溢出 */
  

  

  

  
}
