:root {
  --bg: #050509;
  --panel: #111116;
  --panel2: #1a1722;
  --gold: #c4479b;
  --gold2: #2bb4d4;
  --text: #f8f8fb;
  --muted: #b9bac8;
  --line: rgba(255,255,255,.14);
  --cream: #f8f8fb;
  --success: #2bd48a;
  --danger: #ff6b7c;
  --magenta: #c4479b;
  --purple: #6552aa;
  --cyan: #2bb4d4;
  --red: #ef4545;
  --orange: #f99b33;
  --green: #57bf86;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 4%, rgba(196,71,155,.34), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(43,180,212,.28), transparent 24%),
    radial-gradient(circle at 55% 88%, rgba(101,82,170,.2), transparent 34%),
    linear-gradient(180deg, #08080e, #050509 52%, #020204),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] .nav,
[dir="rtl"] .hero,
[dir="rtl"] .problem,
[dir="rtl"] .dashboard,
[dir="rtl"] .estimator,
[dir="rtl"] .pricing,
[dir="rtl"] .contact {
  direction: rtl;
}

[dir="rtl"] .problem-list p {
  border-left: 0;
  border-right: 3px solid var(--gold);
}

[dir="rtl"] .panel-row strong,
[dir="rtl"] .estimate-output strong {
  text-align: left;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: rgba(5,5,9,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; }
.logo {
  width: 42px; height: 42px; border: 1px solid var(--gold);
  border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--magenta), var(--cyan));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 28px rgba(43,180,212,.18);
}
.logo-image {
  display: block;
  width: min(122px, 18vw);
  height: auto;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
}
.nav nav { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; }
.nav nav a, .nav-dropdown-toggle { transition: color .2s ease, background .2s ease; }
.nav nav a:hover, .nav-dropdown-toggle:hover { color: var(--text); }
.nav nav a[aria-current="page"] { color: #fff; }
.nav-cta { color: #fff !important; background: linear-gradient(135deg, var(--magenta), var(--cyan)); padding: 10px 16px; border-radius: 999px; font-weight: 700; }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
}

.nav-dropdown-toggle span {
  color: var(--gold2);
  font-size: 11px;
  line-height: 1;
}

.submenu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: none;
  min-width: 210px;
  padding: 10px;
  background: rgba(12,12,18,.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.submenu a,
.submenu-parent {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.submenu a:hover,
.submenu-parent:hover {
  background: rgba(196,71,155,.18);
}

.submenu-group {
  position: relative;
}

.submenu-parent {
  display: block;
}

.submenu-parent span {
  display: none;
}

.nested-submenu {
  position: static;
  display: none;
  margin: 4px 0 4px 12px;
  padding: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: none;
}

.submenu-group.open .nested-submenu {
  display: block;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu,
.nav-dropdown.open .submenu {
  display: block;
}

.language-picker,
.currency-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.language-picker > span:first-child {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid rgba(43,180,212,.42);
  border-radius: 999px;
  background: #10131d;
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.language-picker select,
.currency-picker select {
  width: auto;
  min-width: 128px;
  margin: 0;
  padding: 9px 34px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-picker select {
  min-width: 150px;
  border-color: rgba(43,180,212,.42);
  background: #10131d;
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.24);
}

.language-picker select:hover,
.language-picker select:focus {
  border-color: rgba(43,180,212,.72);
  background: #151a27;
  color: #fff;
}

.language-picker select option {
  background: #10131d;
  color: #f7fbff;
}

.currency-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.calculator-currency {
  display: grid;
  grid-template-columns: 1fr minmax(150px, 210px);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(43,180,212,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  color: var(--text);
}

.calculator-currency select {
  width: 100%;
  min-width: 0;
}

.calculator-currency select,
.estimator-card select,
.lead-form select {
  background: #05070c;
  color: #fff;
  border-color: rgba(43,180,212,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.calculator-currency select:hover,
.calculator-currency select:focus,
.estimator-card select:hover,
.estimator-card select:focus,
.lead-form select:hover,
.lead-form select:focus {
  background: #000;
  color: #fff;
  border-color: rgba(43,180,212,.78);
}

.calculator-currency select option,
.estimator-card select option,
.lead-form select option {
  background: #000;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 99px; }

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 48px;
  align-items: center;
  padding: 80px 6vw 60px;
  background:
    radial-gradient(circle at 6% 12%, rgba(196,71,155,.35), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(43,180,212,.28), transparent 28%),
    linear-gradient(90deg, rgba(5,5,9,.98), rgba(5,5,9,.72)),
    url('assets/hero-hotel.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero > *,
.problem > *,
.dashboard > *,
.devices > *,
.worldwide > *,
.partner-ecosystem > *,
.pricing > *,
.estimator > *,
.contact > *,
.tv-frame,
.gallery-bezel {
  min-width: 0;
}

.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1; margin: 18px 0; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.02; margin: 12px 0 20px; letter-spacing: -.035em; }
h3 { margin: 0 0 12px; font-size: 22px; }
.lead, .section p, .problem p { color: var(--muted); font-size: 18px; line-height: 1.7; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(135deg, var(--magenta), var(--cyan)); color: #fff; box-shadow: 0 18px 42px rgba(43,180,212,.22); }
.secondary { border: 1px solid rgba(255,255,255,.18); color: var(--text); background: rgba(255,255,255,.06); }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stats div, .cards article, .dashboard-panel, .price-card, .contact-box, .estimator-card, .lead-form, .timeline article, .faq-list details {
  background: rgba(17,17,22,.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.stats strong { display: block; color: var(--cyan); font-size: 20px; }
.stats span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

.dashboard-visual {
  margin: 0;
  width: 97.5%;
  justify-self: center;
  padding: 10px;
  overflow: hidden;
  border-color: rgba(43,180,212,.22);
  background:
    radial-gradient(circle at 70% 12%, rgba(43,180,212,.16), transparent 32%),
    linear-gradient(145deg, rgba(24,24,32,.94), rgba(5,5,9,.96));
  box-shadow: 0 36px 110px rgba(0,0,0,.42), 0 0 55px rgba(196,71,155,.12);
}

.dashboard-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.tv-frame {
  border: 1px solid rgba(43,180,212,.34);
  border-radius: 34px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(24,24,32,.96), rgba(8,8,12,.92));
  box-shadow: 0 40px 120px rgba(0,0,0,.46), 0 0 70px rgba(196,71,155,.12);
}
.tv-top { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 13px; padding: 0 8px 14px; }
.tv-set {
  display: grid;
  justify-items: center;
}

.tv-bezel {
  width: 100%;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(145deg, #252633, #050505);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 26px 80px rgba(45,33,15,.28);
}

.tv-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  border-radius: 18px;
  background: #111;
}

.tv-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-stand {
  width: 32%;
  height: 18px;
  margin-top: -1px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #211d18, #060606);
  box-shadow: 0 16px 28px rgba(45,33,15,.22);
}

.tv-menu-link {
  position: absolute;
  top: 63.5%;
  height: 14%;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 18px;
  color: transparent;
  font-size: 0;
  text-indent: -999px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tv-menu-link:hover,
.tv-menu-link:focus-visible,
.tv-menu-link.active {
  outline: none;
  border-color: rgba(245,193,91,.92);
  background: rgba(245,193,91,.12);
  box-shadow: 0 0 0 4px rgba(245,193,91,.18), inset 0 0 28px rgba(245,193,91,.16);
}

.tv-menu-link.television { left: 3.8%; width: 10.6%; }
.tv-menu-link.hotel-info { left: 17.1%; width: 12.9%; }
.tv-menu-link.applications { left: 31.6%; width: 10.6%; }
.tv-menu-link.help { left: 44.4%; width: 10.2%; }
.tv-menu-link.cast { left: 56.8%; width: 10.2%; }
.tv-menu-link.messages { left: 69%; width: 10.6%; }
.tv-menu-link.pos { left: 81.2%; width: 10.8%; }
.tv-menu-link.feedback { left: 92.3%; width: 7.2%; }

.tv-screen-info {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(43,180,212,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
}

.tv-screen-info h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.tv-screen-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.module-grid button {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 6.75px 7.5px;
  border-radius: 18px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}
.module-grid button:hover, .module-grid button.active { background: rgba(196,71,155,.18); border-color: rgba(43,180,212,.48); color: var(--text); }

.problem, .section { padding: 90px 6vw; }

.interface-gallery {
  background:
    radial-gradient(circle at 18% 10%, rgba(196,71,155,.2), transparent 32%),
    linear-gradient(135deg, rgba(8,8,14,.96), rgba(17,17,26,.9));
  border-bottom: 1px solid var(--line);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 34px;
}

.gallery-left {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.gallery-tv {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.gallery-bezel {
  position: relative;
  width: min(100%, 1120px);
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(145deg, #242634, #050505);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 38px 110px rgba(0,0,0,.42);
}

.gallery-screen {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #111;
}

.gallery-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-stand {
  width: min(320px, 36%);
  height: 20px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #24211d, #050505);
  box-shadow: 0 18px 35px rgba(0,0,0,.28);
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(5,5,9,.72);
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-control:hover {
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
}

.gallery-control.prev { left: 30px; }
.gallery-control.next { right: 30px; }

.gallery-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(43,180,212,.2);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.gallery-meta strong,
.gallery-meta span {
  display: block;
}

.gallery-meta strong {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 6px;
}

.gallery-meta span {
  color: var(--muted);
  line-height: 1.5;
}

.gallery-thumbs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-thumb {
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 4px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(43,180,212,.14);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-list { display: grid; gap: 14px; }
.problem-list p { padding: 20px; border-left: 3px solid var(--magenta); background: rgba(255,255,255,.06); border-radius: 16px; margin: 0; }

.cards { display: grid; gap: 18px; margin-top: 34px; }
.three { grid-template-columns: repeat(3,1fr); }
.four { grid-template-columns: repeat(4,1fr); }
.cards p { font-size: 16px; margin: 0; }

.dark { background: linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94)); border-block: 1px solid var(--line); }

#modules {
  display: flex;
  flex-direction: column;
}

#modules > .eyebrow {
  order: 1;
}

#modules > h2 {
  order: 2;
}

#modules > .module-showcase {
  order: 3;
}

#modules > .feature-explainers {
  order: 4;
}

.module-showcase {
  display: grid;
  grid-template-columns: minmax(240px, .58fr) minmax(420px, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 34px;
}

.feature-explainers {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin: 34px 0 48px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
}

.feature-explainer-copy h3 {
  font-size: clamp(24px, 3vw, 38px);
}

.feature-explainer-copy p {
  font-size: 16px;
}

.feature-explainer-text {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.feature-explainer-text p {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.62;
}

.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.feature-card-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
}

.feature-card-list button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.feature-card-list button:hover,
.feature-card-list button:focus-visible,
.feature-card-list button.active {
  background: linear-gradient(135deg, rgba(196,71,155,.22), rgba(43,180,212,.14));
  border-color: rgba(43,180,212,.5);
  outline: none;
}

.feature-card-viewer {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-self: start;
  margin-top: 229px;
}

.feature-card-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.feature-card-frame img {
  display: block;
  width: min(100%, 860px);
  max-height: min(88vh, 1040px);
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  cursor: zoom-in;
}

.feature-magnifier {
  display: none;
}

.feature-card-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.feature-card-control {
  display: none;
}

.feature-card-controls strong {
  color: var(--text);
}

.feature-card-controls span {
  color: var(--muted);
  font-weight: 800;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

.module-grid button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50%;
  min-height: 20.25px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  text-align: left;
}

.module-grid button::after {
  content: "›";
  color: var(--cyan);
  font-size: 18px;
  line-height: 1;
}

.module-grid button:hover,
.module-grid button:focus-visible,
.module-grid button.active {
  background: linear-gradient(135deg, rgba(196,71,155,.24), rgba(43,180,212,.16));
  border-color: rgba(43,180,212,.48);
  color: #fff;
  outline: none;
}

.module-tv {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.module-tv-bezel {
  width: 88%;
  padding: 14px;
  border: 1px solid rgba(43,180,212,.3);
  border-radius: 30px;
  background: linear-gradient(145deg, #242634, #050505);
  box-shadow: 0 36px 100px rgba(0,0,0,.42), 0 0 55px rgba(196,71,155,.12);
}

.module-tv-bezel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  background: #050509;
}

.module-tv-stand {
  width: min(264px, 31.7%);
  height: 18px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #24211d, #050505);
  box-shadow: 0 18px 35px rgba(0,0,0,.28);
}

.module-tv p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.dashboard, .estimator, .contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 48px;
  align-items: center;
}

.devices {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 16%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(8,8,14,.96), rgba(15,15,24,.92));
  border-block: 1px solid var(--line);
}

.device-stack {
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: end;
  gap: 18px;
}

.device-lifestyle {
  margin: 0;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 28px;
  background: linear-gradient(145deg, #20202a, #08080c);
  box-shadow: 0 28px 80px rgba(0,0,0,.26), 0 0 48px rgba(196,71,155,.1);
}

.device-lifestyle img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: #050509;
}

.device-card {
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 28px;
  background: linear-gradient(145deg, #20202a, #08080c);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
  padding: 16px;
}

.device-card.tablet {
  min-height: 0;
}

.device-card.phone {
  min-height: 0;
  border-radius: 32px;
  width: 100%;
  max-width: 280px;
  justify-self: center;
}

.device-card.phone-suite {
  max-width: none;
  align-self: center;
}

.device-screen {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 20px;
  padding: 0;
  background: #050509;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.device-card.tablet .device-screen {
  aspect-ratio: 16 / 10;
}

.device-card.phone .device-screen {
  aspect-ratio: 9 / 16;
  border-radius: 24px;
}

.device-card.phone-suite .device-screen {
  aspect-ratio: 1186 / 647;
  border-radius: 24px;
}

.device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-card.phone-suite .device-screen img {
  object-fit: contain;
  background: #eef0f2;
}

.device-caption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(5,5,9,.3), rgba(5,5,9,.78));
  backdrop-filter: blur(10px);
}

.device-caption strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.device-caption span {
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}

.home-automation {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(196,71,155,.16), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(18,22,34,.94));
  border-bottom: 1px solid var(--line);
}

.home-automation-copy {
  max-width: 760px;
}

.automation-panel {
  display: grid;
  gap: 14px;
}

.automation-panel article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}

.automation-panel span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.automation-panel strong {
  color: var(--text);
  font-size: 18px;
}

.automation-panel p {
  margin: 0;
  font-size: 15px !important;
  line-height: 1.55;
}

.news-hero {
  padding-top: 150px;
  background:
    radial-gradient(circle at 78% 14%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94));
  border-bottom: 1px solid var(--line);
}

.news-hero-feature {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1fr);
  gap: 46px;
  align-items: center;
}

.news-hero h1 {
  max-width: 980px;
}

.news-hero-image {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}

.news-hero-image img,
.news-media-stack img,
.news-gallery img {
  display: block;
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.news-hero-image img {
  aspect-ratio: 16 / 9;
}

.news-page {
  display: grid;
  gap: 34px;
  background: linear-gradient(135deg, rgba(8,8,14,.96), rgba(15,15,24,.92));
}

.news-story {
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(17,17,22,.82);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.featured-news-story {
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1fr);
  align-items: start;
}

.news-story-copy {
  min-width: 0;
}

.news-story-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.news-media-stack {
  display: grid;
  gap: 14px;
}

.news-media-stack img {
  aspect-ratio: 16 / 9;
}

.rotana-news-story {
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  align-items: start;
}

.news-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.news-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.news-gallery img:not(:first-child) {
  aspect-ratio: 4 / 3;
}

.news-quote {
  display: grid;
  gap: 8px;
  margin: 26px 0;
  padding: 20px;
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}

.news-quote strong {
  color: var(--gold);
}

.news-quote span {
  color: var(--text);
  line-height: 1.55;
}

.news-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
}

.news-facts div,
.news-brand-owner {
  padding: 18px;
  border: 1px solid rgba(43,180,212,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}

.news-facts strong,
.news-facts span,
.news-brand-owner strong {
  display: block;
}

.news-facts strong,
.news-brand-owner strong {
  color: var(--cyan);
  margin-bottom: 8px;
}

.news-facts span,
.news-brand-owner p {
  color: var(--muted);
  line-height: 1.45;
}

.news-brand-owner {
  grid-column: 1 / -1;
}

.news-brand-owner p {
  margin: 0;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 46px;
  align-items: center;
  padding-top: 150px;
  background:
    radial-gradient(circle at 78% 14%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94));
  border-bottom: 1px solid var(--line);
}

.support-hero-card {
  display: grid;
  gap: 16px;
  place-items: center;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}

.support-hero-card img {
  display: block;
  width: min(100%, 420px);
  border-radius: 12px;
  background: #fff;
}

.support-hero-card figcaption {
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.support-page {
  background: linear-gradient(135deg, rgba(8,8,14,.96), rgba(15,15,24,.92));
}

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

.support-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(17,17,22,.82);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.support-card h2,
.support-card h3,
.support-card p {
  margin: 0;
}

.support-card p,
.support-card li {
  color: var(--muted);
  line-height: 1.65;
}

.support-card a {
  color: var(--cyan);
  font-weight: 850;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.support-phone-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.support-phone-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.support-phone-list strong {
  color: var(--text);
}

.support-form-card,
.support-hotline-card {
  grid-column: span 2;
}

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

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

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

.support-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.support-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-satisfaction-card {
  grid-column: span 2;
  background:
    radial-gradient(circle at 18% 16%, rgba(196,71,155,.12), transparent 30%),
    rgba(17,17,22,.82);
}

.library-hero {
  padding-top: 130px;
  padding-bottom: 54px;
  background:
    radial-gradient(circle at 78% 14%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94));
  border-bottom: 1px solid var(--line);
}

.library-hero .lead {
  max-width: 920px;
}

.library-page {
  padding-top: 44px;
  background: linear-gradient(135deg, rgba(8,8,14,.96), rgba(15,15,24,.92));
}

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

.library-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(17,17,22,.82);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.library-card:hover,
.library-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(43,180,212,.48);
  background: rgba(255,255,255,.08);
  outline: none;
}

.library-card img,
.library-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #080a10;
}

.library-card:not(.wide) img {
  object-fit: contain;
  background: rgba(255,255,255,.94);
}

.library-card span {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(5,7,12,.84);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.library-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.library-card small {
  color: var(--muted);
  font-size: 14px;
}

.library-card.wide {
  grid-column: span 2;
}

.library-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 12px;
}

.library-viewer[hidden] {
  display: none;
}

.library-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(8px);
}

.library-viewer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(98vw, 1500px);
  height: min(96vh, 980px);
  border: 1px solid rgba(43,180,212,.3);
  border-radius: 18px;
  background: rgba(8,10,16,.92);
  box-shadow: 0 36px 120px rgba(0,0,0,.55);
  overflow: hidden;
}

.library-viewer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.library-viewer-actions strong {
  margin-right: auto;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-viewer-actions .btn {
  min-height: 0;
  padding: 10px 16px;
  font-size: 14px;
}

.library-viewer-stage {
  min-height: 0;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 12px;
}

.library-viewer-stage iframe,
.library-viewer-stage video,
.library-viewer-stage img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  background: #05070c;
}

.library-viewer-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
}

.library-viewer-stage video {
  object-fit: contain;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.survey-hero {
  padding-top: 150px;
  background:
    radial-gradient(circle at 78% 14%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94));
  border-bottom: 1px solid var(--line);
}

.survey-hero .lead {
  max-width: 920px;
}

.survey-page {
  background: linear-gradient(135deg, rgba(8,8,14,.96), rgba(15,15,24,.92));
}

.survey-form {
  display: grid;
  gap: 22px;
}

.survey-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(17,17,22,.82);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.survey-form legend {
  padding: 0 0 12px;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 950;
}

.survey-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.survey-form .full,
.survey-actions,
.survey-form > .form-status {
  grid-column: 1 / -1;
}

.survey-form select {
  background: #05070c;
  color: #fff;
  border-color: rgba(43,180,212,.48);
}

.survey-form select option {
  background: #000;
  color: #fff;
}

.survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.worldwide {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.office-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.office-list span {
  padding: 10px 13px;
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
}

.world-map-card {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(43,180,212,.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 15%, rgba(43,180,212,.24), transparent 26%),
    radial-gradient(circle at 10% 90%, rgba(196,71,155,.18), transparent 34%),
    linear-gradient(135deg, rgba(17,17,22,.95), rgba(5,5,9,.9));
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  overflow: hidden;
}

.world-map-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: .96;
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(196,71,155,.18), 0 10px 24px rgba(0,0,0,.24);
  z-index: 3;
}

.map-pin::after {
  content: attr(data-location);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 8px;
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 999px;
  background: rgba(5,5,9,.82);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.map-pin.usa { left: 21%; top: 43%; }
.map-pin.europe { left: 49%; top: 37%; }
.map-pin.switzerland { left: 51%; top: 42%; }
.map-pin.middle-east { left: 59%; top: 49%; }
.map-pin.africa { left: 51%; top: 58%; }

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading .btn {
  margin-top: 12px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-card {
  min-height: 101px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  color: var(--text);
  font-weight: 950;
  text-align: center;
  letter-spacing: .02em;
}

.brand-card.serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
}

.brand-card.wordmark {
  font-size: 20px;
  line-height: 1.2;
}

.logo-card {
  gap: 12px;
  background: #fff;
  border-color: rgba(255,255,255,.32);
  color: #202432;
}

.logo-card img {
  display: block;
  max-width: 152px;
  max-height: 66px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-card span {
  display: block;
  color: #4d5667;
  font-size: 13px;
  font-weight: 900;
}

.partner-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94));
  border-block: 1px solid var(--line);
}

.partner-grid {
  grid-template-columns: repeat(2, 1fr);
  width: 80%;
  justify-self: center;
}

.partner-grid .logo-card {
  box-sizing: border-box;
  min-height: 91px;
  height: 91px;
  padding: 12px 14px;
  gap: 6px;
  overflow: hidden;
}

.partner-grid .logo-card img {
  max-width: 137px;
  max-height: 46px;
}

.partner-grid .logo-card span {
  font-size: 11px;
  line-height: 1.1;
}

.partner-invite {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .8fr);
  gap: 46px;
  align-items: center;
  background:
    radial-gradient(circle at 24% 12%, rgba(196,71,155,.16), transparent 30%),
    linear-gradient(135deg, rgba(9,10,18,.98), rgba(18,22,34,.94));
  border-bottom: 1px solid var(--line);
}

.partner-invite-copy {
  max-width: 720px;
}

.partner-invite-copy .btn {
  margin-top: 12px;
}

.authorized-partner-card {
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0,0,0,.3), 0 0 48px rgba(43,180,212,.12);
}

