:root {
  --bg-0: #06090f;
  --bg-1: #0b1220;
  --bg-2: #111b2e;
  --panel: #121d31;
  --panel-soft: #1a2942;
  --panel-light: #24334d;
  --ink: #e6edf7;
  --muted: #9fb0c8;
  --line: #2e415f;
  --line-strong: #46628d;
  --accent: #5da2ff;
  --accent-soft: #8bc0ff;
  --ok: #3ad08f;
  --warn: #f4bb4c;
  --danger: #f06e6e;
  --radius: 6px;
  --shadow-1: 0 10px 28px rgba(2, 6, 12, 0.45);
  --shadow-2: 0 18px 44px rgba(2, 6, 12, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(93, 162, 255, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(57, 97, 156, 0.2) 0%, transparent 44%),
    linear-gradient(var(--bg-0), var(--bg-1) 42%, #0d1627);
  line-height: 1.58;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 151, 190, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 151, 190, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  z-index: -2;
}

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

a {
  color: inherit;
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(93, 162, 255, 0.28);
  background: rgba(7, 12, 21, 0.84);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

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

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: #0e1728;
}

.brand-name {
  text-decoration: none;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #f2f7ff;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--muted);
}

.lang-btn {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-weight: 700;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
}

.lang-btn.active {
  border-color: var(--accent);
  color: #d8e9ff;
  background: rgba(93, 162, 255, 0.16);
}

.bg-shape {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(34px);
}

.bg-shape-1 {
  width: 440px;
  height: 440px;
  right: -200px;
  top: -150px;
  background: radial-gradient(circle, rgba(84, 145, 224, 0.34) 0%, rgba(84, 145, 224, 0) 68%);
}

.bg-shape-2 {
  width: 400px;
  height: 400px;
  left: -170px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(47, 92, 155, 0.25) 0%, rgba(47, 92, 155, 0) 70%);
}

main {
  padding: 14px 0 32px;
}

.intro-band {
  position: relative;
  margin-bottom: 18px;
  border: 1px solid rgba(93, 162, 255, 0.28);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.intro-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(132deg, rgba(5, 9, 16, 0.76) 0%, rgba(7, 12, 21, 0.66) 55%, rgba(8, 15, 26, 0.78) 100%),
    url("img/demo2/2_fokep.jpg");
  background-size: cover;
  background-position: center;
}

.intro-band .hero,
.intro-band .metrics {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 26px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.highlight-card,
.metric,
.demo-card,
.interior-card,
.notice,
.feature-grid article,
.contact-card {
  background: linear-gradient(180deg, rgba(20, 31, 50, 0.92) 0%, rgba(16, 26, 43, 0.94) 100%);
  border: 1px solid rgba(93, 162, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.hero-copy {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 162, 255, 0.3) 0%, rgba(93, 162, 255, 0) 72%);
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  color: #f0f6ff;
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.lead,
.section-head p,
.notice p,
.small-info {
  color: var(--muted);
}

.hero-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-promo-item {
  margin: 0;
  border: 1px solid var(--line-strong);
  background: rgba(9, 16, 28, 0.78);
  border-radius: 4px;
  padding: 7px 13px;
  color: #d9e9ff;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, #4b89d9, #2d5f9e);
  color: #f5f9ff;
  box-shadow: 0 10px 22px rgba(53, 106, 172, 0.4);
}

.btn-ghost {
  border-color: #5978a4;
  background: rgba(14, 24, 40, 0.7);
  color: #d5e6ff;
}

.hero-cta [data-lang-key="ctaSecondary"] {
  white-space: pre-line;
  text-align: center;
}

.highlight-card {
  padding: 20px;
  border-left: 4px solid var(--accent);
}

.highlight-card p {
  color: #c4d5ec;
  margin-bottom: 12px;
}

.highlight-card ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #d7e6fb;
}

.metrics {
  padding: 4px 0 22px;
}

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

.metric {
  padding: 14px;
  text-align: left;
  position: relative;
}

.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-radius: 0;
}

.metric-value {
  font-size: clamp(1.36rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: #f5f9ff;
  margin-left: 8px;
}

.metric-label {
  color: #a7bbd8;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 8px;
}

section {
  padding: 38px 0;
}

.section-head {
  max-width: 86ch;
  margin-bottom: 18px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.demos,
.interior,
.process,
.features,
.pricing,
.comparison,
.support,
.contact {
  position: relative;
  border: 1px solid rgba(93, 162, 255, 0.2);
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(14, 23, 39, 0.76) 0%, rgba(13, 21, 35, 0.86) 100%);
}

.demos::before,
.interior::before,
.process::before,
.features::before,
.pricing::before,
.comparison::before,
.support::before,
.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 192, 255, 0.7), transparent);
}

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

.demo-card {
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.demo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 192, 255, 0.7);
}

.demo-open-btn {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

.demo-open-btn:focus-visible,
.interior-open-btn:focus-visible {
  outline: 3px solid rgba(93, 162, 255, 0.5);
  outline-offset: -3px;
}

.demo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(93, 162, 255, 0.28);
}

