:root {
  --bg: #050a10;
  --bg-soft: #09111b;
  --surface: #0d1722;
  --surface-2: #111e2b;

  --border: rgba(255, 255, 255, 0.09);

  --text: #f5f8fc;
  --text-soft: #9eacbb;

  --primary: #2588ff;
  --primary-light: #65adff;

  --container: 1200px;

  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(37, 136, 255, 0.12), transparent 28%), var(--bg);

  color: var(--text);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;

  line-height: 1.6;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(5, 10, 16, 0.78);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

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

  font-weight: 750;
  font-size: 20px;
}

.brand-name span {
  color: var(--text-soft);
}

.brand-mark {
  width: 29px;
  height: 29px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;

  transform: rotate(45deg);
}

.brand-mark span {
  background: var(--primary);
  border-radius: 3px;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;

  color: #c5d0db;

  font-size: 14px;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: #fff;
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 10px;

  font-weight: 650;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  padding: 12px 18px;

  background: linear-gradient(135deg, #1976ff, #2998ff);

  color: white;

  box-shadow: 0 10px 35px rgba(37, 136, 255, 0.2);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.button-large {
  min-height: 54px;
  padding-inline: 24px;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;

  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;

  align-items: center;

  gap: 70px;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--primary-light);

  font-size: 12px;
  font-weight: 750;

  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;

  max-width: 650px;

  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;

  letter-spacing: -0.055em;
}

.hero h1 span {
  background: linear-gradient(90deg, #73b6ff, #2588ff);

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-description {
  max-width: 610px;

  margin: 28px 0 0;

  color: var(--text-soft);

  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;

  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;

  margin-top: 30px;

  color: #8392a1;

  font-size: 12px;
}

/* VISUAL */

.hero-visual {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  perspective: 1000px;
}

.visual-glow {
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background: rgba(37, 136, 255, 0.22);

  filter: blur(100px);
}

.qr-placeholder {
  position: relative;
  z-index: 2;

  width: min(380px, 80%);
  aspect-ratio: 1 / 1;

  padding: 25px;

  border: 12px solid #cfd7df;
  border-radius: 22px;

  background: #edf2f6;

  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.55);

  transform: rotateY(-12deg) rotateX(7deg) rotateZ(2deg);
}

.qr-preview {
  width: 100%;
  height: 100%;

  overflow: hidden;

  border-radius: 8px;

  background: #edf2f6;
}

.qr-preview img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  opacity: 0;

  transform: scale(0.97);

  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.qr-preview img.is-ready {
  opacity: 1;
  transform: scale(1);
}

/* QUICK CREATE */

.hero-quick-create {
  max-width: 500px;
  margin-top: 24px;
}

.hero-quick-create label {
  display: block;
  margin-bottom: 7px;

  color: #7890a8;

  font-size: 11px;
  font-weight: 750;

  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.quick-input {
  position: relative;

  min-height: 54px;

  display: flex;
  align-items: center;

  padding: 5px 6px 5px 17px;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;

  background: rgba(11, 20, 30, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 10px 30px rgba(0, 0, 0, 0.12);

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.quick-input:hover {
  border-color: rgba(101, 173, 255, 0.3);
}

.quick-input:focus-within {
  border-color: rgba(37, 136, 255, 0.7);

  background: rgba(13, 25, 38, 0.92);

  box-shadow:
    0 0 0 3px rgba(37, 136, 255, 0.09),
    0 14px 35px rgba(0, 0, 0, 0.16);
}

.quick-input input {
  width: 100%;
  min-width: 0;

  border: 0;
  outline: 0;

  background: transparent;

  color: var(--text);

  font: inherit;
  font-size: 15px;
}

.quick-input input::placeholder {
  color: #596b7d;
}

.quick-input span {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: grid;
  place-items: center;

  border-radius: 8px;

  background: linear-gradient(135deg, #1976ff, #2998ff);

  color: #fff;

  font-size: 17px;
  font-weight: 800;

  box-shadow: 0 8px 22px rgba(37, 136, 255, 0.24);
}
.qr-base {
  position: absolute;

  left: 50%;
  bottom: -60px;

  min-width: 230px;

  padding: 11px 25px;

  transform: translateX(-50%);

  border-radius: 4px 4px 12px 12px;

  background: #172331;

  color: white;

  text-align: center;

  font-size: 24px;
  font-weight: 800;

  letter-spacing: 0.04em;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.visual-label {
  position: absolute;

  right: -10px;
  top: 80px;

  z-index: 3;

  display: flex;
  flex-direction: column;

  color: #b9c7d5;

  transform: rotate(-4deg);
}

.visual-label strong {
  color: white;
}

/* GENERATOR */

.generator-preview {
  padding: 30px 0 90px;
}

.generator-shell {
  min-height: 220px;

  padding: 22px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

/* 3D VIEWER */

.generator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}

.generator-header > div {
  display: flex;
  align-items: center;

  gap: 14px;
}

.generator-step {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 8px 25px rgba(37, 136, 255, 0.22);
}

.generator-header strong {
  display: block;

  color: #fff;

  font-size: 15px;
}

.generator-header p {
  margin: 2px 0 0;

  color: var(--text-soft);

  font-size: 13px;
}

.generator-status {
  padding: 6px 10px;

  border: 1px solid rgba(72, 211, 145, 0.25);
  border-radius: 999px;

  background: rgba(72, 211, 145, 0.06);

  color: #63dba0;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.1em;
}

.qr-3d-viewer {
  position: relative;

  width: 100%;
  height: 520px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;

  background:
    radial-gradient(circle at 50% 40%, rgba(37, 136, 255, 0.12), transparent 42%), #070d14;

  cursor: grab;
}

.qr-3d-viewer:active {
  cursor: grabbing;
}

.qr-3d-viewer canvas {
  display: block;

  width: 100%;
  height: 100%;

  outline: none;
}

.generator-message {
  min-height: 170px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  color: var(--text-soft);
}

.generator-message > span {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--primary);

  color: white;

  font-weight: 750;
}

.generator-message strong {
  color: white;
}

.generator-message p {
  margin: 3px 0 0;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);

  color: var(--text-soft);
}

.footer-inner {
  min-height: 130px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.footer-inner p {
  margin: 4px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;

  font-size: 13px;
}

/* RESPONSIVE */

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

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button-large {
    width: 100%;
  }

  .visual-label {
    display: none;
  }

  .footer-inner {
    padding: 35px 0;

    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
/* =========================================================
   MODEL METRICS / PRINT INTELLIGENCE
   ========================================================= */

.model-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  margin-bottom: 18px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.model-metric {
  position: relative;

  min-width: 0;
  min-height: 82px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 14px 18px;

  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.model-metric:last-child {
  border-right: 0;
}

.metric-label {
  display: block;

  margin-bottom: 4px;

  overflow: hidden;

  color: #718396;

  font-size: 10px;
  font-weight: 750;

  line-height: 1.3;

  letter-spacing: 0.11em;
  text-transform: uppercase;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-value {
  display: block;

  overflow: hidden;

  color: #f5f8fc;

  font-size: 20px;
  font-weight: 750;

  line-height: 1.2;

  letter-spacing: -0.025em;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-metric-highlight {
  background: linear-gradient(135deg, rgba(37, 136, 255, 0.11), rgba(37, 136, 255, 0.025));
}

.model-metric-highlight::before {
  content: '';

  position: absolute;

  top: 14px;
  bottom: 14px;
  left: 0;

  width: 2px;

  border-radius: 2px;

  background: var(--primary);

  box-shadow: 0 0 14px rgba(37, 136, 255, 0.45);
}

.model-metric-highlight .metric-label {
  color: #77aff0;
}

.model-metric-highlight .metric-value {
  color: var(--primary-light);
}

/* =========================================================
   METRICS RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .model-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-metric {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .model-metric:nth-child(2n) {
    border-right: 0;
  }

  .model-metric:last-child {
    grid-column: 1 / -1;

    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .model-metrics {
    grid-template-columns: 1fr;
  }

  .model-metric {
    min-height: 68px;

    padding: 12px 15px;

    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .model-metric:last-child {
    grid-column: auto;
  }

  .metric-value {
    font-size: 18px;
  }
}

.header-tools{display:flex;align-items:center;gap:10px}
.language-switch{flex:none}
@media(max-width:760px){.main-nav{display:none}.header-cta{display:inline-flex}}