.authorized-partner-card img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
}

.online-shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 42px;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(43,180,212,.16), transparent 30%),
    linear-gradient(135deg, rgba(8,8,14,.96), rgba(18,13,26,.94));
  border-bottom: 1px solid var(--line);
}

.online-shop-copy {
  max-width: 760px;
}

.online-shop-panel {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 30px 80px rgba(0,0,0,.28), 0 0 44px rgba(196,71,155,.1);
}

.online-shop-panel strong {
  color: var(--gold);
  font-size: 24px;
}

.online-shop-panel span {
  color: var(--muted);
  line-height: 1.6;
}

.online-shop-panel .btn {
  justify-self: start;
  margin-top: 6px;
}

.swiss-quality {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}

.swiss-mark {
  flex: 0 0 62px;
  width: 62px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.swiss-quality strong,
.swiss-quality span {
  display: block;
}

.swiss-quality strong {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 6px;
}

.swiss-quality span {
  color: var(--muted);
  line-height: 1.55;
}
.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.panel-row:last-child { border-bottom: 0; }
.panel-row span { color: var(--muted); }
.panel-row strong { color: var(--gold); text-align: right; }

.estimator {
  background:
    radial-gradient(circle at 10% 20%, rgba(196,71,155,.16), transparent 28%),
    linear-gradient(135deg, rgba(10,10,16,.96), rgba(17,17,24,.92));
  border-block: 1px solid var(--line);
}
.estimator-card, .lead-form { display: grid; gap: 18px; }
label, fieldset { color: var(--muted); font-weight: 700; }
fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
legend { color: var(--text); padding-bottom: 10px; }
input, select, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(43,180,212,.16); }
input[type="range"] { accent-color: var(--gold); padding: 0; }
input[type="checkbox"] { width: auto; margin: 0 8px 0 0; accent-color: var(--gold); }
.estimate-output {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(196,71,155,.14), rgba(43,180,212,.12));
  border: 1px solid rgba(43,180,212,.24);
}
.estimate-output span { color: var(--muted); }
.estimate-output strong { color: var(--gold); font-size: 24px; text-align: right; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 34px;
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  font-weight: 900;
}
.timeline p { font-size: 16px; margin: 0; }

