:root {
  --blue: #1e5bff;
  --cyan: #35c2ff;
  --dark: #172033;
  --text: #657085;
  --bg: #f5f8fc;
  --card: #ffffff;
  --border: #dde6f2;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.narrow { max-width: 860px; }
.section { padding: 86px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2, .narrow h2, .video-card h2, .contact-card h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.section-head p, .narrow p, .video-card p, .contact-card p { color: var(--text); font-size: 18px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-label {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(30, 91, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 248, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 230, 242, 0.8);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo {
  width: 172px;
  height: 58px;
  object-fit: contain;
}
.main-nav { display: flex; align-items: center; gap: 22px; color: var(--text); font-size: 15px; }
.main-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.language-select {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.language-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.language-select select {
  width: 128px;
  min-height: 38px;
  padding: 0 36px 0 13px;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--dark);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.language-select select:hover { border-color: #aebbd0; }
.language-select select:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 91, 255, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(30, 91, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(30, 91, 255, 0.28); }
.btn-secondary { background: white; color: var(--blue); box-shadow: none; }
.btn-small { min-height: 38px; padding: 0 16px; border-radius: 12px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 98px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -160px -80px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 194, 255, 0.32), rgba(30, 91, 255, 0));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero-text { margin: 0 0 28px; color: var(--text); font-size: 20px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  color: var(--text);
  font-size: 14px;
}

.hero-preview { position: relative; width: 100%; }
.hero-image-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
.hero-image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.cad-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
.cad-window-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}
.cad-window-bar span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.cad-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; background: #eef5ff; }
.cad-ribbon div { padding: 12px; border-radius: 12px; background: white; color: var(--blue); font-weight: 700; text-align: center; font-size: 14px; }
.cad-body { display: grid; grid-template-columns: 170px 1fr; min-height: 330px; }
.cad-tree { padding: 18px; border-right: 1px solid var(--border); background: #fbfdff; }
.cad-tree p { margin: 0 0 14px; font-weight: 800; }
.cad-tree span { display: block; margin: 10px 0; color: var(--text); font-size: 14px; }
.cad-model { position: relative; min-height: 330px; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 28px 28px; }
.tube, .plate { position: absolute; border-radius: 12px; background: linear-gradient(135deg, rgba(30,91,255,0.88), rgba(53,194,255,0.82)); box-shadow: 0 14px 26px rgba(30,91,255,0.2); }
.tube-a { width: 230px; height: 54px; left: 58px; top: 92px; transform: rotate(0deg); }
.tube-b { width: 54px; height: 200px; left: 146px; top: 54px; }
.plate { width: 92px; height: 92px; left: 216px; top: 178px; background: linear-gradient(135deg, #8aa1bd, #dbe7f5); }

.problem { background: white; }
.problem p { font-size: 18px; color: var(--text); }

.cards-grid, .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card, .benefits-grid div, .audience-grid div, .screen-card, .step, .video-card, .contact-card, .table-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}
.feature-card { padding: 26px; }
.icon-box {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,252,0.96));
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.08);
  overflow: hidden;
}
.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card h3 { margin: 0 0 10px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--text); }

.workflow { background: #eef5ff; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 74px 1fr; align-items: center; padding: 18px 22px; }
.step span { color: var(--blue); font-weight: 900; font-size: 22px; }
.step p { margin: 0; color: var(--text); font-size: 18px; }

.audience-grid, .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.audience-grid div, .benefits-grid div { padding: 20px; font-weight: 700; }

.screenshots { background: white; }
.screens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.screen-card { margin: 0; overflow: hidden; }
.screen-card-wide { grid-column: 1 / -1; }
.screen-card-tall { grid-row: span 2; }
.screen-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
}
.screen-card-wide img { height: 300px; }
.screen-card-tall img { height: 706px; }
.screen-card-ribbon img { padding: 12px 18px; }
.screen-card figcaption {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  font-weight: 700;
}

.video-card, .contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
}
.video-links, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.contact-email { display: block; width: 100%; color: var(--blue); font-weight: 800; text-align: right; }

.table-wrap { overflow: hidden; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: #eef5ff; color: var(--dark); }
td:last-child { color: var(--blue); font-weight: 800; }
.table-note { color: var(--text); }

.site-footer { padding: 34px 0 28px; background: var(--dark); color: white; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner p, .legal { color: rgba(255,255,255,0.68); }
.footer-right { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-right a { color: white; font-weight: 700; }
.legal { margin-top: 24px; font-size: 13px; }

.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--dark); }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .site-logo { width: 150px; height: 50px; }
  .menu-toggle { display: block; }
  .main-nav {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 20px;
  }
  .main-nav.open { display: flex; }
  .header-actions .btn-small { display: none; }
  .hero-grid, .video-card, .contact-card { grid-template-columns: 1fr; }
  .cards-grid, .audience-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-email { text-align: left; }
  .video-links, .contact-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .section { padding: 62px 0; }
  .site-logo { width: 132px; height: 46px; }
  .language-select select { width: 112px; padding-left: 11px; font-size: 13px; }
  .cards-grid, .audience-grid, .benefits-grid, .screens-grid { grid-template-columns: 1fr; }
  .screen-card-wide { grid-column: auto; }
  .screen-card-tall { grid-row: auto; }
  .screen-card img { height: 300px; padding: 12px; }
  .screen-card-wide img { height: 190px; }
  .screen-card-tall img { height: 300px; }
  .hero-buttons .btn, .video-links .btn, .contact-actions .btn { width: 100%; }
  .cad-body { grid-template-columns: 1fr; }
  .cad-tree { border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 6px; }
}


/* Download section */
.download-section { padding-top: 36px; background: linear-gradient(180deg, var(--bg), #eef5ff); }
.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(30, 91, 255, 0.18);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
.download-copy h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.download-copy > p:not(.eyebrow):not(.download-note) { margin: 0; color: var(--text); font-size: 18px; }
.download-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 16px; }
.download-meta div { padding: 14px 16px; border: 1px solid var(--border); border-radius: 15px; background: var(--bg); }
.download-meta span, .checksum-box span { display: block; color: var(--text); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.download-meta strong { display: block; margin-top: 4px; font-size: 17px; }
.download-note { margin: 0; color: var(--text); font-size: 14px; }
.download-actions { display: grid; gap: 14px; }
.download-btn { width: 100%; min-height: 56px; font-size: 17px; }
.checksum-box { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 15px; background: var(--bg); }
.checksum-box code { display: block; margin-top: 7px; overflow-wrap: anywhere; color: var(--dark); font-size: 12px; line-height: 1.5; }
.release-status { min-height: 1.5em; margin: 0; color: #a04a00; font-size: 13px; }

@media (max-width: 980px) {
  .download-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .download-card { padding: 24px; }
  .download-meta { grid-template-columns: 1fr; }
}

/* Analytics consent and privacy */
.footer-link-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.footer-link-button:hover,
.footer-right a:hover { text-decoration: underline; }

body.cookie-banner-visible { overflow: hidden; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(6, 13, 27, 0.48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.cookie-banner-inner {
  width: min(1120px, 100%);
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(19, 27, 44, 0.99);
  color: white;
  box-shadow: 0 22px 70px rgba(4, 10, 24, 0.56);
}
.cookie-copy strong { display: block; margin-bottom: 6px; font-size: 18px; }
.cookie-copy p { margin: 0 0 7px; color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.55; }
.cookie-copy a { color: white; font-weight: 800; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie-btn { min-height: 42px; padding: 0 17px; border-radius: 12px; white-space: nowrap; }
.cookie-banner .btn-secondary { border-color: rgba(255, 255, 255, 0.42); background: transparent; color: white; }

.privacy-page { min-height: 100vh; background: var(--bg); }
.privacy-header { padding: 18px 0; border-bottom: 1px solid var(--border); background: white; }
.privacy-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.privacy-back { color: var(--blue); font-weight: 800; }
.privacy-main { padding: 72px 0 90px; }
.privacy-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}
.privacy-card h1 { margin-top: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; }
.privacy-card h2 { margin-top: 34px; font-size: 23px; }
.privacy-card p, .privacy-card li { color: var(--text); font-size: 16px; line-height: 1.7; }
.privacy-card ul { padding-left: 22px; }
.privacy-card a { color: var(--blue); font-weight: 700; }
.privacy-footer-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.privacy-footer-actions .footer-link-button { color: var(--blue); }

@media (max-width: 760px) {
  .cookie-banner { padding: 10px; }
  .cookie-banner-inner { grid-template-columns: 1fr; padding: 18px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { width: 100%; }
  .privacy-card { padding: 25px; border-radius: 20px; }
  .privacy-header-inner { align-items: flex-start; }
}
