:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(105, 119, 145, 0.22);
  --blue: #2447ff;
  --navy: #07045f;
  --cyan: #0ea5b7;
  --green: #10a672;
  --red: #b42318;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(36, 71, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(36, 71, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 76% 10%, rgba(14, 165, 183, 0.16), transparent 32%),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

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

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

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

.glass {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(140%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 12px clamp(12px, 3vw, 32px) 0;
  padding: 12px 16px;
  border-radius: var(--radius);
}

.brand,
.nav,
.hero-actions,
.trust-row,
.form-actions,
.review-actions,
.contact-lines {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
}

.button,
.top-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.button:hover,
.top-cta:hover {
  transform: translateY(-2px);
}

.button:active,
.top-cta:active {
  transform: translateY(1px) scale(0.985);
}

.button.primary,
.top-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 12px 32px rgba(36, 71, 255, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.button.ghost {
  min-height: 38px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(100, 116, 139, 0.2);
  font-size: 13px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 90px) clamp(18px, 5vw, 72px) 42px;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.lead,
.section-heading p,
.process-grid p,
.team-card li,
.contacts-section p,
.file-drop small,
label small {
  color: var(--muted);
  line-height: 1.58;
}

.lead {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  justify-self: end;
  overflow: hidden;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  border-radius: var(--radius);
  background: #5651bd;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: contain;
  object-position: center;
}

.detect-box {
  position: absolute;
  z-index: 3;
  display: grid;
  align-content: space-between;
  border: 1.5px solid rgba(36, 71, 255, 0.86);
  border-radius: 8px;
  padding: 8px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.26), inset 0 0 28px rgba(36, 71, 255, 0.08);
  backdrop-filter: blur(4px);
  animation: lockPulse 3.8s ease-in-out infinite;
}

.detect-box span {
  width: max-content;
  max-width: 100%;
  padding: 3px 6px;
  border-radius: 5px;
  color: #fff;
  background: rgba(7, 4, 95, 0.86);
  font-size: 10px;
}

.detect-box b {
  justify-self: end;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
}

.box-can {
  top: 7%;
  right: 8%;
  width: 15%;
  height: 25%;
}

.box-tetra {
  top: 27%;
  right: 27%;
  width: 15%;
  height: 29%;
}

.box-bottle {
  right: 7%;
  bottom: 19%;
  width: 17%;
  height: 33%;
  animation-delay: 0.4s;
}

.box-paper {
  right: 26%;
  bottom: 12%;
  width: 17%;
  height: 18%;
  animation-delay: 0.8s;
}

.vision-panel {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 5px;
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
}

.vision-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.vision-panel strong {
  font-size: 14px;
}

.vision-panel i {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.vision-panel i::before {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  content: "";
  animation: progressPulse 2.4s ease-in-out infinite;
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 71, 255, 0.14) 48%, rgba(36, 71, 255, 0.34) 50%, transparent 54%);
  transform: translateX(-100%);
  animation: scan 4.8s ease-in-out infinite;
}

.process-section,
.questionnaire-section,
.team-section,
.contacts-section {
  margin: 0 clamp(18px, 5vw, 72px);
  padding: 92px 0 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.process-grid,
.team-grid,
.contacts-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article,
.team-card,
.contacts-section,
.questionnaire,
.package-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.process-grid article {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 18px;
}

.process-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.process-grid strong {
  font-size: 18px;
}

.questionnaire {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
}

.side-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.74);
}

.progress-ring {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 8px solid rgba(36, 71, 255, 0.16);
  border-top-color: var(--blue);
  border-radius: 50%;
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
}

.side-panel p,
.autosave span {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.step-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list button {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.step-list .active button {
  color: #fff;
  background: var(--ink);
}

.autosave {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.form-panel {
  padding: 22px;
}

.form-head,
.package-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fields {
  display: grid;
  gap: 14px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

label b {
  color: var(--red);
}

label small,
fieldset small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

fieldset {
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.52);
}

legend {
  padding: 0 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(100, 116, 139, 0.28);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 4px solid rgba(36, 71, 255, 0.12);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.choice input {
  width: 16px;
  padding: 0;
}

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

.attachments {
  display: grid;
  gap: 14px;
}

.file-drop {
  min-height: 132px;
  padding: 16px;
  border: 1px dashed rgba(36, 71, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(36, 71, 255, 0.05);
}

.file-drop input {
  padding: 0;
  border: 0;
  background: transparent;
}

.file-drop span {
  font-size: 16px;
}

.file-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.file-list span {
  color: var(--muted);
}

.review {
  display: grid;
  gap: 16px;
}

.review-actions,
.form-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

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

.review-grid article,
.missing-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.review-grid h4 {
  margin-bottom: 12px;
  color: var(--navy);
}

.review-grid article div {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  border-top: 1px solid rgba(100, 116, 139, 0.14);
}

.review-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.review-grid strong {
  line-height: 1.45;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  min-width: 18px;
  margin-top: 3px;
}

.missing-box {
  color: var(--red);
  background: #fff7f6;
}

.missing-box ul {
  margin-bottom: 0;
}

.form-actions {
  margin-top: 20px;
}

.status-line {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.package-preview {
  margin-top: 18px;
  overflow: hidden;
}

.package-preview-head {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.package-preview iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #fff;
}

.team-card {
  padding: 20px;
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 48%, rgba(219, 240, 255, 0.8) 78%, rgba(236, 249, 255, 0.96) 100%);
}

.team-photo {
  width: 190px;
  height: 178px;
  margin: -8px 0 18px;
  object-fit: contain;
  object-position: left bottom;
}

.team-card p {
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}

.team-card ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
}

.contacts-section {
  align-items: center;
  padding: 32px;
  margin-bottom: 84px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 20% 0%, rgba(36, 71, 255, 0.12), transparent 42%);
}

.contacts-section .eyebrow,
.contacts-section h2 {
  color: var(--ink);
}

.contacts-section p {
  max-width: 660px;
}

.readiness-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.readiness-metrics span {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.readiness-metrics b {
  color: var(--navy);
  font-size: 18px;
}

.contact-lines {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-weight: 850;
}

.contact-lines a {
  display: inline-flex;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 16px;
}

.qr {
  display: grid;
  min-height: 170px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 950;
  text-align: center;
}

.qr img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.qr span {
  margin-top: 8px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 680ms ease forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0%,
  18% {
    transform: translateX(-100%);
  }
  64%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes lockPulse {
  0%,
  100% {
    opacity: 0.86;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes progressPulse {
  0%,
  100% {
    width: 62%;
  }
  50% {
    width: 88%;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .hero,
  .process-grid,
  .team-grid,
  .contacts-section {
    grid-template-columns: 1fr;
  }

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

  .questionnaire {
    grid-template-columns: 1fr;
  }

  .side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 720px) {
  .top-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .process-grid,
  .step-list,
  .review-grid,
  .readiness-metrics,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .form-head,
  .package-preview-head,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-actions,
  .review-actions {
    justify-content: stretch;
  }

  .form-actions .button,
  .review-actions .button {
    width: 100%;
  }

  .file-list li {
    flex-direction: column;
  }
}

@media print {
  .topbar,
  .hero,
  .process-section,
  .questionnaire-section,
  .team-section,
  .contacts-section,
  footer {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
