:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-background: #f8fafc;
  --color-card: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-soft: #eff6ff;
  --color-ink: #0f172a;
  --radius-card: 8px;
  --radius-control: 6px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "Noto Sans", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, var(--color-background) 420px),
    var(--color-background);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__text {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand__name {
  font-size: 17px;
  color: var(--color-ink);
}

.brand__tagline {
  font-size: 11px;
  font-weight: 650;
  color: var(--color-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-left: auto;
  color: #374151;
  font-size: 13px;
  font-weight: 650;
}

.nav__links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: #ffffff;
  color: var(--color-ink);
  cursor: pointer;
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.mobile-menu-button span {
  position: relative;
}

.mobile-menu-button span::before,
.mobile-menu-button span::after {
  position: absolute;
  left: 0;
}

.mobile-menu-button span::before {
  top: -6px;
}

.mobile-menu-button span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 12px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 4px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: var(--radius-control);
  color: #374151;
  font-weight: 700;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--color-soft);
  color: var(--color-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  outline-offset: 3px;
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.button--secondary {
  border-color: var(--color-border);
  background: #ffffff;
  color: var(--color-ink);
}

.button--secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: var(--color-ink);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.button--ghost {
  border-color: #c7d2fe;
  background: var(--color-soft);
  color: var(--color-primary);
}

.button--ghost:hover {
  border-color: var(--color-primary);
  background: #dbeafe;
  color: var(--color-primary-dark);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes background-breathe {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.025) translate3d(-8px, 0, 0);
  }
}

@keyframes preview-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes float-soft {
  from,
  to {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes chart-rise {
  from {
    transform: scaleY(0.18);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes status-breathe {
  from,
  to {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

@keyframes score-breathe {
  from,
  to {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.16);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section {
  padding: 80px 24px;
}

.section--white {
  background: #ffffff;
}

.section--tight {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section--visual {
  position: relative;
  overflow: hidden;
  background: #f8fbff;
  isolation: isolate;
}

.section--visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.88) 34%, rgba(248, 250, 252, 0.56) 68%, rgba(248, 250, 252, 0.34) 100%),
    url("backgrounds/section-product-atmosphere.jpg");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
  opacity: 0.84;
  pointer-events: none;
  transform-origin: right center;
}

.section--visual::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 46%, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(248, 250, 252, 0.72));
  content: "";
  pointer-events: none;
}

.section--visual > * {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero,
.subhero,
.language-gateway {
  position: relative;
  overflow: hidden;
}

.hero {
  --hero-bg: url("backgrounds/hero-home.jpg");
  padding: 72px 24px 88px;
  background: #f8fbff;
  isolation: isolate;
}

.hero::before,
.subhero::before,
.language-gateway::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.64) 66%, rgba(255, 255, 255, 0.36) 100%),
    var(--hero-bg);
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
  pointer-events: none;
  transform-origin: right center;
}

.hero::before,
.subhero::before,
.section--visual::before {
  animation: background-breathe 18s ease-in-out infinite alternate;
}

.hero::after,
.subhero::after,
.language-gateway::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(248, 250, 252, 0.82)),
    linear-gradient(90deg, rgba(248, 250, 252, 0.86), rgba(248, 250, 252, 0));
  content: "";
  pointer-events: none;
}

.hero > *,
.subhero > *,
.language-gateway > * {
  position: relative;
  z-index: 1;
}

.hero--home {
  --hero-bg: url("backgrounds/hero-home.jpg");
}

.hero--home::before {
  opacity: 0.92;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 34%, rgba(255, 255, 255, 0.34) 68%, rgba(255, 255, 255, 0.12) 100%),
    var(--hero-bg);
}

.hero--home::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(248, 250, 252, 0.46)),
    linear-gradient(90deg, rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.48) 46%, rgba(248, 250, 252, 0.14));
}

.subhero::before {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.42) 68%, rgba(255, 255, 255, 0.18) 100%),
    var(--hero-bg);
}

.subhero::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(248, 250, 252, 0.58)),
    linear-gradient(90deg, rgba(248, 250, 252, 0.78), rgba(248, 250, 252, 0.32) 54%, rgba(248, 250, 252, 0.08));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 760;
}

