/*
 * Shared "預約 Demo" CTA section styling for the static WEAVE Space landing
 * pages (the closing .anima-cta section, its heading, and the #demoForm
 * inside it). Each page keeps its own heading/subtitle copy and tool-picks
 * list in its HTML, and its own responsive breakpoint tweaks for the rest of
 * the page -- but the section chrome and form styling are identical, so
 * they live here once instead of duplicated per page.
 */
.anima-cta { padding: 120px 0; position: relative; overflow: hidden; background: linear-gradient(160deg, #041b26 0%, #0d2f3d 52%, #041b26 100%); color: #fff; }
.anima-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 420px at 22% 12%, rgba(128, 212, 255, 0.18), transparent 60%), radial-gradient(620px 380px at 82% 88%, rgba(64, 106, 128, 0.28), transparent 58%); }
.anima-cta .container { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.anima-cta .head { text-align: left; max-width: none; margin: 0; }
.anima-cta h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; line-height: 1.35; margin: 0 0 16px; }
.anima-cta .sub { font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, 0.72); margin: 0; }

.demo-form { background: #fff; border-radius: 22px; padding: 40px; max-width: 620px; margin: 0; box-shadow: 0 34px 80px rgba(4, 27, 38, 0.35); display: grid; gap: 22px; }
.demo-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--neutral-700); }
.field input, .field select { height: 46px; border-radius: 10px; padding: 0 14px; border: 1px solid var(--neutral-200); background: #fff; font-family: var(--font-cjk); font-size: 15px; color: var(--neutral-800); outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377858c' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:hover, .field select:hover { border-color: var(--primary-100); }
.field input:focus, .field select:focus { border-color: var(--primary-500); box-shadow: var(--shadow-focus); }
.field input::placeholder { color: var(--neutral-400); }

.tool-picks { display: flex; flex-wrap: wrap; gap: 9px; }
.tool-picks input { position: absolute; opacity: 0; pointer-events: none; }
.tool-picks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--neutral-200); border-radius: 999px; padding: 9px 16px; font-size: 14px; color: var(--neutral-600); cursor: pointer; user-select: none; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tool-picks label img { width: 17px; height: 17px; object-fit: contain; flex: 0 0 auto; }
.tool-picks label .check { width: 15px; height: 15px; flex: 0 0 auto; display: none; }
.tool-picks input:checked + label .check { display: inline-block; }
.tool-picks label:hover { border-color: var(--primary-100); background: var(--bg-info); }
.tool-picks input:checked + label { background: var(--neutral-800); border-color: var(--neutral-800); color: #fff; }
.tool-picks input:focus-visible + label { box-shadow: var(--shadow-focus); }
.other-tool-input { margin-top: 10px; height: 42px; border-radius: 10px; padding: 0 14px; border: 1px solid var(--neutral-200); background: #fff; font-family: var(--font-cjk); font-size: 14px; color: var(--neutral-800); outline: none; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.other-tool-input:hover { border-color: var(--primary-100); }
.other-tool-input:focus { border-color: var(--primary-500); box-shadow: var(--shadow-focus); }
.other-tool-input::placeholder { color: var(--neutral-400); }
.other-tool-input.is-invalid { border-color: var(--error-900); }
.field-error { display: none; font-size: 13px; line-height: 1.6; color: var(--error-900); margin: 10px 0 0; }
.field-error.is-visible { display: block; }
.tool-picks.is-invalid input:not(:checked) + label { border-color: var(--error-900); }
.demo-form .submit { display: grid; }
.demo-form .submit .btn { width: 100%; }
.demo-form .fine { font-size: 12px; color: var(--neutral-400); text-align: center; line-height: 1.7; }

@media (max-width: 980px) {
  .anima-cta .container { grid-template-columns: 1fr; gap: 40px; }
  .anima-cta .head { max-width: none; text-align: center; }
  .demo-form { max-width: none; }
}
@media (max-width: 640px) {
  .demo-form { padding: 28px 22px; }
  .demo-form .row2 { grid-template-columns: 1fr; }
}