.demo-card-body {
  padding: 12px;
}

.demo-title {
  font-size: 1.02rem;
  margin-bottom: 3px;
}

.demo-meta {
  color: var(--muted);
  font-weight: 600;
}

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

.interior-card {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

.interior-open-btn {
  all: unset;
  width: 100%;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.interior-media {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  background: #1b2940;
}

.interior-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.interior-card-meta {
  color: var(--muted);
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.steps {
  counter-reset: flow;
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding: 11px 12px 11px 46px;
  border: 1px solid rgba(93, 162, 255, 0.32);
  border-radius: 4px;
  background: rgba(18, 31, 52, 0.86);
  color: #d8e8ff;
}

.steps li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #07101f;
  font-weight: 800;
  font-size: 0.8rem;
}

.notice {
  border-left: 4px solid var(--warn);
  padding: 16px;
}

.notice p {
  color: #c3d3e9;
}

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

.feature-grid article {
  padding: 12px;
  border-top: 3px solid rgba(93, 162, 255, 0.6);
}

.feature-grid p {
  color: var(--muted);
}

.price-list,
.included-list,
.ref-list,
.support-list {
  display: grid;
  gap: 7px;
  padding-left: 18px;
}

.price-list li,
.included-list li,
.support-list li,
.ref-list li {
  color: #cfe0f6;
}

.small-info {
  margin-top: 12px;
  font-weight: 600;
}

.table-wrap {
  border: 1px solid rgba(93, 162, 255, 0.32);
  border-radius: 4px;
  overflow: auto;
  background: rgba(9, 15, 26, 0.8);
  box-shadow: var(--shadow-1);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(79, 108, 148, 0.4);
}

th {
  background: linear-gradient(180deg, #173055 0%, #132847 100%);
  color: #eaf3ff;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 1;
}

th:first-child,
td:first-child {
  min-width: 290px;
}

td:not(:first-child),
th:not(:first-child) {
  text-align: center;
}

tbody tr:nth-child(odd) {
  background: rgba(19, 31, 50, 0.75);
}

tbody tr:nth-child(even) {
  background: rgba(15, 25, 42, 0.75);
}

tbody td:nth-child(2) {
  border-left: 1px solid rgba(79, 108, 148, 0.35);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12px;
}

.contact-card {
  padding: 16px;
}

.contact-card p {
  margin-bottom: 8px;
  color: #cfdef3;
}

.form-wrap {
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
}

.form-wrap iframe {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.site-footer {
  border-top: 1px solid rgba(93, 162, 255, 0.26);
  background: linear-gradient(180deg, rgba(7, 13, 23, 0.94) 0%, rgba(5, 10, 19, 0.96) 100%);
}

.footer-wrap {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-logo {
  width: 130px;
  max-width: 34vw;
  height: auto;
  object-fit: contain;
}

.footer-credit {
  font-size: 0.78rem;
  color: #91a6c3;
}

.footer-credit a {
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 6, 12, 0.86);
  backdrop-filter: blur(4px);
}

.gallery-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  max-height: 92vh;
  margin: 4vh auto;
  background: linear-gradient(180deg, #131f32 0%, #0f1a2d 100%);
  border: 1px solid rgba(93, 162, 255, 0.36);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  padding: 18px 18px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.gallery-close,
.gallery-nav {
  border: 1px solid #5b79a5;
  background: #17243a;
  color: #e5f0ff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 4px;
  padding: 7px 12px;
}

.gallery-nav {
  padding: 10px 12px;
}

.gallery-figure {
  margin: 0;
  min-width: 0;
}

.gallery-figure img,
.gallery-figure video {
  width: 100%;
  height: min(66vh, 620px);
  border-radius: 10px;
}

.gallery-figure img {
  object-fit: contain;
  background: #0b1525;
}

.gallery-figure video {
  background: #000;
}

.gallery-figure figcaption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b7cae4;
  font-weight: 600;
}

.gallery-thumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}

.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  width: 82px;
  flex: 0 0 82px;
}

.gallery-thumb img,
.gallery-thumb video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.gallery-thumb.active {
  border-color: var(--accent);
}

body.gallery-open {
  overflow: hidden;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .interior-open-btn {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hero {
    padding: 20px 0 14px;
  }

  .metrics-grid,
  .demo-grid,
  .feature-grid,
  .interior-grid {
    grid-template-columns: 1fr;
  }

  .interior-media {
    min-height: 210px;
    height: 210px;
  }

  .hero-copy {
    padding: 15px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-cta .btn:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-panel {
    margin: 3vh auto;
    max-height: 94vh;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 52px;
  }

  .gallery-prev {
    order: 2;
  }

  .gallery-next {
    order: 3;
  }

  .gallery-figure {
    grid-column: 1 / -1;
    order: 1;
  }

  .gallery-figure img,
  .gallery-figure video {
    height: min(52vh, 420px);
  }

  .gallery-thumbs {
    order: 4;
    gap: 6px;
  }

  .gallery-thumb {
    width: 70px;
    flex-basis: 70px;
  }
}