.headline {
  margin: 18px 0 0;
  color: var(--color-ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.hero__actions {
  margin-top: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.trust-item {
  min-height: 92px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 16px;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.trust-item strong {
  display: block;
  color: var(--color-ink);
  font-size: 18px;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.product-canvas {
  position: relative;
  min-height: 620px;
}

.app-window {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  animation: preview-panel-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.app-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  border-bottom: 1px solid var(--color-border);
  padding: 0 14px;
  background: #fbfdff;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dot--red {
  background: #fda4af;
}

.dot--yellow {
  background: #fcd34d;
}

.dot--green {
  background: #86efac;
}

.app-window__title {
  margin-left: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 520px;
}

.preview-sidebar {
  border-right: 1px solid var(--color-border);
  background: #f8fafc;
  padding: 18px 14px;
}

.preview-sidebar__label {
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 760;
}

.preview-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-control);
  color: #475569;
  font-size: 12px;
  font-weight: 720;
}

.preview-nav-item::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  content: "";
}

.preview-nav-item.is-active {
  background: #e0f2fe;
  color: var(--color-primary-dark);
}

.preview-nav-item.is-active::before {
  background: var(--color-primary);
}

.preview-main {
  padding: 22px;
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.preview-header h2,
.panel h3,
.mini-card h3,
.report-card h3,
.section-heading h2,
.feature-card h3,
.timeline-card h3,
.stat-card h3 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: 0;
}

.preview-header h2 {
  font-size: 20px;
}

.preview-header p {
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
  animation: status-breathe 4.8s ease-in-out infinite;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mini-card,
.panel,
.feature-card,
.stat-card,
.timeline-card,
.report-card,
.comparison-card,
.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #ffffff;
}

.feature-card,
.timeline-card,
.comparison-card,
.device-frame,
.trust-item {
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.mini-card {
  min-height: 104px;
  padding: 14px;
}

.mini-card span,
.stat-card span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 720;
}

.mini-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1;
}

.mini-card small {
  display: block;
  margin-top: 8px;
  color: #16a34a;
  font-size: 12px;
  font-weight: 720;
}

.preview-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.74fr);
  gap: 14px;
}

.panel {
  min-height: 210px;
  padding: 16px;
}

.panel h3 {
  font-size: 14px;
}

.line-chart {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  height: 128px;
  margin-top: 22px;
  padding: 0 4px;
}

.line-chart span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: #bfdbfe;
  transform-origin: bottom;
  animation: chart-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.line-chart span:nth-child(1) {
  animation-delay: 0.08s;
}

.line-chart span:nth-child(2) {
  animation-delay: 0.14s;
}

.line-chart span:nth-child(3) {
  animation-delay: 0.2s;
}

.line-chart span:nth-child(4) {
  animation-delay: 0.26s;
}

.line-chart span:nth-child(5) {
  animation-delay: 0.32s;
}

.line-chart span:nth-child(6) {
  animation-delay: 0.38s;
}

.line-chart span:nth-child(7) {
  animation-delay: 0.44s;
}

.line-chart span:nth-child(2n) {
  background: #93c5fd;
}

.line-chart span:nth-child(4) {
  background: var(--color-primary);
}

.safety-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.safety-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 12px;
}

.safety-row::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  content: "";
}

.safety-row.is-warn::before {
  background: var(--color-warning);
}

.safety-row.is-block::before {
  background: var(--color-danger);
}

.floating-card {
  position: absolute;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  animation: float-soft 7s ease-in-out infinite;
}

.chat-card {
  right: 18px;
  bottom: 8px;
  width: 290px;
  padding: 14px;
  animation-delay: 0.45s;
}

.chat-message {
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #334155;
  font-size: 12px;
  line-height: 1.55;
}

.chat-message--ai {
  background: #eff6ff;
  color: #1e3a8a;
}

.chat-message--notice {
  background: #fff7ed;
  color: #9a3412;
}

.profile-card {
  left: -22px;
  bottom: 58px;
  width: 270px;
  padding: 16px;
  animation-delay: 0.15s;
}

.profile-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.score-ring {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 7px solid #bbf7d0;
  border-top-color: var(--color-success);
  border-radius: 50%;
  color: #166534;
  font-weight: 800;
  animation: score-breathe 4.5s ease-in-out infinite;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.chip {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 5px 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 760;
}

.chip--blue {
  background: var(--color-soft);
  color: var(--color-primary-dark);
}

.chip--green {
  background: #dcfce7;
  color: #166534;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 12px 0 0;
  color: var(--color-ink);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.section-heading p {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  font-size: 21px;
}

.feature-card p {
  margin: 10px 0 0;
  color: #4b5563;
}

.feature-card ul,
.timeline-card ul,
.report-card ul,
.comparison-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card li,
.timeline-card li,
.report-card li,
.comparison-card li {
  position: relative;
  padding-left: 18px;
  color: #475569;
  font-size: 14px;
}

.feature-card li::before,
.timeline-card li::before,
.report-card li::before,
.comparison-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-card {
  min-height: 210px;
  padding: 22px;
}

.timeline-card__step {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
}

.timeline-card h3 {
  margin-top: 18px;
  font-size: 19px;
}

.subhero {
  --hero-bg: url("backgrounds/hero-home.jpg");
  padding: 72px 24px 64px;
  background: #f8fbff;
  isolation: isolate;
}

.subhero--platform {
  --hero-bg: url("backgrounds/hero-platform.jpg");
}

.subhero--safety {
  --hero-bg: url("backgrounds/hero-safety.jpg");
}

.subhero--deployment {
  --hero-bg: url("backgrounds/hero-deployment.jpg");
}

.subhero--insights {
  --hero-bg: url("backgrounds/hero-insights.jpg");
}

.subhero--contact {
  --hero-bg: url("backgrounds/hero-contact.jpg");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 22px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  color: var(--color-ink);
  font-size: 30px;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 36px;
  align-items: center;
}

.report-card {
  padding: 24px;
}

.report-card h3 {
  font-size: 22px;
}

.report-card p {
  margin: 10px 0 0;
  color: #4b5563;
}

.device-frame {
  border: 1px solid #dbe3ef;
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover,
  .timeline-card:hover,
  .comparison-card:hover,
  .device-frame:hover,
  .trust-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
  }
}

.device-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.device-metric {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 14px;
}

.device-metric span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 720;
}

