@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600&family=Orbitron:wght@500;650;700&family=Sora:wght@400;500;600&display=swap");

:root {
  --bg: #08060a;
  --ink: #f5ecee;
  --muted: #9a8890;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d41f38;
  --accent-2: #ff6b7a;
  --glow: rgba(212, 31, 56, 0.45);
  --font: "Noto Sans TC", "Sora", sans-serif;
  --display: "Orbitron", "Noto Sans TC", sans-serif;
  --en: "Sora", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: var(--accent-2);
}
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 6, 10, 0.55);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav a:hover {
  color: var(--ink);
}
.nav-chat {
  color: #fff !important;
  background: rgba(212, 31, 56, 0.18);
  border: 1px solid rgba(212, 31, 56, 0.55);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem !important;
}
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 6px 10px;
}
@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    padding: 12px 20px 18px;
    background: rgba(12, 8, 12, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
  }
}

/* —— full-bleed hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 40%, rgba(212, 31, 56, 0.38), transparent 58%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(80, 20, 36, 0.45), transparent 55%),
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(212, 31, 56, 0.18), transparent 50%),
    linear-gradient(180deg, #0a070c 0%, #08060a 100%);
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 80, 100, 0.2), transparent 28%),
    radial-gradient(circle at 40% 60%, rgba(212, 31, 56, 0.12), transparent 32%);
  filter: blur(40px);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 3px
  );
  opacity: 0.25;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.orb-1 {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  right: -4%;
  top: 12%;
  box-shadow: inset 0 0 80px rgba(212, 31, 56, 0.15), 0 0 60px rgba(212, 31, 56, 0.12);
  animation: spin 48s linear infinite;
}
.orb-2 {
  width: min(28vw, 260px);
  height: min(28vw, 260px);
  right: 18%;
  top: 28%;
  border-color: rgba(212, 31, 56, 0.35);
  animation: spin 28s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: stretch;
  /* keep .wrap width — do not set width:100% or it hugs the browser */
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
}
.hero-grid > :first-child {
  min-width: 0;
}
.eyebrow {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 18px;
}
.brand-hero {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0 0 18px;
  text-shadow: 0 0 40px rgba(212, 31, 56, 0.35);
}
.brand-hero span {
  color: var(--accent);
}
.tagline {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: #e8d6da;
}
.tagline span {
  display: block;
  margin-top: 4px;
  font-family: var(--en);
  font-size: 0.88rem;
  color: var(--muted);
}
h1 {
  font-size: clamp(0.98rem, 1.35vw, 1.22rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 14px;
  max-width: none;
}
@media (min-width: 1100px) {
  h1 {
    white-space: nowrap;
  }
}
.lead {
  margin: 0 0 10px;
  font-size: 1.02rem;
}
.sub {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.95rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Dynamic CTA pair — shine + border-run (not spin ring) */
.btn-dyn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-dyn-label {
  position: relative;
  z-index: 2;
}
.btn-dyn.primary {
  color: #fff;
  background: linear-gradient(120deg, #9e1428 0%, #d41f38 42%, #ff5a6c 78%, #d41f38 100%);
  background-size: 220% 220%;
  animation: btn-flow 4.5s ease-in-out infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px rgba(212, 31, 56, 0.4);
}
.btn-dyn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 36px rgba(212, 31, 56, 0.55);
}
.btn-dyn-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: btn-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes btn-shine {
  0%,
  35% {
    transform: translateX(-120%);
  }
  65%,
  100% {
    transform: translateX(120%);
  }
}
.btn-dyn.ghost {
  color: var(--ink);
  background: rgba(8, 6, 10, 0.55);
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-dyn.ghost:hover {
  transform: translateY(-2px);
  color: #fff;
}
.btn-dyn-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.15),
    #d41f38,
    #ff6b7a,
    rgba(255, 255, 255, 0.15)
  );
  background-size: 220% 100%;
  animation: btn-border-run 2.6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes btn-border-run {
  to {
    background-position: 220% 0;
  }
}

/* Hero right = mirror of aichat/chat.css shell */
.stage.chat-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 12, 16, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(212, 31, 56, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(212, 31, 56, 0.14);
  min-height: 420px;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}
.stage.chat-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d41f38, #ff4d63, transparent);
  opacity: 0.85;
  z-index: 3;
  animation: scan-pulse 3.2s ease-in-out infinite;
}
@keyframes scan-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
.stage-top {
  position: relative;
  z-index: 4;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(20, 10, 14, 0.92), rgba(10, 8, 9, 0.55));
}
.stage-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stage-title {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.06em;
  background: linear-gradient(100deg, #fff 20%, #ff4d63 55%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shine 6s linear infinite;
}
@keyframes title-shine {
  to {
    background-position: 200% center;
  }
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(212, 31, 56, 0.35);
  background: rgba(212, 31, 56, 0.1);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4d63;
  font-family: var(--display);
}
.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dff9a;
  box-shadow: 0 0 10px rgba(61, 255, 154, 0.9);
  animation: live-dot 1.6s ease-in-out infinite;
}
@keyframes live-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.55;
  }
}
.stage-sub {
  margin: 7px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.stage-body {
  flex: 1;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}
.stage .bubble {
  max-width: 88%;
  padding: 10px 12px;
  font-size: 14.5px;
  line-height: 1.55;
  border-radius: 12px;
  animation: bubble-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  white-space: pre-wrap;
  word-break: break-word;
}
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.stage .bubble.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  color: var(--ink);
}
.stage .bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #c41b32 0%, #e8354c 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(212, 31, 56, 0.35);
  border: 0;
}
.stage .bubble.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 52px;
  padding: 12px 14px;
}
.stage .bubble.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-dot 1.1s ease-in-out infinite;
}
.stage .bubble.typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.stage .bubble.typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
    background: #ff4d63;
  }
}
.stage-composer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 12, 13, 0.7), #0c090a);
}
.stage-input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 6, 8, 0.9);
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
}
.stage-send {
  border: 0;
  background: linear-gradient(135deg, #b8182e, #d41f38 45%, #ff5a6c);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(212, 31, 56, 0.35);
}

.section {
  padding: 80px 0;
  position: relative;
}
.section.tint {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212, 31, 56, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.015);
}
.section h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 0 0 12px;
  max-width: none;
}
#services h2 {
  white-space: nowrap;
}
@media (max-width: 720px) {
  #services h2 {
    white-space: normal;
  }
}
.intro {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 46rem;
}
.sec-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  margin: 0 0 14px;
}

