:root {
  --ink: #f8fbff;
  --muted: #a8b6c8;
  --bg: #08111f;
  --bg-soft: #0f1b2d;
  --panel: rgba(16, 28, 46, 0.82);
  --line: rgba(178, 211, 255, 0.16);
  --blue: #42a5ff;
  --cyan: #69e4ff;
  --violet: #8b6dff;
  --metal: #d9e4ef;
  --wood: #b77a45;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(66, 165, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(139, 109, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #070d18 0%, #0a1525 48%, #08111f 100%);
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

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

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.demo-banner {
  margin: 0;
  padding: 8px 16px;
  background: #020710;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 228, 255, 0.32);
  border-radius: 8px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(66, 165, 255, 0.2), rgba(139, 109, 255, 0.12));
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a,
.nav-cta,
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-links a {
  padding: 8px 10px;
  color: var(--muted);
}

.nav-cta,
.btn-primary {
  border: 1px solid rgba(105, 228, 255, 0.7);
  color: #06101e;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.nav-cta {
  padding: 8px 18px;
}

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

.btn {
  padding: 12px 18px;
  cursor: pointer;
}

.hero {
  padding: clamp(46px, 7vw, 92px) 0 76px;
}

.hero-grid,
.quote-grid,
.material-grid,
.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
}

.hero-copy,
.section-copy,
.quote-copy,
.section-heading {
  display: grid;
  gap: 20px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-weight: 850;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 10.8ch;
  font-size: clamp(3.25rem, 6vw, 6rem);
  line-height: 0.95;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 4.3vw, 4.65rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.12;
}

.hero-copy > p,
.section-copy p,
.section-heading p,
.quote-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-facts div,
.entry-card,
.product-grid article,
.quote-form,
.hero-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.2);
}

.hero-facts div {
  padding: 14px;
}

dt {
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.material-photo img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img {
  height: 520px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(340px, 84%);
  display: grid;
  gap: 8px;
  padding: 16px;
  backdrop-filter: blur(14px);
}

.hero-note strong {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-note span {
  color: var(--ink);
  font-weight: 780;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

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

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

.entry-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: linear-gradient(135deg, transparent, var(--blue));
  pointer-events: none;
}

.entry-card.is-pro::before {
  background: linear-gradient(135deg, transparent, var(--violet));
}

.entry-card span {
  color: var(--cyan);
  font-weight: 900;
}

.entry-card p,
.entry-card li {
  color: var(--muted);
}

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

.products-section {
  background: rgba(255, 255, 255, 0.03);
}

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

.product-grid article {
  min-height: 140px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
}

.product-grid strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.product-grid span {
  color: var(--muted);
}

.quote-section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(66, 165, 255, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.02);
}

.process-list,
.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-list span,
.material-list span {
  border: 1px solid rgba(105, 228, 255, 0.22);
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--cyan);
  background: rgba(105, 228, 255, 0.06);
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.full {
  width: 100%;
}

.quote-preview {
  min-height: 120px;
  border: 1px dashed rgba(105, 228, 255, 0.34);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
  background: rgba(105, 228, 255, 0.05);
  white-space: pre-wrap;
}

.material-grid {
  align-items: center;
}

.material-photo img {
  height: 480px;
  object-fit: cover;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #020710;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p:last-child {
  max-width: 640px;
  color: var(--muted);
  text-align: right;
}

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

  .hero-grid,
  .quote-grid,
  .material-grid,
  .products-layout,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .material-photo img {
    height: 420px;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 22px, 1160px);
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-facts,
  .product-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .footer-grid,
  .footer-grid p:last-child {
    text-align: left;
  }
}