.device-metric strong {
  display: block;
  margin-top: 8px;
  color: var(--color-ink);
  font-size: 22px;
}

.audit-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  font-size: 13px;
}

.audit-table th,
.audit-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.audit-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
}

.audit-table tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 780;
}

.tag--green {
  background: #dcfce7;
  color: #166534;
}

.tag--yellow {
  background: #fef3c7;
  color: #92400e;
}

.tag--red {
  background: #fee2e2;
  color: #991b1b;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-card {
  padding: 24px;
}

.comparison-card h3 {
  margin: 0;
  font-size: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 30px;
  align-items: start;
}

.contact-card {
  padding: 24px;
}

.contact-card h2,
.contact-card h3 {
  margin: 0;
  color: var(--color-ink);
}

.contact-card p {
  color: #4b5563;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: #374151;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #374151;
  font-size: 13px;
  font-weight: 780;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-control);
  background: #ffffff;
  padding: 10px 12px;
  color: var(--color-ink);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field--full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 13px;
}

.consent input {
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-status="success"] {
  color: #166534;
}

.form-status[data-status="error"] {
  color: #b91c1c;
}

.footer {
  border-top: 1px solid var(--color-border);
  background: #ffffff;
  padding: 42px 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 34px;
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer p {
  max-width: 420px;
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--color-ink);
  font-size: 14px;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: #4b5563;
  font-size: 14px;
}

.footer a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  width: min(1180px, 100%);
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 13px;
}

.language-gateway {
  --hero-bg: url("backgrounds/hero-home.jpg");
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: #f8fbff;
  isolation: isolate;
}

.gateway-card {
  width: min(760px, 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  backdrop-filter: blur(14px);
}

.gateway-card h1 {
  margin: 22px 0 0;
  color: var(--color-ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.gateway-card p {
  margin: 16px auto 0;
  max-width: 560px;
  color: #4b5563;
}

.gateway-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.gateway-actions a {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 18px;
  background: var(--color-background);
  text-align: left;
}

.gateway-actions strong {
  display: block;
  color: var(--color-ink);
  font-size: 18px;
}

.gateway-actions span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .nav {
    width: min(100% - 32px, 1180px);
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .mobile-nav {
    width: min(100% - 32px, 1180px);
  }

  .hero__grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-canvas {
    min-height: 560px;
  }

  .feature-grid,
  .workflow,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section,
  .hero,
  .subhero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section--visual::before {
    background-image:
      linear-gradient(90deg, rgba(248, 250, 252, 0.82) 0%, rgba(248, 250, 252, 0.58) 42%, rgba(248, 250, 252, 0.18) 100%),
      url("backgrounds/section-product-atmosphere.jpg");
    background-position:
      center,
      right -220px top 24px;
    background-size:
      100% 100%,
      760px auto;
    opacity: 1;
  }

  .section--visual::after {
    background:
      radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0) 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(248, 250, 252, 0.66)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.08));
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 64px;
  }

  .hero::before,
  .subhero::before,
  .language-gateway::before {
    background-position: 68% center;
  }

  .hero::before,
  .subhero::before {
    opacity: 0.76;
  }

  .hero--home::before {
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 34%, rgba(255, 255, 255, 0.18) 68%, rgba(255, 255, 255, 0.04) 100%),
      var(--hero-bg);
    background-position: 82% 46%;
    opacity: 0.98;
  }

  .subhero::before {
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 36%, rgba(255, 255, 255, 0.24) 68%, rgba(255, 255, 255, 0.08) 100%),
      var(--hero-bg);
    background-position: 82% center;
    opacity: 0.94;
  }

  .hero::after,
  .subhero::after,
  .language-gateway::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0.88)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36));
  }

  .subhero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(248, 250, 252, 0.72)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.16));
  }

  .hero--home::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(248, 250, 252, 0.58)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1));
  }

  .hero::before,
  .subhero::before,
  .section--visual::before,
  .floating-card,
  .status-pill,
  .score-ring {
    animation: none;
  }

  .brand__tagline {
    display: none;
  }

  .headline {
    font-size: 40px;
  }

  .lead,
  .section-heading p {
    font-size: 16px;
  }

  .trust-row,
  .feature-grid,
  .feature-grid--two,
  .workflow,
  .stats-grid,
  .preview-kpis,
  .preview-panels,
  .device-row,
  .comparison-grid,
  .field-grid,
  .footer__grid,
  .gateway-actions {
    grid-template-columns: 1fr;
  }

  .product-canvas {
    min-height: auto;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .chat-card,
  .profile-card {
    width: 100%;
  }

  .footer__grid {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready [data-reveal],
  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