.flow {
  display: grid;
  gap: 0;
  position: relative;
}
@media (min-width: 900px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .flow::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 31, 56, 0.55), transparent);
  }
}
.flow article {
  padding: 24px 18px 8px;
  text-align: center;
}
.flow .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(212, 31, 56, 0.45);
  display: grid;
  place-items: center;
  background: rgba(8, 6, 10, 0.9);
  box-shadow: 0 0 24px rgba(212, 31, 56, 0.2);
  position: relative;
  z-index: 1;
}
.flow h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

.how-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .how-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }
}
.viz {
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 31, 56, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}
.viz.svg-only {
  aspect-ratio: 4/3;
}
.viz svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Method left: clear 4-step map */
.method-map {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}
.method-map-title {
  margin: 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}
.method-map-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.method-map-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(212, 31, 56, 0.15));
}
.method-map-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  position: relative;
}
.method-map-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mm-n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(212, 31, 56, 0.9);
  box-shadow: 0 0 18px rgba(212, 31, 56, 0.35);
  position: relative;
  z-index: 1;
}
.method-map-list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.method-map-list span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
.method-map-foot {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}
.steps .n {
  font-family: var(--display);
  color: var(--accent);
  font-size: 0.85rem;
  padding-top: 2px;
}
.steps strong {
  display: block;
  margin-bottom: 4px;
}
.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

.who-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .who-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
  }
}
.who-panel {
  padding: 26px 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(212, 31, 56, 0.14), transparent 55%),
    rgba(16, 12, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(212, 31, 56, 0.08), 0 20px 50px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}
