:root {
  --blue-950: #071c3f;
  --blue-900: #0a2d63;
  --blue-700: #075da8;
  --cyan-500: #16bfd0;
  --teal-600: #087f94;
  --ink: #102033;
  --muted: #627086;
  --line: #dce8f3;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 28, 63, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 232, 243, .9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--blue-950);
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #33455c;
  font-size: .94rem;
}

.nav-links a:hover { color: var(--blue-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  box-shadow: 0 14px 28px rgba(7, 93, 168, .25);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--white);
  border-color: var(--line);
}

.btn-dark {
  color: var(--white);
  background: var(--blue-950);
}

.eyebrow {
  color: var(--teal-600);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 48px;
  align-items: center;
}

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

h1 {
  color: var(--blue-950);
  font-size: clamp(2.25rem, 6vw, 4.85rem);
  line-height: 1.02;
  margin-bottom: 20px;
  letter-spacing: 0;
}

h2 {
  color: var(--blue-950);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

h3 {
  color: var(--blue-900);
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.lead {
  color: #405168;
  font-size: 1.08rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.section {
  padding: 74px 0;
}

.section.soft { background: var(--soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin-bottom: 0;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(7, 28, 63, .06);
}

.card:hover { box-shadow: var(--shadow); }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 850;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  margin-bottom: 18px;
}

.visual-panel {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef9fc, #ffffff 45%, #e8f1fb);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.device {
  border-radius: 8px;
  background: var(--blue-950);
  color: var(--white);
  padding: 20px;
  box-shadow: 0 24px 45px rgba(7, 28, 63, .22);
}

.screen {
  background: linear-gradient(135deg, rgba(22, 191, 208, .22), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 16px;
}

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

.metric {
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,.1);
}

.metric strong {
  display: block;
  font-size: 1.35rem;
  color: var(--cyan-500);
}

.product-art {
  height: 150px;
  border-radius: 8px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(7, 93, 168, .9), rgba(22, 191, 208, .74)),
    radial-gradient(circle at 30% 30%, #fff 0 2px, transparent 3px 100%);
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9f7fa;
  color: var(--teal-600);
  font-size: .78rem;
  font-weight: 780;
}

.feature-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: #405168;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan-500);
}

.pricing-band {
  background: var(--blue-950);
  color: var(--white);
  padding: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pricing-band h2,
.pricing-band h3,
.pricing-band p { color: var(--white); }

.price {
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 900;
  color: var(--cyan-500);
}

.admin-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-side {
  background: var(--blue-950);
  color: var(--white);
  padding: 22px;
}

.admin-side div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
}

.admin-main {
  padding: 22px;
  background: #f8fbfd;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  overflow: hidden;
  border-radius: 8px;
}

.mini-table th,
.mini-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}

.mini-table th { color: var(--blue-900); }

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form textarea { min-height: 130px; resize: vertical; }

.footer {
  padding: 34px 0;
  background: #061733;
  color: rgba(255,255,255,.72);
}

.footer strong { color: var(--white); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(7, 28, 63, .06);
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #eef7fb;
  color: var(--blue-950);
}

.preview-card .btn { width: 100%; margin-top: 12px; }

.product-img {
  width: 100%;
  height: 190px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 18px;
  background: #dce8f3;
}

.demo-hero {
  background: linear-gradient(135deg, #071c3f, #0a2d63 52%, #087f94);
  color: var(--white);
}

.demo-hero h1,
.demo-hero .lead,
.demo-hero .eyebrow { color: var(--white); }

.demo-hero .lead { color: rgba(255,255,255,.82); }

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
  background: #f4f8fb;
}

.admin-sidebar {
  background: #061733;
  color: var(--white);
  padding: 24px;
}

.admin-sidebar .brand {
  min-width: 0;
  margin-bottom: 24px;
}

.admin-sidebar .brand strong,
.admin-sidebar .brand span { color: var(--white); }

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a {
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.78);
}

.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(22, 191, 208, .18);
  color: var(--white);
}

.admin-content {
  padding: 30px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 28, 63, .06);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: .78rem;
  font-weight: 800;
}

.status-new { color: #075da8; background: #e8f3ff; }
.status-contacted { color: #087f94; background: #e9f7fa; }
.status-quoted { color: #7a4b00; background: #fff3d8; }
.status-closed { color: #17613a; background: #e7f7ed; }
.status-rejected { color: #8c1d1d; background: #fde8e8; }
.status-active { color: #17613a; background: #e7f7ed; }

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

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-900);
  font-weight: 760;
}

.demo-form input,
.demo-form textarea,
.demo-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.demo-form textarea { min-height: 140px; resize: vertical; }

.demo-form .full { grid-column: 1 / -1; }

.image-strip {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 12px;
  margin-bottom: 20px;
}

.image-strip img {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.image-strip img:first-child { height: 332px; }

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: linear-gradient(135deg, #071c3f, #0a2d63 56%, #087f94);
}

.login-card {
  width: min(460px, 100%);
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.settings-preview {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.logo-placeholder {
  height: 86px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
}

@media (max-width: 920px) {
  .admin-shell,
  .demo-form,
  .image-strip,
  .settings-preview {
    grid-template-columns: 1fr;
  }

  .admin-content { padding: 20px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .image-strip img,
  .image-strip img:first-child { height: 210px; }
}

@media (max-width: 920px) {
  .hero-grid,
  .contact-panel,
  .admin-preview {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding: 52px 0; }
  .section { padding: 52px 0; }
  .grid-3,
  .grid-4,
  .metric-row {
    grid-template-columns: 1fr;
  }
  .pricing-band {
    display: block;
  }
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .brand { min-width: 0; }
}
