:root {
  /* WC Digital Studio dark-glass brand palette (matches homepage) */
  --navy: #10101d;
  --navy-deep: #0b0b16;
  --paper: #070711;
  --white: #ffffff;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --teal: #0CA678;
  --amber: #4FD8B0;
  --line: rgba(255, 255, 255, 0.14);
  --error: #ff6b6b;
  --display: "Syne", "Inter", "Noto Sans SC", sans-serif;
  --body: "Inter", "Noto Sans SC", "Segoe UI", sans-serif;
  --utility: Consolas, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 17, 0.92);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-weight: 750; text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-family: var(--utility);
  font-size: 13px;
  letter-spacing: -0.08em;
}
.header-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.header-nav > a, .language-switch a { text-decoration: none; text-underline-offset: 5px; }
.header-nav > a:hover, .language-switch a:hover { text-decoration: underline; }
.language-switch { display: inline-flex; gap: 8px; align-items: center; font-family: var(--utility); font-size: 12px; }
.language-switch a[aria-current="page"] { color: var(--teal); font-weight: 800; text-decoration: underline; }

.hero { padding: 92px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.76fr); gap: 78px; align-items: center; }
.kicker, .section-tag {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker > span:first-child { color: var(--amber); }
h1, h2, h3 { font-family: var(--display); font-stretch: condensed; line-height: 0.98; }
h1 { max-width: 760px; margin: 0; font-size: clamp(49px, 6.1vw, 82px); letter-spacing: -0.045em; }
.hero-lead { max-width: 690px; margin: 28px 0 30px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }

.website-form {
  max-width: 730px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 8px 8px 0 rgba(12, 166, 120, 0.14);
}
.website-form label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 750; }
.input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.website-form input {
  width: 100%;
  min-height: 55px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.website-form input::placeholder { color: rgba(255, 255, 255, 0.35); }
.website-form input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 4px 0 0 var(--error); }
.primary-action {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--teal);
  border-radius: 0;
  padding: 0 21px;
  color: var(--white);
  background: var(--teal);
  font-weight: 750;
}
.primary-action:hover { background: #087F5B; border-color: #087F5B; }
.primary-action span:last-child { font-family: var(--utility); }
.field-hint, .field-error { margin: 8px 0 0; font-size: 12px; line-height: 1.5; }
.field-hint { color: var(--muted); }
.field-error { min-height: 18px; color: var(--error); font-weight: 650; }
.privacy-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.privacy-note a { color: var(--ink); text-underline-offset: 3px; }

.diagnostic-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: var(--navy);
  box-shadow: 16px 16px 0 rgba(12, 166, 120, 0.16);
}
.diagnostic-panel::after {
  content: "DIAGNOSTIC / SME / MY";
  position: absolute;
  right: -43px;
  bottom: 70px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--utility);
  font-size: 10px;
  letter-spacing: 0.16em;
  transform: rotate(90deg);
}
.panel-bar {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--utility);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.panel-dots { display: flex; gap: 5px; }
.panel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.panel-dots i:first-child { background: var(--amber); }
.scan-field {
  position: relative;
  height: 108px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.scan-track { position: absolute; inset: 50% 28px auto; height: 1px; background: rgba(255, 255, 255, 0.28); }
.scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16%;
  width: 2px;
  background: var(--amber);
  box-shadow: 0 0 22px rgba(79, 216, 176, 0.75);
  animation: scan 4.8s ease-in-out infinite alternate;
}
@keyframes scan { to { transform: translateX(255px); } }
.panel-content { padding: 25px 28px 30px; }
.panel-caption { margin: 0 0 18px; color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.signal-list { list-style: none; padding: 0; margin: 0; }
.signal-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.signal-list span { font-size: 14px; }
.signal-list b { color: #4FD8B0; font-family: var(--utility); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }

.scope-section, .faq-section { padding: 102px 0; background: rgba(255, 255, 255, 0.02); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 0; }
.section-heading h2, .final-section h2 { margin: 0; font-size: clamp(38px, 4.7vw, 58px); letter-spacing: -0.035em; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scope-grid article { min-height: 280px; padding: 31px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scope-code { color: var(--teal); font-family: var(--utility); font-size: 10px; letter-spacing: 0.14em; }
.scope-grid h3 { margin: 58px 0 16px; font-size: 30px; letter-spacing: -0.025em; }
.scope-grid p { margin: 0; color: var(--muted); font-size: 15px; }

.process-section { padding: 96px 0; border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 90px; align-items: start; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.process-list b { color: var(--amber); font-family: var(--utility); font-size: 12px; }
.process-list span { display: grid; gap: 4px; }
.process-list strong { font-family: var(--display); font-size: 23px; line-height: 1.15; }
.process-list small { color: var(--muted); font-size: 14px; }

.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 90px; align-items: start; }
.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.35); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 0; cursor: pointer; list-style: none; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--amber); font-family: var(--utility); font-size: 24px; font-style: normal; transition: transform 180ms ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; margin: 0; padding: 0 45px 24px 0; color: var(--muted); }

.final-section { padding: 92px 0; color: var(--white); background: var(--navy); }
.final-grid { display: grid; grid-template-columns: 0.83fr 1.17fr; gap: 64px; align-items: center; }
.final-section p:not(.section-tag):not(.field-hint):not(.field-error) { color: rgba(255, 255, 255, 0.65); }
.section-tag.light { color: #4FD8B0; }
.website-form-dark { border-color: rgba(255, 255, 255, 0.24); color: var(--ink); box-shadow: 8px 8px 0 rgba(79, 216, 176, 0.2); }

.site-footer { padding: 58px 0 26px; color: rgba(255, 255, 255, 0.6); background: var(--navy-deep); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.footer-brand { color: var(--white); }
.site-footer p { max-width: 520px; color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; font-size: 13px; }
.site-footer nav a { text-underline-offset: 4px; }
.copyright { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-sticky { display: none; }
.noscript { margin: 0; padding: 12px; color: var(--white); background: var(--error); text-align: center; }

@media (max-width: 940px) {
  .hero-grid, .process-grid, .faq-grid, .final-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 58px; }
  .diagnostic-panel { width: min(100%, 620px); }
  .process-grid, .faq-grid { gap: 42px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid article { min-height: 0; }
  .scope-grid h3 { margin-top: 28px; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { position: static; }
  .header-inner { min-height: 66px; }
  .header-nav > a { display: none; }
  .hero { padding: 62px 0 74px; }
  .hero-grid { gap: 44px; }
  h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-lead { margin-top: 22px; font-size: 16px; }
  .website-form { padding: 14px; box-shadow: 5px 5px 0 rgba(12, 166, 120, 0.14); }
  .input-row { grid-template-columns: 1fr; }
  .primary-action { width: 100%; }
  .diagnostic-panel::after { display: none; }
  .scan-field { height: 86px; }
  @keyframes scan { to { transform: translateX(210px); } }
  .panel-content { padding: 20px; }
  .scope-section, .faq-section, .process-section, .final-section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .final-section h2 { font-size: 39px; }
  .scope-grid article { padding: 25px; }
  .scope-grid h3 { font-size: 27px; }
  .process-list li { grid-template-columns: 42px 1fr; }
  .footer-grid { display: block; }
  .site-footer nav { margin-top: 30px; align-items: flex-start; }
  .mobile-sticky {
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #0CA678;
    color: var(--navy-deep);
    background: #0CA678;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    font-weight: 800;
  }
  .mobile-sticky[hidden] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .scan-line { left: 50%; }
}