.who-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d41f38, #ff4d63, transparent);
  opacity: 0.75;
}
.who-panel h2 {
  max-width: none;
}
.who-panel .intro {
  margin-bottom: 16px;
}
.who-pains-lead {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}
.who-pains {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.who-pains li {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.who-pains strong {
  color: var(--ink);
  font-weight: 600;
}
.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.who-tags span {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #ffb0b8;
  border: 1px solid rgba(212, 31, 56, 0.35);
  background: rgba(212, 31, 56, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.who-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.who-point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}
.who-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #ff6b7a;
  border: 1px solid rgba(212, 31, 56, 0.4);
  background: rgba(212, 31, 56, 0.12);
  font-size: 14px;
}
.who-point h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}
.who-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.examples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.examples li {
  flex: 1;
  padding: 18px 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #d41f38, #ff6b7a);
  opacity: 0.85;
}
.examples li:hover {
  border-color: rgba(212, 31, 56, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(212, 31, 56, 0.12);
}
.ex-code {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.examples strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.faq-head {
  margin-bottom: 22px;
}
.faq {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 12, 16, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-color: rgba(212, 31, 56, 0.4);
  box-shadow: 0 14px 40px rgba(212, 31, 56, 0.1);
}
.faq-n {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #b8182e, #d41f38);
  border-radius: 8px;
  padding: 8px 0;
  text-align: center;
  box-shadow: 0 0 18px rgba(212, 31, 56, 0.35);
}
.faq dt {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.02rem;
}
.faq dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
@media (max-width: 600px) {
  .faq-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .faq-n {
    width: fit-content;
    padding: 5px 10px;
  }
}

.split {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.fine {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  padding: 26px 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(212, 31, 56, 0.16), transparent 55%),
    rgba(16, 12, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(212, 31, 56, 0.08), 0 20px 50px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d41f38, #ff4d63, transparent);
  opacity: 0.8;
}
.contact-panel h2 {
  max-width: none;
}
.contact-lead {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.contact-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  margin: 0 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(212, 31, 56, 0.35);
  background: rgba(212, 31, 56, 0.1);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.contact-mail:hover {
  border-color: rgba(255, 107, 122, 0.65);
  background: rgba(212, 31, 56, 0.16);
  transform: translateY(-1px);
}
.contact-mail-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(212, 31, 56, 0.25);
  border: 1px solid rgba(212, 31, 56, 0.45);
  color: #ff6b7a;
  flex-shrink: 0;
}
.contact-mail strong {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-chips {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-chips li {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #ffb0b8;
  border: 1px solid rgba(212, 31, 56, 0.35);
  background: rgba(212, 31, 56, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.contact-cta {
  margin: 2px 0 0;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
}
.contact-fine {
  margin: 14px 0 0;
}

.glass,
.contact-form {
  padding: 22px 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 31, 56, 0.12), transparent 50%),
    rgba(16, 12, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  gap: 8px;
  box-shadow: 0 0 0 1px rgba(212, 31, 56, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d41f38, #ff4d63, transparent);
  opacity: 0.75;
}
.form-head {
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.form-head-code {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.form-head p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.glass label,
.contact-form label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.glass input,
.glass textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.glass input:focus,
.glass textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 31, 56, 0.65);
  box-shadow: 0 0 0 3px rgba(212, 31, 56, 0.18), 0 0 20px rgba(212, 31, 56, 0.12);
}
.form-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 12px;
  background: linear-gradient(120deg, #9e1428 0%, #d41f38 42%, #ff5a6c 78%, #d41f38 100%);
  background-size: 220% 220%;
  animation: btn-flow 4.5s ease-in-out infinite;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 13px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px rgba(212, 31, 56, 0.4);
}
.form-submit > span:last-child {
  position: relative;
  z-index: 2;
}
.form-submit .btn-dyn-shine {
  z-index: 1;
}
.form-submit:hover {
  filter: brightness(1.06);
}
.form-submit:disabled {
  opacity: 0.55;
  cursor: default;
  animation: none;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.status {
  min-height: 1.2em;
  font-size: 0.9rem;
}
.status.err {
  color: var(--accent-2);
}
.status.ok {
  color: #7dffb0;
}

.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .orb-1,
  .orb-2,
  .btn-dyn.primary,
  .btn-dyn-shine,
  .btn-dyn-border,
  .stage .bubble {
    animation: none;
  }
}