.pricing {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(13,13,20,.94));
}
.price-card h2 { color: var(--gold); }
.price-card ul { color: var(--muted); line-height: 2; padding-left: 20px; }

.faq-list { display: grid; gap: 14px; margin-top: 28px; }
.faq-list details { padding: 0; overflow: hidden; }
.faq-list summary {
  cursor: pointer;
  padding: 22px;
  font-size: 18px;
  font-weight: 800;
}
.faq-list p { margin: 0; padding: 0 22px 22px; font-size: 16px; }

.contact { align-items: start; }
.contact-box {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: left;
  box-shadow: none;
}
.contact-box strong { color: var(--gold); display: block; }
.contact-box span { color: var(--muted); display: block; margin-top: 8px; overflow-wrap: anywhere; }
.lead-form { grid-template-columns: repeat(2,1fr); }
.lead-form .full, .lead-form button, .form-status { grid-column: 1 / -1; }
.form-status { min-height: 24px; margin: 0; font-size: 15px !important; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 6vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(5,5,9,.88);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(43,180,212,.32);
  border-radius: 18px;
  background: rgba(10,12,18,.96);
  box-shadow: 0 28px 90px rgba(0,0,0,.42), 0 0 48px rgba(43,180,212,.12);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions a {
  color: var(--cyan);
  font-weight: 800;
}

.reference-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.reference-modal[hidden] {
  display: none;
}

.reference-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}

.reference-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 94vw);
  max-height: 88vh;
  padding: 16px;
  border: 1px solid rgba(43,180,212,.26);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 120px rgba(0,0,0,.48);
}

.reference-modal-panel img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 32px);
  object-fit: contain;
  border-radius: 14px;
}

.reference-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: #10131d;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.feature-sheet-modal {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  padding: 10px;
}

.feature-sheet-modal[hidden] {
  display: none;
}

.feature-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(8px);
}

.feature-sheet-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: start;
  width: min(98vw, 1120px);
  max-height: 98vh;
  padding: 52px 8px 8px;
  border: 1px solid rgba(43,180,212,.28);
  border-radius: 18px;
  background: rgba(8,10,16,.86);
  box-shadow: 0 36px 120px rgba(0,0,0,.5);
  overflow: auto;
}

.feature-sheet-panel img {
  display: block;
  width: min(100%, 900px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
}

.feature-sheet-download {
  position: sticky;
  top: 0;
  justify-self: end;
  z-index: 2;
  margin: -38px 42px 8px 0;
  min-height: 0;
  padding: 10px 16px;
  font-size: 14px;
}

.feature-sheet-exit {
  position: sticky;
  top: 48px;
  justify-self: end;
  z-index: 2;
  margin: 0 42px 12px 0;
  min-height: 0;
  padding: 10px 16px;
  font-size: 14px;
}

.feature-sheet-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: #10131d;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.network-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 108;
  display: grid;
  place-items: center;
  padding: 16px;
}

.network-chart-modal[hidden] {
  display: none;
}

.network-chart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
}

.network-chart-panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1480px);
  max-height: 94vh;
  padding: 12px;
  border: 1px solid rgba(43,180,212,.3);
  border-radius: 22px;
  background: rgba(8,10,16,.9);
  box-shadow: 0 36px 120px rgba(0,0,0,.52);
  overflow: auto;
}

.network-chart-panel img {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
  border-radius: 14px;
}

.network-chart-close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0 -38px auto;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: #10131d;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal a {
  color: var(--text);
  font-weight: 800;
}

.footer-legal a:hover {
  color: var(--cyan);
}

.legal-hero {
  padding-top: 150px;
  background:
    radial-gradient(circle at 78% 14%, rgba(43,180,212,.18), transparent 30%),
    linear-gradient(135deg, rgba(5,5,9,.98), rgba(24,18,34,.94));
  border-bottom: 1px solid var(--line);
}

.legal-page {
  background: linear-gradient(135deg, rgba(8,8,14,.96), rgba(15,15,24,.92));
}

.legal-document {
  max-width: 1040px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(17,17,22,.82);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.legal-document h2,
.legal-document h3 {
  margin-top: 32px;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-meta {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(43,180,212,.22);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  font-family: inherit;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(43,180,212,.48);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2bb4d4, #6b5bd6);
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(8,10,18,.98);
  box-shadow: 0 26px 80px rgba(0,0,0,.42);
}

.chatbot-panel[hidden] {
  display: none;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
}

.chatbot-header strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.chatbot-header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.chatbot-header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.chatbot-messages {
  display: flex;
  max-height: 330px;
  min-height: 210px;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
}

.chatbot-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  color: #eef5ff;
  font-size: 13px;
  line-height: 1.45;
}

.chatbot-message.bot {
  align-self: flex-start;
  background: rgba(255,255,255,.09);
}

.chatbot-message.user {
  align-self: flex-end;
  background: rgba(43,180,212,.28);
}

.chatbot-message a {
  color: #9ee8ff;
  font-weight: 800;
}

.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.chatbot-quick-actions button {
  border: 1px solid rgba(43,180,212,.28);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(43,180,212,.1);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.chatbot-form input {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  padding: 11px 13px;
}

.chatbot-form button {
  border: 0;
  border-radius: 999px;
  color: #04101a;
  background: var(--cyan);
  padding: 11px 15px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .four, .timeline { grid-template-columns: repeat(2,1fr); }
  .module-showcase, .feature-explainers { grid-template-columns: 1fr; }
  .feature-card-viewer { margin-top: 0; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .worldwide, .home-automation, .partner-ecosystem, .partner-invite, .online-shop, .news-hero-feature, .featured-news-story, .rotana-news-story, .support-hero { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav nav {
    position: fixed;
    inset: 79px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    background: rgba(8,8,14,.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 14px; }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .submenu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    padding: 6px;
    box-shadow: none;
    background: rgba(255,255,255,.06);
  }
  .nested-submenu {
    position: static;
    min-width: 0;
    margin: 4px 0 0 12px;
    padding: 6px;
    box-shadow: none;
    background: rgba(255,255,255,.05);
  }
  .nav-dropdown:hover .submenu,
  .nav-dropdown:focus-within .submenu {
    display: none;
  }
  .nav-dropdown.open .submenu {
    display: block;
  }
  .submenu-group:hover .nested-submenu,
  .submenu-group:focus-within .nested-submenu {
    display: none;
  }
  .submenu-group.open .nested-submenu {
    display: block;
  }
  .language-picker {
    width: 100%;
    justify-content: space-between;
    padding: 8px 14px;
  }
  .language-picker select {
    flex: 1;
    min-width: 0;
  }
  .hero, .problem, .dashboard, .devices, .home-automation, .worldwide, .partner-ecosystem, .partner-invite, .online-shop, .pricing, .estimator, .contact { grid-template-columns: 1fr; }
  .three, .stats, .contact-box, .feature-explainer-text, .news-facts, .news-gallery, .support-grid, .support-form, .survey-form fieldset { grid-template-columns: 1fr; }
  .support-form-card, .support-hotline-card, .support-satisfaction-card { grid-column: auto; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card.wide { grid-column: auto; }
  .library-viewer-actions { align-items: stretch; flex-direction: column; }
  .library-viewer-actions strong { margin-right: 0; white-space: normal; }
  .gallery-meta { flex-direction: column; }
  .hero { padding-top: 48px; }
  .tv-screen { min-height: 0; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 5vw; }
  .logo-image { width: min(120px, 34vw); }
  h1 { font-size: 38px; }
  .section, .problem { padding: 64px 5vw; }
  .hero { padding-inline: 5vw; }
  .lead-form, .four, .timeline, .device-stack, .logo-grid, .partner-grid { grid-template-columns: 1fr; }
  .gallery-bezel { padding: 8px; border-radius: 22px; }
  .gallery-screen { border-radius: 16px; }
  .gallery-control { width: 38px; height: 38px; font-size: 28px; }
  .gallery-control.prev { left: 14px; }
  .gallery-control.next { right: 14px; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .device-card.tablet, .device-card.phone { min-height: 240px; }
  .world-map-card,
  .world-map-card img {
    min-height: 330px;
  }
  .map-pin::after {
    font-size: 10px;
  }
  .swiss-quality { align-items: flex-start; }
  .tv-screen { padding: 0; min-height: 0; }
  .estimate-output { align-items: start; flex-direction: column; }
  .calculator-currency { grid-template-columns: 1fr; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    justify-content: flex-start;
  }
  .chatbot {
    right: 12px;
    bottom: 12px;
  }
  .chatbot-panel {
    right: 0;
    bottom: 58px;
    width: calc(100vw - 24px);
  }
  .chatbot-messages {
    max-height: 300px;
  }
  footer { flex-direction: column; }
}
